修改bug
This commit is contained in:
parent
af20a9e8e0
commit
47e8818ddb
@ -25,11 +25,12 @@
|
||||
<span >{{ scope.row.createAt | formaDate("yyyy-MM-dd hh:mm:ss") }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="操作" width="170">
|
||||
<el-table-column label="操作" width="220">
|
||||
<template slot-scope="scope">
|
||||
<div class="flex-row align-items-center">
|
||||
<el-button size="mini" @click="handleCaseShow(scope)">查看凭证</el-button>
|
||||
<el-button size="mini" v-if="scope.row.status.code == 1" @click="EffectDialog = scope.row">效验</el-button>
|
||||
<el-button size="mini" v-if="scope.row.status.code == 1" @click="handEffectCancel(scope.row)">取消</el-button>
|
||||
</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
@ -79,6 +80,23 @@ import api from "@/services/caseManagement";
|
||||
}
|
||||
})
|
||||
},
|
||||
// 取消效验
|
||||
handEffectCancel(proofitem){
|
||||
this.$confirm("请确定是否取消效验这些数据?", "提示", {
|
||||
confirmButtonText: "确定",
|
||||
cancelButtonText: "取消",
|
||||
type: "warning",
|
||||
}).then(() => {
|
||||
if(!this.$clickThrottle()) { return }//防止重复点击
|
||||
let data = {
|
||||
id:proofitem.id
|
||||
}
|
||||
api.gettraceProof_cancel(data).then((res) => {
|
||||
this.$message.success("取消成功");
|
||||
this.getProofList()
|
||||
});
|
||||
}).catch(() => {});
|
||||
},
|
||||
async handleCaseShow(scope){
|
||||
let previewUrl = await this.getProofFile(scope.row.proofUrl)
|
||||
this.fileDialog = {showfile:{fullUrl:previewUrl,url:scope.row.proofUrl},filelist:[]}
|
||||
|
||||
@ -339,7 +339,7 @@ const caseManagementApi = {
|
||||
|
||||
// 视频快开提醒
|
||||
videoCall: data => {
|
||||
return service.service.get(`${apiAdmin}api/trace/video/videoCall`, data, {hideLoading:true})
|
||||
return service.service.get(`${apiAdmin}api/trace/video/videoCall`, {hideLoading:true})
|
||||
},
|
||||
|
||||
//========================end::案件管理======================================
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user