cloud-web-corejs 1.0.54-dev.600 → 1.0.54-dev.601
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/xform/form-designer/setting-panel/form-setting.vue +4 -4
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/table-column-dialog.vue +3 -3
- package/src/views/bd/setting/formVersion/button.vue +1 -1
- package/src/views/bd/setting/formVersion/compareDialog.vue +286 -0
- package/src/views/bd/setting/formVersion/fieldCompare.vue +51 -0
- package/src/views/bd/setting/formVersion/ftHistoryDialog.vue +91 -60
- package/src/views/bd/setting/formVersion/preformDialog.vue +2 -2
- package/src/views/bd/setting/formVersion/reverButton.vue +12 -14
- package/src/views/bd/setting/form_script/edit.vue +79 -34
- package/src/views/bd/setting/form_script/edit1.vue +143 -61
- package/src/views/bd/setting/form_script/mixins/edit.js +76 -53
- package/src/views/bd/setting/form_script/mixins/edit1.js +75 -52
- package/src/views/bd/setting/form_template/edit.vue +93 -36
- package/src/views/bd/setting/form_template/formDesignerDialog.vue +166 -0
- package/src/views/bd/setting/form_template/list.vue +10 -42
- package/src/views/bd/setting/form_template/mixins/edit.js +19 -2
- package/src/views/bd/setting/form_template/mixins/list.js +2 -4
- package/src/views/bd/setting/form_template/mixins/wf_list.js +0 -4
- package/src/views/bd/setting/form_template/wf_list.vue +161 -127
- package/src/views/bd/setting/table_model/edit.vue +388 -203
- package/src/views/bd/setting/table_model/mixins/edit.js +87 -72
- package/src/views/user/form/vform/designer.vue +300 -284
- package/src/views/bd/setting/form_template/mixins/list2.js +0 -411
|
@@ -75,12 +75,18 @@
|
|
|
75
75
|
prop="formName"
|
|
76
76
|
:rules="[{ required: true, trigger: 'blur' }]"
|
|
77
77
|
>
|
|
78
|
-
<
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
78
|
+
<fieldCompare
|
|
79
|
+
:isCompare="isCompare"
|
|
80
|
+
:oldVal="oldFormTemplate.formName"
|
|
81
|
+
:newVal="formTemplate.formName"
|
|
82
|
+
>
|
|
83
|
+
<el-input
|
|
84
|
+
type="text"
|
|
85
|
+
autocomplete="off"
|
|
86
|
+
v-model="formTemplate.formName"
|
|
87
|
+
clearable
|
|
88
|
+
/>
|
|
89
|
+
</fieldCompare>
|
|
84
90
|
</el-form-item>
|
|
85
91
|
</td>
|
|
86
92
|
</tr>
|
|
@@ -111,15 +117,29 @@
|
|
|
111
117
|
prop="enabled"
|
|
112
118
|
:rules="[{ required: false, trigger: 'blur' }]"
|
|
113
119
|
>
|
|
114
|
-
<
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
120
|
+
<fieldCompare
|
|
121
|
+
:isCompare="isCompare"
|
|
122
|
+
:oldVal="oldFormTemplate.enabled"
|
|
123
|
+
:newVal="formTemplate.enabled"
|
|
124
|
+
>
|
|
125
|
+
<el-radio-group v-model="formTemplate.enabled">
|
|
126
|
+
<el-radio :label="true">{{ $t1("启用") }}</el-radio>
|
|
127
|
+
<el-radio :label="false">{{ $t1("禁用") }}</el-radio>
|
|
128
|
+
</el-radio-group>
|
|
129
|
+
</fieldCompare>
|
|
118
130
|
</el-form-item>
|
|
119
131
|
</td>
|
|
120
132
|
<th>{{ $t1("启用流程") }}</th>
|
|
121
133
|
<td>
|
|
122
|
-
|
|
134
|
+
<el-form-item>
|
|
135
|
+
<fieldCompare
|
|
136
|
+
:isCompare="isCompare"
|
|
137
|
+
:oldVal="oldFormTemplate.hasWf"
|
|
138
|
+
:newVal="formTemplate.hasWf"
|
|
139
|
+
>
|
|
140
|
+
{{ formTemplate.hasWf ? $t1("是") : $t1("否") }}
|
|
141
|
+
</fieldCompare>
|
|
142
|
+
</el-form-item>
|
|
123
143
|
</td>
|
|
124
144
|
</tr>
|
|
125
145
|
<tr>
|
|
@@ -132,38 +152,52 @@
|
|
|
132
152
|
prop="menuKindName"
|
|
133
153
|
:rules="[{ required: true, trigger: ['blur', 'change'] }]"
|
|
134
154
|
>
|
|
135
|
-
<
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
@clear="
|
|
140
|
-
formTemplate.menuKindCode = '';
|
|
141
|
-
$forceUpdate();
|
|
142
|
-
"
|
|
143
|
-
v-el-readonly
|
|
144
|
-
clearable
|
|
145
|
-
:disabled="otherFlag"
|
|
155
|
+
<fieldCompare
|
|
156
|
+
:isCompare="isCompare"
|
|
157
|
+
:oldVal="oldFormTemplate.menuKindName"
|
|
158
|
+
:newVal="formTemplate.menuKindName"
|
|
146
159
|
>
|
|
147
|
-
<
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
160
|
+
<el-input
|
|
161
|
+
class="search-input"
|
|
162
|
+
max="200"
|
|
163
|
+
v-model="formTemplate.menuKindName"
|
|
164
|
+
@clear="
|
|
165
|
+
formTemplate.menuKindCode = '';
|
|
166
|
+
$forceUpdate();
|
|
167
|
+
"
|
|
168
|
+
v-el-readonly
|
|
169
|
+
clearable
|
|
170
|
+
:disabled="otherFlag"
|
|
171
|
+
>
|
|
172
|
+
<i
|
|
173
|
+
slot="suffix"
|
|
174
|
+
class="el-input__icon el-icon-search"
|
|
175
|
+
@click="showMenuKindDialog = true"
|
|
176
|
+
></i>
|
|
177
|
+
</el-input>
|
|
178
|
+
</fieldCompare>
|
|
153
179
|
</el-form-item>
|
|
154
180
|
</td>
|
|
155
181
|
</tr>
|
|
156
182
|
<tr>
|
|
157
183
|
<th>{{ $t1("备注") }}</th>
|
|
158
184
|
<td colspan="5">
|
|
159
|
-
<el-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
185
|
+
<el-form-item>
|
|
186
|
+
<fieldCompare
|
|
187
|
+
:isCompare="isCompare"
|
|
188
|
+
:oldVal="oldFormTemplate.remark"
|
|
189
|
+
:newVal="formTemplate.remark"
|
|
190
|
+
>
|
|
191
|
+
<el-input
|
|
192
|
+
type="textarea"
|
|
193
|
+
:rows="2"
|
|
194
|
+
:placeholder="$t1('请输入内容')"
|
|
195
|
+
size="small"
|
|
196
|
+
v-model="formTemplate.remark"
|
|
197
|
+
clearable
|
|
198
|
+
></el-input>
|
|
199
|
+
</fieldCompare>
|
|
200
|
+
</el-form-item>
|
|
167
201
|
</td>
|
|
168
202
|
</tr>
|
|
169
203
|
<tr>
|
|
@@ -188,6 +222,27 @@
|
|
|
188
222
|
{{ formTemplate.sid }}
|
|
189
223
|
</td>
|
|
190
224
|
</tr>
|
|
225
|
+
<tr v-if="!!hData">
|
|
226
|
+
<th>{{ $t1("表单模板JSON") }}</th>
|
|
227
|
+
<td colspan="7">
|
|
228
|
+
<el-form-item>
|
|
229
|
+
<fieldCompare
|
|
230
|
+
:isCompare="isCompare"
|
|
231
|
+
:oldVal="oldFormTemplate.formViewContent"
|
|
232
|
+
:newVal="formTemplate.formViewContent"
|
|
233
|
+
>
|
|
234
|
+
<el-input
|
|
235
|
+
type="textarea"
|
|
236
|
+
:rows="12"
|
|
237
|
+
:placeholder="$t1('请输入内容')"
|
|
238
|
+
size="small"
|
|
239
|
+
v-model="formTemplate.formViewContent"
|
|
240
|
+
:disabled="true"
|
|
241
|
+
></el-input>
|
|
242
|
+
</fieldCompare>
|
|
243
|
+
</el-form-item>
|
|
244
|
+
</td>
|
|
245
|
+
</tr>
|
|
191
246
|
<tr>
|
|
192
247
|
<th>{{ $t1("创建人") }}</th>
|
|
193
248
|
<td>{{ formTemplate.createBy }}</td>
|
|
@@ -287,12 +342,14 @@
|
|
|
287
342
|
import mixin from "./mixins/edit";
|
|
288
343
|
import formVersionButton from "@base/views/bd/setting/formVersion/button.vue";
|
|
289
344
|
import reverButton from "@base/views/bd/setting/formVersion/reverButton.vue";
|
|
345
|
+
import fieldCompare from "@base/views/bd/setting/formVersion/fieldCompare.vue";
|
|
290
346
|
export default {
|
|
291
347
|
name: "bd_form_templateEdit",
|
|
292
348
|
mixins: [mixin],
|
|
293
349
|
components: {
|
|
294
350
|
formVersionButton,
|
|
295
351
|
reverButton,
|
|
352
|
+
fieldCompare,
|
|
296
353
|
},
|
|
297
354
|
};
|
|
298
355
|
</script>
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-drawer
|
|
3
|
+
:title="$t1('表单设计({formName})', { formName })"
|
|
4
|
+
:visible.sync="showDesingerDialog"
|
|
5
|
+
:modal="false"
|
|
6
|
+
:destroy-on-close="true"
|
|
7
|
+
size="100%"
|
|
8
|
+
direction="rtl"
|
|
9
|
+
:before-close="closeFormDesignwinEvent"
|
|
10
|
+
:append-to-body="false"
|
|
11
|
+
class="designer-drawer"
|
|
12
|
+
:class="[isFullscreen ? 'is-fullscreen' : '']"
|
|
13
|
+
@close="handleFormDesignClose"
|
|
14
|
+
>
|
|
15
|
+
<el-tabs v-model="formDesTabs" type="card" class="tab-boxOnly" :stretch="true">
|
|
16
|
+
<el-tab-pane :label="$t1('设计器')" name="first">
|
|
17
|
+
<designer
|
|
18
|
+
ref="designer"
|
|
19
|
+
:formCode.sync="formCode"
|
|
20
|
+
@reflushTemplateList="reflushTemplateList"
|
|
21
|
+
:readonly="readonly"
|
|
22
|
+
:historyFlag="historyFlag"
|
|
23
|
+
:widgetList="widgetList"
|
|
24
|
+
:columnFlag="columnFlag"
|
|
25
|
+
:sourceData="sourceData"
|
|
26
|
+
:formTemplate="formTemplate"
|
|
27
|
+
></designer>
|
|
28
|
+
</el-tab-pane>
|
|
29
|
+
<el-tab-pane :label="$t1('后端脚本')" name="second" v-if="showFormScript">
|
|
30
|
+
<formScriptList
|
|
31
|
+
:formCode="formCode"
|
|
32
|
+
:formTemplate="formTemplate"
|
|
33
|
+
v-if="showFormScriptList"
|
|
34
|
+
></formScriptList>
|
|
35
|
+
</el-tab-pane>
|
|
36
|
+
</el-tabs>
|
|
37
|
+
<el-button class="isFullIcon" v-if="!isFullscreen" @click="handleFullscreen">
|
|
38
|
+
<el-tooltip effect="dark" :content="$t1('全屏')" placement="top">
|
|
39
|
+
<i class="iconfont icon-quanping"></i>
|
|
40
|
+
</el-tooltip>
|
|
41
|
+
</el-button>
|
|
42
|
+
<el-button class="isFullIcon" v-else @click="handleFullscreen">
|
|
43
|
+
<el-tooltip effect="dark" :content="$t1('缩小')" placement="top">
|
|
44
|
+
<i class="iconfont icon-suoxiao"></i>
|
|
45
|
+
</el-tooltip>
|
|
46
|
+
</el-button>
|
|
47
|
+
</el-drawer>
|
|
48
|
+
</template>
|
|
49
|
+
<script>
|
|
50
|
+
import indexUtil from "@base/utils";
|
|
51
|
+
export default {
|
|
52
|
+
props: {
|
|
53
|
+
visiable: {
|
|
54
|
+
type: Boolean,
|
|
55
|
+
default: false,
|
|
56
|
+
},
|
|
57
|
+
formName: {
|
|
58
|
+
type: String,
|
|
59
|
+
default: "",
|
|
60
|
+
},
|
|
61
|
+
formCode: {
|
|
62
|
+
type: String,
|
|
63
|
+
default: "",
|
|
64
|
+
},
|
|
65
|
+
readonly: {
|
|
66
|
+
type: Boolean,
|
|
67
|
+
default: false,
|
|
68
|
+
},
|
|
69
|
+
formTemplate: {
|
|
70
|
+
type: Object,
|
|
71
|
+
default: () => {},
|
|
72
|
+
},
|
|
73
|
+
showFormScript: {
|
|
74
|
+
type: Boolean,
|
|
75
|
+
default: true,
|
|
76
|
+
},
|
|
77
|
+
historyFlag: {
|
|
78
|
+
type: Boolean,
|
|
79
|
+
default: false,
|
|
80
|
+
},
|
|
81
|
+
widgetList: Array,
|
|
82
|
+
columnFlag: Boolean,
|
|
83
|
+
sourceData: Object,
|
|
84
|
+
},
|
|
85
|
+
components: {
|
|
86
|
+
designer: () => import("@base/views/user/form/vform/designer.vue"),
|
|
87
|
+
formScriptList: () => import("@base/views/bd/setting/form_script/form_list.vue"),
|
|
88
|
+
},
|
|
89
|
+
data() {
|
|
90
|
+
return {
|
|
91
|
+
showDesingerDialog: true,
|
|
92
|
+
isFullscreen: false,
|
|
93
|
+
formDesTabs: "first",
|
|
94
|
+
currentFormTemplate: {},
|
|
95
|
+
designerReadonly: false,
|
|
96
|
+
showFormScriptList: false,
|
|
97
|
+
};
|
|
98
|
+
},
|
|
99
|
+
watch: {
|
|
100
|
+
formDesTabs(val) {
|
|
101
|
+
if (this.showFormScriptList == false && val == "second") {
|
|
102
|
+
this.showFormScriptList = true;
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
},
|
|
106
|
+
methods: {
|
|
107
|
+
handleFormDesignClose() {
|
|
108
|
+
this.showDesingerDialog = false;
|
|
109
|
+
this.formDesTabs = "first";
|
|
110
|
+
this.showFormScriptList = false;
|
|
111
|
+
this.$emit("close");
|
|
112
|
+
this.$emit("update:visiable", false);
|
|
113
|
+
},
|
|
114
|
+
handleFullscreen() {
|
|
115
|
+
let isFullscreen = this.isFullscreen;
|
|
116
|
+
if (!isFullscreen) {
|
|
117
|
+
indexUtil.addClass(document.body, "hideMenu");
|
|
118
|
+
} else {
|
|
119
|
+
indexUtil.removeClass(document.body, "hideMenu");
|
|
120
|
+
}
|
|
121
|
+
this.isFullscreen = !isFullscreen;
|
|
122
|
+
},
|
|
123
|
+
closeFormDesignwinEvent(done) {
|
|
124
|
+
this.$baseConfirm(this.$t1('请确认"已保存"报表模板,是否继续关闭?')).then(() => {
|
|
125
|
+
indexUtil.removeClass(document.body, "hideMenu");
|
|
126
|
+
done && done();
|
|
127
|
+
});
|
|
128
|
+
},
|
|
129
|
+
reflushTemplateList() {
|
|
130
|
+
this.$emit("reflushTemplateList");
|
|
131
|
+
},
|
|
132
|
+
},
|
|
133
|
+
};
|
|
134
|
+
</script>
|
|
135
|
+
<style scoped lang="scss">
|
|
136
|
+
::v-deep .tab-boxOnly > .el-tabs__header {
|
|
137
|
+
position: absolute;
|
|
138
|
+
right: 130px;
|
|
139
|
+
top: 0;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
::v-deep .tab-boxOnly > .el-tabs__content .el-tab-pane .el-tab-pane {
|
|
143
|
+
.detail-wrap .d-cont {
|
|
144
|
+
height: calc(100vh - 158px) !important;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.grid-height {
|
|
148
|
+
height: calc(100vh - 126px) !important;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
::v-deep
|
|
153
|
+
.designer-drawer.is-fullscreen
|
|
154
|
+
.tab-boxOnly
|
|
155
|
+
> .el-tabs__content
|
|
156
|
+
.el-tab-pane
|
|
157
|
+
.el-tab-pane {
|
|
158
|
+
.detail-wrap .d-cont {
|
|
159
|
+
height: calc(100vh - 116px) !important;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.grid-height {
|
|
163
|
+
height: calc(100vh - 84px) !important;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
</style>
|
|
@@ -178,48 +178,16 @@
|
|
|
178
178
|
</el-tab-pane>
|
|
179
179
|
</template>
|
|
180
180
|
</x-tabs>
|
|
181
|
-
<
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
:
|
|
185
|
-
:
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
:
|
|
189
|
-
:
|
|
190
|
-
|
|
191
|
-
:class="[isFullscreen ? 'is-fullscreen' : '']"
|
|
192
|
-
@close="handleFormDesignClose"
|
|
193
|
-
>
|
|
194
|
-
<el-tabs v-model="formDesTabs" type="card" class="tab-boxOnly" :stretch="true">
|
|
195
|
-
<el-tab-pane :label="$t1('设计器')" name="first">
|
|
196
|
-
<designer
|
|
197
|
-
ref="designer"
|
|
198
|
-
:formCode.sync="formCode"
|
|
199
|
-
@reflushTemplateList="reflushTemplateList"
|
|
200
|
-
:readonly="designerReadonly"
|
|
201
|
-
></designer>
|
|
202
|
-
</el-tab-pane>
|
|
203
|
-
<el-tab-pane :label="$t1('后端脚本')" name="second">
|
|
204
|
-
<formScriptList
|
|
205
|
-
:formCode="formCode"
|
|
206
|
-
:formTemplate="currentFormTemplate"
|
|
207
|
-
v-if="showFormScriptList"
|
|
208
|
-
></formScriptList>
|
|
209
|
-
</el-tab-pane>
|
|
210
|
-
</el-tabs>
|
|
211
|
-
<el-button class="isFullIcon" v-if="!isFullscreen" @click="handleFullscreen">
|
|
212
|
-
<el-tooltip effect="dark" :content="$t1('全屏')" placement="top">
|
|
213
|
-
<i class="iconfont icon-quanping"></i>
|
|
214
|
-
</el-tooltip>
|
|
215
|
-
</el-button>
|
|
216
|
-
<el-button class="isFullIcon" v-else @click="handleFullscreen">
|
|
217
|
-
<el-tooltip effect="dark" :content="$t1('缩小')" placement="top">
|
|
218
|
-
<i class="iconfont icon-suoxiao"></i>
|
|
219
|
-
</el-tooltip>
|
|
220
|
-
</el-button>
|
|
221
|
-
</el-drawer>
|
|
222
|
-
|
|
181
|
+
<formDesignerDialog
|
|
182
|
+
ref="formDesignerDialog"
|
|
183
|
+
v-if="showDesingerDialog"
|
|
184
|
+
:visiable.sync="showDesingerDialog"
|
|
185
|
+
:formName="formName"
|
|
186
|
+
:formCode="formCode"
|
|
187
|
+
@reflushTemplateList="reflushTemplateList"
|
|
188
|
+
:readonly="designerReadonly"
|
|
189
|
+
:formTemplate="currentFormTemplate"
|
|
190
|
+
></formDesignerDialog>
|
|
223
191
|
<el-dialog
|
|
224
192
|
:title="$t1('流程设计')"
|
|
225
193
|
:append-to-body="true"
|
|
@@ -20,7 +20,8 @@ modules = {
|
|
|
20
20
|
hData:{
|
|
21
21
|
type:Object,
|
|
22
22
|
default:()=> null
|
|
23
|
-
}
|
|
23
|
+
},
|
|
24
|
+
compareHData: Object,
|
|
24
25
|
},
|
|
25
26
|
components: {
|
|
26
27
|
projectTagView,
|
|
@@ -45,6 +46,17 @@ modules = {
|
|
|
45
46
|
formTemplateTagDTOs: [],
|
|
46
47
|
hasWf: false
|
|
47
48
|
},
|
|
49
|
+
oldFormTemplate: {
|
|
50
|
+
enabled: true,
|
|
51
|
+
history: false,
|
|
52
|
+
serviceId: 'user',
|
|
53
|
+
formTypeCode: null,
|
|
54
|
+
menuKindName: null,
|
|
55
|
+
menuKindCode: null,
|
|
56
|
+
serviceName: null,
|
|
57
|
+
formTemplateTagDTOs: [],
|
|
58
|
+
hasWf: false
|
|
59
|
+
},
|
|
48
60
|
isInited: false,
|
|
49
61
|
serviceIds: ['user'],
|
|
50
62
|
showMenuKindDialog: false,
|
|
@@ -55,7 +67,8 @@ modules = {
|
|
|
55
67
|
},
|
|
56
68
|
sid: null,
|
|
57
69
|
showOtherAuthDialog:false,
|
|
58
|
-
readonly: false
|
|
70
|
+
readonly: false,
|
|
71
|
+
isCompare: false,
|
|
59
72
|
};
|
|
60
73
|
},
|
|
61
74
|
created() {
|
|
@@ -133,6 +146,10 @@ modules = {
|
|
|
133
146
|
this.dataId = this.hData.id
|
|
134
147
|
this.isInited = true;
|
|
135
148
|
this.getMenuKindAuth(this.formTemplate.menuKindCode);
|
|
149
|
+
if (this.compareHData && this.$attrs.isCompare) {
|
|
150
|
+
this.oldFormTemplate = this.$baseLodash.cloneDeep(this.compareHData);
|
|
151
|
+
this.isCompare = true;
|
|
152
|
+
}
|
|
136
153
|
} else {
|
|
137
154
|
this.getMenuKindAuth(this.formTemplate.menuKindCode);
|
|
138
155
|
this.isInited = true;
|
|
@@ -9,12 +9,10 @@ import scriptDescriptionDialog from "@base/components/scriptDescription/dialog.v
|
|
|
9
9
|
import ftHistoryDialog from "@base/views/bd/setting/form_template/ftHistoryDialog.vue";
|
|
10
10
|
import itemList from "@base/views/bd/setting/form_template/itemList.vue";
|
|
11
11
|
import formTypeEditDialog from "@base/views/user/form/form_type/editDialog.vue";
|
|
12
|
-
import formScriptList from "@base/views/bd/setting/form_script/form_list.vue";
|
|
13
12
|
import projectTagDialog from "@base/views/user/project_tag/dialog.vue";
|
|
14
13
|
import {treeScollx} from "@base/utils/global";
|
|
15
14
|
import indexUtil from "@base/utils";
|
|
16
15
|
import {getBdFlag} from "@base/api/user";
|
|
17
|
-
import designer from "@base/views/user/form/vform/designer.vue";
|
|
18
16
|
import {
|
|
19
17
|
getJsxBtnList,
|
|
20
18
|
getJsxStatus,
|
|
@@ -35,9 +33,8 @@ modules = {
|
|
|
35
33
|
ftHistoryDialog,
|
|
36
34
|
itemList,
|
|
37
35
|
formTypeEditDialog,
|
|
38
|
-
formScriptList,
|
|
39
36
|
projectTagDialog,
|
|
40
|
-
|
|
37
|
+
formDesignerDialog: () => import("@base/views/bd/setting/form_template/formDesignerDialog.vue"),
|
|
41
38
|
},
|
|
42
39
|
data() {
|
|
43
40
|
return {
|
|
@@ -214,6 +211,7 @@ modules = {
|
|
|
214
211
|
}
|
|
215
212
|
},
|
|
216
213
|
openDesingerDialog(row, callback, readonly = false) {
|
|
214
|
+
debugger;
|
|
217
215
|
this.formCode = row.formCode;
|
|
218
216
|
this.formName = row.formName;
|
|
219
217
|
this.currentFormTemplate = row;
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import tableForm from "@base/components/table/tableForm.vue";
|
|
2
2
|
import editView from "@base/views/bd/setting/form_template/edit.vue";
|
|
3
3
|
import itemList from "@base/views/bd/setting/form_template/itemList.vue";
|
|
4
|
-
import formScriptList from "@base/views/bd/setting/form_script/form_list.vue";
|
|
5
4
|
import indexUtil from "@base/utils";
|
|
6
5
|
import {getBdFlag} from "@base/api/user";
|
|
7
|
-
import designer from "@base/views/user/form/vform/designer.vue";
|
|
8
6
|
import {getJsxBtnList, getJsxStatus} from "@base/views/bd/setting/utils/index";
|
|
9
7
|
|
|
10
8
|
let modules = {};
|
|
@@ -14,8 +12,6 @@ modules = {
|
|
|
14
12
|
tableForm,
|
|
15
13
|
editView,
|
|
16
14
|
itemList,
|
|
17
|
-
formScriptList,
|
|
18
|
-
designer
|
|
19
15
|
},
|
|
20
16
|
data() {
|
|
21
17
|
return {
|