master
e 3 years ago
parent ca715b0c9a
commit cdd60873d3
  1. 27
      src/views/Home.vue
  2. 20
      src/views/Transaction.vue

@ -8,17 +8,18 @@
<p>{{ systemName }} 判分点设置</p>
</div>
<div class="footer">
<div class="flex-end">
<div>
<el-input placeholder="请输入判分点名称" prefix-icon="el-icon-search" v-model="keyword" clearable></el-input>
</div>
</div>
<div class="flex footer_h">
<!-- <i class="el-icon-collection-tag"></i> -->
<div class="footer_h">
<div class="black" style="float: left"></div>
<p style="float: left">判分点列表</p>
<el-button class="button" @click="HomepageJump()">新增</el-button>
<el-button class="button" @click="deletes()">批量删除</el-button>
</div>
<div class="flex footer_h">
<div style="width: 200px;float: left">
<el-input placeholder="请输入判分点名称" prefix-icon="el-icon-search" v-model="keyword" clearable></el-input>
</div>
<div style="float: right">
<el-button class="button" style="height: 33px;" @click="HomepageJump()">新增</el-button>
<el-button class="button" style="height: 33px;" @click="deletes()">批量删除</el-button>
</div>
</div>
<div>
<el-row>
@ -332,7 +333,8 @@ export default {
}
/deep/ .el-button {
line-height: 0;
//line-height: 33px;
//height: 33px;
}
.footer {
@ -437,17 +439,12 @@ export default {
}
.button {
height: 30px;
//width: 80px;
margin: 7px;
border: none;
background-color: #9278ff;
color: #ffffff;
border-radius: 20px;
float: right;
//padding: 15px 15px;
//position: absolute;
//right: 30px;
}
.button:focus {

@ -62,7 +62,8 @@
header-align="center"
:header-cell-style="headClass"
>
<el-table-column prop="indexNo" label="序号" width="80"></el-table-column>
<el-table-column prop="indexNo" type="index" label="序号" width="80">
</el-table-column>
<el-table-column label="流程判分正确答案">
<template slot-scope="scope" v-if="scope.row.isSubject">
<p class="p">操作一致性规则用户完成的功能操作与下方设置的操作点一致</p>
@ -708,15 +709,22 @@ export default {
}
},
handleDelete(row, index) { //
this.$confirm("此操作将永久删除该规则, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
center: true
}).then(() => {
this.tableData.splice(index, 1);
index ? this.tableData.splice(index - 1, 1) : this.tableData.splice(0, 1);
this.isAddRule = false;
console.log(this.tableData)
console.log(index)
console.log(this.tableData[0])
console.log(this.tableData.splice(index,2))
this.tableData.splice(index,2);
console.log(this.tableData)
// console.log()
// index ? this.tableData.splice(index - 1, 1) : this.tableData.splice(0, 1);
// this.isAddRule = false;
}).catch(() => {
});
},
@ -745,13 +753,13 @@ export default {
line-height: 45px;
font-size: 14px;
font-weight: 600;
padding: 0 10px;
//padding: 0 10px;
display: flex;
justify-content: space-between;
.back {
line-height: 3;
padding-left: 10px;
//padding-left: 10px;
span {
font-size: 14px;

Loading…
Cancel
Save