|
@@ -99,6 +99,9 @@
|
|
|
v-if="item.orderstatus == '1' && item.inscompany=='永诚财险'"
|
|
v-if="item.orderstatus == '1' && item.inscompany=='永诚财险'"
|
|
|
@click="refreshStatus(item)" style="color:#f56c6c">更新订单</el-button>
|
|
@click="refreshStatus(item)" style="color:#f56c6c">更新订单</el-button>
|
|
|
<el-button size="mini" type="text"
|
|
<el-button size="mini" type="text"
|
|
|
|
|
+ v-if="item.orderstatus == '1' && item.inscompany=='中煤财险'"
|
|
|
|
|
+ @click="updateStatus(item)" style="color:#f56c6c">更新订单</el-button>
|
|
|
|
|
+ <el-button size="mini" type="text"
|
|
|
v-if="item.orderstatus == '2' && item.inscompany=='国任财险'"
|
|
v-if="item.orderstatus == '2' && item.inscompany=='国任财险'"
|
|
|
@click="refreshStatusGuoren(item)" style="color:#f56c6c">状态更新</el-button>
|
|
@click="refreshStatusGuoren(item)" style="color:#f56c6c">状态更新</el-button>
|
|
|
<el-button size="mini" type="text"
|
|
<el-button size="mini" type="text"
|
|
@@ -1898,32 +1901,6 @@ export default {
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
|
- // 国任查询缴费状态
|
|
|
|
|
- refreshStatusGuoren(item){
|
|
|
|
|
- this.$api.letter.updateOrderInfoGuoren( {companyId:item.id} ).then(res => {
|
|
|
|
|
- if(res.code==200){
|
|
|
|
|
- this.$message({ message:res.msg?res.msg:'已刷新状态', type: "success" })
|
|
|
|
|
- this.loading = true;
|
|
|
|
|
- this.$api.letter.queryOrders(this.pageRequest).then((res) => {
|
|
|
|
|
- if (res.code == "200") {
|
|
|
|
|
- this.loading = false;
|
|
|
|
|
- this.pageResult = res.data.content;
|
|
|
|
|
- this.pageNum = res.data.pageNum;
|
|
|
|
|
- this.totalSize = res.data.totalSize;
|
|
|
|
|
- this.pageResult.forEach(val => {
|
|
|
|
|
- this.$set(val, "expanded", false);
|
|
|
|
|
- });
|
|
|
|
|
- } else {
|
|
|
|
|
- this.loading = false;
|
|
|
|
|
- }
|
|
|
|
|
- })
|
|
|
|
|
- }
|
|
|
|
|
- else{
|
|
|
|
|
- this.$message({ message:res.msg, type: "error" })
|
|
|
|
|
- }
|
|
|
|
|
- })
|
|
|
|
|
- },
|
|
|
|
|
-
|
|
|
|
|
//查询缴费状态
|
|
//查询缴费状态
|
|
|
querystatus(item) {
|
|
querystatus(item) {
|
|
|
if (item.inscompany == '紫金财险') {
|
|
if (item.inscompany == '紫金财险') {
|