测试:前台任务设计雏形

master
陈思豪 2024-08-24 19:08:30 +08:00
parent b8c4c1db55
commit 242afa5176
1 changed files with 12 additions and 5 deletions

View File

@ -144,6 +144,12 @@
size="mini"
type="text"
@click="handleDelete(scope.row)">删除</el-button>
<el-button
icon="el-icon-update"
size="mini"
type="text"
@click="updateById(scope.row)">修改</el-button>
</template>
</el-table-column>
@ -269,9 +275,9 @@
width="180">
<template slot-scope="scope">
<span style="margin-left: 10px" v-if="scope.row.weigh ==1 "></span>
<span style="margin-left: 10px" v-if="scope.row.weigh ==2 "></span>
<span style="margin-left: 10px" v-if="scope.row.weigh ==3 "></span>
<span style="margin-left: 10px" v-if="scope.row.weigh ==4 "></span>
<span style="margin-left: 10px" v-if="scope.row.weigh ==2 ">aa</span>
<span style="margin-left: 10px" v-if="scope.row.weigh ==3 "></span>
<span style="margin-left: 10px" v-if="scope.row.weigh ==4 "></span>
</template>
</el-table-column>
@ -279,7 +285,7 @@
label="表别名"
width="180">
<template slot-scope="scope">
<input type="text">
<el-input v-model="scope.row.fieldAsEngineId"></el-input>
</template>
</el-table-column>
</el-table>
@ -336,6 +342,7 @@ export default {
watch: {},
//",
methods: {
executeTask(){
this.taskInputAdd = true;
},
@ -374,7 +381,7 @@ export default {
},
handleDelete(row){
deleteByTaskId(row.getId).then(res=>{
deleteByTaskId(row.id).then(res=>{
alert(res.msg);
if(res.code == 200){
location.reload();