cloud-web-corejs 1.0.54-dev.17 → 1.0.54-dev.170

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 (205) hide show
  1. package/package.json +9 -3
  2. package/src/components/Qrcode/fileParse.vue +0 -1
  3. package/src/components/VabUpload/index.vue +2 -1
  4. package/src/components/VabUpload/mixins.js +1 -1
  5. package/src/components/VabUpload/view.vue +22 -6
  6. package/src/components/advancedSearchDialog/mixins.js +1 -1
  7. package/src/components/baseAttachment/index.vue +22 -13
  8. package/src/components/baseAttachment/mixins.js +1 -1
  9. package/src/components/excelExport/exportFieldDialog.vue +16 -6
  10. package/src/components/excelExport/index.js +2 -1
  11. package/src/components/excelExport/index.vue +8 -6
  12. package/src/components/excelExport/mixins.js +1 -2
  13. package/src/components/excelImport/index.vue +1 -0
  14. package/src/components/excelImport/mixins.js +1 -735
  15. package/src/components/fileLibrary/fileObjAuthDialog.vue +1 -1
  16. package/src/components/fileLibrary/fileObjAuthEditDialog.vue +7 -1
  17. package/src/components/fileLibrary/fileObjNotifyEdit.vue +90 -68
  18. package/src/components/fileLibrary/filterDialog.vue +383 -0
  19. package/src/components/fileLibrary/index.vue +23 -24
  20. package/src/components/fileLibrary/mixins/categoryMoveDialogMixins.js +1 -1
  21. package/src/components/fileLibrary/mixins/fileCategoryDialogMixins.js +1 -1
  22. package/src/components/fileLibrary/mixins/fileHistoryDialogMixins.js +2 -2
  23. package/src/components/fileLibrary/mixins/fileObjAuthDialogMixin.js +337 -207
  24. package/src/components/fileLibrary/mixins/fileObjAuthEditDialogMixin.js +33 -26
  25. package/src/components/fileLibrary/mixins/fileObjAuthEditMixin.js +5 -5
  26. package/src/components/fileLibrary/mixins/indexMixins.js +77 -27
  27. package/src/components/fileLibrary/mixins/propertiesDialogMixins.js +63 -3
  28. package/src/components/fileLibrary/mixins/recycleBinDialogMixins.js +1 -1
  29. package/src/components/fileLibrary/propertiesDialog.vue +18 -0
  30. package/src/components/fileLibrary/shareDialog.vue +1 -1
  31. package/src/components/jsonImport/mixins.js +1 -1
  32. package/src/components/onlineTalk/index.vue +327 -5
  33. package/src/components/onlineTalk/mixins.js +1 -1
  34. package/src/components/table/CellSlot.vue +1 -0
  35. package/src/components/table/index.js +12 -10
  36. package/src/components/table/tableForm.vue +99 -63
  37. package/src/components/table/tableFormMixin.js +1 -1
  38. package/src/components/table/vxeFilter/mixin.js +1 -1
  39. package/src/components/vb-tabs/x-tabs.vue +3 -2
  40. package/src/components/wf/wf.js +1 -1
  41. package/src/components/wf/wfStartDialog.vue +1 -1
  42. package/src/components/wf/wfUtil.js +1 -1
  43. package/src/components/xform/form-designer/designer.js +1 -1
  44. package/src/components/xform/form-designer/form-widget/dialog/formDialog.vue +16 -4
  45. package/src/components/xform/form-designer/form-widget/dialog/formDrawer.vue +5 -1
  46. package/src/components/xform/form-designer/form-widget/dialog/importDialog.vue +37 -6
  47. package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin.js +3 -1
  48. package/src/components/xform/form-designer/form-widget/dialog/searchFormDialog.vue +23 -7
  49. package/src/components/xform/form-designer/form-widget/field-widget/baseAttachment-widget.vue +34 -5
  50. package/src/components/xform/form-designer/form-widget/field-widget/button-widget.vue +1 -1
  51. package/src/components/xform/form-designer/form-widget/field-widget/checkbox-widget.vue +14 -6
  52. package/src/components/xform/form-designer/form-widget/field-widget/date-range-widget.vue +1 -0
  53. package/src/components/xform/form-designer/form-widget/field-widget/echart-bar-widget.vue +1 -1
  54. package/src/components/xform/form-designer/form-widget/field-widget/echart-category-widget.vue +1 -1
  55. package/src/components/xform/form-designer/form-widget/field-widget/echart-pie-widget.vue +1 -1
  56. package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +1324 -16
  57. package/src/components/xform/form-designer/form-widget/field-widget/form-item-wrapper.vue +170 -6
  58. package/src/components/xform/form-designer/form-widget/field-widget/import-button-widget.vue +4 -7
  59. package/src/components/xform/form-designer/form-widget/field-widget/import2-button-widget.vue +80 -0
  60. package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-bar-mixin.js +49 -8
  61. package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-category-mixin.js +61 -88
  62. package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-pie-mixin.js +13 -0
  63. package/src/components/xform/form-designer/form-widget/field-widget/project-tag-widget.vue +67 -3
  64. package/src/components/xform/form-designer/form-widget/field-widget/radio-widget.vue +13 -5
  65. package/src/components/xform/form-designer/form-widget/field-widget/select-widget.vue +11 -2
  66. package/src/components/xform/form-designer/form-widget/field-widget/table-export-button-widget.vue +6 -1
  67. package/src/components/xform/form-designer/form-widget/field-widget/text-widget.vue +46 -34
  68. package/src/components/xform/form-designer/form-widget/field-widget/time-range-widget.vue +2 -2
  69. package/src/components/xform/form-designer/form-widget/field-widget/vabUpload-widget.vue +86 -0
  70. package/src/components/xform/form-designer/indexMixin.js +1 -1
  71. package/src/components/xform/form-designer/setting-panel/form-setting.vue +67 -36
  72. package/src/components/xform/form-designer/setting-panel/indexMixin.js +322 -1
  73. package/src/components/xform/form-designer/setting-panel/property-editor/autoValueEnabled-editor.vue +38 -0
  74. package/src/components/xform/form-designer/setting-panel/property-editor/censusClass-editor.vue +6 -0
  75. package/src/components/xform/form-designer/setting-panel/property-editor/commonAttributeEnabled-editor.vue +41 -0
  76. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/columnRenderDialog.vue +125 -0
  77. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/data-table-editor.vue +1054 -1042
  78. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/onCheckboxChange-editor.vue +1 -1
  79. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/table-column-dialog.vue +812 -455
  80. package/src/components/xform/form-designer/setting-panel/property-editor/container-detail/detail-editor.vue +2 -2
  81. package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-offset-editor.vue +1 -1
  82. package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-pull-editor.vue +1 -1
  83. package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-push-editor.vue +1 -1
  84. package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/eventMixin.js +2 -2
  85. package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onAfterConfirmFile-editor.vue +32 -0
  86. package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onClick-editor.vue +2 -2
  87. package/src/components/xform/form-designer/setting-panel/property-editor/field-button/search-dialog-event-editor.vue +27 -2
  88. package/src/components/xform/form-designer/setting-panel/property-editor/field-date-range/date-range-defaultTime-editor.vue +27 -0
  89. package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-bar-editor.vue +185 -69
  90. package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-category-editor.vue +188 -86
  91. package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-pie-editor.vue +84 -39
  92. package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import-button-editor.vue +19 -8
  93. package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import2-button-editor.vue +80 -0
  94. package/src/components/xform/form-designer/setting-panel/property-editor/field-rate/rate-defaultValue-editor.vue +1 -1
  95. package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/table-export-button-editor.vue +26 -7
  96. package/src/components/xform/form-designer/setting-panel/property-editor/field-vabUpload/field-vabUpload-editor.vue +30 -1
  97. package/src/components/xform/form-designer/setting-panel/property-editor/formScriptEnabled-editor.vue +42 -4
  98. package/src/components/xform/form-designer/setting-panel/property-editor/limit-editor.vue +1 -1
  99. package/src/components/xform/form-designer/setting-panel/property-editor/multipleLimit-editor.vue +1 -1
  100. package/src/components/xform/form-designer/setting-panel/property-editor/placeholder-editor.vue +1 -1
  101. package/src/components/xform/form-designer/setting-panel/property-editor/precision-editor.vue +1 -1
  102. package/src/components/xform/form-designer/setting-panel/property-editor/project-tag-editor.vue +177 -0
  103. package/src/components/xform/form-designer/setting-panel/property-editor/required-editor.vue +22 -18
  104. package/src/components/xform/form-designer/setting-panel/property-editor/showRuleFlag-editor.vue +1 -1
  105. package/src/components/xform/form-designer/setting-panel/property-editor/textFlag-editor.vue +217 -18
  106. package/src/components/xform/form-designer/setting-panel/property-editor/wfFlag-editor.vue +242 -27
  107. package/src/components/xform/form-designer/setting-panel/propertyRegister.js +6 -0
  108. package/src/components/xform/form-designer/toolbar-panel/index.vue +4 -7
  109. package/src/components/xform/form-designer/toolbar-panel/indexMixin.js +1 -1
  110. package/src/components/xform/form-designer/widget-panel/indexMixin.js +1 -1
  111. package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +279 -254
  112. package/src/components/xform/form-render/container-item/containerItemMixin.js +1 -1
  113. package/src/components/xform/form-render/container-item/data-table-item.vue +33 -11
  114. package/src/components/xform/form-render/container-item/data-table-mixin.js +18 -18
  115. package/src/components/xform/form-render/container-item/grid-col-item.vue +10 -3
  116. package/src/components/xform/form-render/container-item/grid-item.vue +1 -1
  117. package/src/components/xform/form-render/container-item/tab-item.vue +11 -6
  118. package/src/components/xform/form-render/container-item/table-cell-item.vue +38 -32
  119. package/src/components/xform/form-render/container-item/table-item.vue +4 -2
  120. package/src/components/xform/form-render/indexMixin.js +2 -23
  121. package/src/components/xform/lang/zh-CN.js +2 -1
  122. package/src/components/xform/mixins/defaultHandle.js +1 -1
  123. package/src/components/xform/mixins/scriptHttp.js +3 -1
  124. package/src/components/xform/utils/emitter.js +4 -4
  125. package/src/components/xform/utils/util.js +1 -1
  126. package/src/layout/components/Sidebar/default.vue +50 -6
  127. package/src/layout/components/TagsView/index.vue +0 -1
  128. package/src/layout/components/extractedCode/createDialog.vue +92 -0
  129. package/src/layout/components/extractedCode/queryDialog.vue +96 -0
  130. package/src/layout/components/extractedCode/viewDialog.vue +192 -0
  131. package/src/mixins/selectDialog/index.js +1 -1
  132. package/src/router/modules/customer.js +15 -0
  133. package/src/store/config/index.js +1 -1
  134. package/src/store/modules/permission.js +1 -1
  135. package/src/store/modules/user.js +1 -1
  136. package/src/utils/index.js +4 -2
  137. package/src/utils/pddLog.js +103 -0
  138. package/src/utils/request.js +28 -28
  139. package/src/utils/vab.js +19 -27
  140. package/src/views/bd/setting/form_import_log/edit.vue +127 -0
  141. package/src/views/bd/setting/form_import_log/list.vue +205 -0
  142. package/src/views/bd/setting/form_script/edit1.vue +1 -1
  143. package/src/views/bd/setting/form_script/mixins/edit.js +3 -1
  144. package/src/views/bd/setting/form_script/mixins/edit1.js +1 -1
  145. package/src/views/bd/setting/form_script/mixins/list.js +1 -1
  146. package/src/views/bd/setting/form_script/mixins/list1.js +14 -14
  147. package/src/views/bd/setting/form_template/batchWfObjConfigDialog.vue +105 -0
  148. package/src/views/bd/setting/form_template/edit.vue +9 -1
  149. package/src/views/bd/setting/form_template/editWfObjConfigDialog.vue +2 -2
  150. package/src/views/bd/setting/form_template/mixins/batchWfObjConfigDialog.js +4 -0
  151. package/src/views/bd/setting/form_template/mixins/edit.js +1 -1
  152. package/src/views/bd/setting/form_template/mixins/list.js +25 -22
  153. package/src/views/bd/setting/form_template/mixins/wf_list.js +12 -0
  154. package/src/views/bd/setting/form_template/wfObjConfigDialog.vue +254 -0
  155. package/src/views/bd/setting/form_template/wf_list.vue +127 -0
  156. package/src/views/bd/setting/menu_kind/mixins/list.js +1 -1
  157. package/src/views/bd/setting/table_model/edit.vue +835 -426
  158. package/src/views/bd/setting/table_model/mixins/edit.js +12 -13
  159. package/src/views/bd/setting/table_model/mixins/list.js +14 -14
  160. package/src/views/user/area/dialog.vue +21 -9
  161. package/src/views/user/bill_setting/edit.vue +1 -1
  162. package/src/views/user/bill_setting/list.vue +1 -1
  163. package/src/views/user/common_attribute/itemEdit.vue +2 -2
  164. package/src/views/user/common_attribute/list.vue +1 -1
  165. package/src/views/user/common_script/edit.vue +1 -1
  166. package/src/views/user/common_script/list.vue +1 -1
  167. package/src/views/user/company_info/dialog.vue +164 -154
  168. package/src/views/user/company_info/edit.vue +1 -1
  169. package/src/views/user/extend_datasource/dialog.vue +1 -0
  170. package/src/views/user/extend_datasource/edit.vue +3 -0
  171. package/src/views/user/extend_datasource/list.vue +2 -1
  172. package/src/views/user/file_type/edit.vue +30 -1
  173. package/src/views/user/file_type/list.vue +28 -0
  174. package/src/views/user/form/vform/designer.vue +772 -749
  175. package/src/views/user/form/view/list.vue +27 -9
  176. package/src/views/user/groups/edit.vue +2 -0
  177. package/src/views/user/groups/list.vue +1 -0
  178. package/src/views/user/home/default.vue +1007 -979
  179. package/src/views/user/home/dev.vue +29 -0
  180. package/src/views/user/home/index.vue +16 -6
  181. package/src/views/user/login/default.vue +4 -2
  182. package/src/views/user/login/index2.vue +131 -0
  183. package/src/views/user/notify_message/dialog.vue +1 -1
  184. package/src/views/user/notify_template/edit.vue +188 -187
  185. package/src/views/user/notify_template/edit2.vue +176 -0
  186. package/src/views/user/notify_template/list.vue +4 -1
  187. package/src/views/user/notify_template/list2.vue +190 -0
  188. package/src/views/user/outLink/form_view.vue +39 -12
  189. package/src/views/user/outLink/index.vue +17 -0
  190. package/src/views/user/outLink/view.vue +39 -13
  191. package/src/views/user/position/list.vue +4 -4
  192. package/src/views/user/push_setting/list.vue +2 -2
  193. package/src/views/user/role/dialog.vue +1 -1
  194. package/src/views/user/role/list.vue +4 -4
  195. package/src/views/user/sale_org/dialog.vue +1 -1
  196. package/src/views/user/user/dialog.vue +1 -1
  197. package/src/views/user/user/edit.vue +9 -9
  198. package/src/views/user/user/form_edit.vue +63 -2
  199. package/src/views/user/user/form_info.vue +210 -0
  200. package/src/views/user/user/form_list.vue +1 -0
  201. package/src/views/user/user/list.vue +4 -5
  202. package/src/views/user/wf/wf_manage/list.vue +1 -1
  203. package/src/views/user/wf/wf_manage/wfContentDialog.vue +1 -1
  204. package/src/views/user/wf/wf_obj_config/list.vue +1 -13
  205. package/src/views/user/wf/wf_obj_config/wfBizDataSettingDialog.vue +2 -2
@@ -7,7 +7,7 @@
7
7
  {{ dataId ? $t1('查看用户') : $t1('新增用户') }}
8
8
  </div>
9
9
  <div class="fr">
10
- <!-- <temp-storage-button :option="tempStorageOption" v-if="!dataId"></temp-storage-button>-->
10
+ <temp-storage-button :option="tempStorageOption" v-if="!dataId"></temp-storage-button>
11
11
  <base-input-export :option="exportOption" :parent-target="_self" v-if="dataId"/>
12
12
  <el-button type="primary" plain class="button-sty" icon="el-icon-unlock" @click="unlock" v-if="user.locked"
13
13
  v-hasPermi="'user:unlock'">{{ $t1('解锁') }}
@@ -136,14 +136,14 @@
136
136
  <el-input size="small" v-model="user.email" maxlength="200" clearable/>
137
137
  </el-form-item>
138
138
  </td>
139
- <th v-if="flag!=='2'">
139
+ <!-- <th v-if="flag!=='2'">
140
140
  GUID
141
141
  </th>
142
142
  <td v-if="flag!=='2'">
143
143
  <el-form-item prop="guid" :rules="[{ required: false, trigger: 'blur' }]">
144
144
  <el-input size="small" v-model="user.guid" maxlength="200" clearable/>
145
145
  </el-form-item>
146
- </td>
146
+ </td>-->
147
147
  <th>{{ $t1('地址') }}</th>
148
148
  <td colspan="3">
149
149
  <el-input size="small" v-model="user.address" class="b" maxlength="255" clearable/>
@@ -215,7 +215,7 @@
215
215
  </el-button>
216
216
  </div>
217
217
  <div class="title-form">
218
- <span v-if="flag==='2'">
218
+ <span>
219
219
  <el-form-item label="GUID" :prop="'userCompanyInfoDTOs.'+index1+'.guid'"
220
220
  :rules="[{ required: false, trigger: 'blur' }]">
221
221
  <el-input size="small" v-model="item.guid" maxlength="200" clearable/>
@@ -297,7 +297,7 @@
297
297
 
298
298
  <script>
299
299
  import xeUtils from "xe-utils";
300
- /*import tempStorageButton from "@base/components/tempStorage/index.vue";*/
300
+ import tempStorageButton from "@base/components/tempStorage/index.vue";
301
301
 
302
302
 
303
303
  export default {
@@ -307,8 +307,8 @@ export default {
307
307
  companyDialog: () => import('../../../views/user/company_info/dialog.vue'),
308
308
  saleOrgDialog: () => import('../../../views/user/sale_org/dialog.vue'),
309
309
  positionDialog: () => import('../../../views/user/position/dialog.vue'),
310
- countryDialog: () => import('../../../views/user/country/dialog.vue')/*,
311
- tempStorageButton*/
310
+ countryDialog: () => import('../../../views/user/country/dialog.vue'),
311
+ tempStorageButton
312
312
  },
313
313
  props: ['_dataId', 'userType', 'flag'],
314
314
  data() {
@@ -698,7 +698,7 @@ export default {
698
698
  if (rows.length > 0) {
699
699
  let outUserCodes = this.outUserCodes;
700
700
  if (this.userType === 1) {
701
- //企业用户
701
+ //组织用户
702
702
  rows = rows.filter(row => !outUserCodes.includes(row.code));
703
703
  } else if (this.userType === 2) {
704
704
  //外部用户
@@ -973,7 +973,7 @@ export default {
973
973
  initRoleDialogParam() {
974
974
  //初始化角色弹框的查询参数
975
975
  if (this.userType == 1) {
976
- //企业用户
976
+ //组织用户
977
977
  this.roleDialogParam = {
978
978
  queryAll: true,
979
979
  neCodes: [...this.outUserCodes]
@@ -137,6 +137,7 @@
137
137
  <script>
138
138
  import xeUtils from "xe-utils";
139
139
  import groudDialog from "@base/views/user/groups/dialog.vue";
140
+ import {getBdEnv} from "@base/api/user";
140
141
 
141
142
  export default {
142
143
  name: 'UserEdit',
@@ -229,8 +230,9 @@ export default {
229
230
  userInfo: {},
230
231
  userGroups: [],
231
232
  showGroupDialog: false,
232
- vxeOption:{},
233
- menuKindAuthDTOs:[]
233
+ vxeOption: {},
234
+ menuKindAuthDTOs: [],
235
+ isDev: true
234
236
  };
235
237
  },
236
238
  computed: {
@@ -247,6 +249,7 @@ export default {
247
249
  this.getUserGroups()
248
250
  this.getData();
249
251
  this.getConpanyInfo()
252
+ await this.initBdEnv();
250
253
  this.initTableM1();
251
254
  },
252
255
  methods: {
@@ -254,6 +257,7 @@ export default {
254
257
  if (this.dataId && !isNaN(this.dataId)) {
255
258
  this.isEdit = true;
256
259
  this.$commonHttp({
260
+ aes: true,
257
261
  url: USER_PREFIX + `/user/get`,
258
262
  method: `post`,
259
263
  data: {
@@ -297,6 +301,7 @@ export default {
297
301
  this.$baseConfirm(this.$t1('您确定要保存吗?')).then(() => {
298
302
  var url = USER_PREFIX + (this.isEdit ? '/user/update' : '/user/save');
299
303
  this.$http({
304
+ aes: true,
300
305
  url: url,
301
306
  method: `post`,
302
307
  data: this.user,
@@ -327,6 +332,7 @@ export default {
327
332
  getSaleOrgData() {
328
333
  if (this.dataId) {
329
334
  this.$http({
335
+ aes: true,
330
336
  url: USER_PREFIX + '/user/getUserSaleOrg',
331
337
  method: `post`,
332
338
  data: {id: this.dataId},
@@ -347,6 +353,7 @@ export default {
347
353
  getUserRoleData() {
348
354
  if (this.dataId) {
349
355
  this.$http({
356
+ aes: true,
350
357
  url: USER_PREFIX + '/user/getUserRole',
351
358
  method: `post`,
352
359
  data: {id: this.dataId},
@@ -370,6 +377,7 @@ export default {
370
377
  getCompanyInfoData(callback) {
371
378
  if (this.dataId) {
372
379
  this.$http({
380
+ aes: true,
373
381
  url: USER_PREFIX + '/user/getUserCompanyInfo',
374
382
  method: `post`,
375
383
  data: {id: this.dataId},
@@ -419,6 +427,7 @@ export default {
419
427
  },
420
428
  getConpanyInfo() {
421
429
  this.$http({
430
+ aes: true,
422
431
  url: USER_PREFIX + '/company_info/getCurrent',
423
432
  method: `post`,
424
433
  isLoading: true,
@@ -445,6 +454,7 @@ export default {
445
454
  this.$baseConfirm(this.$t1('您确定要解锁吗?')).then(() => {
446
455
  var url = USER_PREFIX + '/user/unlockLoginAccount';
447
456
  this.$http({
457
+ aes: true,
448
458
  url: url,
449
459
  method: `post`,
450
460
  data: {
@@ -473,6 +483,7 @@ export default {
473
483
  },
474
484
  getUserInfo() {
475
485
  return this.$http({
486
+ aes: true,
476
487
  url: USER_PREFIX + '/user/currentUser',
477
488
  method: 'post',
478
489
  success: res => {
@@ -486,6 +497,7 @@ export default {
486
497
  },
487
498
  getUserGroups() {
488
499
  return this.$http({
500
+ aes: true,
489
501
  url: USER_PREFIX + '/groups/listPage',
490
502
  method: 'post',
491
503
  data: {},
@@ -507,6 +519,48 @@ export default {
507
519
  width: 350,
508
520
  fixed: 'left'
509
521
  },
522
+ {
523
+ title: this.$t1('编辑'),
524
+ field: 'editAuth',
525
+ width: 150,
526
+ slots: {
527
+ default: ({row}) => {
528
+ if (row.editAuth) {
529
+ return [<div class="txt-status">{this.$t1('是')}</div>];
530
+ } else {
531
+ return [<div class="txt-status s-3">{this.$t1('否')}</div>];
532
+ }
533
+ }
534
+ }
535
+ },
536
+ {
537
+ title: this.$t1('导出发布'),
538
+ field: 'exportAuth',
539
+ width: 150,
540
+ slots: {
541
+ default: ({row}) => {
542
+ if (row.exportAuth) {
543
+ return [<div class="txt-status">{this.$t1('是')}</div>];
544
+ } else {
545
+ return [<div class="txt-status s-3">{this.$t1('否')}</div>];
546
+ }
547
+ }
548
+ }
549
+ },
550
+ ...(this.isDev ? [{
551
+ title: this.$t1('可选导出发布类型'),
552
+ field: 'selectTypeAuth',
553
+ width: 200,
554
+ slots: {
555
+ default: ({row}) => {
556
+ if (row.selectTypeAuth) {
557
+ return [<div class="txt-status">{this.$t1('是')}</div>];
558
+ } else {
559
+ return [<div class="txt-status s-3">{this.$t1('否')}</div>];
560
+ }
561
+ }
562
+ }
563
+ }] : []),
510
564
  {
511
565
  width: 47,
512
566
  fixed: 'right',
@@ -534,6 +588,13 @@ export default {
534
588
  });
535
589
  }
536
590
  },
591
+ initBdEnv() {
592
+ return getBdEnv({
593
+ success: res => {
594
+ this.isDev = res.objx == "dev"
595
+ }
596
+ });
597
+ },
537
598
  }
538
599
  };
539
600
  </script>
@@ -0,0 +1,210 @@
1
+ <template>
2
+ <el-dialog
3
+ :title="$t1('个人设置')"
4
+ :append-to-body="true"
5
+ :modal-append-to-body="falseValue"
6
+ :close-on-click-modal="falseValue"
7
+ :visible.sync="showDialog"
8
+ :modal="falseValue"
9
+ custom-class="dialog-style list-dialog demo-sty_2"
10
+ width="500px"
11
+ @close="dialogClose"
12
+ v-el-drag-dialog
13
+ v-el-dialog-center
14
+ >
15
+ <div id="containt" style="height: 300px">
16
+ <div class="detail-wrap">
17
+ <el-form ref="editForm" :model="user">
18
+ <div class="d-header clearfix">
19
+ <div class="fl">
20
+ <i class="el-icon-info"/>
21
+ {{ dataId ? $t1('查看用户') : $t1('新增用户') }}
22
+ </div>
23
+ <div class="fr">
24
+ <el-button type="primary" plain class="button-sty" @click="reloadContent" icon="el-icon-refresh-right">
25
+ {{ $t1('重置') }}
26
+ </el-button>
27
+ <el-button type="primary" class="button-sty" icon="el-icon-check" @click="saveData">{{ $t1('保存') }}
28
+ </el-button>
29
+ </div>
30
+ </div>
31
+ <div class="d-cont" style="height: auto">
32
+ <div class="d-item" style="padding-right: 0">
33
+ <div class="title first"><b>{{ $t1('基本信息') }}</b></div>
34
+ <table class="table-detail">
35
+ <tbody>
36
+ <tr>
37
+ <th>
38
+ <em class="f-red">*</em>
39
+ {{ $t1('登录名') }}
40
+ </th>
41
+ <td colspan="3">
42
+ {{ user.loginAccount }}
43
+ </td>
44
+ </tr>
45
+ <tr>
46
+ <th>
47
+ <em class="f-red">*</em>
48
+ {{ $t1('姓名') }}
49
+ </th>
50
+ <td colspan="3">
51
+ <el-form-item prop="nickName" :rules="[{ required: true, trigger: 'blur' }]">
52
+ <el-input size="small" v-model="user.nickName" maxlength="200" lay-verify="required" required=""
53
+ clearable/>
54
+ </el-form-item>
55
+ </td>
56
+ </tr>
57
+ <tr>
58
+ <th>{{ $t1('密码') }}</th>
59
+ <td colspan="3">
60
+ <el-form-item prop="password" :rules="passRules">
61
+ <el-input
62
+ size="small"
63
+ type="password"
64
+ v-model="user.password"
65
+ show-password
66
+ maxlength="255"
67
+ autocomplete="off"
68
+ auto-complete="new-password"
69
+ clearable
70
+ />
71
+ </el-form-item>
72
+ </td>
73
+ </tr>
74
+ <tr>
75
+ <th>{{ $t1('确认密码') }}</th>
76
+ <td colspan="3">
77
+ <el-form-item prop="rePassword" :rules="pass2Rules">
78
+ <el-input
79
+ size="small"
80
+ type="password"
81
+ v-model="user.rePassword"
82
+ show-password
83
+ maxlength="255"
84
+ autocomplete="off"
85
+ auto-complete="new-password"
86
+ lay-verify="confirmPass"
87
+ clearable
88
+ />
89
+ </el-form-item>
90
+ </td>
91
+ </tr>
92
+ </tbody>
93
+ </table>
94
+ </div>
95
+ </div>
96
+ </el-form>
97
+ </div>
98
+ </div>
99
+ </el-dialog>
100
+ </template>
101
+
102
+ <script>
103
+ export default {
104
+ name: 'userInfo',
105
+ components: {},
106
+ props: ['_dataId'],
107
+ created() {
108
+ if (this._dataId && !isNaN(this._dataId)) this.dataId = this._dataId;
109
+ },
110
+ mounted() {
111
+ this.getData();
112
+ },
113
+ data() {
114
+ var validatePass = (rule, value, callback) => {
115
+ const isPassRequired = !this.dataId;
116
+ if (isPassRequired && (value == '' || value == undefined)) {
117
+ callback(new Error(this.$t1('密码不能为空')));
118
+ } else {
119
+ callback();
120
+ }
121
+ this.$refs.editForm.validateField('rePassword');
122
+ };
123
+ var validatePass2 = (rule, value, callback) => {
124
+ const isPassRequired = !this.dataId;
125
+ const rePassword = value != undefined ? value : '';
126
+ const password = this.user.password != undefined ? this.user.password : '';
127
+
128
+ if (isPassRequired && rePassword == '') {
129
+ callback(new Error(this.$t1('确认密码不能为空')));
130
+ } else if (rePassword != password) {
131
+ callback(new Error(this.$t1('两次输入密码不一致!')));
132
+ } else {
133
+ callback();
134
+ }
135
+ };
136
+ return {
137
+ showDialog: true,
138
+ falseValue: false,
139
+ dataId: '',
140
+ hBtn: true,
141
+ user: {},
142
+ vxeOption: {},
143
+ companyInfoOption: {},
144
+ userRoleOption: {},
145
+ showContent: true,
146
+ passRules: [{validator: validatePass, trigger: 'blur', required: false}],
147
+ pass2Rules: [{validator: validatePass2, trigger: 'blur', required: false}]
148
+ };
149
+ },
150
+ methods: {
151
+ getData() {
152
+ let t = this._dataId;
153
+ if (this.dataId && !isNaN(this.dataId)) {
154
+ this.isEdit = true;
155
+ this.$commonHttp({
156
+ url: USER_PREFIX + `/user/get`,
157
+ method: `post`,
158
+ data: {
159
+ id: this.dataId
160
+ },
161
+ isLoading: true,
162
+ modalStrictly: true,
163
+ success: res => {
164
+ var user = res.objx || {};
165
+ this.user = res.objx || {};
166
+ this.user.password = '';
167
+ }
168
+ });
169
+ } else {
170
+ this.isEdit = false;
171
+ this.user = {
172
+ enabled: true
173
+ };
174
+ }
175
+ },
176
+ saveData() {
177
+ this.$refs.editForm.$baseValidate(valid => {
178
+ if (valid) {
179
+ this.$baseConfirm(this.$t1('您确定要保存吗?')).then(() => {
180
+ var url = USER_PREFIX + '/user/updateUserInfo';
181
+ this.$http({
182
+ url: url,
183
+ method: `post`,
184
+ data: this.user,
185
+ isLoading: true,
186
+ success: res => {
187
+ this.$message({
188
+ message: res.content,
189
+ type: 'success',
190
+ duration: 500,
191
+ onClose: t => {
192
+ this.reloadContent();
193
+ }
194
+ });
195
+ }
196
+ });
197
+ });
198
+ }
199
+ });
200
+ },
201
+ dialogClose() {
202
+ this.$emit('update:visiable', false);
203
+ },
204
+ reloadContent() {
205
+ this.user = {};
206
+ this.getData();
207
+ }
208
+ }
209
+ };
210
+ </script>
@@ -222,6 +222,7 @@ export default {
222
222
  getUserGroups() {
223
223
  return new Promise((resolve, reject) => {
224
224
  this.$http({
225
+ aes: true,
225
226
  url: USER_PREFIX + '/groups/listPage',
226
227
  method: 'post',
227
228
  data: {},
@@ -217,7 +217,7 @@ export default {
217
217
  };
218
218
  let outUserCodes = this.outUserCodes;
219
219
  if (this.userType == 1) {
220
- //企业用户
220
+ //组织用户
221
221
  formData.neRoleCodes = [...outUserCodes];
222
222
  } else if (this.userType == 2) {
223
223
  //外部用户
@@ -479,8 +479,7 @@ export default {
479
479
  excel: USER_PREFIX + '/excelTemplate/user/user.xlsx',
480
480
  multi: true,
481
481
  saveUrl: USER_PREFIX + '/user/batchImport',
482
- callback: (data) => {
483
- debugger
482
+ callback: () => {
484
483
  that.searchEvent();
485
484
  }
486
485
  });
@@ -494,7 +493,7 @@ export default {
494
493
  let rows = res.objx || [];
495
494
  let outUserCodes = this.outUserCodes;
496
495
  if (this.userType == 1) {
497
- //企业用户
496
+ //组织用户
498
497
  rows = rows.filter(row => !outUserCodes.includes(row.code));
499
498
  } else if (this.userType == 2) {
500
499
  //外部用户
@@ -536,7 +535,7 @@ export default {
536
535
  let rows = res.objx || [];
537
536
  let outUserCodes = this.outUserCodes;
538
537
  if (this.userType == 1) {
539
- //企业用户
538
+ //组织用户
540
539
  rows = rows.filter(row => !outUserCodes.includes(row.code));
541
540
  } else if (this.userType == 2) {
542
541
  //外部用户
@@ -370,7 +370,7 @@ export default {
370
370
  dataId: wfDataId
371
371
  };
372
372
  let url = '/user/form/vform/render.vue';
373
- this.wfContent = require('@/views' + url).default;
373
+ this.wfContent = require('@base/views' + url).default;
374
374
  } else {
375
375
  this.param = {
376
376
  _dataId: wfDataId
@@ -87,7 +87,7 @@ export default {
87
87
  dataId: wfDataId
88
88
  });
89
89
  let url = '/user/form/vform/render.vue';
90
- this.wfContent = require('@/views' + url).default;
90
+ this.wfContent = require('@base/views' + url).default;
91
91
  } else {
92
92
  this.param = Object.assign(param, {
93
93
  _dataId: wfDataId
@@ -467,7 +467,7 @@ export default {
467
467
  width: 200
468
468
  },
469
469
  {
470
- width: 150,
470
+ width: 100,
471
471
  fixed: 'right',
472
472
  sortable: false,
473
473
  title: '',
@@ -497,18 +497,6 @@ export default {
497
497
  popper-class="tooltip-skin">
498
498
  <i class="iconfont icon-liuchengguanli-shejiqi_liucheng"/>
499
499
  </el-tooltip>
500
- </a>,
501
- <a
502
- href="javascript:void(0);"
503
- onClick={() => {
504
- this.openWfBizDataSettingDialog(row, this.currentRow.serviceId);
505
- }}
506
- class="a-link"
507
- >
508
- <el-tooltip enterable={false} effect="dark" content={this.$t1('配置流程过程更改业务数据')} placement="top"
509
- popper-class="tooltip-skin">
510
- <i class="el-icon-setting"/>
511
- </el-tooltip>
512
500
  </a>
513
501
  ];
514
502
  }
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div>
3
3
  <el-dialog
4
- :title="$t1('配置流程过程更改业务数据')"
4
+ :title="$t1('过程更改业务数据')"
5
5
  :append-to-body="true"
6
6
  :modal-append-to-body="true"
7
7
  :close-on-click-modal="false"
@@ -31,7 +31,7 @@
31
31
  </vxe-button>
32
32
  </div>
33
33
  <div class="fl screen-breadcrumb" style="margin-left: 30px;">
34
- <span style="font-size: 12px;">{{ $t1('表单模板名称') }}:</span>
34
+ <span style="font-size: 12px;">{{ $t1('流程模板名称') }}:</span>
35
35
  {{ objConfigItem.modelName }}
36
36
  </div>
37
37
  </div>