cloud-web-corejs 1.0.18 → 1.0.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (191) hide show
  1. package/package.json +2 -1
  2. package/src/api/user.js +8 -0
  3. package/src/components/jsonImport/index.js +3 -1
  4. package/src/components/jsonImport/mixins.js +16 -16
  5. package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin.js +1 -1
  6. package/src/components/xform/form-designer/indexMixin.js +2 -2
  7. package/src/layout/components/Sidebar/default.vue +15 -9
  8. package/src/layout/components/TagsView/index.vue +6 -6
  9. package/src/layout/components/notify_message/unreadDialog.vue +1 -1
  10. package/src/router/modules/customer.js +8 -8
  11. package/src/utils/aes.js +1 -0
  12. package/src/views/bd/setting/bd_attach_setting/dialog.vue +8 -8
  13. package/src/views/bd/setting/bd_attach_setting/edit.vue +11 -11
  14. package/src/views/bd/setting/bd_attach_setting/list.vue +7 -7
  15. package/src/views/bd/setting/form_script/dialog.vue +17 -15
  16. package/src/views/bd/setting/form_script/edit.vue +15 -13
  17. package/src/views/bd/setting/form_script/edit1.vue +12 -12
  18. package/src/views/bd/setting/form_script/form_list.vue +8 -8
  19. package/src/views/bd/setting/form_script/list.vue +9 -9
  20. package/src/views/bd/setting/form_script/list1.vue +9 -9
  21. package/src/views/bd/setting/form_script/list2.vue +1 -1
  22. package/src/views/bd/setting/form_template/dialog.vue +27 -20
  23. package/src/views/bd/setting/form_template/edit.vue +13 -13
  24. package/src/views/bd/setting/form_template/editWfObjConfigDialog.vue +2 -2
  25. package/src/views/bd/setting/form_template/ftHistoryDialog.vue +8 -8
  26. package/src/views/bd/setting/form_template/itemEdit.vue +9 -9
  27. package/src/views/bd/setting/form_template/itemList.vue +8 -8
  28. package/src/views/bd/setting/form_template/list.vue +15 -15
  29. package/src/views/bd/setting/form_template/preformDialog.vue +2 -2
  30. package/src/views/bd/setting/menu_kind/authDialog.vue +2 -2
  31. package/src/views/bd/setting/menu_kind/dialog.vue +23 -16
  32. package/src/views/bd/setting/menu_kind/list.vue +27 -27
  33. package/src/views/bd/setting/table_model/dialog.vue +5 -5
  34. package/src/views/bd/setting/table_model/edit.vue +1123 -1123
  35. package/src/views/bd/setting/table_model/list.vue +12 -12
  36. package/src/views/bd/setting/table_model/zdDialog.vue +5 -5
  37. package/src/views/mobile/user/area/dialog.vue +4 -3
  38. package/src/views/mobile/user/user/dialog.vue +4 -3
  39. package/src/views/support/export_template/edit.vue +12 -12
  40. package/src/views/support/export_template/list.vue +18 -18
  41. package/src/views/user/access_log/edit.vue +5 -5
  42. package/src/views/user/access_log/list.vue +11 -11
  43. package/src/views/user/access_log/statistics_list.vue +16 -11
  44. package/src/views/user/api_request/edit.vue +15 -12
  45. package/src/views/user/api_request/list.vue +12 -10
  46. package/src/views/user/area/dialog.vue +5 -5
  47. package/src/views/user/area_attribute/configDialog.vue +319 -319
  48. package/src/views/user/area_attribute/edit.vue +3 -3
  49. package/src/views/user/area_attribute/list.vue +1 -1
  50. package/src/views/user/attachment/uploadDialog.vue +11 -11
  51. package/src/views/user/bill_setting/edit.vue +14 -13
  52. package/src/views/user/bill_setting/h5_ModifyDialog.vue +5 -3
  53. package/src/views/user/bill_setting/h5_view.vue +4 -4
  54. package/src/views/user/bill_setting/itemViewDialog.vue +1 -1
  55. package/src/views/user/bill_setting/list.vue +9 -8
  56. package/src/views/user/bill_setting/queryDialog.vue +3 -3
  57. package/src/views/user/bill_setting/render.vue +7 -7
  58. package/src/views/user/bill_setting/template2.json +44 -11
  59. package/src/views/user/bill_setting/userDialog.vue +5 -5
  60. package/src/views/user/code_rules/edit.vue +11 -11
  61. package/src/views/user/code_rules/list.vue +6 -6
  62. package/src/views/user/commMenu/index.vue +2 -2
  63. package/src/views/user/common_attribute/edit.vue +9 -9
  64. package/src/views/user/common_attribute/itemEdit.vue +11 -11
  65. package/src/views/user/common_attribute/list.vue +12 -12
  66. package/src/views/user/common_script/edit.vue +11 -10
  67. package/src/views/user/common_script/list.vue +17 -16
  68. package/src/views/user/company_info/dialog.vue +138 -131
  69. package/src/views/user/company_info/edit.vue +10 -10
  70. package/src/views/user/company_info/view.vue +1 -1
  71. package/src/views/user/country/dialog.vue +8 -8
  72. package/src/views/user/country/edit.vue +16 -15
  73. package/src/views/user/country/list.vue +172 -162
  74. package/src/views/user/data_type_setting/dialog.vue +11 -8
  75. package/src/views/user/data_type_setting/editDialog.vue +13 -12
  76. package/src/views/user/ea/eagroup/eaobj_list.vue +332 -311
  77. package/src/views/user/ea/eagroup/edit.vue +492 -475
  78. package/src/views/user/ea/eaobj/edit.vue +153 -148
  79. package/src/views/user/ea/eaobj/list.vue +147 -135
  80. package/src/views/user/error-page/401.vue +42 -34
  81. package/src/views/user/error-page/404.vue +19 -3
  82. package/src/views/user/extend_datasource/dialog.vue +127 -119
  83. package/src/views/user/extend_datasource/edit.vue +13 -12
  84. package/src/views/user/extend_datasource/list.vue +7 -7
  85. package/src/views/user/fieldTranslation/editDialog.vue +6 -6
  86. package/src/views/user/fieldTranslation/list.vue +9 -8
  87. package/src/views/user/field_values_invisible/edit.vue +87 -85
  88. package/src/views/user/field_values_invisible/list.vue +36 -25
  89. package/src/views/user/file_type/edit.vue +11 -11
  90. package/src/views/user/file_type/list.vue +10 -7
  91. package/src/views/user/file_type/userEdit.vue +188 -188
  92. package/src/views/user/file_view_area/edit.vue +11 -11
  93. package/src/views/user/file_view_area/itemEdit.vue +168 -165
  94. package/src/views/user/file_view_area/list.vue +9 -9
  95. package/src/views/user/file_view_ins/list.vue +57 -38
  96. package/src/views/user/file_view_ins/propertiesDialog.vue +218 -218
  97. package/src/views/user/form/form_ins_list/edit.vue +421 -421
  98. package/src/views/user/form/form_template/dialog.vue +27 -20
  99. package/src/views/user/form/form_template/edit.vue +15 -12
  100. package/src/views/user/form/form_template/itemEdit.vue +9 -9
  101. package/src/views/user/form/form_template/itemList.vue +5 -5
  102. package/src/views/user/form/form_template/list.vue +9 -8
  103. package/src/views/user/form/form_template_field/dialog.vue +11 -8
  104. package/src/views/user/form/form_type/dialog.vue +134 -127
  105. package/src/views/user/form/form_type/edit.vue +10 -10
  106. package/src/views/user/form/form_type/editDialog.vue +11 -10
  107. package/src/views/user/form/form_type/list.vue +128 -118
  108. package/src/views/user/form/report_requestaccess/dialog.vue +108 -101
  109. package/src/views/user/form/report_requestaccess/edit.vue +274 -236
  110. package/src/views/user/form/report_requestaccess/list.vue +31 -20
  111. package/src/views/user/form/vform/designer.vue +164 -164
  112. package/src/views/user/form/vform/formFieldMapping.js +151 -169
  113. package/src/views/user/form/vform/out_render.vue +3 -2
  114. package/src/views/user/form/vform/render.vue +2 -2
  115. package/src/views/user/form/view/edit.vue +7 -7
  116. package/src/views/user/form/view/list.vue +2 -2
  117. package/src/views/user/home/default.vue +21 -21
  118. package/src/views/user/home/distributor.vue +375 -119
  119. package/src/views/user/home/index.vue +1 -1
  120. package/src/views/user/language_setting/edit.vue +167 -166
  121. package/src/views/user/language_setting/list.vue +7 -7
  122. package/src/views/user/ledger_library/list.vue +2 -2
  123. package/src/views/user/ledger_library/private_list.vue +3 -3
  124. package/src/views/user/login/auth-redirect.vue +1 -1
  125. package/src/views/user/login/index.vue +1 -1
  126. package/src/views/user/login/indexMixin.js +4 -1
  127. package/src/views/user/menu/list.vue +19 -19
  128. package/src/views/user/mobile_menu/list.vue +17 -17
  129. package/src/views/user/notify_message/dialog.vue +8 -6
  130. package/src/views/user/notify_message/list.vue +5 -4
  131. package/src/views/user/notify_template/edit.vue +185 -185
  132. package/src/views/user/notify_template/list.vue +8 -8
  133. package/src/views/user/oplog/edit.vue +108 -103
  134. package/src/views/user/oplog/list.vue +8 -8
  135. package/src/views/user/outLink/form_view.vue +144 -143
  136. package/src/views/user/outLink/index.vue +7 -5
  137. package/src/views/user/outLink/view.vue +119 -117
  138. package/src/views/user/position/dialog.vue +145 -138
  139. package/src/views/user/position/edit.vue +12 -12
  140. package/src/views/user/position/list.vue +172 -162
  141. package/src/views/user/project_tag/dialog.vue +9 -9
  142. package/src/views/user/project_tag/edit.vue +10 -10
  143. package/src/views/user/project_tag/list.vue +7 -7
  144. package/src/views/user/push_setting/edit.vue +14 -11
  145. package/src/views/user/push_setting/list.vue +45 -36
  146. package/src/views/user/redirect/index.vue +4 -4
  147. package/src/views/user/role/dialog.vue +11 -8
  148. package/src/views/user/role/edit.vue +427 -427
  149. package/src/views/user/role/list.vue +125 -114
  150. package/src/views/user/sale_org/dialog.vue +3 -3
  151. package/src/views/user/sale_org/list.vue +26 -26
  152. package/src/views/user/sale_org/moveDialog.vue +2 -2
  153. package/src/views/user/system_notice/edit.vue +184 -184
  154. package/src/views/user/system_notice/list.vue +156 -145
  155. package/src/views/user/system_parameter/edit.vue +140 -137
  156. package/src/views/user/system_parameter/list.vue +131 -120
  157. package/src/views/user/user/dialog.vue +40 -47
  158. package/src/views/user/user/edit.vue +1021 -1019
  159. package/src/views/user/user/form_edit.vue +497 -483
  160. package/src/views/user/user/form_list.vue +16 -16
  161. package/src/views/user/user/info.vue +271 -256
  162. package/src/views/user/user/infoContent.vue +12 -11
  163. package/src/views/user/user/infoEdit.vue +113 -94
  164. package/src/views/user/user/inner_list.vue +1 -1
  165. package/src/views/user/user/list.vue +55 -50
  166. package/src/views/user/user/list2.vue +1 -1
  167. package/src/views/user/user/modifyPasswordDialog.vue +3 -3
  168. package/src/views/user/user/out_list.vue +1 -1
  169. package/src/views/user/wf/formCustDialog/list.vue +13 -15
  170. package/src/views/user/wf/iframe/index.vue +12 -12
  171. package/src/views/user/wf/iframe/index2.vue +2 -2
  172. package/src/views/user/wf/wf_auto_submit_data/edit.vue +6 -6
  173. package/src/views/user/wf/wf_auto_submit_data/edith.vue +6 -6
  174. package/src/views/user/wf/wf_auto_submit_data/list.vue +10 -8
  175. package/src/views/user/wf/wf_diy_attribute/edit.vue +6 -6
  176. package/src/views/user/wf/wf_manage/list.vue +9 -8
  177. package/src/views/user/wf/wf_obj_config/activiti_wf.vue +11 -10
  178. package/src/views/user/wf/wf_obj_config/dialog.vue +10 -7
  179. package/src/views/user/wf/wf_obj_config/edit.vue +15 -12
  180. package/src/views/user/wf/wf_obj_config/edit_form.vue +72 -65
  181. package/src/views/user/wf/wf_obj_config/itemEdit.vue +9 -9
  182. package/src/views/user/wf/wf_obj_config/itemEdit_form.vue +9 -9
  183. package/src/views/user/wf/wf_obj_config/list.vue +12 -12
  184. package/src/views/user/wf/wf_obj_config/list_form.vue +24 -24
  185. package/src/views/user/wf/wf_param/edit.vue +5 -5
  186. package/src/views/user/wf/wf_work_calendar/components/calendar.vue +27 -13
  187. package/src/views/user/wf/wf_work_calendar/components/calendar2.vue +25 -10
  188. package/src/views/user/wf/wf_work_calendar/configDialog.vue +9 -6
  189. package/src/views/user/wf/wf_work_calendar/date.js +10 -10
  190. package/src/views/user/wf/wf_work_calendar/list.vue +9 -4
  191. package/src/views/user/sale_org_net/list.vue +0 -574
@@ -1,149 +1,156 @@
1
1
  <template>
2
- <el-dialog
3
- title="表单类型列表"
4
- :append-to-body="true"
5
- :modal-append-to-body="true"
6
- :close-on-click-modal="falseValue"
7
- :visible.sync="showDialog"
8
- :modal="falseValue"
9
- custom-class="dialog-style list-dialog dialog-checkbox pd_0"
10
- width="1200px"
11
- @close="dialogClose"
12
- v-el-drag-dialog
13
- v-el-dialog-center
14
- >
15
- <div class="cont" style="height:450px">
16
- <vxe-grid
17
- class="is-pointer"
18
- ref="table-m1"
19
- v-bind="vxeOption"
20
- @resizable-change="$vxeTableUtil.onColumnWitchChange"
21
- @custom="$vxeTableUtil.customHandle"
22
- @checkbox-change="addDataTable"
23
- @checkbox-all="checkAll"
24
- @cell-dblclick="checkWithSubmit"
25
- >
26
- <template #form>
27
- <div class="clearfix screen-btns">
28
- <div class="fr">
29
- <vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary" plain>重置</vxe-button>
30
- <vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">搜索</vxe-button>
31
- </div>
32
- </div>
33
- <vxe-form class="screen-box" title-width="92px" title-align="right" :data="formData" @submit="searchEvent" @reset="resetEvent">
34
- <vxe-form-item title="表单类型名称:" field="formTypeName">
35
- <template v-slot>
36
- <el-input v-model="formData.formTypeName" size="small" clearable />
37
- </template>
38
- </vxe-form-item>
39
- <vxe-form-item title="表单类型编码:" field="formTypeCode">
40
- <template v-slot>
41
- <el-input v-model="formData.formTypeCode" size="small" clearable />
42
- </template>
43
- </vxe-form-item>
44
- </vxe-form>
45
- </template>
46
- </vxe-grid>
47
- </div>
48
- <label id="labBtn" class="transverse">
49
- <div class="icon">
50
- <i class="el-icon-more"></i>
51
- <i class="el-icon-more"></i>
52
- </div>
53
- </label>
54
- <div class="multipleChoice">
55
- <el-tooltip :enterable="false" effect="dark" content="全部删除" placement="top"><a class="allDel icon-quanbushanchu" @click="clearChecked()"></a></el-tooltip>
56
- <div class="list">
57
- <div class="item" v-for="(checkRow, index) in checkRows" :key="index">
58
- <p>{{ checkRow.formTypeName }}</p>
59
- <a class="el-icon-close" @click="clearTable1Select(index)"></a>
60
- </div>
61
- </div>
62
- </div>
63
- <span slot="footer" class="dialog-footer">
64
- <span class="fl tips" v-if="!selectMulti">注:双击确认选择(单选)</span>
2
+ <el-dialog
3
+ title="表单类型列表"
4
+ :append-to-body="true"
5
+ :modal-append-to-body="true"
6
+ :close-on-click-modal="falseValue"
7
+ :visible.sync="showDialog"
8
+ :modal="falseValue"
9
+ custom-class="dialog-style list-dialog dialog-checkbox pd_0"
10
+ width="1200px"
11
+ @close="dialogClose"
12
+ v-el-drag-dialog
13
+ v-el-dialog-center
14
+ >
15
+ <div class="cont" style="height:450px">
16
+ <vxe-grid
17
+ class="is-pointer"
18
+ ref="table-m1"
19
+ v-bind="vxeOption"
20
+ @resizable-change="$vxeTableUtil.onColumnWitchChange"
21
+ @custom="$vxeTableUtil.customHandle"
22
+ @checkbox-change="addDataTable"
23
+ @checkbox-all="checkAll"
24
+ @cell-dblclick="checkWithSubmit"
25
+ >
26
+ <template #form>
27
+ <div class="clearfix screen-btns">
28
+ <div class="fr">
29
+ <vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
30
+ plain>{{ $t1('重置') }}
31
+ </vxe-button>
32
+ <vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">
33
+ {{ $t1('搜索') }}
34
+ </vxe-button>
35
+ </div>
36
+ </div>
37
+ <vxe-form class="screen-box" title-width="92px" title-align="right" :data="formData" @submit="searchEvent"
38
+ @reset="resetEvent">
39
+ <vxe-form-item title="表单类型名称:" field="formTypeName">
40
+ <template v-slot>
41
+ <el-input v-model="formData.formTypeName" size="small" clearable/>
42
+ </template>
43
+ </vxe-form-item>
44
+ <vxe-form-item title="表单类型编码:" field="formTypeCode">
45
+ <template v-slot>
46
+ <el-input v-model="formData.formTypeCode" size="small" clearable/>
47
+ </template>
48
+ </vxe-form-item>
49
+ </vxe-form>
50
+ </template>
51
+ </vxe-grid>
52
+ </div>
53
+ <label id="labBtn" class="transverse">
54
+ <div class="icon">
55
+ <i class="el-icon-more"></i>
56
+ <i class="el-icon-more"></i>
57
+ </div>
58
+ </label>
59
+ <div class="multipleChoice">
60
+ <el-tooltip :enterable="false" effect="dark" :content="$t1('全部删除')" placement="top"><a
61
+ class="allDel icon-quanbushanchu" @click="clearChecked()"></a></el-tooltip>
62
+ <div class="list">
63
+ <div class="item" v-for="(checkRow, index) in checkRows" :key="index">
64
+ <p>{{ checkRow.formTypeName }}</p>
65
+ <a class="el-icon-close" @click="clearTable1Select(index)"></a>
66
+ </div>
67
+ </div>
68
+ </div>
69
+ <span slot="footer" class="dialog-footer">
70
+ <span class="fl tips" v-if="!selectMulti">{{ $t1('注:双击确认选择(单选)') }}</span>
65
71
  <el-button type="primary" plain class="button-sty" @click="dialogClose">
66
72
  <i class="el-icon-close el-icon"></i>
67
- 取 消
73
+ {{ $t1('取 消') }}
68
74
  </el-button>
69
75
  <el-button type="primary" @click="dialogPrimary" class="button-sty">
70
76
  <i class="el-icon-check el-icon"></i>
71
- 确 定
77
+ {{ $t1('确 定') }}
72
78
  </el-button>
73
79
  </span>
74
- </el-dialog>
80
+ </el-dialog>
75
81
  </template>
76
82
 
77
83
  <script>
78
- import { selectDialogMixins } from '@base/mixins/selectDialog/index.js';
84
+ import {selectDialogMixins} from '@base/mixins/selectDialog/index.js';
85
+
79
86
  export default {
80
- name: 'form_typeDialog',
81
- props: ['visiable', 'multi', 'rows', 'param'],
82
- mixins: [selectDialogMixins],
83
- created() {
84
- this.initSetting();
85
- },
86
- mounted() {
87
- this.initTableM1();
88
- },
89
- data() {
90
- return {
91
- showDialog: true,
92
- falseValue: false,
93
- selectMulti: true,
94
- formData: {},
95
- vxeOption: {}
96
- };
97
- },
98
- methods: {
99
- initTableM1() {
100
- let that = this;
101
- let url = USER_PREFIX + '/form_type/listPage';
102
- let tableOption = {
103
- vue: that,
104
- tableRef: 'table-m1',
105
- tableName: 'user_form_type_dialog-m1',
106
- path: url,
107
- param: () => {
108
- return this.formData;
109
- },
110
- columns: [
111
- { type: 'checkbox', fixed: 'left', width: 48, resizable: false },
112
- {
87
+ name: 'form_typeDialog',
88
+ props: ['visiable', 'multi', 'rows', 'param'],
89
+ mixins: [selectDialogMixins],
90
+ created() {
91
+ this.initSetting();
92
+ },
93
+ mounted() {
94
+ this.initTableM1();
95
+ },
96
+ data() {
97
+ return {
98
+ showDialog: true,
99
+ falseValue: false,
100
+ selectMulti: true,
101
+ formData: {},
102
+ vxeOption: {}
103
+ };
104
+ },
105
+ methods: {
106
+ initTableM1() {
107
+ let that = this;
108
+ let url = USER_PREFIX + '/form_type/listPage';
109
+ let tableOption = {
110
+ vue: that,
111
+ tableRef: 'table-m1',
112
+ tableName: 'user_form_type_dialog-m1',
113
+ path: url,
114
+ param: () => {
115
+ return this.formData;
116
+ },
117
+ columns: [
118
+ {type: 'checkbox', fixed: 'left', width: 48, resizable: false},
119
+ {
113
120
  title: '表单类型编码',
114
121
  field: 'formTypeCode',
115
- width: 150,
122
+ width: 150,
116
123
  fixed: 'left'
117
- },
124
+ },
118
125
  {
119
126
  title: '表单类型名称',
120
127
  field: 'formTypeName',
121
128
  width: 250
122
129
  },
123
- {
124
- field: 'createDate',
125
- title: '创建时间',
126
- width: 150
127
- },
128
- {
129
- width: 47,
130
- fixed: 'right',
131
- title: '',
132
- sortable: false
133
- }
134
- ],
135
- config: {
136
- checkboxConfig: {
137
- checkStrictly: true,
138
- showHeader: this.selectMulti,
139
- trigger: 'row'
140
- }
141
- }
142
- };
143
- this.$vxeTableUtil.initVxeTable(tableOption).then(opts => {
144
- that.vxeOption = opts;
145
- });
146
- }
147
- }
130
+ {
131
+ field: 'createDate',
132
+ title: this.$t1('创建时间'),
133
+ width: 150
134
+ },
135
+ {
136
+ width: 47,
137
+ fixed: 'right',
138
+ title: '',
139
+ sortable: false
140
+ }
141
+ ],
142
+ config: {
143
+ checkboxConfig: {
144
+ checkStrictly: true,
145
+ showHeader: this.selectMulti,
146
+ trigger: 'row'
147
+ }
148
+ }
149
+ };
150
+ this.$vxeTableUtil.initVxeTable(tableOption).then(opts => {
151
+ that.vxeOption = opts;
152
+ });
153
+ }
154
+ }
148
155
  };
149
156
  </script>
@@ -4,17 +4,17 @@
4
4
  <div class="d-header clearfix">
5
5
  <div class="fl">
6
6
  <i class="el-icon-info"/>
7
- {{ dataId ? '查看' : '新增' }}表单类型
7
+ {{ dataId ? $t1('查看') : $t1('新增') }} 表单类型
8
8
  </div>
9
9
  <div class="fr">
10
- <el-button type="primary" plain class="button-sty" @click="$baseReload()" icon="el-icon-refresh-right">重置
10
+ <el-button type="primary" plain class="button-sty" @click="$baseReload()" icon="el-icon-refresh-right">{{$t1('重置')}}
11
11
  </el-button>
12
- <el-button type="primary" class="button-sty" icon="el-icon-check" @click="saveData">保存</el-button>
12
+ <el-button type="primary" class="button-sty" icon="el-icon-check" @click="saveData">{{$t1('保存')}}</el-button>
13
13
  </div>
14
14
  </div>
15
15
  <div class="d-cont">
16
16
  <div class="d-item">
17
- <div class="title first"><b>基本信息</b></div>
17
+ <div class="title first"><b>{{ $t1('基本信息') }}</b></div>
18
18
  <table class="table-detail">
19
19
  <tbody>
20
20
  <tr>
@@ -22,7 +22,7 @@
22
22
  表单类型编码
23
23
  </th>
24
24
  <td>
25
- {{formType.formTypeCode}}
25
+ {{ formType.formTypeCode }}
26
26
  </td>
27
27
  <th>
28
28
  <em class="f-red">*</em>
@@ -36,13 +36,13 @@
36
36
 
37
37
  </tr>
38
38
  <tr>
39
- <th>创建人</th>
39
+ <th>{{ $t1('创建人') }}</th>
40
40
  <td>{{ formType.createBy }}</td>
41
- <th>创建时间</th>
41
+ <th>{{ $t1('创建时间') }}</th>
42
42
  <td>{{ formType.createDate }}</td>
43
- <th>更新人</th>
43
+ <th>{{ $t1('更新人') }}</th>
44
44
  <td>{{ formType.modifyBy }}</td>
45
- <th>更新时间</th>
45
+ <th>{{ $t1('更新时间') }}</th>
46
46
  <td>{{ formType.modifyDate }}</td>
47
47
  </tr>
48
48
  </tbody>
@@ -101,7 +101,7 @@ export default {
101
101
  saveData() {
102
102
  this.$refs.editForm.$baseValidate(valid => {
103
103
  if (valid) {
104
- this.$baseConfirm('您确定要保存吗?').then(() => {
104
+ this.$baseConfirm(this.$t1('您确定要保存吗?')).then(() => {
105
105
  var url = USER_PREFIX + (this.isEdit ? `/form_type/update` : `/form_type/save`);
106
106
  this.$http({
107
107
  url: url,
@@ -13,9 +13,10 @@
13
13
  @close="close"
14
14
  >
15
15
  <div class="cont">
16
- <el-form ref="editForm" :model="formType" label-width="110px" class="adSearchForm" style="width: 362px;height: auto;">
16
+ <el-form ref="editForm" :model="formType" label-width="110px" class="adSearchForm"
17
+ style="width: 362px;height: auto;">
17
18
  <el-form-item label="表单类型编码">
18
- <span>{{formType.formTypeCode}}</span>
19
+ <span>{{ formType.formTypeCode }}</span>
19
20
  </el-form-item>
20
21
  <el-form-item label="表单类型名称" :rules="[{ required: true, trigger: 'blur' }]">
21
22
  <el-input v-model="formType.formTypeName" clearable class="all-width"/>
@@ -25,11 +26,11 @@
25
26
  <span slot="footer" class="dialog-footer">
26
27
  <el-button type="primary" plain class="button-sty" @click="showDialog=false">
27
28
  <i class="el-icon-close el-icon"></i>
28
- 取 消
29
+ {{ $t1('取 消') }}
29
30
  </el-button>
30
31
  <el-button type="primary" @click="saveData" class="button-sty">
31
32
  <i class="el-icon-check el-icon"></i>
32
- 确 定
33
+ {{ $t1('确 定') }}
33
34
  </el-button>
34
35
  </span>
35
36
  </el-dialog>
@@ -46,7 +47,7 @@ export default {
46
47
  tabIndex: 'first',
47
48
  dataId: '',
48
49
  formType: {},
49
- showDialog:true
50
+ showDialog: true
50
51
  };
51
52
  },
52
53
  created() {
@@ -78,7 +79,7 @@ export default {
78
79
  saveData() {
79
80
  this.$refs.editForm.$baseValidate(valid => {
80
81
  if (valid) {
81
- this.$baseConfirm('您确定要保存吗?').then(() => {
82
+ this.$baseConfirm(this.$t1('您确定要保存吗?')).then(() => {
82
83
  var url = USER_PREFIX + (this.isEdit ? `/form_type/update` : `/form_type/save`);
83
84
  this.$http({
84
85
  url: url,
@@ -92,9 +93,9 @@ export default {
92
93
  duration: 500,
93
94
  onClose: t => {
94
95
  this.dataId = res.objx;
95
- this.getData((row)=>{
96
+ this.getData((row) => {
96
97
  this.close();
97
- this.$emit('confirm',row)
98
+ this.$emit('confirm', row)
98
99
  })
99
100
  }
100
101
  });
@@ -104,9 +105,9 @@ export default {
104
105
  }
105
106
  });
106
107
  },
107
- close(){
108
+ close() {
108
109
  this.showDialog = false;
109
- this.$emit('update:visiable',false)
110
+ this.$emit('update:visiable', false)
110
111
  }
111
112
  }
112
113
  }