lcw
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div class="personCard relative flex mb10 pointer">
|
||||
<div class="personCard relative flex mb10 pointer" >
|
||||
<div class="cxbq f14 lh50 tc absolute" v-if="props.item.czzt == '03'">已完成</div>
|
||||
<el-button color="#0072ff" size="small" @click="handleQs(props.item)" v-if="props.item.czzt == '01'" class="btn_qs f14 tc absolute">签收</el-button>
|
||||
<el-button color="#0072ff" size="small" @click.stop="handleQs(props.item)" v-if="props.item.czzt == '01'" class="btn_qs f14 tc absolute">签收</el-button>
|
||||
<el-button color="#0072ff" size="small" v-if="props.item.czzt == '02'" ref="buttonRef" @click.stop="isShowVisble = !isShowVisble;" class="btn_qs f14 tc absolute">反馈</el-button>
|
||||
<div class="avatarBox relative">
|
||||
<div class="marks f12 absolute" :class="changeBg(props.item.yjJb)">
|
||||
@ -10,7 +10,7 @@
|
||||
<div>
|
||||
<el-image :preview-teleported="true" style="width: 80px; height: 110px" :src="props.item.yjTp" :preview-src-list="[props.item.yjTp]"/>
|
||||
</div>
|
||||
<span class="smallbtn">全息档案</span>
|
||||
<div> <span class="smallbtn" @click.stop="()=>{}">全息档案</span></div>
|
||||
</div>
|
||||
<div class="infoBox">
|
||||
<div class="items">
|
||||
@ -32,7 +32,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- 虚拟触发 -->
|
||||
<el-popover ref="popoverRef" :visible="isShowVisble" :width="400" :virtual-ref="buttonRef" trigger="click" title="反馈" virtual-triggering >
|
||||
<el-form :model="chooseRow" ref="elRowForm" :inline="true" label-width="100px" :rules="rules">
|
||||
@ -81,7 +81,7 @@ const rules = reactive({
|
||||
// 处理签收
|
||||
const handleQs = (val) =>{
|
||||
proxy.$confirm("是否确定要签收?", "警告", { type: "warning" }).then(() => {
|
||||
qcckPost({id:val.id}, "/mosty-jmxf/tbYjxx/yjqs").then(() => {
|
||||
qcckPost({id:val.id}, "/mosty-gsxt/tbYjxx/yjqs").then(() => {
|
||||
val.czzt = '02'
|
||||
proxy.$message({ type: "success", message: "签收成功" });
|
||||
});
|
||||
@ -93,7 +93,7 @@ const handleSendSp = (val) =>{
|
||||
elRowForm.value.validate((valid) => {
|
||||
if(!valid) return;
|
||||
let data = { id:val.id,...chooseRow.value }
|
||||
qcckPost(data, "/mosty-jmxf/tbYjxx/yjfk").then(() => {
|
||||
qcckPost(data, "/mosty-gsxt/tbYjxx/yjfk").then(() => {
|
||||
val.czzt = '03';
|
||||
proxy.$message({ type: "success", message: "反馈成功" });
|
||||
cancelRowSp()
|
||||
@ -134,6 +134,9 @@ const changetText = (type) => {
|
||||
return "不关注";
|
||||
}
|
||||
};
|
||||
const showDetail = () => {
|
||||
emit('showDetail',props.item)
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
@ -244,4 +247,4 @@ const changetText = (type) => {
|
||||
.num{
|
||||
color: #00ffff;
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
Reference in New Issue
Block a user