测试:前台任务设计雏形
parent
b8c4c1db55
commit
242afa5176
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue