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> <p>{{ systemName }} 判分点设置</p>
</div> </div>
<div class="footer"> <div class="footer">
<div class="flex-end"> <div class="footer_h">
<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="black" style="float: left"></div> <div class="black" style="float: left"></div>
<p style="float: left">判分点列表</p> <p style="float: left">判分点列表</p>
<el-button class="button" @click="HomepageJump()">新增</el-button> </div>
<el-button class="button" @click="deletes()">批量删除</el-button> <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>
<div> <div>
<el-row> <el-row>
@ -332,7 +333,8 @@ export default {
} }
/deep/ .el-button { /deep/ .el-button {
line-height: 0; //line-height: 33px;
//height: 33px;
} }
.footer { .footer {
@ -437,17 +439,12 @@ export default {
} }
.button { .button {
height: 30px;
//width: 80px;
margin: 7px; margin: 7px;
border: none; border: none;
background-color: #9278ff; background-color: #9278ff;
color: #ffffff; color: #ffffff;
border-radius: 20px; border-radius: 20px;
float: right; float: right;
//padding: 15px 15px;
//position: absolute;
//right: 30px;
} }
.button:focus { .button:focus {

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

Loading…
Cancel
Save