|
@@ -12,6 +12,7 @@
|
|
|
<el-input placeholder="流程名称" v-model="loadData.search_Name" clearable
|
|
|
style="width: 200px;display: inline-block;"></el-input>
|
|
|
<el-button type="primary" @click="Search">筛选</el-button>
|
|
|
+ <el-checkbox style="padding: 10px;" @change="lvSort">加急排序</el-checkbox>
|
|
|
</div>
|
|
|
<div style="flex: 1; text-align: right;">
|
|
|
<el-button type="primary" @click="add">新增</el-button>
|
|
@@ -96,9 +97,12 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column label="操作">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-button type="primary" size="mini" @click="handleEdit(scope.row)">编辑</el-button>
|
|
|
- <el-button type="danger" size="mini"
|
|
|
- @click="DeleteWorkOrder(scope.row.id)">删除</el-button>
|
|
|
+ <div v-if="scope.row.isReview == 1">
|
|
|
+ <el-button type="primary" size="mini"
|
|
|
+ @click="handleEdit(scope.row)">编辑</el-button>
|
|
|
+ <el-button type="danger" size="mini"
|
|
|
+ @click="DeleteWorkOrder(scope.row.id)">删除</el-button>
|
|
|
+ </div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
@@ -328,6 +332,9 @@ export default {
|
|
|
},
|
|
|
load() {
|
|
|
this.loadData.userId = this.userId;
|
|
|
+ if (!this.loadData.isLv) {
|
|
|
+ this.loadData.isLv = 0;
|
|
|
+ }
|
|
|
console.log(this.loadData, "this.loadData");
|
|
|
this.$axios({
|
|
|
method: 'post',
|
|
@@ -529,6 +536,14 @@ export default {
|
|
|
});
|
|
|
});
|
|
|
},
|
|
|
+ lvSort(value) {
|
|
|
+ if (value) {
|
|
|
+ this.loadData.isLv = 1;
|
|
|
+ } else {
|
|
|
+ this.loadData.isLv = 0;
|
|
|
+ }
|
|
|
+ this.load();
|
|
|
+ },
|
|
|
},
|
|
|
mounted() {
|
|
|
this.token = JSON.parse(localStorage.getItem('userinif')).token;
|
|
@@ -555,9 +570,11 @@ export default {
|
|
|
font-size: 12px;
|
|
|
font-family: "\5FAE\8F6F\96C5\9ED1";
|
|
|
}
|
|
|
+
|
|
|
#DepartProcessListConter .el-table .el-table__expanded-cell[class*=cell] {
|
|
|
background-color: #fff;
|
|
|
}
|
|
|
+
|
|
|
.step_icon:hover {
|
|
|
/* ransform: scale(1.1); */
|
|
|
}
|