cloud-web-corejs 1.0.54-dev.592 → 1.0.54-dev.594
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/formOplog/mixins.js +85 -80
- package/src/views/bd/setting/formVersion/button.vue +55 -0
- package/src/views/bd/setting/formVersion/ftHistoryDialog.vue +384 -0
- package/src/views/bd/setting/formVersion/reverButton.vue +66 -0
- package/src/views/bd/setting/form_script/edit.vue +148 -82
- package/src/views/bd/setting/form_script/edit1.vue +326 -220
- package/src/views/bd/setting/form_script/mixins/edit.js +221 -207
- package/src/views/bd/setting/form_script/mixins/edit1.js +215 -201
- package/src/views/bd/setting/form_template/edit.vue +305 -205
- package/src/views/bd/setting/form_template/mixins/edit.js +19 -3
- package/src/views/bd/setting/table_model/edit.vue +383 -378
- package/src/views/bd/setting/table_model/mixins/edit.js +17 -4
- package/src/views/user/fieldTranslation/list.vue +1 -1
|
@@ -15,8 +15,9 @@ modules = {
|
|
|
15
15
|
props: {
|
|
16
16
|
_dataId: [String, Number],
|
|
17
17
|
currentFormType: Object,
|
|
18
|
-
readonly: Boolean,
|
|
19
|
-
otherFlag:Boolean
|
|
18
|
+
// readonly: Boolean,
|
|
19
|
+
otherFlag:Boolean,
|
|
20
|
+
hData: Object,
|
|
20
21
|
},
|
|
21
22
|
components: {
|
|
22
23
|
formOplogTable,
|
|
@@ -90,7 +91,9 @@ modules = {
|
|
|
90
91
|
preValue: null, // 上一次的值(变更前的值)
|
|
91
92
|
|
|
92
93
|
sid: null,
|
|
93
|
-
showOtherAuthDialog:false
|
|
94
|
+
showOtherAuthDialog:false,
|
|
95
|
+
|
|
96
|
+
readonly: false,
|
|
94
97
|
};
|
|
95
98
|
},
|
|
96
99
|
computed: {
|
|
@@ -99,6 +102,11 @@ modules = {
|
|
|
99
102
|
]),
|
|
100
103
|
},
|
|
101
104
|
created() {
|
|
105
|
+
if(this.hData){
|
|
106
|
+
this.readonly = true;
|
|
107
|
+
}else{
|
|
108
|
+
this.readonly = this.$attrs.readonly || false;
|
|
109
|
+
}
|
|
102
110
|
if (this._dataId && !isNaN(this._dataId)) {
|
|
103
111
|
this.dataId = this._dataId;
|
|
104
112
|
} else {
|
|
@@ -150,6 +158,11 @@ modules = {
|
|
|
150
158
|
});
|
|
151
159
|
},
|
|
152
160
|
});
|
|
161
|
+
} else if (this.hData){
|
|
162
|
+
this.isEdit = true;
|
|
163
|
+
this.szTaMb = this.$baseLodash.cloneDeep(this.hData);
|
|
164
|
+
this.dataId = this.hData.id
|
|
165
|
+
this.getMenuKindAuth(this.szTaMb.menuKindCode);
|
|
153
166
|
} else {
|
|
154
167
|
this.getMenuKindAuth(this.szTaMb.menuKindCode);
|
|
155
168
|
}
|
|
@@ -507,7 +520,7 @@ modules = {
|
|
|
507
520
|
let hasCreated =
|
|
508
521
|
!!taZdMc && createdTableColumnArray.includes(taZdMc);
|
|
509
522
|
// let style = !row.relationZd ? "margin-left:20px" : "";
|
|
510
|
-
if (!row.systems && !hasCreated) {
|
|
523
|
+
if (!row.systems && !hasCreated && !this.readonly) {
|
|
511
524
|
//非内置,未创建字段,非关联表带出来的字段
|
|
512
525
|
return getJsxBtn({
|
|
513
526
|
iconName: "el-icon-delete",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
<tableForm :formData.sync="formData" @searchEvent="searchEvent" @resetEvent="resetEvent">
|
|
33
33
|
<template #buttonLeft>
|
|
34
34
|
<vxe-button status="primary" class="button-sty" icon="el-icon-plus"
|
|
35
|
-
@click="openFieldTranslationEditDialog()" :disabled="!currentDataType.id"
|
|
35
|
+
@click="openFieldTranslationEditDialog()" :disabled="!currentDataType.id">
|
|
36
36
|
{{ $t1('新增') }}
|
|
37
37
|
</vxe-button>
|
|
38
38
|
<base-table-export :option="{ title: $t1('多语言'), targetRef: 'table-m1'}"
|