| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
 | | <template> |  |   <div class="page-list-container"> |  |     <!--数据Table--> |  |     <yrt-data-list :ref="dataListRef" :editor-ref="editorRef" :data-options="dataOptions" :fields.sync="dataListOptions.fields" :buttons="dataListOptions.buttons" :button-click="buttonClick" :data-list-selections.sync="dataListSelections" :auth-nodes="authNodes" :action-field="actionField"> |  |     </yrt-data-list> |  |   |  |     <!--数据编辑器Editor--> |  |     <yrt-editor :ref="editorRef" :data-list-ref="dataListRef" v-bind="editorOptions" :data-options="dataOptions" :action.sync="editorOptions.action" :visible.sync="editorOptions.config.visible" :detail-button-click="detailButtonClick" :auth-nodes="authNodes"></yrt-editor> |  |   </div> |  | </template> |  |   |  | <script> |  | import baseLayout from "@/components/common/base-layout.vue"; |  |   |  | export default { |  |   name: "tms-basic-fee-template", |  |   components: {}, |  |   mixins: [baseLayout], |  |   data() { |  |     return { |  |       actionField: { |  |         prop: "_action", |  |         label: "操作", |  |         width: "100", |  |         headerAlign: "center", |  |         align: "center", |  |         action: [ |  |           { |  |             type: "button", |  |             action: "edit", |  |             label: "编辑", |  |             onClick: function(btnInfo, rowData) { |  |               localStorage.setItem("fee-template", JSON.stringify(rowData)); |  |               location.href = "/#/tms/basic/fee-template-setting"; |  |               return true; |  |             } |  |           }, |  |           { |  |             type: "button", |  |             action: "delete", |  |             label: "删除" |  |           } |  |         ], |  |         hidden: false |  |       } |  |     }; |  |   }, |  |   methods: {} |  | }; |  | </script> | 
 |