update code
parent
2899ecebee
commit
77fffe75b9
|
@ -217,18 +217,22 @@ function choiceTask() {
|
|||
function choiceRobustTask() {
|
||||
info.choiceType = 'robustness'
|
||||
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({
|
||||
disTaskId: taskId,
|
||||
mult: false
|
||||
mult: false,
|
||||
modl_sub_type:modl_sub_type
|
||||
});
|
||||
}
|
||||
//添加对比任务
|
||||
function choiceCompTask() {
|
||||
info.choiceType = 'horizontal_comparison'
|
||||
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({
|
||||
disTaskId: taskId,
|
||||
mult: true
|
||||
mult: true,
|
||||
modl_sub_type:modl_sub_type
|
||||
});
|
||||
}
|
||||
function doChoiceSuccess(d) {
|
||||
|
|
|
@ -59,6 +59,7 @@ let queryParams = reactive({
|
|||
task_name: '',
|
||||
pageNum: 1,
|
||||
pageSize: 10,
|
||||
modl_net_type:'',
|
||||
});
|
||||
const emit = defineEmits(["success"]);
|
||||
const doRowClick = (row) => {
|
||||
|
@ -96,12 +97,13 @@ const doOk = () => {
|
|||
const doCancel = () => {
|
||||
info.show = false;
|
||||
}
|
||||
const showDialog = (opt) => {
|
||||
const showDialog = (opt) => {
|
||||
info.show = true;
|
||||
info.data = opt;
|
||||
info.selData = opt.taskId||'';
|
||||
info.disTaskId=opt.disTaskId;
|
||||
info.mult=opt.mult;
|
||||
queryParams.modl_sub_type=opt.modl_sub_type||'';
|
||||
resetQuery();
|
||||
}
|
||||
function resetQuery() {
|
||||
|
|
Loading…
Reference in New Issue