Merge branch 'main' into 'stg'
修改bug See merge request cloud-mediate/mediate-manage-web!36
This commit is contained in:
commit
c8dcec8ab4
@ -25,11 +25,12 @@
|
|||||||
<span >{{ scope.row.createAt | formaDate("yyyy-MM-dd hh:mm:ss") }}</span>
|
<span >{{ scope.row.createAt | formaDate("yyyy-MM-dd hh:mm:ss") }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="操作" width="170">
|
<el-table-column label="操作" width="220">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div class="flex-row align-items-center">
|
<div class="flex-row align-items-center">
|
||||||
<el-button size="mini" @click="handleCaseShow(scope)">查看凭证</el-button>
|
<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="EffectDialog = scope.row">效验</el-button>
|
||||||
|
<el-button size="mini" v-if="scope.row.status.code == 1" @click="handEffectCancel(scope.row)">取消</el-button>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</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){
|
async handleCaseShow(scope){
|
||||||
let previewUrl = await this.getProofFile(scope.row.proofUrl)
|
let previewUrl = await this.getProofFile(scope.row.proofUrl)
|
||||||
this.fileDialog = {showfile:{fullUrl:previewUrl,url:scope.row.proofUrl},filelist:[]}
|
this.fileDialog = {showfile:{fullUrl:previewUrl,url:scope.row.proofUrl},filelist:[]}
|
||||||
|
|||||||
@ -339,7 +339,7 @@ const caseManagementApi = {
|
|||||||
|
|
||||||
// 视频快开提醒
|
// 视频快开提醒
|
||||||
videoCall: data => {
|
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::案件管理======================================
|
//========================end::案件管理======================================
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user