cloud-web-corejs 1.0.54-dev.698 → 1.0.54-dev.699

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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cloud-web-corejs",
3
3
  "private": false,
4
- "version": "1.0.54-dev.698",
4
+ "version": "1.0.54-dev.699",
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
7
7
  "lint": "eslint --ext .js,.vue src",
@@ -280,11 +280,26 @@ export default {
280
280
  field: "remark",
281
281
  width: 150,
282
282
  },
283
+ {
284
+ title: this.$t1("创建人"),
285
+ field: "_createBy",
286
+ width: 150,
287
+ },
283
288
  {
284
289
  title: this.$t1("创建时间"),
285
290
  field: "createDate",
286
291
  width: 150,
287
292
  },
293
+ {
294
+ title: this.$t1("更新人"),
295
+ field: "_modifyBy",
296
+ width: 150,
297
+ },
298
+ {
299
+ title: this.$t1("更新时间"),
300
+ field: "modifyDate",
301
+ width: 150,
302
+ },
288
303
  {
289
304
  width: 90,
290
305
  fixed: "right",
@@ -79,6 +79,7 @@
79
79
  @reverCallback="searchEvent"
80
80
  ></formVersionButton>
81
81
  <a
82
+ v-if="exportArchiveEnabled"
82
83
  href="javascript:void(0);"
83
84
  class="a-link"
84
85
  @click="jsonExportArchive(row)"
@@ -147,6 +147,7 @@
147
147
  @reverCallback="searchEvent"
148
148
  ></formVersionButton>
149
149
  <a
150
+ v-if="exportArchiveEnabled"
150
151
  href="javascript:void(0);"
151
152
  class="a-link"
152
153
  @click="jsonExportArchive(row)"
@@ -3,6 +3,7 @@ import editView from "@base/views/bd/setting/form_script/edit.vue";
3
3
  import { getBdFlag } from "@base/api/user";
4
4
  import { getJsxEditLink, getJsxStatus } from "@base/views/bd/setting/utils/index";
5
5
  import formVersionButton from "@base/views/bd/setting/formVersion/link.vue";
6
+ import settingConfig from "@/settings";
6
7
 
7
8
  let modules = {};
8
9
  modules = {
@@ -28,6 +29,15 @@ modules = {
28
29
  isDev: true,
29
30
  };
30
31
  },
32
+ computed: {
33
+ exportArchiveEnabled() {
34
+ return settingConfig.exportArchiveEnabled === true;
35
+ },
36
+ operationColumnWidth() {
37
+ const btnWidth = 47;
38
+ return this.exportArchiveEnabled ? btnWidth * 2 : btnWidth;
39
+ },
40
+ },
31
41
  mounted() {
32
42
  this.getBdEnv();
33
43
  this.initTableList();
@@ -155,7 +165,7 @@ modules = {
155
165
  width: 150,
156
166
  },
157
167
  {
158
- width: 100,
168
+ width: this.operationColumnWidth,
159
169
  fixed: "right",
160
170
  title: "",
161
171
  sortable: false,
@@ -12,6 +12,7 @@ import {
12
12
  getJsxStatus,
13
13
  } from "@base/views/bd/setting/utils/index";
14
14
  import formVersionButton from "@base/views/bd/setting/formVersion/link.vue";
15
+ import settingConfig from "@/settings";
15
16
 
16
17
  let modules = {};
17
18
  modules = {
@@ -92,6 +93,13 @@ modules = {
92
93
  otherFlag() {
93
94
  return this.currentFormType?.menuKindCode === "other";
94
95
  },
96
+ exportArchiveEnabled() {
97
+ return settingConfig.exportArchiveEnabled === true;
98
+ },
99
+ operationColumnWidth() {
100
+ const btnWidth = 47;
101
+ return this.exportArchiveEnabled ? btnWidth * 2 : btnWidth;
102
+ },
95
103
  },
96
104
  mounted() {
97
105
  treeScollx({ target: this, type: "default" });
@@ -274,7 +282,7 @@ modules = {
274
282
  width: 150,
275
283
  },
276
284
  {
277
- width: 100,
285
+ width: this.operationColumnWidth,
278
286
  fixed: "right",
279
287
  title: "",
280
288
  sortable: false,
@@ -162,6 +162,7 @@
162
162
  @reverCallback="searchEvent"
163
163
  ></formVersionButton>
164
164
  <a
165
+ v-if="exportArchiveEnabled"
165
166
  href="javascript:void(0);"
166
167
  class="a-link"
167
168
  @click="jsonExportArchive(row)"
@@ -19,6 +19,7 @@ import {
19
19
  getJsxStatus,
20
20
  } from "@base/views/bd/setting/utils/index";
21
21
  import formVersionButton from "@base/views/bd/setting/formVersion/link.vue";
22
+ import settingConfig from "@/settings";
22
23
 
23
24
  let modules = {};
24
25
  modules = {
@@ -153,6 +154,13 @@ modules = {
153
154
  otherFlag() {
154
155
  return this.currentFormType?.menuKindCode === "other";
155
156
  },
157
+ exportArchiveEnabled() {
158
+ return settingConfig.exportArchiveEnabled === true;
159
+ },
160
+ operationColumnWidth() {
161
+ const btnWidth = 47;
162
+ return this.exportArchiveEnabled ? btnWidth * 3 : btnWidth * 2;
163
+ },
156
164
  },
157
165
  watch: {
158
166
  formDesTabs(val) {
@@ -402,7 +410,7 @@ modules = {
402
410
  width: 150,
403
411
  },
404
412
  {
405
- width: 135,
413
+ width: this.operationColumnWidth,
406
414
  fixed: "right",
407
415
  title: "",
408
416
  sortable: false,
@@ -151,6 +151,7 @@
151
151
  @reverCallback="searchEvent"
152
152
  ></formVersionButton>
153
153
  <a
154
+ v-if="exportArchiveEnabled"
154
155
  href="javascript:void(0);"
155
156
  class="a-link"
156
157
  @click="jsonExportArchive(row)"
@@ -10,6 +10,7 @@ import {getBdFlag} from "@base/api/user";
10
10
  import {getJsxEditLink, getJsxStatus} from "@base/views/bd/setting/utils";
11
11
  import { mapGetters } from "vuex";
12
12
  import formVersionButton from "@base/views/bd/setting/formVersion/link.vue";
13
+ import settingConfig from "@/settings";
13
14
 
14
15
  let modules = {};
15
16
  modules = {
@@ -103,6 +104,13 @@ modules = {
103
104
  ...mapGetters([
104
105
  "userFlag",
105
106
  ]),
107
+ exportArchiveEnabled() {
108
+ return settingConfig.exportArchiveEnabled === true;
109
+ },
110
+ operationColumnWidth() {
111
+ const btnWidth = 47;
112
+ return this.exportArchiveEnabled ? btnWidth * 2 : btnWidth;
113
+ },
106
114
  },
107
115
  methods: {
108
116
  searchEvent() {
@@ -249,7 +257,7 @@ modules = {
249
257
  width: 150
250
258
  },
251
259
  {
252
- width: 100,
260
+ width: this.operationColumnWidth,
253
261
  fixed: 'right',
254
262
  title: '',
255
263
  sortable: false,