修改
This commit is contained in:
parent
52f21c9b7c
commit
23d2a241ac
@ -1107,29 +1107,26 @@ export default {
|
|||||||
nurseclickzx(row) {
|
nurseclickzx(row) {
|
||||||
console.log(this.titleup)
|
console.log(this.titleup)
|
||||||
this.taskPartitionDictId = row.id
|
this.taskPartitionDictId = row.id
|
||||||
if (this.title == '添加标签字段信息') {
|
if (this.title == '添加标签字段信息' && !this.titleup) {
|
||||||
console.log('添加')
|
|
||||||
|
|
||||||
this.form.labelFieldInfoList[this.nnerVisibleindex].taskPartitionDictName =
|
this.form.labelFieldInfoList[this.nnerVisibleindex].taskPartitionDictName =
|
||||||
row.taskPartitionName;
|
row.taskPartitionName;
|
||||||
this.form.labelFieldInfoList[this.nnerVisibleindex].taskPartitionDictId =
|
this.form.labelFieldInfoList[this.nnerVisibleindex].taskPartitionDictId =
|
||||||
row.id;
|
row.id;
|
||||||
} else{
|
} else if (this.titleup == '修改标签字段信息' && !this.title) {
|
||||||
console.log('修改')
|
|
||||||
this.form.taskPartitionDictName = row.taskPartitionName;
|
this.form.taskPartitionDictName = row.taskPartitionName;
|
||||||
this.form.taskPartitionDictId =
|
this.form.taskPartitionDictId =
|
||||||
row.id;
|
row.id;
|
||||||
|
|
||||||
}
|
}
|
||||||
this.innerVisible = false;
|
this.innerVisible = false;
|
||||||
},
|
},
|
||||||
// 任务类型
|
// 任务类型
|
||||||
nurseclicktype(row) {
|
nurseclicktype(row) {
|
||||||
console.log(row, 'row')
|
|
||||||
this.queryParamstask.taskTypeId = row.id
|
this.queryParamstask.taskTypeId = row.id
|
||||||
this.taskTypeId = this.queryParamstask.taskTypeId
|
this.taskTypeId = this.queryParamstask.taskTypeId
|
||||||
// this.getListpartit()
|
// this.getListpartit()
|
||||||
if (this.title == '添加标签字段信息') {
|
if (this.title == '添加标签字段信息' && !this.titleup) {
|
||||||
|
console.log('xinzeng')
|
||||||
this.form.labelFieldInfoList[this.nnerVisibleindex].taskTypeName =
|
this.form.labelFieldInfoList[this.nnerVisibleindex].taskTypeName =
|
||||||
row.taskTypeName;
|
row.taskTypeName;
|
||||||
this.form.labelFieldInfoList[this.nnerVisibleindex].taskTypeId =
|
this.form.labelFieldInfoList[this.nnerVisibleindex].taskTypeId =
|
||||||
@ -1138,7 +1135,9 @@ export default {
|
|||||||
this.form.labelFieldInfoList[this.nnerVisibleindex].taskPartitionDictId = '';
|
this.form.labelFieldInfoList[this.nnerVisibleindex].taskPartitionDictId = '';
|
||||||
// this.form.taskPartitionDictName = '请选择任务细分',
|
// this.form.taskPartitionDictName = '请选择任务细分',
|
||||||
this.taskPartitionDictId = '';
|
this.taskPartitionDictId = '';
|
||||||
} else{
|
} else if (this.titleup == '修改标签字段信息' && !this.title) {
|
||||||
|
console.log('xiugai')
|
||||||
|
|
||||||
this.form.taskTypeName = row.taskTypeName;
|
this.form.taskTypeName = row.taskTypeName;
|
||||||
this.form.taskTypeId = row.id;
|
this.form.taskTypeId = row.id;
|
||||||
this.form.taskPartitionDictName = "请选择任务细分";
|
this.form.taskPartitionDictName = "请选择任务细分";
|
||||||
@ -1279,9 +1278,11 @@ export default {
|
|||||||
};
|
};
|
||||||
this.open = true;
|
this.open = true;
|
||||||
this.title = "添加标签字段信息";
|
this.title = "添加标签字段信息";
|
||||||
|
this.titleup=null;
|
||||||
},
|
},
|
||||||
/** 修改按钮操作 */
|
/** 修改按钮操作 */
|
||||||
handleUpdate(row) {
|
handleUpdate(row) {
|
||||||
|
this.title = null;
|
||||||
this.reset();
|
this.reset();
|
||||||
this.infolistword();
|
this.infolistword();
|
||||||
const id = row.id || this.ids
|
const id = row.id || this.ids
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user