解决bug

This commit is contained in:
liuyp 2024-06-20 20:26:26 +08:00
parent a4e593f1f5
commit 1a15b87295
4 changed files with 118 additions and 9 deletions

View File

@ -1707,6 +1707,7 @@ export default {
for(let p = 0; p < this.waitPackList.length;p++){
if(this.waitPackList[p].receiveCountry != firstItemCountry){
this.$message.error("存在了不同的目的国家!");
this.emisCoPackDetail=[];
return ;
}
this.emisCoPackDetail.push(this.waitPackList[p]);

View File

@ -100,6 +100,24 @@
@click="getList"
>导出</el-button>
</el-col>
<el-col :span="1.5">
<div style="display: inline-flex">
<div class="color-label ">
<span class="item noReply" id="noReply" style="">未回复</span>
</div>
<div class="color-label ">
<span class="item isRepay" id="isRepay" style="">已回复</span>
</div>
<div class="color-label ">
<span class="item isDeal" id="isDeal" style="">已处理</span>
</div>
<div class="color-label ">
<span class="item isSeeNoDeal" id="isSeeNoDeal" style="">已查看未处理</span>
</div>
</div>
</el-col>
</el-row>
</div>
@ -112,7 +130,8 @@
</el-table-column>
<el-table-column :label="$t('回复状态')" align="center" prop="blReversion" min-width="100" >
<template slot-scope="scope">
<span>{{ scope.row.blReversion == "1" ? "是" : "否" }}</span>
<span v-if="scope.row.blReversion == '0'" style="background-color: #ff69b4;">{{ $t("未回复") }}</span>
<span v-else-if="scope.row.blReversion == '1'" style="background-color: #00fa9a;">{{ $t("已回复") }}</span>
</template>
</el-table-column>
<el-table-column :label="$t('通知网点')" align="center" prop="sendSiteName" min-width="100" />
@ -150,17 +169,23 @@
</template>
</el-table-column>
<el-table-column :label="$t('回复网点')" align="center" prop="reversionManCode" min-width="100" />
<el-table-column :label="$t('处理状态')" align="center" prop="status" min-width="100" />
<el-table-column :label="$t('处理状态')" align="center" prop="dealResult" min-width="100">
<template slot-scope="scope">
<span v-if="scope.row.dealResult=='2'" style="background-color: #f0e68c;">处理完毕</span>
<span v-else-if="scope.row.dealResult=='0' && scope.row.blSee != '1'">未处理</span>
<span v-else-if="scope.row.blSee=='1'" style="background-color: #dcdcdc;">已查看未处理</span>
</template>
</el-table-column>
<el-table-column :label="$t('是否查看')" align="center" prop="blSee" min-width="100">
<template slot-scope="scope">
<span>{{ scope.row.blSee == "1" ? "是" : "否" }}</span>
</template>
</el-table-column>
<el-table-column :label="$t('是否回复')" align="center" prop="blReversion" min-width="100">
<!-- <el-table-column :label="$t('是否回复')" align="center" prop="blReversion" min-width="100">
<template slot-scope="scope">
<span>{{ scope.row.blReversion == "1" ? "是" : "否" }}</span>
</template>
</el-table-column>
</el-table-column> -->
<el-table-column :label="$t('问题件路径')" align="center" prop="problemCause" min-width="100" />
<el-table-column :label="$t('问题件主题')" align="center" prop="problemTitle" min-width="100" />
<el-table-column :label="$t('备注')" align="center" prop="remark" min-width="150">
@ -741,4 +766,33 @@ export default {
vertical-align: top;
white-space: nowrap;
}
.color-label {
padding: 5px 6px;
display: inline-block;
vertical-align: top;
}
.color-label > .item{
max-width: 120px;
min-width: 70px;
font-weight: bold;
text-align: center;
};
.noReply{
background-color: rgb(255, 105, 180);
}
.isRepay{
background-color: rgb(0, 250, 154);
}
.isDeal{
background-color: rgb(240, 230, 140);
}
.isSeeNoDeal{
background-color: rgb(220, 220, 220);
}
</style>

View File

@ -179,7 +179,7 @@
<el-table-column :label="$t('处理状态')" align="center" prop="dealResult" min-width="100">
<template slot-scope="scope">
<span v-if="scope.row.dealResult=='2'" style="background-color: #f0e68c;">处理完毕</span>
<span v-else-if="scope.row.dealResult=='0' && scope.row.blSee == '0'">未处理</span>
<span v-else-if="scope.row.dealResult=='0' && scope.row.blSee != '1'">未处理</span>
<span v-else-if="scope.row.blSee=='1'" style="background-color: #dcdcdc;">已查看未处理</span>
</template>
</el-table-column>

View File

@ -92,6 +92,24 @@
@click="getList"
>导出</el-button>
</el-col>
<el-col :span="1.5">
<div style="display: inline-flex">
<div class="color-label ">
<span class="item noReply" id="noReply" style="">未回复</span>
</div>
<div class="color-label ">
<span class="item isRepay" id="isRepay" style="">已回复</span>
</div>
<div class="color-label ">
<span class="item isDeal" id="isDeal" style="">已处理</span>
</div>
<div class="color-label ">
<span class="item isSeeNoDeal" id="isSeeNoDeal" style="">已查看未处理</span>
</div>
</div>
</el-col>
</el-row>
</div>
@ -104,7 +122,8 @@
</el-table-column>
<el-table-column :label="$t('回复状态')" align="center" prop="blReversion" min-width="100" >
<template slot-scope="scope">
<span>{{ scope.row.blReversion ? "是" : "否" }}</span>
<span v-if="scope.row.blReversion == '0'" style="background-color: #ff69b4;">{{ $t("未回复") }}</span>
<span v-else-if="scope.row.blReversion == '1'" style="background-color: #00fa9a;">{{ $t("已回复") }}</span>
</template>
</el-table-column>
<el-table-column :label="$t('通知网点')" align="center" prop="sendSiteName" min-width="100" />
@ -142,17 +161,23 @@
</template>
</el-table-column>
<el-table-column :label="$t('回复网点')" align="center" prop="reversionManCode" min-width="100" />
<el-table-column :label="$t('处理状态')" align="center" prop="status" min-width="100" />
<el-table-column :label="$t('处理状态')" align="center" prop="dealResult" min-width="100">
<template slot-scope="scope">
<span v-if="scope.row.dealResult=='2'" style="background-color: #f0e68c;">处理完毕</span>
<span v-else-if="scope.row.dealResult=='0' && scope.row.blSee != '1'">未处理</span>
<span v-else-if="scope.row.blSee=='1'" style="background-color: #dcdcdc;">已查看未处理</span>
</template>
</el-table-column>
<el-table-column :label="$t('是否查看')" align="center" prop="blSee" min-width="100">
<template slot-scope="scope">
<span>{{ scope.row.blSee == "1" ? "是" : "否" }}</span>
</template>
</el-table-column>
<el-table-column :label="$t('是否回复')" align="center" prop="blReversion" min-width="100">
<!-- <el-table-column :label="$t('是否回复')" align="center" prop="blReversion" min-width="100">
<template slot-scope="scope">
<span>{{ scope.row.blReversion == "1" ? "是" : "否" }}</span>
</template>
</el-table-column>
</el-table-column> -->
<el-table-column :label="$t('问题件路径')" align="center" prop="problemCause" min-width="150" />
<el-table-column :label="$t('问题件主题')" align="center" prop="problemTitle" min-width="150" />
<el-table-column :label="$t('备注')" align="center" prop="remark" min-width="100">
@ -880,4 +905,33 @@ export default {
vertical-align: top;
white-space: nowrap;
}
.color-label {
padding: 5px 6px;
display: inline-block;
vertical-align: top;
}
.color-label > .item{
max-width: 120px;
min-width: 70px;
font-weight: bold;
text-align: center;
};
.noReply{
background-color: rgb(255, 105, 180);
}
.isRepay{
background-color: rgb(0, 250, 154);
}
.isDeal{
background-color: rgb(240, 230, 140);
}
.isSeeNoDeal{
background-color: rgb(220, 220, 220);
}
</style>