cloud-web-corejs 1.0.54-dev.300 → 1.0.54-dev.302
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
@@ -28,14 +28,14 @@ modules = {
|
|
28
28
|
},
|
29
29
|
getFormEntityData(reqFormData) {
|
30
30
|
let formRef = this.getFormRef ? this.getFormRef() : this;
|
31
|
-
let formConfig =
|
31
|
+
let formConfig = formRef.formConfig;
|
32
32
|
let entity = formConfig.entity;
|
33
33
|
if (!reqFormData) reqFormData = this.getReqFormData();
|
34
34
|
return reqFormData.data[entity];
|
35
35
|
},
|
36
36
|
getReqFormData() {
|
37
37
|
let formRef = this.getFormRef ? this.getFormRef() : this;
|
38
|
-
let formConfig =
|
38
|
+
let formConfig = formRef.formConfig;
|
39
39
|
let entity = formConfig.entity;
|
40
40
|
if (!entity) return
|
41
41
|
let dataId = formRef?.dataId;
|
@@ -64,7 +64,7 @@ modules = {
|
|
64
64
|
},
|
65
65
|
saveDefaultHandle(option) {
|
66
66
|
let formRef = this.getFormRef ? this.getFormRef() : this;
|
67
|
-
let formConfig =
|
67
|
+
let formConfig = formRef.formConfig;
|
68
68
|
let entity = formConfig.entity;
|
69
69
|
if (!entity) return
|
70
70
|
let dataId = formRef?.dataId;
|
@@ -20,7 +20,7 @@
|
|
20
20
|
<table class="table-detail">
|
21
21
|
<tbody>
|
22
22
|
<tr>
|
23
|
-
|
23
|
+
<th>
|
24
24
|
<em class="f-red">*</em>
|
25
25
|
{{ $t1('岗位名称') }}
|
26
26
|
</th>
|
@@ -40,7 +40,7 @@
|
|
40
40
|
<el-form-item v-else prop="code" :rules="[{ required: true, trigger: 'blur' }]">
|
41
41
|
<el-input type="text" autocomplete="off" v-model="position.code" clearable/>
|
42
42
|
</el-form-item>
|
43
|
-
</td>
|
43
|
+
</td>
|
44
44
|
<th>{{ $t1('设置') }}</th>
|
45
45
|
<td>
|
46
46
|
<el-checkbox :label="$t1('是否启用')" v-model="position.enabled"></el-checkbox>
|