|
@@ -401,10 +401,7 @@ export default {
|
|
|
pageNumbers: window.localStorage.getItem('pageNumbers')?Number(window.localStorage.getItem('pageNumbers')):1,
|
|
|
tableHeight: "", // 表格高度
|
|
|
total_count: 0,
|
|
|
- dataSort: {
|
|
|
- prop:'update_time',
|
|
|
- order: 'descending'
|
|
|
- },
|
|
|
+ dataSort: {},
|
|
|
tabsIndex: window.localStorage.getItem('tabsIndex')?Number(window.localStorage.getItem('tabsIndex'))*1:0,
|
|
|
check_flag: window.localStorage.getItem('tabsIndex')?Number(window.localStorage.getItem('tabsIndex'))*1===1?false:true:true,
|
|
|
checkNumber: [0,0],
|
|
@@ -520,6 +517,7 @@ export default {
|
|
|
this.$confirm('审核', '提示', {
|
|
|
confirmButtonText: '审核通过',
|
|
|
cancelButtonText: '驳回',
|
|
|
+ distinguishCancelAndClose: true,
|
|
|
type: 'warning'
|
|
|
}).then(() => {
|
|
|
data.iss_status = 1;
|
|
@@ -528,13 +526,15 @@ export default {
|
|
|
this.$message.success("操作成功");
|
|
|
this.getList()
|
|
|
});
|
|
|
- }).catch(() => {
|
|
|
- data.iss_status = 3;
|
|
|
- updataData.iss_status = 3;
|
|
|
- getLogin(Mname, data).then(res => {
|
|
|
- this.$message.success("操作成功");
|
|
|
- this.getList()
|
|
|
- });
|
|
|
+ }).catch((action) => {
|
|
|
+ if(action === 'cancel'){
|
|
|
+ data.iss_status = 3;
|
|
|
+ updataData.iss_status = 3;
|
|
|
+ getLogin(Mname, data).then(res => {
|
|
|
+ this.$message.success("操作成功");
|
|
|
+ this.getList()
|
|
|
+ });
|
|
|
+ }
|
|
|
});
|
|
|
},
|
|
|
// 审核
|