测试:前台任务设计雏形
parent
b8c4c1db55
commit
242afa5176
|
@ -144,6 +144,12 @@
|
||||||
size="mini"
|
size="mini"
|
||||||
type="text"
|
type="text"
|
||||||
@click="handleDelete(scope.row)">删除</el-button>
|
@click="handleDelete(scope.row)">删除</el-button>
|
||||||
|
|
||||||
|
<el-button
|
||||||
|
icon="el-icon-update"
|
||||||
|
size="mini"
|
||||||
|
type="text"
|
||||||
|
@click="updateById(scope.row)">修改</el-button>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
@ -269,9 +275,9 @@
|
||||||
width="180">
|
width="180">
|
||||||
<template slot-scope="scope">
|
<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 ==1 ">非空规则</span>
|
||||||
<span style="margin-left: 10px" v-if="scope.row.weigh ==2 ">非空规则</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 ==3 ">我啊规则</span>
|
||||||
<span style="margin-left: 10px" v-if="scope.row.weigh ==4 ">非空规则</span>
|
<span style="margin-left: 10px" v-if="scope.row.weigh ==4 ">收到规则</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
||||||
|
@ -279,7 +285,7 @@
|
||||||
label="表别名"
|
label="表别名"
|
||||||
width="180">
|
width="180">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<input type="text">
|
<el-input v-model="scope.row.fieldAsEngineId"></el-input>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
|
@ -336,6 +342,7 @@ export default {
|
||||||
watch: {},
|
watch: {},
|
||||||
//方法集合",
|
//方法集合",
|
||||||
methods: {
|
methods: {
|
||||||
|
|
||||||
executeTask(){
|
executeTask(){
|
||||||
this.taskInputAdd = true;
|
this.taskInputAdd = true;
|
||||||
},
|
},
|
||||||
|
@ -374,7 +381,7 @@ export default {
|
||||||
},
|
},
|
||||||
|
|
||||||
handleDelete(row){
|
handleDelete(row){
|
||||||
deleteByTaskId(row.getId).then(res=>{
|
deleteByTaskId(row.id).then(res=>{
|
||||||
alert(res.msg);
|
alert(res.msg);
|
||||||
if(res.code == 200){
|
if(res.code == 200){
|
||||||
location.reload();
|
location.reload();
|
||||||
|
|
Loading…
Reference in New Issue