feat: 移除mgroups_allocate字段
This commit is contained in:
parent
baa46135fb
commit
02b8364a51
|
|
@ -252,7 +252,7 @@
|
||||||
<el-divider/>
|
<el-divider/>
|
||||||
<el-col :md="12" :sm="24">
|
<el-col :md="12" :sm="24">
|
||||||
<el-form-item
|
<el-form-item
|
||||||
label="是否代表所分配工段数据"
|
label="是否代表所在工段数据"
|
||||||
label-width="220"
|
label-width="220"
|
||||||
>
|
>
|
||||||
<el-switch
|
<el-switch
|
||||||
|
|
@ -260,7 +260,7 @@
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :md="12" :sm="24">
|
<!-- <el-col :md="12" :sm="24">
|
||||||
<el-form-item
|
<el-form-item
|
||||||
label="累计量工段分配"
|
label="累计量工段分配"
|
||||||
label-width="120"
|
label-width="120"
|
||||||
|
|
@ -316,7 +316,7 @@
|
||||||
></el-button>
|
></el-button>
|
||||||
</el-col>
|
</el-col>
|
||||||
</template>
|
</template>
|
||||||
</el-row>
|
</el-row> -->
|
||||||
</el-form>
|
</el-form>
|
||||||
</el-main>
|
</el-main>
|
||||||
<el-footer>
|
<el-footer>
|
||||||
|
|
@ -349,7 +349,6 @@ export default {
|
||||||
type: 10,
|
type: 10,
|
||||||
belong_dept: null,
|
belong_dept: null,
|
||||||
mgroup: null,
|
mgroup: null,
|
||||||
mgroups_allocate: [],
|
|
||||||
interval: 10,
|
interval: 10,
|
||||||
func_on_change: "",
|
func_on_change: "",
|
||||||
is_rep_ep_running_state: false,
|
is_rep_ep_running_state: false,
|
||||||
|
|
@ -423,12 +422,12 @@ export default {
|
||||||
if (this.form.mgroup == "") {
|
if (this.form.mgroup == "") {
|
||||||
this.form.mgroup = null;
|
this.form.mgroup = null;
|
||||||
}
|
}
|
||||||
if (this.form.mgroups_allocate.length > 0) {
|
// if (this.form.mgroups_allocate.length > 0) {
|
||||||
let arr = this.form.mgroups_allocate.filter((item) => {
|
// let arr = this.form.mgroups_allocate.filter((item) => {
|
||||||
return item.mgroup !== "" && item.mgroup !== null;
|
// return item.mgroup !== "" && item.mgroup !== null;
|
||||||
});
|
// });
|
||||||
this.form.mgroups_allocate = arr;
|
// this.form.mgroups_allocate = arr;
|
||||||
}
|
// }
|
||||||
if (this.mode == "add") {
|
if (this.mode == "add") {
|
||||||
this.$API.enm.mpoint.create
|
this.$API.enm.mpoint.create
|
||||||
.req(this.form)
|
.req(this.form)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue