This commit is contained in:
shidongli 2024-07-15 15:03:36 +08:00
parent 52f21c9b7c
commit 23d2a241ac

View File

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