cloud-web-corejs 1.0.54-dev.568 → 1.0.54-dev.569

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 (146) hide show
  1. package/package.json +1 -1
  2. package/src/components/VabUpload/index.js +48 -1
  3. package/src/components/VabUpload/mixins.js +1821 -1
  4. package/src/components/VabUpload/privateProfileDialogMixins.js +1063 -1
  5. package/src/components/advancedSearchDialog/mixins.js +28 -1
  6. package/src/components/baseAlert/index.js +44 -1
  7. package/src/components/baseAlert/mixins.js +61 -1
  8. package/src/components/baseAttachment/install.js +21 -5
  9. package/src/components/baseAttachment/mixins.js +317 -1
  10. package/src/components/baseInputBatch/mixins.js +58 -1
  11. package/src/components/baseInputExport/mixins.js +391 -1
  12. package/src/components/baseTabs/mixins.js +166 -1
  13. package/src/components/cnPrint/index.js +44 -1
  14. package/src/components/cnPrint/mixins.js +189 -1
  15. package/src/components/confirmDialog/index.js +41 -1
  16. package/src/components/confirmDialog/mixins.js +31 -1
  17. package/src/components/errorMsg/index.js +44 -1
  18. package/src/components/errorMsg/mixins.js +96 -1
  19. package/src/components/excelExport/index.js +1 -1
  20. package/src/components/excelExport/mixins.js +1 -1
  21. package/src/components/excelImport/index.js +13 -13
  22. package/src/components/excelImport/mixins.js +1 -1
  23. package/src/components/formOplog/mixins.js +77 -1
  24. package/src/components/hiprint/view/design/mixins.js +611 -1
  25. package/src/components/jdPrint/index.js +44 -1
  26. package/src/components/jdPrint/mixins.js +208 -1
  27. package/src/components/jsonImport/index.js +187 -17
  28. package/src/components/jsonImport/mixins.js +332 -1
  29. package/src/components/langImport/index.js +80 -1
  30. package/src/components/langImport/mixins.js +484 -1
  31. package/src/components/langTag/mixins/addButton.js +51 -5
  32. package/src/components/langTag/mixins/deleteButton.js +55 -5
  33. package/src/components/langTag/mixins/view.js +47 -5
  34. package/src/components/luckysheet/export.js +591 -1
  35. package/src/components/luckysheet/fileUtils.js +147 -1
  36. package/src/components/luckysheet/index.js +72 -1
  37. package/src/components/obsUpload/index.js +34 -1
  38. package/src/components/obsUpload/mixins.js +1469 -1
  39. package/src/components/onlineTalk/mixins.js +852 -1
  40. package/src/components/oplogTable/mixins.js +80 -1
  41. package/src/components/pddPrint/index.js +44 -1
  42. package/src/components/pddPrint/mixins.js +252 -1
  43. package/src/components/projectTag/mixins/addButton.js +52 -1
  44. package/src/components/projectTag/mixins/deleteButton.js +52 -1
  45. package/src/components/projectTag/mixins/view.js +43 -1
  46. package/src/components/scriptDescription/mixins.js +30 -1
  47. package/src/components/scriptTest/mixins.js +90 -1
  48. package/src/components/statusTag/mixins.js +66 -1
  49. package/src/components/table/config.js +1 -1
  50. package/src/components/table/index.js +12 -1
  51. package/src/components/table/tableFormMixin.js +1 -1
  52. package/src/components/table/vxeFilter/index.js +1 -1
  53. package/src/components/table/vxeFilter/mixin.js +1 -1
  54. package/src/components/vipPrint/index.js +44 -1
  55. package/src/components/vipPrint/mixins.js +268 -1
  56. package/src/components/wf/mixins/addOpinionButton.js +51 -1
  57. package/src/components/wf/mixins/setCandidateButton.js +156 -1
  58. package/src/components/wf/mixins/setCandidateDialog.js +212 -1
  59. package/src/components/wf/mixins/setCandidateDialog2.js +247 -1
  60. package/src/components/wf/mixins/wfFlowEleScriptDialog.js +129 -1
  61. package/src/components/wf/mixins/wfTaskUserRangeDialog.js +67 -1
  62. package/src/components/wf/wf.js +2156 -1
  63. package/src/components/wf/wfUtil.js +279 -1
  64. package/src/components/xform/form-designer/designer.js +31 -1
  65. package/src/components/xform/form-designer/form-widget/container-widget/containerMixin.js +3 -1
  66. package/src/components/xform/form-designer/form-widget/container-widget/data-table-mixin.js +9 -1
  67. package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin.js +18 -1
  68. package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +25 -1
  69. package/src/components/xform/form-designer/form-widget/field-widget/print-button-widget.vue +1 -1
  70. package/src/components/xform/form-designer/form-widget/field-widget/print-detail-button-widget.vue +1 -2
  71. package/src/components/xform/form-designer/form-widget/field-widget/tableexportbuttonwidget.vue +99 -0
  72. package/src/components/xform/form-designer/form-widget/indexMixin.js +5 -1
  73. package/src/components/xform/form-designer/indexMixin.js +25 -1
  74. package/src/components/xform/form-designer/refMixinDesign.js +1 -28
  75. package/src/components/xform/form-designer/setting-panel/indexMixin.js +12 -1
  76. package/src/components/xform/form-designer/toolbar-panel/indexMixin.js +24 -1
  77. package/src/components/xform/form-designer/widget-panel/indexMixin.js +19 -1
  78. package/src/components/xform/form-render/container-item/containerItemMixin.js +12 -1
  79. package/src/components/xform/form-render/container-item/data-table-mixin.js +22 -1
  80. package/src/components/xform/form-render/dynamicDialogRender.js +5 -1
  81. package/src/components/xform/form-render/indexMixin.js +49 -1
  82. package/src/components/xform/form-render/refMixin.js +3 -1
  83. package/src/components/xform/mixins/defaultHandle.js +6 -1
  84. package/src/components/xform/mixins/scriptHttp.js +1 -172
  85. package/src/components/xform/utils/util.js +5 -1
  86. package/src/components/xform/utils/validators.js +2 -1
  87. package/src/components/xhsPrint/index.js +44 -1
  88. package/src/components/xhsPrint/mixins.js +269 -1
  89. package/src/directive/LimitNumber/index.js +125 -1
  90. package/src/directive/el-dialog-center/index.js +34 -1
  91. package/src/directive/el-drag-dialog/drag.js +86 -1
  92. package/src/directive/el-readonly/index.js +15 -1
  93. package/src/directive/permission/hasPermi.js +34 -1
  94. package/src/permission.js +135 -1
  95. package/src/resources/js/base/common.js +1 -110
  96. package/src/router/modules/customer.js +8 -142
  97. package/src/store/config/index.js +667 -1
  98. package/src/store/modules/permission.js +3 -343
  99. package/src/store/modules/settings.js +1 -1
  100. package/src/store/modules/tagsView.js +11 -1
  101. package/src/store/modules/user.js +23 -1
  102. package/src/utils/aes.js +2 -1
  103. package/src/utils/auth.js +1 -1
  104. package/src/utils/global.js +1 -1
  105. package/src/utils/index.js +6 -1
  106. package/src/utils/keepAlive.js +1 -1
  107. package/src/utils/pddLog.js +17 -28
  108. package/src/utils/request.js +1 -1
  109. package/src/utils/vab.js +19 -1
  110. package/src/utils/validate.js +1 -1
  111. package/src/utils/wf.js +4 -4
  112. package/src/views/bd/setting/bd_attach_setting/mixins/dialog.js +6 -6
  113. package/src/views/bd/setting/bd_attach_setting/mixins/edit.js +4 -4
  114. package/src/views/bd/setting/bd_attach_setting/mixins/list.js +1 -1
  115. package/src/views/bd/setting/bd_company_env/dialog.vue +174 -174
  116. package/src/views/bd/setting/bd_company_env/edit.vue +193 -193
  117. package/src/views/bd/setting/form_template/mixins/batchWfObjConfigDialog.js +5 -5
  118. package/src/views/bd/setting/form_template/mixins/dialog.js +6 -6
  119. package/src/views/bd/setting/form_template/mixins/edit.js +10 -10
  120. package/src/views/bd/setting/form_template/mixins/editWfObjConfigDialog.js +1 -1
  121. package/src/views/bd/setting/form_template/mixins/ftHistoryDialog.js +5 -5
  122. package/src/views/bd/setting/form_template/mixins/itemEdit.js +1 -1
  123. package/src/views/bd/setting/form_template/mixins/itemList.js +1 -1
  124. package/src/views/bd/setting/form_template/mixins/list.js +25 -25
  125. package/src/views/bd/setting/form_template/mixins/otherAuthDialog.js +7 -7
  126. package/src/views/bd/setting/form_template/mixins/preformDialog.js +1 -1
  127. package/src/views/bd/setting/form_template/mixins/wf_list.js +12 -12
  128. package/src/views/bd/setting/form_template/wfObjConfigDialog.vue +254 -254
  129. package/src/views/bd/setting/logic_param/mixins/edit.js +3 -3
  130. package/src/views/bd/setting/logic_param/mixins/list.js +9 -9
  131. package/src/views/bd/setting/menu_kind/mixins/authDialog.js +7 -7
  132. package/src/views/bd/setting/menu_kind/mixins/dialog.js +1 -1
  133. package/src/views/bd/setting/menu_kind/mixins/list.js +10 -10
  134. package/src/views/bd/setting/request_async_setting/edit.vue +320 -320
  135. package/src/views/bd/setting/request_setting/edit.vue +300 -300
  136. package/src/views/bd/setting/table_model/mixins/dialog.js +5 -5
  137. package/src/views/bd/setting/table_model/mixins/edit copy.js +903 -0
  138. package/src/views/bd/setting/table_model/mixins/edit.js +14 -14
  139. package/src/views/bd/setting/table_model/mixins/list.js +14 -14
  140. package/src/views/bd/setting/table_model/mixins/otherAuthDialog.js +7 -7
  141. package/src/views/bd/setting/table_model/mixins/zdDialog.js +5 -5
  142. package/src/views/bd/setting/utils/index.js +1 -1
  143. package/src/views/user/wf/wf_work_calendar/date.js +64 -65
  144. package/src/mixins/table/index.js +0 -151
  145. package/src/views/user/home/bears/index.vue +0 -1032
  146. package/src/views/user/home/taili/index.vue +0 -1034
@@ -1,193 +1,193 @@
1
- <template>
2
- <div class="detail-wrap">
3
- <el-form ref="editForm" :model="bdCompanyEnv">
4
- <div class="d-header clearfix">
5
- <div class="fl">
6
- <i class="el-icon-info" />
7
- {{ dataId ? $t1("查看组织环境设置") : $t1("新增组织环境设置") }}
8
- </div>
9
- <div class="fr">
10
- <el-button
11
- type="primary"
12
- plain
13
- class="button-sty"
14
- @click="$baseReload()"
15
- icon="el-icon-refresh-right"
16
- >
17
- {{ $t1("重置") }}
18
- </el-button>
19
- <el-button
20
- type="primary"
21
- class="button-sty"
22
- icon="el-icon-check"
23
- @click="saveData"
24
- >{{ $t1("保存") }}
25
- </el-button>
26
- </div>
27
- </div>
28
- <div class="d-cont">
29
- <div class="d-item">
30
- <div class="title first">
31
- <b>{{ $t1("基本信息") }}</b>
32
- </div>
33
- <table class="table-detail">
34
- <tbody>
35
- <tr>
36
- <th>
37
- <em class="f-red">*</em>
38
- {{ $t1("服务") }}
39
- </th>
40
- <td>
41
- <el-form-item
42
- prop="bdService"
43
- :rules="[{ required: true, trigger: 'blur' }]"
44
- >
45
- <el-select v-model="bdCompanyEnv.bdService">
46
- <el-option value="dev" :label="$t1('测试')"></el-option>
47
- <el-option value="uat" :label="$t1('UAT')"></el-option>
48
- <el-option value="prod" :label="$t1('正式')"></el-option>
49
- </el-select>
50
- </el-form-item>
51
- </td>
52
- <th>
53
- <em class="f-red">*</em>
54
- {{ $t1("组织编码") }}
55
- </th>
56
- <td>
57
- <el-form-item
58
- prop="bdCompanyCode"
59
- :rules="[{ required: true, trigger: 'blur' }]"
60
- >
61
- <el-input
62
- type="text"
63
- autocomplete="off"
64
- v-model="bdCompanyEnv.bdCompanyCode"
65
- clearable
66
- />
67
- </el-form-item>
68
- </td>
69
- </tr>
70
- <tr>
71
- <th>{{ $t1("组织备注") }}</th>
72
- <td colspan="5">
73
- <el-input
74
- type="textarea"
75
- :rows="2"
76
- :placeholder="$t1('请输入内容')"
77
- size="small"
78
- v-model="bdCompanyEnv.bdCompanyRemark"
79
- clearable
80
- ></el-input>
81
- </td>
82
- </tr>
83
- <tr>
84
- <th>{{ $t1("创建人") }}</th>
85
- <td>{{ bdCompanyEnv.createBy }}</td>
86
- <th>{{ $t1("创建时间") }}</th>
87
- <td>{{ bdCompanyEnv.createDate }}</td>
88
- <th>{{ $t1("更新人") }}</th>
89
- <td>{{ bdCompanyEnv.modifyBy }}</td>
90
- <th>{{ $t1("更新时间") }}</th>
91
- <td>{{ bdCompanyEnv.modifyDate }}</td>
92
- </tr>
93
- </tbody>
94
- </table>
95
- </div>
96
- </div>
97
- </el-form>
98
- </div>
99
- </template>
100
-
101
- <script>
102
- export default {
103
- name: "bd_company_envEdit",
104
- props: {
105
- _dataId: [String, Number],
106
- copyId: [String, Number],
107
- },
108
- components: {},
109
- data() {
110
- return {
111
- isEdit: false,
112
- tabIndex: "first",
113
- dataId: "",
114
- bdCompanyEnv: {
115
- enabled: true,
116
- connectTimeout: 10000,
117
- readTimeout: 60000,
118
- preScript: null,
119
- postScript: null,
120
- exeCompanyCode: null,
121
- },
122
- showCodeEditor: false,
123
- };
124
- },
125
- created() {
126
- if (this._dataId && !isNaN(this._dataId)) this.dataId = this._dataId;
127
- },
128
- mounted() {
129
- this.getData();
130
- },
131
- methods: {
132
- getData() {
133
- if (this.copyId) {
134
- return;
135
- }
136
- if (this.dataId && !isNaN(this.dataId)) {
137
- this.isEdit = true;
138
- this.$commonHttp({
139
- url: USER_PREFIX + `/bd_company_env/get`,
140
- method: `post`,
141
- data: {
142
- id: this.dataId,
143
- },
144
- isLoading: true,
145
- modalStrictly: true,
146
- success: (res) => {
147
- this.bdCompanyEnv = res.objx || {};
148
- this.showCodeEditor = true;
149
- },
150
- });
151
- } else {
152
- this.showCodeEditor = true;
153
- }
154
- },
155
- saveData() {
156
- this.$refs.editForm.$baseValidate((valid) => {
157
- if (valid) {
158
- this.$baseConfirm(this.$t1("您确定要保存吗?")).then(() => {
159
- let url =
160
- USER_PREFIX +
161
- (this.isEdit ? `/bd_company_env/update` : `/bd_company_env/save`);
162
- this.$http({
163
- url: url,
164
- method: `post`,
165
- data: this.bdCompanyEnv,
166
- isLoading: true,
167
- success: (res) => {
168
- this.$message({
169
- message: res.content,
170
- type: "success",
171
- duration: 500,
172
- onClose: (t) => {
173
- if (this.isEdit) {
174
- this.$baseReload();
175
- } else {
176
- this.$baseReload({
177
- updateParam: {
178
- _dataId: res.objx,
179
- copyId: null,
180
- },
181
- });
182
- }
183
- },
184
- });
185
- },
186
- });
187
- });
188
- }
189
- });
190
- },
191
- },
192
- };
193
- </script>
1
+ <template>
2
+ <div class="detail-wrap">
3
+ <el-form ref="editForm" :model="bdCompanyEnv">
4
+ <div class="d-header clearfix">
5
+ <div class="fl">
6
+ <i class="el-icon-info" />
7
+ {{ dataId ? $t1("查看组织环境设置") : $t1("新增组织环境设置") }}
8
+ </div>
9
+ <div class="fr">
10
+ <el-button
11
+ type="primary"
12
+ plain
13
+ class="button-sty"
14
+ @click="$baseReload()"
15
+ icon="el-icon-refresh-right"
16
+ >
17
+ {{ $t1("重置") }}
18
+ </el-button>
19
+ <el-button
20
+ type="primary"
21
+ class="button-sty"
22
+ icon="el-icon-check"
23
+ @click="saveData"
24
+ >{{ $t1("保存") }}
25
+ </el-button>
26
+ </div>
27
+ </div>
28
+ <div class="d-cont">
29
+ <div class="d-item">
30
+ <div class="title first">
31
+ <b>{{ $t1("基本信息") }}</b>
32
+ </div>
33
+ <table class="table-detail">
34
+ <tbody>
35
+ <tr>
36
+ <th>
37
+ <em class="f-red">*</em>
38
+ {{ $t1("服务") }}
39
+ </th>
40
+ <td>
41
+ <el-form-item
42
+ prop="bdService"
43
+ :rules="[{ required: true, trigger: 'blur' }]"
44
+ >
45
+ <el-select v-model="bdCompanyEnv.bdService">
46
+ <el-option value="dev" :label="$t1('测试')"></el-option>
47
+ <el-option value="uat" :label="$t1('UAT')"></el-option>
48
+ <el-option value="prod" :label="$t1('正式')"></el-option>
49
+ </el-select>
50
+ </el-form-item>
51
+ </td>
52
+ <th>
53
+ <em class="f-red">*</em>
54
+ {{ $t1("组织编码") }}
55
+ </th>
56
+ <td>
57
+ <el-form-item
58
+ prop="bdCompanyCode"
59
+ :rules="[{ required: true, trigger: 'blur' }]"
60
+ >
61
+ <el-input
62
+ type="text"
63
+ autocomplete="off"
64
+ v-model="bdCompanyEnv.bdCompanyCode"
65
+ clearable
66
+ />
67
+ </el-form-item>
68
+ </td>
69
+ </tr>
70
+ <tr>
71
+ <th>{{ $t1("组织备注") }}</th>
72
+ <td colspan="5">
73
+ <el-input
74
+ type="textarea"
75
+ :rows="2"
76
+ :placeholder="$t1('请输入内容')"
77
+ size="small"
78
+ v-model="bdCompanyEnv.bdCompanyRemark"
79
+ clearable
80
+ ></el-input>
81
+ </td>
82
+ </tr>
83
+ <tr>
84
+ <th>{{ $t1("创建人") }}</th>
85
+ <td>{{ bdCompanyEnv.createBy }}</td>
86
+ <th>{{ $t1("创建时间") }}</th>
87
+ <td>{{ bdCompanyEnv.createDate }}</td>
88
+ <th>{{ $t1("更新人") }}</th>
89
+ <td>{{ bdCompanyEnv.modifyBy }}</td>
90
+ <th>{{ $t1("更新时间") }}</th>
91
+ <td>{{ bdCompanyEnv.modifyDate }}</td>
92
+ </tr>
93
+ </tbody>
94
+ </table>
95
+ </div>
96
+ </div>
97
+ </el-form>
98
+ </div>
99
+ </template>
100
+
101
+ <script>
102
+ export default {
103
+ name: "bd_company_envEdit",
104
+ props: {
105
+ _dataId: [String, Number],
106
+ copyId: [String, Number],
107
+ },
108
+ components: {},
109
+ data() {
110
+ return {
111
+ isEdit: false,
112
+ tabIndex: "first",
113
+ dataId: "",
114
+ bdCompanyEnv: {
115
+ enabled: true,
116
+ connectTimeout: 10000,
117
+ readTimeout: 60000,
118
+ preScript: null,
119
+ postScript: null,
120
+ exeCompanyCode: null,
121
+ },
122
+ showCodeEditor: false,
123
+ };
124
+ },
125
+ created() {
126
+ if (this._dataId && !isNaN(this._dataId)) this.dataId = this._dataId;
127
+ },
128
+ mounted() {
129
+ this.getData();
130
+ },
131
+ methods: {
132
+ getData() {
133
+ if (this.copyId) {
134
+ return;
135
+ }
136
+ if (this.dataId && !isNaN(this.dataId)) {
137
+ this.isEdit = true;
138
+ this.$commonHttp({
139
+ url: USER_PREFIX + `/bd_company_env/get`,
140
+ method: `post`,
141
+ data: {
142
+ id: this.dataId,
143
+ },
144
+ isLoading: true,
145
+ modalStrictly: true,
146
+ success: (res) => {
147
+ this.bdCompanyEnv = res.objx || {};
148
+ this.showCodeEditor = true;
149
+ },
150
+ });
151
+ } else {
152
+ this.showCodeEditor = true;
153
+ }
154
+ },
155
+ saveData() {
156
+ this.$refs.editForm.$baseValidate((valid) => {
157
+ if (valid) {
158
+ this.$baseConfirm(this.$t1("您确定要保存吗?")).then(() => {
159
+ var url =
160
+ USER_PREFIX +
161
+ (this.isEdit ? `/bd_company_env/update` : `/bd_company_env/save`);
162
+ this.$http({
163
+ url: url,
164
+ method: `post`,
165
+ data: this.bdCompanyEnv,
166
+ isLoading: true,
167
+ success: (res) => {
168
+ this.$message({
169
+ message: res.content,
170
+ type: "success",
171
+ duration: 500,
172
+ onClose: (t) => {
173
+ if (this.isEdit) {
174
+ this.$baseReload();
175
+ } else {
176
+ this.$baseReload({
177
+ updateParam: {
178
+ _dataId: res.objx,
179
+ copyId: null,
180
+ },
181
+ });
182
+ }
183
+ },
184
+ });
185
+ },
186
+ });
187
+ });
188
+ }
189
+ });
190
+ },
191
+ },
192
+ };
193
+ </script>