cloud-web-corejs 1.0.54-dev.607 → 1.0.54-dev.609
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 +1 -1
- package/src/components/table/index - /345/211/257/346/234/254.js" +4 -2
- package/src/components/table/index.js +38 -15
- package/src/components/table/tableFormMixin.js +285 -1
- package/src/components/table/util/index.js +1 -1
- package/src/components/xform/form-render/container-item/data-table-mixin.js +3177 -1
- package/src/views/bd/setting/formVersion/link.vue +58 -0
- package/src/views/bd/setting/form_script/form_list.vue +19 -0
- package/src/views/bd/setting/form_script/list.vue +90 -21
- package/src/views/bd/setting/form_script/list1.vue +19 -0
- package/src/views/bd/setting/form_script/mixins/form_list.js +146 -121
- package/src/views/bd/setting/form_script/mixins/list.js +132 -94
- package/src/views/bd/setting/form_script/mixins/list1.js +210 -154
- package/src/views/bd/setting/form_template/list.vue +34 -32
- package/src/views/bd/setting/form_template/mixins/list.js +5 -19
- package/src/views/bd/setting/table_model/list.vue +18 -0
- package/src/views/bd/setting/table_model/mixins/list.js +6 -11
|
@@ -140,6 +140,39 @@
|
|
|
140
140
|
:readonly="true"
|
|
141
141
|
></projectTagView>
|
|
142
142
|
</template>
|
|
143
|
+
<template #operation="{ row }">
|
|
144
|
+
<a href="javascript:void(0);" class="a-link" @click="openEditDialog(row)">
|
|
145
|
+
<el-tooltip
|
|
146
|
+
:enterable="false"
|
|
147
|
+
effect="dark"
|
|
148
|
+
:content="$t1('查看')"
|
|
149
|
+
placement="top"
|
|
150
|
+
popper-class="tooltip-skin"
|
|
151
|
+
>
|
|
152
|
+
<i class="el-icon-edit" />
|
|
153
|
+
</el-tooltip>
|
|
154
|
+
</a>
|
|
155
|
+
<a
|
|
156
|
+
href="javascript:void(0);"
|
|
157
|
+
class="a-link"
|
|
158
|
+
@click="openDesingerDialogByAuth(row)"
|
|
159
|
+
>
|
|
160
|
+
<el-tooltip
|
|
161
|
+
:enterable="false"
|
|
162
|
+
effect="dark"
|
|
163
|
+
:content="$t1('表单设计')"
|
|
164
|
+
placement="top"
|
|
165
|
+
popper-class="tooltip-skin"
|
|
166
|
+
>
|
|
167
|
+
<i class="iconfont icon-liuchengguanli-shejiqi_liucheng" />
|
|
168
|
+
</el-tooltip>
|
|
169
|
+
</a>
|
|
170
|
+
<formVersionButton
|
|
171
|
+
objType="FormTemplate"
|
|
172
|
+
:objCode="row.formCode"
|
|
173
|
+
@reverCallback="searchEvent"
|
|
174
|
+
></formVersionButton>
|
|
175
|
+
</template>
|
|
143
176
|
</vxe-grid>
|
|
144
177
|
<el-drawer
|
|
145
178
|
:title="$t1('流程模板')"
|
|
@@ -260,35 +293,4 @@ export default {
|
|
|
260
293
|
mixins: [mixin],
|
|
261
294
|
};
|
|
262
295
|
</script>
|
|
263
|
-
<style scoped lang="scss">
|
|
264
|
-
::v-deep .tab-boxOnly > .el-tabs__header {
|
|
265
|
-
position: absolute;
|
|
266
|
-
right: 130px;
|
|
267
|
-
top: 0;
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
::v-deep .tab-boxOnly > .el-tabs__content .el-tab-pane .el-tab-pane {
|
|
271
|
-
.detail-wrap .d-cont {
|
|
272
|
-
height: calc(100vh - 158px) !important;
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
.grid-height {
|
|
276
|
-
height: calc(100vh - 126px) !important;
|
|
277
|
-
}
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
::v-deep
|
|
281
|
-
.designer-drawer.is-fullscreen
|
|
282
|
-
.tab-boxOnly
|
|
283
|
-
> .el-tabs__content
|
|
284
|
-
.el-tab-pane
|
|
285
|
-
.el-tab-pane {
|
|
286
|
-
.detail-wrap .d-cont {
|
|
287
|
-
height: calc(100vh - 116px) !important;
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
.grid-height {
|
|
291
|
-
height: calc(100vh - 84px) !important;
|
|
292
|
-
}
|
|
293
|
-
}
|
|
294
|
-
</style>
|
|
296
|
+
<style scoped lang="scss"></style>
|
|
@@ -17,6 +17,7 @@ import {
|
|
|
17
17
|
getJsxBtnList,
|
|
18
18
|
getJsxStatus,
|
|
19
19
|
} from "@base/views/bd/setting/utils/index";
|
|
20
|
+
import formVersionButton from "@base/views/bd/setting/formVersion/link.vue";
|
|
20
21
|
|
|
21
22
|
let modules = {};
|
|
22
23
|
modules = {
|
|
@@ -35,6 +36,7 @@ modules = {
|
|
|
35
36
|
formTypeEditDialog,
|
|
36
37
|
projectTagDialog,
|
|
37
38
|
formDesignerDialog: () => import("@base/views/bd/setting/form_template/formDesignerDialog.vue"),
|
|
39
|
+
formVersionButton,
|
|
38
40
|
},
|
|
39
41
|
data() {
|
|
40
42
|
return {
|
|
@@ -385,29 +387,12 @@ modules = {
|
|
|
385
387
|
width: 150
|
|
386
388
|
},
|
|
387
389
|
{
|
|
388
|
-
width:
|
|
390
|
+
width: 140,
|
|
389
391
|
fixed: "right",
|
|
390
392
|
title: "",
|
|
391
393
|
sortable: false,
|
|
392
394
|
slots: {
|
|
393
|
-
default:
|
|
394
|
-
return getJsxBtnList([
|
|
395
|
-
{
|
|
396
|
-
iconName: "el-icon-edit",
|
|
397
|
-
content: this.$t1("查看"),
|
|
398
|
-
onclick: () => {
|
|
399
|
-
this.openEditDialog(row);
|
|
400
|
-
},
|
|
401
|
-
},
|
|
402
|
-
{
|
|
403
|
-
iconName: "iconfont icon-liuchengguanli-shejiqi_liucheng",
|
|
404
|
-
content: this.$t1("表单设计"),
|
|
405
|
-
onclick: () => {
|
|
406
|
-
this.openDesingerDialogByAuth(row);
|
|
407
|
-
},
|
|
408
|
-
},
|
|
409
|
-
]);
|
|
410
|
-
},
|
|
395
|
+
default: "operation",
|
|
411
396
|
},
|
|
412
397
|
},
|
|
413
398
|
],
|
|
@@ -458,6 +443,7 @@ modules = {
|
|
|
458
443
|
},
|
|
459
444
|
{title: this.$t1('创建人'), field: "createBy", type: "input", common: false},
|
|
460
445
|
{title: this.$t1('更新人'), field: "modifyBy", type: "input", common: false},
|
|
446
|
+
{title: this.$t1('操作日志'), field: "logContent", type: "input", common: false},
|
|
461
447
|
{
|
|
462
448
|
title: this.$t1('创建时间'),
|
|
463
449
|
field: "startCreateDate",
|
|
@@ -144,6 +144,24 @@
|
|
|
144
144
|
:readonly="true"
|
|
145
145
|
></projectTagView>
|
|
146
146
|
</template>
|
|
147
|
+
<template #operation="{ row }">
|
|
148
|
+
<a href="javascript:void(0);" class="a-link" @click="openEditDialog(row)">
|
|
149
|
+
<el-tooltip
|
|
150
|
+
:enterable="false"
|
|
151
|
+
effect="dark"
|
|
152
|
+
:content="$t1('查看')"
|
|
153
|
+
placement="top"
|
|
154
|
+
popper-class="tooltip-skin"
|
|
155
|
+
>
|
|
156
|
+
<i class="el-icon-edit" />
|
|
157
|
+
</el-tooltip>
|
|
158
|
+
</a>
|
|
159
|
+
<formVersionButton
|
|
160
|
+
objType="SzTaMb"
|
|
161
|
+
:objCode="row.taCode"
|
|
162
|
+
@reverCallback="searchEvent"
|
|
163
|
+
></formVersionButton>
|
|
164
|
+
</template>
|
|
147
165
|
</vxe-grid>
|
|
148
166
|
</div>
|
|
149
167
|
</div>
|
|
@@ -9,6 +9,7 @@ import {treeScollx} from "@base/utils/global";
|
|
|
9
9
|
import {getBdFlag} from "@base/api/user";
|
|
10
10
|
import {getJsxBtn, getJsxStatus} from "@base/views/bd/setting/utils";
|
|
11
11
|
import { mapGetters } from "vuex";
|
|
12
|
+
import formVersionButton from "@base/views/bd/setting/formVersion/link.vue";
|
|
12
13
|
|
|
13
14
|
let modules = {};
|
|
14
15
|
modules = {
|
|
@@ -19,7 +20,8 @@ modules = {
|
|
|
19
20
|
tableForm,
|
|
20
21
|
editView,
|
|
21
22
|
MenuKindDialog,
|
|
22
|
-
projectTagDialog
|
|
23
|
+
projectTagDialog,
|
|
24
|
+
formVersionButton
|
|
23
25
|
},
|
|
24
26
|
created() {
|
|
25
27
|
},
|
|
@@ -232,20 +234,12 @@ modules = {
|
|
|
232
234
|
width: 150
|
|
233
235
|
},
|
|
234
236
|
{
|
|
235
|
-
width:
|
|
237
|
+
width: 100,
|
|
236
238
|
fixed: 'right',
|
|
237
239
|
title: '',
|
|
238
240
|
sortable: false,
|
|
239
241
|
slots: {
|
|
240
|
-
default:
|
|
241
|
-
return getJsxBtn({
|
|
242
|
-
iconName: "el-icon-edit",
|
|
243
|
-
content: this.$t1('查看'),
|
|
244
|
-
onclick: () => {
|
|
245
|
-
this.openEditDialog(row);
|
|
246
|
-
}
|
|
247
|
-
});
|
|
248
|
-
}
|
|
242
|
+
default: "operation"
|
|
249
243
|
}
|
|
250
244
|
}
|
|
251
245
|
],
|
|
@@ -275,6 +269,7 @@ modules = {
|
|
|
275
269
|
{title: this.$t1('项目标签'), field: "tag", type: "input", common: true, slot: "tag"},
|
|
276
270
|
{title: this.$t1('创建人'), field: "createBy", type: "input", common: false},
|
|
277
271
|
{title: this.$t1('更新人'), field: "modifyBy", type: "input", common: false},
|
|
272
|
+
{title: this.$t1('操作日志'), field: "logContent", type: "input", common: false},
|
|
278
273
|
{
|
|
279
274
|
title: this.$t1('创建时间'),
|
|
280
275
|
field: "startCreateDate",
|