查看缴费单,缴费确认,案件受理

This commit is contained in:
gyj
2024-04-18 09:31:48 +08:00
committed by hanchaobo
parent 7f704424b2
commit c7c4ed8f6e
7 changed files with 278 additions and 89 deletions
+14 -9
View File
@@ -30,7 +30,7 @@
<el-table-column label="操作" align="center">
<template slot-scope="scope">
<el-button size="mini" type="text" @click="emailEditing(scope.row)" icon="el-icon-s-promotion">邮箱编辑</el-button>
<el-button v-if="sendStatusMessage" size="mini" type="text" @click="resendCounts(scope.row)" icon="el-icon-s-promotion">重新发送</el-button>
<el-button v-if="scope.row.sendStatus == '未发送'" size="mini" type="text" @click="resendCounts(scope.row)" icon="el-icon-s-promotion">重新发送</el-button>
</template>
</el-table-column>
</el-table>
@@ -43,7 +43,7 @@
<script>
import {
emailList,
emailList,reSendMailRecord
} from "@/api/deliveryRecord/deliveryRecord.js";
import emailEdits from "./components/emailEdits.vue";
import { getDicts } from '@/api/system/dict/data.js'
@@ -96,15 +96,10 @@ export default {
this.dataList = response.rows;
this.dataList.forEach(item => {
if (item.sendStatus == 0) {
this.sendStatusMessage = true
item.sendStatus = "未发送"
} else if (item.sendStatus == 1) {
this.sendStatusMessage = false
item.sendStatus = "已发送"
} else {
item.sendStatus = "未发送"
this.sendStatusMessage = true
}
})
this.total = response.total;
@@ -122,8 +117,18 @@ export default {
this.emailVidable = false
},
// 重新发送
resendCounts(){
resendCounts(row){
if(row.sendStatus=='未发送'){
row.sendStatus = 0
}else if(row.sendStatus=='已发送'){
row.sendStatus = 1
}
reSendMailRecord(row).then(res=>{
console.log(res)
this.$message.success('发送成功');
this.getList(this.queryParams);
})
}
},
};