cloud-web-corejs 1.0.21 → 1.0.23
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/excelImport/index.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/census-widget.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/censusClass-editor.vue +45 -0
- package/src/components/xform/form-designer/setting-panel/propertyRegister.js +1 -0
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +1 -0
- package/src/components/xform/lang/zh-CN.js +2 -2
- package/src/layout/components/Sidebar/default.vue +0 -12
- package/src/permission.js +1 -1
- package/src/store/modules/permission.js +2 -1
- package/src/views/bd/setting/form_script/edit.vue +88 -72
- package/src/views/bd/setting/form_script/edit1.vue +141 -125
- package/src/views/bd/setting/form_template/edit.vue +136 -115
- package/src/views/bd/setting/table_model/edit.vue +16 -0
- package/src/views/user/fieldTranslation/list.vue +8 -3
- package/src/views/user/user/form_edit.vue +15 -19
|
@@ -13,84 +13,84 @@
|
|
|
13
13
|
</el-button>
|
|
14
14
|
</div>
|
|
15
15
|
</div>
|
|
16
|
-
<
|
|
17
|
-
<
|
|
18
|
-
<
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
16
|
+
<baseTabs>
|
|
17
|
+
<baseTabPane :label="$t1('基本信息')">
|
|
18
|
+
<template #default>
|
|
19
|
+
<table class="table-detail">
|
|
20
|
+
<tbody>
|
|
21
|
+
<tr>
|
|
22
|
+
<th>
|
|
23
|
+
<em class="f-red">*</em>
|
|
24
|
+
脚本名称
|
|
25
|
+
</th>
|
|
26
|
+
<td>
|
|
27
|
+
<el-form-item prop="scriptName" :rules="[{ required: true, trigger: 'blur' }]">
|
|
28
|
+
<el-input type="text" autocomplete="off" v-model="formScript.scriptName" clearable/>
|
|
29
|
+
</el-form-item>
|
|
30
|
+
</td>
|
|
31
|
+
<th>脚本编码</th>
|
|
32
|
+
<td colspan="3">
|
|
33
|
+
<el-form-item prop="scriptCode" :rules="[{ required: true, trigger: 'blur' }]">
|
|
34
|
+
<el-input type="text" autocomplete="off" v-model="formScript.scriptCode" clearable/>
|
|
35
|
+
</el-form-item>
|
|
36
|
+
</td>
|
|
37
|
+
</tr>
|
|
38
|
+
<tr>
|
|
39
|
+
<th>
|
|
40
|
+
<em class="f-red">*</em>
|
|
41
|
+
表单分类
|
|
42
|
+
</th>
|
|
43
|
+
<td colspan="5">
|
|
44
|
+
<el-form-item v-if="formScript.formCode=='intf'" prop="menuKindName"
|
|
45
|
+
:rules="[{ required:true, trigger: ['blur', 'change'] }]">
|
|
46
|
+
<el-input
|
|
47
|
+
class="search-input"
|
|
48
|
+
max="200"
|
|
49
|
+
v-model="formScript.menuKindName"
|
|
50
|
+
@clear="
|
|
51
51
|
formScript.menuKindCode = null;
|
|
52
52
|
$forceUpdate();
|
|
53
53
|
"
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
54
|
+
v-el-readonly
|
|
55
|
+
clearable
|
|
56
|
+
>
|
|
57
|
+
<i slot="suffix" class="el-input__icon el-icon-search" @click="showMenuKindDialog = true"></i>
|
|
58
|
+
</el-input>
|
|
59
|
+
</el-form-item>
|
|
60
|
+
<span v-else>{{ formScript.menuKindName }}</span>
|
|
61
|
+
</td>
|
|
62
|
+
</tr>
|
|
63
63
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
64
|
+
<tr>
|
|
65
|
+
<th>表单模板编码</th>
|
|
66
|
+
<td colspan="3">
|
|
67
|
+
{{ formScript.formCode }}
|
|
68
|
+
</td>
|
|
69
|
+
<th>Url路径</th>
|
|
70
|
+
<td colspan="3">
|
|
71
|
+
/{{ formScript.formCode }}/{{ formScript.scriptCode }}
|
|
72
|
+
</td>
|
|
73
|
+
</tr>
|
|
74
|
+
<tr>
|
|
75
|
+
<th>开启事务</th>
|
|
76
|
+
<td>
|
|
77
|
+
<el-radio-group v-model="formScript.transactions">
|
|
78
|
+
<el-radio :label="1">是</el-radio>
|
|
79
|
+
<el-radio :label="0">否</el-radio>
|
|
80
|
+
</el-radio-group>
|
|
81
|
+
</td>
|
|
82
|
+
</tr>
|
|
83
|
+
<tr>
|
|
84
|
+
<th>自定义URL</th>
|
|
85
|
+
<td colspan="7">
|
|
86
|
+
<el-form-item prop="uri" :rules="[{ required: false, trigger: 'blur' }]">
|
|
87
|
+
<el-input type="text" autocomplete="off" v-model="formScript.uri" clearable/>
|
|
88
|
+
</el-form-item>
|
|
89
|
+
</td>
|
|
90
|
+
</tr>
|
|
91
|
+
<tr>
|
|
92
|
+
<th class="no"></th>
|
|
93
|
+
<td colspan="7">
|
|
94
94
|
<span class="fl tips">
|
|
95
95
|
<div>注:</div>
|
|
96
96
|
<div style="padding-left: 20px">
|
|
@@ -99,56 +99,62 @@
|
|
|
99
99
|
<p>3.第三方接口调用(DW),'自定义URL'必须/d_api开头。</p>
|
|
100
100
|
</div>
|
|
101
101
|
</span>
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
102
|
+
</td>
|
|
103
|
+
</tr>
|
|
104
|
+
<tr>
|
|
105
|
+
<th>
|
|
106
|
+
项目标签
|
|
107
|
+
</th>
|
|
108
|
+
<td colspan="7">
|
|
109
|
+
<projectTagView v-model="formScript.formScriptTagDTOs" :readonly="true"></projectTagView>
|
|
110
|
+
</td>
|
|
111
|
+
</tr>
|
|
112
|
+
<tr>
|
|
113
|
+
<th>脚本说明</th>
|
|
114
|
+
<td colspan="7">
|
|
115
|
+
<el-input type="textarea" :rows="2" :placeholder="$t1('请输入内容')" size="small"
|
|
116
|
+
v-model="formScript.scriptRemark"
|
|
117
|
+
clearable></el-input>
|
|
118
|
+
</td>
|
|
119
|
+
</tr>
|
|
120
|
+
<tr>
|
|
121
|
+
<th>
|
|
122
|
+
<em class="f-red">*</em>
|
|
123
|
+
脚本
|
|
124
|
+
<!-- <scriptDescriptionButton path="static/readme/ApiRequest.txt"></scriptDescriptionButton>-->
|
|
125
|
+
<scriptTestButton :script.sync="formScript.script"></scriptTestButton>
|
|
126
|
+
</th>
|
|
127
|
+
<td colspan="7">
|
|
128
|
+
<el-form-item prop="script" :rules="[{ required: true, trigger: 'blur' }]">
|
|
129
|
+
<code-editor mode="java" :readonly="!1" v-model="formScript.script"
|
|
130
|
+
v-if="showCodeEditor"></code-editor>
|
|
131
|
+
</el-form-item>
|
|
132
|
+
</td>
|
|
133
|
+
</tr>
|
|
134
|
+
<tr>
|
|
135
|
+
<th>唯一标识</th>
|
|
136
|
+
<td colspan="7">{{ formScript.sid }}</td>
|
|
137
|
+
</tr>
|
|
138
|
+
<tr>
|
|
139
|
+
<th>{{ $t1('创建人') }}</th>
|
|
140
|
+
<td>{{ formScript.createBy }}</td>
|
|
141
|
+
<th>{{ $t1('创建时间') }}</th>
|
|
142
|
+
<td>{{ formScript.createDate }}</td>
|
|
143
|
+
<th>{{ $t1('更新人') }}</th>
|
|
144
|
+
<td>{{ formScript.modifyBy }}</td>
|
|
145
|
+
<th>{{ $t1('更新时间') }}</th>
|
|
146
|
+
<td>{{ formScript.modifyDate }}</td>
|
|
147
|
+
</tr>
|
|
148
|
+
</tbody>
|
|
149
|
+
</table>
|
|
150
|
+
</template>
|
|
151
|
+
</baseTabPane>
|
|
152
|
+
<baseTabPane label="操作日志">
|
|
153
|
+
<template #default>
|
|
154
|
+
<formOplogTable :parent-target="_self" ref="oplogTable"></formOplogTable>
|
|
155
|
+
</template>
|
|
156
|
+
</baseTabPane>
|
|
157
|
+
</baseTabs>
|
|
152
158
|
</el-form>
|
|
153
159
|
<MenuKindDialog v-if="showMenuKindDialog"
|
|
154
160
|
:visiable.sync="showMenuKindDialog"
|
|
@@ -166,6 +172,7 @@ import {getBdFlag} from "@base/api/user";
|
|
|
166
172
|
import MenuKindDialog from "../../../../views/bd/setting/menu_kind/dialog";
|
|
167
173
|
import projectTagView from "@base/components/projectTag/view.vue";
|
|
168
174
|
import preformDialog from "@base/views/bd/setting/form_template/preformDialog.vue";
|
|
175
|
+
import formOplogTable from "@/components/formOplog/index.vue";
|
|
169
176
|
|
|
170
177
|
export default {
|
|
171
178
|
name: 'user_form_scriptEdit',
|
|
@@ -175,7 +182,7 @@ export default {
|
|
|
175
182
|
formTemplate: Object,
|
|
176
183
|
currentFormType: Object
|
|
177
184
|
},
|
|
178
|
-
components: {preformDialog, projectTagView, MenuKindDialog},
|
|
185
|
+
components: {formOplogTable, preformDialog, projectTagView, MenuKindDialog},
|
|
179
186
|
data() {
|
|
180
187
|
return {
|
|
181
188
|
isEdit: false,
|
|
@@ -231,6 +238,15 @@ export default {
|
|
|
231
238
|
success: res => {
|
|
232
239
|
this.formScript = res.objx || {};
|
|
233
240
|
this.showCodeEditor = true;
|
|
241
|
+
//获取操作日志数据
|
|
242
|
+
this.$refs['oplogTable'].initData({
|
|
243
|
+
param: () => {
|
|
244
|
+
return {
|
|
245
|
+
logType: "FormScript",
|
|
246
|
+
logObjCode: this.formScript.sid
|
|
247
|
+
};
|
|
248
|
+
}
|
|
249
|
+
});
|
|
234
250
|
}
|
|
235
251
|
});
|
|
236
252
|
} else {
|
|
@@ -10,121 +10,124 @@
|
|
|
10
10
|
<el-button type="success" class="button-sty" @click="openDesignDialog"
|
|
11
11
|
icon="iconfont icon-liuchengguanli-shejiqi_liucheng" v-if="!!dataId">表单设计
|
|
12
12
|
</el-button>
|
|
13
|
-
<el-button type="primary" plain class="button-sty" @click="$baseReload()" icon="el-icon-refresh-right">
|
|
13
|
+
<el-button type="primary" plain class="button-sty" @click="$baseReload()" icon="el-icon-refresh-right">
|
|
14
|
+
{{ $t1('重置') }}
|
|
14
15
|
</el-button>
|
|
15
|
-
<el-button type="primary" class="button-sty" icon="el-icon-check" @click="saveData" v-if="isDev">
|
|
16
|
+
<el-button type="primary" class="button-sty" icon="el-icon-check" @click="saveData" v-if="isDev">
|
|
17
|
+
{{ $t1('保存') }}
|
|
16
18
|
</el-button>
|
|
17
19
|
</div>
|
|
18
20
|
</div>
|
|
19
|
-
<
|
|
20
|
-
<
|
|
21
|
-
<
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
21
|
+
<baseTabs>
|
|
22
|
+
<baseTabPane :label="$t1('基本信息')">
|
|
23
|
+
<template #default>
|
|
24
|
+
<table class="table-detail">
|
|
25
|
+
<tbody>
|
|
26
|
+
<tr>
|
|
27
|
+
<th>
|
|
28
|
+
<em class="f-red">*</em>
|
|
29
|
+
模板名称
|
|
30
|
+
</th>
|
|
31
|
+
<td colspan="3">
|
|
32
|
+
<el-form-item prop="formName" :rules="[{ required: true, trigger: 'blur' }]">
|
|
33
|
+
<el-input type="text" autocomplete="off" v-model="formTemplate.formName" clearable/>
|
|
34
|
+
</el-form-item>
|
|
35
|
+
</td>
|
|
36
|
+
</tr>
|
|
37
|
+
<tr>
|
|
38
|
+
<th>模板编码</th>
|
|
39
|
+
<td colspan="3">
|
|
40
|
+
<el-form-item prop="formCode" :rules="[{ required: true, trigger: 'blur' }]" v-if="!formTemplate.id">
|
|
41
|
+
<el-input type="text" autocomplete="off" v-model="formTemplate.formCode" clearable/>
|
|
42
|
+
</el-form-item>
|
|
43
|
+
<template v-else>
|
|
44
|
+
{{ formTemplate.formCode }}
|
|
45
|
+
</template>
|
|
46
|
+
</td>
|
|
47
|
+
</tr>
|
|
48
|
+
<tr>
|
|
49
|
+
<!-- <th>-->
|
|
50
|
+
<!-- <em class="f-red">*</em>-->
|
|
51
|
+
<!-- 服务名-->
|
|
52
|
+
<!-- </th>-->
|
|
53
|
+
<!-- <td>-->
|
|
54
|
+
<!-- <el-form-item prop="serviceId" :rules="[{ required: true, trigger: 'blur' }]">-->
|
|
55
|
+
<!-- <el-select v-model="formTemplate.serviceId">-->
|
|
56
|
+
<!-- <el-option v-for="serviceId in serviceIds" :value="serviceId">{{ serviceId }}</el-option>-->
|
|
57
|
+
<!-- </el-select>-->
|
|
58
|
+
<!-- </el-form-item>-->
|
|
59
|
+
<!-- </td>-->
|
|
60
|
+
<th>是否启用</th>
|
|
61
|
+
<td>
|
|
62
|
+
<el-form-item prop="enabled" :rules="[{ required: false, trigger: 'blur' }]">
|
|
63
|
+
<el-radio-group v-model="formTemplate.enabled">
|
|
64
|
+
<el-radio :label="true">启用</el-radio>
|
|
65
|
+
<el-radio :label="false">禁用</el-radio>
|
|
66
|
+
</el-radio-group>
|
|
67
|
+
</el-form-item>
|
|
68
|
+
</td>
|
|
69
|
+
</tr>
|
|
70
|
+
<tr>
|
|
71
|
+
<th>
|
|
72
|
+
<em class="f-red">*</em>
|
|
73
|
+
表单分类
|
|
74
|
+
</th>
|
|
75
|
+
<td colspan="5">
|
|
76
|
+
<el-form-item prop="menuKindName" :rules="[{ required:true, trigger: ['blur', 'change'] }]">
|
|
77
|
+
<el-input
|
|
78
|
+
class="search-input"
|
|
79
|
+
max="200"
|
|
80
|
+
v-model="formTemplate.menuKindName"
|
|
81
|
+
@clear="
|
|
80
82
|
formTemplate.menuKindCode = '';
|
|
81
83
|
$forceUpdate();
|
|
82
84
|
"
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
<
|
|
100
|
-
<
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
<
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
<
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
<
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
<
|
|
127
|
-
|
|
85
|
+
v-el-readonly
|
|
86
|
+
clearable
|
|
87
|
+
>
|
|
88
|
+
<i slot="suffix" class="el-input__icon el-icon-search" @click="showMenuKindDialog = true"></i>
|
|
89
|
+
</el-input>
|
|
90
|
+
</el-form-item>
|
|
91
|
+
</td>
|
|
92
|
+
</tr>
|
|
93
|
+
<tr>
|
|
94
|
+
<th>{{ $t1('备注') }}</th>
|
|
95
|
+
<td colspan="5">
|
|
96
|
+
<el-input type="textarea" :rows="2" :placeholder="$t1('请输入内容')" size="small"
|
|
97
|
+
v-model="formTemplate.remark"
|
|
98
|
+
clearable></el-input>
|
|
99
|
+
</td>
|
|
100
|
+
</tr>
|
|
101
|
+
<tr>
|
|
102
|
+
<th>
|
|
103
|
+
<em class="f-red">*</em>
|
|
104
|
+
模板版本
|
|
105
|
+
</th>
|
|
106
|
+
<td>{{ formTemplate.formVersion }}</td>
|
|
107
|
+
<th>是否历史版本</th>
|
|
108
|
+
<td>{{ formTemplate.history ? '是' : '否' }}</td>
|
|
109
|
+
</tr>
|
|
110
|
+
<tr>
|
|
111
|
+
<th>
|
|
112
|
+
项目标签
|
|
113
|
+
</th>
|
|
114
|
+
<td colspan="7">
|
|
115
|
+
<projectTagView v-model="formTemplate.formTemplateTagDTOs" :readonly="true"></projectTagView>
|
|
116
|
+
</td>
|
|
117
|
+
</tr>
|
|
118
|
+
<tr>
|
|
119
|
+
<th>{{ $t1('创建人') }}</th>
|
|
120
|
+
<td>{{ formTemplate.createBy }}</td>
|
|
121
|
+
<th>{{ $t1('创建时间') }}</th>
|
|
122
|
+
<td>{{ formTemplate.createDate }}</td>
|
|
123
|
+
<th>{{ $t1('更新人') }}</th>
|
|
124
|
+
<td>{{ formTemplate.modifyBy }}</td>
|
|
125
|
+
<th>{{ $t1('更新时间') }}</th>
|
|
126
|
+
<td>{{ formTemplate.modifyDate }}</td>
|
|
127
|
+
</tr>
|
|
128
|
+
<tr>
|
|
129
|
+
<th><span class="tips">URL说明</span></th>
|
|
130
|
+
<td colspan="7">
|
|
128
131
|
<span class="fl tips">
|
|
129
132
|
<div> 一、表单模板嵌入第三方系统URL配置</div>
|
|
130
133
|
<div style="padding-left: 20px">
|
|
@@ -146,12 +149,18 @@
|
|
|
146
149
|
<p>7、tp与access_token只需要传其中一个即可;</p>
|
|
147
150
|
</div>
|
|
148
151
|
</span>
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
152
|
+
</td>
|
|
153
|
+
</tr>
|
|
154
|
+
</tbody>
|
|
155
|
+
</table>
|
|
156
|
+
</template>
|
|
157
|
+
</baseTabPane>
|
|
158
|
+
<baseTabPane label="操作日志">
|
|
159
|
+
<template #default>
|
|
160
|
+
<formOplogTable :parent-target="_self" ref="oplogTable"></formOplogTable>
|
|
161
|
+
</template>
|
|
162
|
+
</baseTabPane>
|
|
163
|
+
</baseTabs>
|
|
155
164
|
</el-form>
|
|
156
165
|
<MenuKindDialog v-if="showMenuKindDialog"
|
|
157
166
|
:visiable.sync="showMenuKindDialog"
|
|
@@ -169,6 +178,8 @@ import MenuKindDialog from "../../../../views/bd/setting/menu_kind/dialog";
|
|
|
169
178
|
import {getBdFlag} from "@base/api/user";
|
|
170
179
|
import projectTagView from "@base/components/projectTag/view.vue";
|
|
171
180
|
import preformDialog from "@base/views/bd/setting/form_template/preformDialog.vue";
|
|
181
|
+
import formOplogTable from "@base/components/formOplog/index.vue";
|
|
182
|
+
|
|
172
183
|
|
|
173
184
|
export default {
|
|
174
185
|
name: 'bd_form_templateEdit',
|
|
@@ -179,7 +190,8 @@ export default {
|
|
|
179
190
|
components: {
|
|
180
191
|
projectTagView,
|
|
181
192
|
MenuKindDialog,
|
|
182
|
-
preformDialog
|
|
193
|
+
preformDialog,
|
|
194
|
+
formOplogTable
|
|
183
195
|
},
|
|
184
196
|
data() {
|
|
185
197
|
return {
|
|
@@ -231,6 +243,15 @@ export default {
|
|
|
231
243
|
this.$nextTick(() => {
|
|
232
244
|
this.isInited = true;
|
|
233
245
|
});
|
|
246
|
+
//获取操作日志数据
|
|
247
|
+
this.$refs['oplogTable'].initData({
|
|
248
|
+
param: () => {
|
|
249
|
+
return {
|
|
250
|
+
logType: "FormTemplate",
|
|
251
|
+
logObjCode: this.formTemplate.formCode
|
|
252
|
+
};
|
|
253
|
+
}
|
|
254
|
+
});
|
|
234
255
|
}
|
|
235
256
|
});
|
|
236
257
|
} else {
|
|
@@ -220,6 +220,11 @@
|
|
|
220
220
|
</table>
|
|
221
221
|
</template>
|
|
222
222
|
</baseTabPane>
|
|
223
|
+
<baseTabPane label="操作日志">
|
|
224
|
+
<template #default>
|
|
225
|
+
<formOplogTable :parent-target="_self" ref="oplogTable"></formOplogTable>
|
|
226
|
+
</template>
|
|
227
|
+
</baseTabPane>
|
|
223
228
|
</baseTabs>
|
|
224
229
|
</el-form>
|
|
225
230
|
|
|
@@ -370,6 +375,7 @@ import zdDialog from '../../../../views/bd/setting/table_model/zdDialog.vue';
|
|
|
370
375
|
import {getBdFlag} from "../../../../api/user";
|
|
371
376
|
import projectTagView from "../../../../components/projectTag/view.vue";
|
|
372
377
|
import preformDialog from "@base/views/bd/setting/form_template/preformDialog.vue";
|
|
378
|
+
import formOplogTable from "@/components/formOplog/index.vue";
|
|
373
379
|
|
|
374
380
|
export default {
|
|
375
381
|
name: 'szTaMbEdit',
|
|
@@ -378,6 +384,7 @@ export default {
|
|
|
378
384
|
currentFormType: Object
|
|
379
385
|
},
|
|
380
386
|
components: {
|
|
387
|
+
formOplogTable,
|
|
381
388
|
preformDialog,
|
|
382
389
|
projectTagView,
|
|
383
390
|
szTaMbDialog,
|
|
@@ -463,6 +470,15 @@ export default {
|
|
|
463
470
|
} else {
|
|
464
471
|
callback(res)
|
|
465
472
|
}
|
|
473
|
+
//获取操作日志数据
|
|
474
|
+
this.$refs['oplogTable'].initData({
|
|
475
|
+
param: () => {
|
|
476
|
+
return {
|
|
477
|
+
logType: "SzTaMb",
|
|
478
|
+
logObjCode: this.szTaMb.taCode
|
|
479
|
+
};
|
|
480
|
+
}
|
|
481
|
+
});
|
|
466
482
|
|
|
467
483
|
}
|
|
468
484
|
});
|