update code
parent
2899ecebee
commit
77fffe75b9
|
@ -217,18 +217,22 @@ function choiceTask() {
|
||||||
function choiceRobustTask() {
|
function choiceRobustTask() {
|
||||||
info.choiceType = 'robustness'
|
info.choiceType = 'robustness'
|
||||||
let taskId = info.tableData && info.tableData.length > 0 ? info.tableData[0].task_id : '';
|
let taskId = info.tableData && info.tableData.length > 0 ? info.tableData[0].task_id : '';
|
||||||
|
let modl_sub_type=info.tableData && info.tableData.length > 0 ? info.tableData[0].modl_sub_type : '';
|
||||||
taskDlg.value.showDialog({
|
taskDlg.value.showDialog({
|
||||||
disTaskId: taskId,
|
disTaskId: taskId,
|
||||||
mult: false
|
mult: false,
|
||||||
|
modl_sub_type:modl_sub_type
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
//添加对比任务
|
//添加对比任务
|
||||||
function choiceCompTask() {
|
function choiceCompTask() {
|
||||||
info.choiceType = 'horizontal_comparison'
|
info.choiceType = 'horizontal_comparison'
|
||||||
let taskId = info.tableData && info.tableData.length > 0 ? info.tableData[0].task_id : '';
|
let taskId = info.tableData && info.tableData.length > 0 ? info.tableData[0].task_id : '';
|
||||||
|
let modl_sub_type=info.tableData && info.tableData.length > 0 ? info.tableData[0].modl_sub_type : '';
|
||||||
taskDlg.value.showDialog({
|
taskDlg.value.showDialog({
|
||||||
disTaskId: taskId,
|
disTaskId: taskId,
|
||||||
mult: true
|
mult: true,
|
||||||
|
modl_sub_type:modl_sub_type
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
function doChoiceSuccess(d) {
|
function doChoiceSuccess(d) {
|
||||||
|
|
|
@ -59,6 +59,7 @@ let queryParams = reactive({
|
||||||
task_name: '',
|
task_name: '',
|
||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
|
modl_net_type:'',
|
||||||
});
|
});
|
||||||
const emit = defineEmits(["success"]);
|
const emit = defineEmits(["success"]);
|
||||||
const doRowClick = (row) => {
|
const doRowClick = (row) => {
|
||||||
|
@ -102,6 +103,7 @@ const showDialog = (opt) => {
|
||||||
info.selData = opt.taskId||'';
|
info.selData = opt.taskId||'';
|
||||||
info.disTaskId=opt.disTaskId;
|
info.disTaskId=opt.disTaskId;
|
||||||
info.mult=opt.mult;
|
info.mult=opt.mult;
|
||||||
|
queryParams.modl_sub_type=opt.modl_sub_type||'';
|
||||||
resetQuery();
|
resetQuery();
|
||||||
}
|
}
|
||||||
function resetQuery() {
|
function resetQuery() {
|
||||||
|
|
Loading…
Reference in New Issue