|
|
@@ -3,66 +3,66 @@
|
|
|
<view class="car-header dis a-c">
|
|
|
<image src="/static/image/car-insure/Group.png" mode="" style="width: 40px;height: 40px;"></image>
|
|
|
<view class="dis f-c head-name">
|
|
|
- <text>{{licenseno}}</text>
|
|
|
+ <text>{{ licenseno }}</text>
|
|
|
<view class="name1">
|
|
|
- <text style="margin-right: 10px;">{{insuredname}}</text>
|
|
|
- <text>{{modelcname}}</text>
|
|
|
+ <text style="margin-right: 10px;">{{ insuredname }}</text>
|
|
|
+ <text>{{ modelcname }}</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="pdd mt-3">
|
|
|
- <view class="sub-orders " v-for="(item,index) in sublist" :key="index">
|
|
|
+ <view class="sub-orders " v-for="(item, index) in sublist" :key="index">
|
|
|
<view class="status dis a-c j-s">
|
|
|
<view v-for="(statusitem, statusindex) in statusList" :key="statusindex" class="dis a-c"
|
|
|
style="font-weight: bold;" v-if="item.orderstatus == statusitem.value">
|
|
|
<image :src="statusitem.src" mode="" style="width: 22px;height: 22px;margin-right: 5px;">
|
|
|
</image>
|
|
|
- <text :style="{color: statusitem.color}">{{statusitem.label}}</text>
|
|
|
+ <text :style="{ color: statusitem.color }">{{ statusitem.label }}</text>
|
|
|
</view>
|
|
|
- <text>¥{{item.sumpremium}}</text>
|
|
|
+ <text>¥{{ item.sumpremium }}</text>
|
|
|
</view>
|
|
|
<view class="orders-centre">
|
|
|
- <text>{{item.inscompany}}</text>
|
|
|
- <text>( {{item.agreementName}} )</text>
|
|
|
+ <text>{{ item.inscompany }}</text>
|
|
|
+ <text>( {{ item.agreementName }} )</text>
|
|
|
<view class="sum dis f-wrap">
|
|
|
- <view v-if="item.jqpremium">交强险:¥{{item.jqpremium}}</view>
|
|
|
- <view v-if="item.sypremium">商业险:¥{{item.sypremium}}</view>
|
|
|
- <view>车船税:¥{{item.taxamount}}</view>
|
|
|
- <view v-if="item.jypremium">驾意险:¥{{item.jypremium}}</view>
|
|
|
+ <view v-if="item.jqpremium">交强险:¥{{ item.jqpremium }}</view>
|
|
|
+ <view v-if="item.sypremium">商业险:¥{{ item.sypremium }}</view>
|
|
|
+ <view>车船税:¥{{ item.taxamount }}</view>
|
|
|
+ <view v-if="item.jypremium">驾意险:¥{{ item.jypremium }}</view>
|
|
|
</view>
|
|
|
<view v-if="item.auditopinion" class="dis f-c" style="font-size: 12px;">
|
|
|
<text>审核意见</text>
|
|
|
- <text>{{item.auditopinion}}</text>
|
|
|
+ <text>{{ item.auditopinion }}</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="orders-below dis f-c">
|
|
|
<view class="dis a-c j-end">
|
|
|
<u-button
|
|
|
- v-if="item.orderstatus==2 && ['恒邦财险','安盛天平','中国人寿','众安平安','太平财险','紫金财险','永诚财险','国任财险','大家财险','华泰财险','中煤财险','华农财险','渤海财险','泰康财险','诚泰财险'].includes(item.inscompany)"
|
|
|
- size="mini" :custom-style="{fontSize:'14px'}" type="error" :plain="true"
|
|
|
- @click="queryStatus(item.id,item)">查询缴费状态</u-button>
|
|
|
- <u-button v-if="item.orderstatus==2" size="mini" type="error" :custom-style="{fontSize:'14px'}"
|
|
|
- :plain="true" @click="Payment(item.id,item.apiType)">二维码</u-button>
|
|
|
- <u-button v-if="item.orderstatus==2 && ['紫金财险'].includes(item.inscompany)" size="mini"
|
|
|
- type="error" :custom-style="{fontSize:'14px'}" :plain="true"
|
|
|
+ v-if="item.orderstatus == 2 && ['恒邦财险', '安盛天平', '中国人寿', '众安平安', '太平财险', '紫金财险', '永诚财险', '国任财险', '大家财险', '华泰财险', '中煤财险', '华农财险', '渤海财险', '泰康财险', '诚泰财险', '大地财险', '人保财险', '泰山财险', '申能财险'].includes(item.inscompany)"
|
|
|
+ size="mini" :custom-style="{ fontSize: '14px' }" type="error" :plain="true"
|
|
|
+ @click="queryStatus(item.id, item)">查询缴费状态</u-button>
|
|
|
+ <u-button v-if="item.orderstatus == 2" size="mini" type="error" :custom-style="{ fontSize: '14px' }"
|
|
|
+ :plain="true" @click="Payment(item.id, item.apiType)">二维码</u-button>
|
|
|
+ <u-button v-if="item.orderstatus == 2 && ['紫金财险'].includes(item.inscompany)" size="mini"
|
|
|
+ type="error" :custom-style="{ fontSize: '14px' }" :plain="true"
|
|
|
@click="cancelorder(item.id)">撤单</u-button>
|
|
|
- <u-button v-if="item.orderstatus==2" size="mini" type="primary"
|
|
|
- :custom-style="{fontSize:'14px'}" :plain="true"
|
|
|
+ <u-button v-if="item.orderstatus == 2" size="mini" type="primary"
|
|
|
+ :custom-style="{ fontSize: '14px' }" :plain="true"
|
|
|
@click="revokeCode(item.id)">撤销二维码</u-button>
|
|
|
</view>
|
|
|
<view class="dis a-c j-end" style="margin-top: 5px;">
|
|
|
- <u-button v-if="(item.orderstatus==4 || item.orderstatus==1) && item.inscompany=='华泰财险'"
|
|
|
- size="mini" :custom-style="{fontSize:'14px'}" type="error" :plain="true"
|
|
|
+ <u-button v-if="(item.orderstatus == 4 || item.orderstatus == 1) && item.inscompany == '华泰财险'"
|
|
|
+ size="mini" :custom-style="{ fontSize: '14px' }" type="error" :plain="true"
|
|
|
@click="huataiunderwriting(item)">更新订单</u-button>
|
|
|
<u-button
|
|
|
- v-if="item.orderstatus==1 && ['中煤财险','永诚财险','国任财险','大家财险','渤海财险','恒邦财险','安盛天平','中国人寿','众安平安','太平财险','华农财险','泰康财险','诚泰财险'].includes(item.inscompany)"
|
|
|
- size="mini" type="error" :plain="true" :custom-style="{fontSize:'14px'}"
|
|
|
- @click="underwriting(item.id,item.inscompany)">更新订单</u-button>
|
|
|
- <u-button type="error" size="mini" :custom-style="{fontSize:'14px'}"
|
|
|
+ v-if="item.orderstatus == 1 && ['中煤财险', '永诚财险', '国任财险', '大家财险', '渤海财险', '恒邦财险', '安盛天平', '中国人寿', '众安平安', '太平财险', '华农财险', '泰康财险', '诚泰财险', '大地财险', '人保财险', '泰山财险', '申能财险'].includes(item.inscompany)"
|
|
|
+ size="mini" type="error" :plain="true" :custom-style="{ fontSize: '14px' }"
|
|
|
+ @click="underwriting(item.id, item.inscompany)">更新订单</u-button>
|
|
|
+ <u-button type="error" size="mini" :custom-style="{ fontSize: '14px' }"
|
|
|
@click="openSteps(item.id)">订单轨迹</u-button>
|
|
|
- <u-button size="mini" type="primary" :custom-style="{fontSize:'14px',background:'#FF5600'}"
|
|
|
+ <u-button size="mini" type="primary" :custom-style="{ fontSize: '14px', background: '#FF5600' }"
|
|
|
@click="bjdpreview(item.id)">报价单</u-button>
|
|
|
- <u-button size="mini" type="primary" :custom-style="{fontSize:'14px'}"
|
|
|
+ <u-button size="mini" type="primary" :custom-style="{ fontSize: '14px' }"
|
|
|
@click="detial(item.id)">查看详情</u-button>
|
|
|
</view>
|
|
|
<!-- <text class="arrivalNavigations" :data-id="item.id" @tap.stop.prevent="Moremethods">更多
|
|
|
@@ -81,28 +81,28 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <o-empty v-if="sublist.length==0" />
|
|
|
+ <o-empty v-if="sublist.length == 0" />
|
|
|
<!-- <u-popup v-model="trajectoryShow" mode="center" border-radius="8" width="80%">
|
|
|
<u-steps mode="number" :list="numList" :current="2" direction="column" style="padding: 20px;"></u-steps>
|
|
|
</u-popup> -->
|
|
|
<u-modal v-model="OrderTrackShow" title="订单轨迹"
|
|
|
- :title-style="{fontWeight: 'bold',borderBottom:'1px solid #f2f2f2',padding:'10px'}"
|
|
|
+ :title-style="{ fontWeight: 'bold', borderBottom: '1px solid #f2f2f2', padding: '10px' }"
|
|
|
:show-cancel-button="false"
|
|
|
- :confirm-style="{background:'#E6EEFF',color:'#0052FF',height:'40px',lineHeight:'40px'}"
|
|
|
- @confirm="OrderTrackShow=false" confirm-text="关闭">
|
|
|
+ :confirm-style="{ background: '#E6EEFF', color: '#0052FF', height: '40px', lineHeight: '40px' }"
|
|
|
+ @confirm="OrderTrackShow = false" confirm-text="关闭">
|
|
|
<view class="slot-content dis a-c p-2">
|
|
|
<view class="dis a-c j-c f-c">
|
|
|
- <view class="TrackRecord dis f-c a-start" v-for="(item,index) in TrackRecordList" :key="index">
|
|
|
+ <view class="TrackRecord dis f-c a-start" v-for="(item, index) in TrackRecordList" :key="index">
|
|
|
<view class="dis a-c">
|
|
|
- <view class="circle dis j-c a-c">{{index+1}}</view>
|
|
|
- <text class="title">{{item.orderStatus}}</text>
|
|
|
+ <view class="circle dis j-c a-c">{{ index + 1 }}</view>
|
|
|
+ <text class="title">{{ item.orderStatus }}</text>
|
|
|
</view>
|
|
|
<view class="dis f-c content mt-2">
|
|
|
<view class="">
|
|
|
- <text>保险公司:{{item.insCompany}}</text>
|
|
|
- <text style="margin-left: 10px;">提交人:{{item.operator}}</text>
|
|
|
+ <text>保险公司:{{ item.insCompany }}</text>
|
|
|
+ <text style="margin-left: 10px;">提交人:{{ item.operator }}</text>
|
|
|
</view>
|
|
|
- <text>创建时间:{{item.createTime}}</text>
|
|
|
+ <text>创建时间:{{ item.createTime }}</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -112,688 +112,734 @@
|
|
|
</view>
|
|
|
</template>
|
|
|
<script>
|
|
|
- import store from '@/store';
|
|
|
- import {
|
|
|
- mapState,
|
|
|
- mapMutations
|
|
|
- } from "vuex"
|
|
|
- export default {
|
|
|
- data() {
|
|
|
- return {
|
|
|
- TrackRecordList: [],
|
|
|
- OrderTrackShow: false,
|
|
|
- show: true,
|
|
|
- modeClass: 'fade',
|
|
|
- // trajectoryShow: false,
|
|
|
- // trajectoryList: [],
|
|
|
- MoreShow: false,
|
|
|
- moreindex: "",
|
|
|
- companyId: "",
|
|
|
- modelcname: "",
|
|
|
- orderno: "",
|
|
|
- insuredname: "",
|
|
|
- licenseno: "",
|
|
|
- sublist: [],
|
|
|
- numList: [{
|
|
|
- name: '进行中'
|
|
|
- }, {
|
|
|
- name: '待核保'
|
|
|
- },
|
|
|
- {
|
|
|
- name: '核保退回'
|
|
|
- }, {
|
|
|
- name: '待缴费'
|
|
|
- }, {
|
|
|
- name: '已承保'
|
|
|
- },
|
|
|
-
|
|
|
- ],
|
|
|
- statusList: [{
|
|
|
- label: '进行中',
|
|
|
- value: 0,
|
|
|
- color: "#229805",
|
|
|
- src: "/static/image/car-insure/state1.png"
|
|
|
- },
|
|
|
- {
|
|
|
- label: '待核保',
|
|
|
- value: 1,
|
|
|
- color: "#FF5600",
|
|
|
- src: "/static/image/car-insure/state2.png"
|
|
|
- },
|
|
|
- {
|
|
|
- label: '待缴费',
|
|
|
- value: 2,
|
|
|
- color: "#FF0F00",
|
|
|
- src: "/static/image/car-insure/state3.png"
|
|
|
- },
|
|
|
- {
|
|
|
- label: '已承保',
|
|
|
- value: 3,
|
|
|
- color: "#0052FF",
|
|
|
- src: "/static/image/car-insure/state4.png"
|
|
|
- },
|
|
|
- {
|
|
|
- label: '核保退回',
|
|
|
- value: 4,
|
|
|
- color: "#727272",
|
|
|
- src: "/static/image/car-insure/state5.png"
|
|
|
- }
|
|
|
- ],
|
|
|
- }
|
|
|
- },
|
|
|
- computed: {
|
|
|
- ...mapState(['userInfo', 'quotationType']),
|
|
|
- },
|
|
|
- onLoad(params) {
|
|
|
- let item = JSON.parse(params.orderno);
|
|
|
- this.orderno = item.orderno;
|
|
|
- this.modelcname = item.modelcname;
|
|
|
- this.insuredname = item.insuredname;
|
|
|
- this.licenseno = item.licenseno;
|
|
|
- this.querylist();
|
|
|
- },
|
|
|
- methods: {
|
|
|
- //打开步骤条弹框
|
|
|
- async openSteps(orderno) {
|
|
|
- let res = await this.$http.get("/insurance/track/queryBySuborder?suborder=" + orderno)
|
|
|
- if (res.code == '200') {
|
|
|
- this.statusList.map(valA => {
|
|
|
- res.data.map(valB => {
|
|
|
- if (valA.value == valB.orderStatus) {
|
|
|
- valB.orderStatus = valA.label;
|
|
|
- }
|
|
|
- return valB
|
|
|
- })
|
|
|
- })
|
|
|
- this.TrackRecordList = res.data;
|
|
|
- this.OrderTrackShow = true;
|
|
|
- }
|
|
|
+import store from '@/store';
|
|
|
+import {
|
|
|
+ mapState,
|
|
|
+ mapMutations
|
|
|
+} from "vuex"
|
|
|
+export default {
|
|
|
+ data() {
|
|
|
+ return {
|
|
|
+ TrackRecordList: [],
|
|
|
+ OrderTrackShow: false,
|
|
|
+ show: true,
|
|
|
+ modeClass: 'fade',
|
|
|
+ // trajectoryShow: false,
|
|
|
+ // trajectoryList: [],
|
|
|
+ MoreShow: false,
|
|
|
+ moreindex: "",
|
|
|
+ companyId: "",
|
|
|
+ modelcname: "",
|
|
|
+ orderno: "",
|
|
|
+ insuredname: "",
|
|
|
+ licenseno: "",
|
|
|
+ sublist: [],
|
|
|
+ numList: [{
|
|
|
+ name: '进行中'
|
|
|
+ }, {
|
|
|
+ name: '待核保'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: '核保退回'
|
|
|
+ }, {
|
|
|
+ name: '待缴费'
|
|
|
+ }, {
|
|
|
+ name: '已承保'
|
|
|
},
|
|
|
|
|
|
- handle(type) {
|
|
|
- this.show = !this.show
|
|
|
- this.modeClass = type
|
|
|
+ ],
|
|
|
+ statusList: [{
|
|
|
+ label: '进行中',
|
|
|
+ value: 0,
|
|
|
+ color: "#229805",
|
|
|
+ src: "/static/image/car-insure/state1.png"
|
|
|
},
|
|
|
- async querylist() {
|
|
|
- let params = {
|
|
|
- orderNo: this.orderno
|
|
|
- }
|
|
|
- let res = await this.$http.post('/insurance/order/querySuborder', params)
|
|
|
- this.sublist = res.data;
|
|
|
- this.sublist.map(val => {
|
|
|
- val.checked = false;
|
|
|
- return val;
|
|
|
- })
|
|
|
+ {
|
|
|
+ label: '待核保',
|
|
|
+ value: 1,
|
|
|
+ color: "#FF5600",
|
|
|
+ src: "/static/image/car-insure/state2.png"
|
|
|
},
|
|
|
- //更多操作
|
|
|
- Moremethods(e) {
|
|
|
- let id = e.currentTarget.dataset.id;
|
|
|
- let list = this.sublist;
|
|
|
- this.sublist = list.map(val => {
|
|
|
- if (val.id == id) {
|
|
|
- val.checked = !val.checked;
|
|
|
- } else {
|
|
|
- val.checked = false;
|
|
|
- }
|
|
|
- return val;
|
|
|
- })
|
|
|
+ {
|
|
|
+ label: '待缴费',
|
|
|
+ value: 2,
|
|
|
+ color: "#FF0F00",
|
|
|
+ src: "/static/image/car-insure/state3.png"
|
|
|
},
|
|
|
- //查看详情
|
|
|
- detial(id) {
|
|
|
- this.navigate({
|
|
|
- url: '/pages/carInsure/quoteDetail',
|
|
|
- success: (res) => {
|
|
|
- res.eventChannel.emit("acceptData", {
|
|
|
- companyId: id,
|
|
|
- })
|
|
|
- }
|
|
|
- }, "navigateTo", true);
|
|
|
+ {
|
|
|
+ label: '已承保',
|
|
|
+ value: 3,
|
|
|
+ color: "#0052FF",
|
|
|
+ src: "/static/image/car-insure/state4.png"
|
|
|
},
|
|
|
- //付款码
|
|
|
- Payment(id, type) {
|
|
|
- let pro = this.quotationType.themeCode;
|
|
|
- if (pro == "QD") {
|
|
|
- uni.navigateTo({
|
|
|
- url: "/pages/orders/paymentCode?companyId=" + id + '&apiType=' + type,
|
|
|
+ {
|
|
|
+ label: '核保退回',
|
|
|
+ value: 4,
|
|
|
+ color: "#727272",
|
|
|
+ src: "/static/image/car-insure/state5.png"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ }
|
|
|
+ },
|
|
|
+ computed: {
|
|
|
+ ...mapState(['userInfo', 'quotationType']),
|
|
|
+ },
|
|
|
+ onLoad(params) {
|
|
|
+ let item = JSON.parse(params.orderno);
|
|
|
+ this.orderno = item.orderno;
|
|
|
+ this.modelcname = item.modelcname;
|
|
|
+ this.insuredname = item.insuredname;
|
|
|
+ this.licenseno = item.licenseno;
|
|
|
+ this.querylist();
|
|
|
+ },
|
|
|
+ methods: {
|
|
|
+ //打开步骤条弹框
|
|
|
+ async openSteps(orderno) {
|
|
|
+ let res = await this.$http.get("/insurance/track/queryBySuborder?suborder=" + orderno)
|
|
|
+ if (res.code == '200') {
|
|
|
+ this.statusList.map(valA => {
|
|
|
+ res.data.map(valB => {
|
|
|
+ if (valA.value == valB.orderStatus) {
|
|
|
+ valB.orderStatus = valA.label;
|
|
|
+ }
|
|
|
+ return valB
|
|
|
})
|
|
|
+ })
|
|
|
+ this.TrackRecordList = res.data;
|
|
|
+ this.OrderTrackShow = true;
|
|
|
+ }
|
|
|
+ },
|
|
|
+
|
|
|
+ handle(type) {
|
|
|
+ this.show = !this.show
|
|
|
+ this.modeClass = type
|
|
|
+ },
|
|
|
+ async querylist() {
|
|
|
+ let params = {
|
|
|
+ orderNo: this.orderno
|
|
|
+ }
|
|
|
+ let res = await this.$http.post('/insurance/order/querySuborder', params)
|
|
|
+ this.sublist = res.data;
|
|
|
+ this.sublist.map(val => {
|
|
|
+ val.checked = false;
|
|
|
+ return val;
|
|
|
+ })
|
|
|
+ },
|
|
|
+ //更多操作
|
|
|
+ Moremethods(e) {
|
|
|
+ let id = e.currentTarget.dataset.id;
|
|
|
+ let list = this.sublist;
|
|
|
+ this.sublist = list.map(val => {
|
|
|
+ if (val.id == id) {
|
|
|
+ val.checked = !val.checked;
|
|
|
} else {
|
|
|
- uni.navigateTo({
|
|
|
- url: "/pages/orders/paymentCode1?companyId=" + id + '&apiType=' + type,
|
|
|
- })
|
|
|
+ val.checked = false;
|
|
|
}
|
|
|
- },
|
|
|
- //报价单
|
|
|
- bjdpreview(id) {
|
|
|
- let pro = this.quotationType.themeCode;
|
|
|
- if (pro == "QD") {
|
|
|
- uni.navigateTo({
|
|
|
- url: "/pages/orders/quotation?companyId=" + id
|
|
|
- })
|
|
|
- } else {
|
|
|
- uni.navigateTo({
|
|
|
- url: "/pages/orders/quotation1?companyId=" + id
|
|
|
+ return val;
|
|
|
+ })
|
|
|
+ },
|
|
|
+ //查看详情
|
|
|
+ detial(id) {
|
|
|
+ this.navigate({
|
|
|
+ url: '/pages/carInsure/quoteDetail',
|
|
|
+ success: (res) => {
|
|
|
+ res.eventChannel.emit("acceptData", {
|
|
|
+ companyId: id,
|
|
|
})
|
|
|
}
|
|
|
- },
|
|
|
- //撤销二维码
|
|
|
- async revokeCode(id) {
|
|
|
- let res = await this.$http.post('/order/qrCode/destructionQrCode?areaCompanyId=' + id)
|
|
|
- if (res.code == '200') {
|
|
|
- uni.showToast({
|
|
|
- title: res.msg,
|
|
|
- icon: 'success',
|
|
|
- duration: 1000
|
|
|
+ }, "navigateTo", true);
|
|
|
+ },
|
|
|
+ //付款码
|
|
|
+ Payment(id, type) {
|
|
|
+ let pro = this.quotationType.themeCode;
|
|
|
+ if (pro == "QD") {
|
|
|
+ uni.navigateTo({
|
|
|
+ url: "/pages/orders/paymentCode?companyId=" + id + '&apiType=' + type,
|
|
|
+ })
|
|
|
+ } else {
|
|
|
+ uni.navigateTo({
|
|
|
+ url: "/pages/orders/paymentCode1?companyId=" + id + '&apiType=' + type,
|
|
|
+ })
|
|
|
+ }
|
|
|
+ },
|
|
|
+ //报价单
|
|
|
+ bjdpreview(id) {
|
|
|
+ let pro = this.quotationType.themeCode;
|
|
|
+ if (pro == "QD") {
|
|
|
+ uni.navigateTo({
|
|
|
+ url: "/pages/orders/quotation?companyId=" + id
|
|
|
+ })
|
|
|
+ } else {
|
|
|
+ uni.navigateTo({
|
|
|
+ url: "/pages/orders/quotation1?companyId=" + id
|
|
|
+ })
|
|
|
+ }
|
|
|
+ },
|
|
|
+ //撤销二维码
|
|
|
+ async revokeCode(id) {
|
|
|
+ let res = await this.$http.post('/order/qrCode/destructionQrCode?areaCompanyId=' + id)
|
|
|
+ if (res.code == '200') {
|
|
|
+ uni.showToast({
|
|
|
+ title: res.msg,
|
|
|
+ icon: 'success',
|
|
|
+ duration: 1000
|
|
|
+ });
|
|
|
+ this.querylist();
|
|
|
+ } else {
|
|
|
+ uni.showToast({
|
|
|
+ title: res.msg,
|
|
|
+ icon: 'none',
|
|
|
+ duration: 1000
|
|
|
+ });
|
|
|
+ }
|
|
|
+ },
|
|
|
+ async huataiunderwriting(item) {
|
|
|
+ let api = item.apiType == '2' ? '/insurance/crawler/auditStatusQuery' :
|
|
|
+ '/order/huaTaiApi/auditStatusQuery';
|
|
|
+ let params = {
|
|
|
+ companyId: item.id,
|
|
|
+ }
|
|
|
+ let res = await this.$http.post(`${api}`, params)
|
|
|
+ if (res.code == '200') {
|
|
|
+ uni.showToast({
|
|
|
+ title: res.msg,
|
|
|
+ icon: 'success',
|
|
|
+ duration: 1000
|
|
|
+ });
|
|
|
+ this.querylist();
|
|
|
+ } else {
|
|
|
+ uni.showToast({
|
|
|
+ title: res.msg,
|
|
|
+ icon: 'none',
|
|
|
+ duration: 1000
|
|
|
+ });
|
|
|
+ }
|
|
|
+ },
|
|
|
+
|
|
|
+ //核保状态查询
|
|
|
+ async underwriting(id, inscompany) {
|
|
|
+ switch (inscompany) {
|
|
|
+ case "中煤财险":
|
|
|
+ let zmres = await this.$http.post('/order/zhongMeiApi/auditStatusQuery', {
|
|
|
+ companyId: id
|
|
|
+ })
|
|
|
+ if (zmres.code == '200') {
|
|
|
+ uni.showToast({
|
|
|
+ title: zmres.msg,
|
|
|
+ icon: 'none',
|
|
|
+ duration: 1000
|
|
|
+ });
|
|
|
+ this.querylist();
|
|
|
+ } else {
|
|
|
+ uni.showToast({
|
|
|
+ title: zmres.msg,
|
|
|
+ icon: 'none',
|
|
|
+ });
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case "永诚财险":
|
|
|
+ let ycres = await this.$http.get('/api/yongCheng/orderStatusBySuborderId/' + id);
|
|
|
+ if (ycres.code == '200') {
|
|
|
+ uni.showToast({
|
|
|
+ title: ycres.msg,
|
|
|
+ icon: 'none',
|
|
|
+ duration: 2000
|
|
|
+ });
|
|
|
+ this.querylist();
|
|
|
+ } else {
|
|
|
+ uni.showToast({
|
|
|
+ title: ycres.msg,
|
|
|
+ icon: 'none',
|
|
|
+ });
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case "国任财险":
|
|
|
+ let grres = await this.$http.post('/api/guoRen/updateOrderInfo', {
|
|
|
+ companyId: id
|
|
|
});
|
|
|
- this.querylist();
|
|
|
- } else {
|
|
|
- uni.showToast({
|
|
|
- title: res.msg,
|
|
|
- icon: 'none',
|
|
|
- duration: 1000
|
|
|
+ if (grres.code == '200') {
|
|
|
+ uni.showToast({
|
|
|
+ title: grres.msg,
|
|
|
+ icon: 'none',
|
|
|
+ duration: 2000
|
|
|
+ });
|
|
|
+ this.querylist();
|
|
|
+ } else {
|
|
|
+ uni.showToast({
|
|
|
+ title: grres.msg,
|
|
|
+ icon: 'none',
|
|
|
+ });
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case "大家财险":
|
|
|
+ let djapi = item.apiType == '2' ? '/insurance/crawler/auditStatusQuery' :
|
|
|
+ '/api/dajia/verifyPayment';
|
|
|
+ let djres = await this.$http.post(`${djapi}`, {
|
|
|
+ companyId: id
|
|
|
});
|
|
|
- }
|
|
|
- },
|
|
|
- async huataiunderwriting(item) {
|
|
|
- let api = item.apiType == '2' ? '/insurance/crawler/auditStatusQuery' :
|
|
|
- '/order/huaTaiApi/auditStatusQuery';
|
|
|
- let params = {
|
|
|
- companyId: item.id,
|
|
|
- }
|
|
|
- let res = await this.$http.post(`${api}`, params)
|
|
|
- if (res.code == '200') {
|
|
|
- uni.showToast({
|
|
|
- title: res.msg,
|
|
|
- icon: 'success',
|
|
|
- duration: 1000
|
|
|
+ if (djres.code == '200') {
|
|
|
+ uni.showToast({
|
|
|
+ title: djres.msg,
|
|
|
+ icon: 'none',
|
|
|
+ duration: 2000
|
|
|
+ });
|
|
|
+ this.querylist();
|
|
|
+ } else {
|
|
|
+ uni.showToast({
|
|
|
+ title: djres.msg,
|
|
|
+ icon: 'none',
|
|
|
+ });
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case "渤海财险":
|
|
|
+ let bhapi = item.apiType == '2' ? '/insurance/crawler/auditStatusQuery' :
|
|
|
+ '/order/boHaiApi/auditStatusQuery';
|
|
|
+ let bhres = await this.$http.post(`${bhapi}`, {
|
|
|
+ companyId: id
|
|
|
});
|
|
|
- this.querylist();
|
|
|
- } else {
|
|
|
- uni.showToast({
|
|
|
- title: res.msg,
|
|
|
- icon: 'none',
|
|
|
- duration: 1000
|
|
|
+ if (bhres.code == '200') {
|
|
|
+ uni.showToast({
|
|
|
+ title: bhres.msg,
|
|
|
+ icon: 'none',
|
|
|
+ duration: 2000
|
|
|
+ });
|
|
|
+ this.querylist();
|
|
|
+ } else {
|
|
|
+ uni.showToast({
|
|
|
+ title: bhres.msg,
|
|
|
+ icon: 'none',
|
|
|
+ });
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case "诚泰财险":
|
|
|
+ let ctapi = item.apiType == '2' ? '/insurance/crawler/auditStatusQuery' :
|
|
|
+ '/order/chengTai/auditStatusQuery';
|
|
|
+ let ctres = await this.$http.post(`${ctapi}`, {
|
|
|
+ companyId: id
|
|
|
});
|
|
|
- }
|
|
|
- },
|
|
|
-
|
|
|
- //核保状态查询
|
|
|
- async underwriting(id, inscompany) {
|
|
|
- switch (inscompany) {
|
|
|
- case "中煤财险":
|
|
|
- let zmres = await this.$http.post('/order/zhongMeiApi/auditStatusQuery', {
|
|
|
- companyId: id
|
|
|
- })
|
|
|
- if (zmres.code == '200') {
|
|
|
- uni.showToast({
|
|
|
- title: zmres.msg,
|
|
|
- icon: 'none',
|
|
|
- duration: 1000
|
|
|
- });
|
|
|
- this.querylist();
|
|
|
- } else {
|
|
|
- uni.showToast({
|
|
|
- title: zmres.msg,
|
|
|
- icon: 'none',
|
|
|
- });
|
|
|
- }
|
|
|
- break;
|
|
|
- case "永诚财险":
|
|
|
- let ycres = await this.$http.get('/api/yongCheng/orderStatusBySuborderId/' + id);
|
|
|
- if (ycres.code == '200') {
|
|
|
- uni.showToast({
|
|
|
- title: ycres.msg,
|
|
|
- icon: 'none',
|
|
|
- duration: 2000
|
|
|
- });
|
|
|
- this.querylist();
|
|
|
- } else {
|
|
|
- uni.showToast({
|
|
|
- title: ycres.msg,
|
|
|
- icon: 'none',
|
|
|
- });
|
|
|
- }
|
|
|
- break;
|
|
|
- case "国任财险":
|
|
|
- let grres = await this.$http.post('/api/guoRen/updateOrderInfo', {
|
|
|
- companyId: id
|
|
|
- });
|
|
|
- if (grres.code == '200') {
|
|
|
- uni.showToast({
|
|
|
- title: grres.msg,
|
|
|
- icon: 'none',
|
|
|
- duration: 2000
|
|
|
- });
|
|
|
- this.querylist();
|
|
|
- } else {
|
|
|
- uni.showToast({
|
|
|
- title: grres.msg,
|
|
|
- icon: 'none',
|
|
|
- });
|
|
|
- }
|
|
|
- break;
|
|
|
- case "大家财险":
|
|
|
- let djapi = item.apiType == '2' ? '/insurance/crawler/auditStatusQuery' :
|
|
|
- '/api/dajia/verifyPayment';
|
|
|
- let djres = await this.$http.post(`${djapi}`, {
|
|
|
- companyId: id
|
|
|
- });
|
|
|
- if (djres.code == '200') {
|
|
|
- uni.showToast({
|
|
|
- title: djres.msg,
|
|
|
- icon: 'none',
|
|
|
- duration: 2000
|
|
|
- });
|
|
|
- this.querylist();
|
|
|
- } else {
|
|
|
- uni.showToast({
|
|
|
- title: djres.msg,
|
|
|
- icon: 'none',
|
|
|
- });
|
|
|
- }
|
|
|
- break;
|
|
|
- case "渤海财险":
|
|
|
- let bhres = await this.$http.post('/order/boHaiApi/auditStatusQuery', {
|
|
|
- companyId: id
|
|
|
- });
|
|
|
- if (bhres.code == '200') {
|
|
|
- uni.showToast({
|
|
|
- title: bhres.msg,
|
|
|
- icon: 'none',
|
|
|
- duration: 2000
|
|
|
- });
|
|
|
- this.querylist();
|
|
|
- } else {
|
|
|
- uni.showToast({
|
|
|
- title: bhres.msg,
|
|
|
- icon: 'none',
|
|
|
- });
|
|
|
- }
|
|
|
- break;
|
|
|
- default:
|
|
|
- let pythonres = await this.$http.post('/insurance/crawler/auditStatusQuery', {
|
|
|
- companyId: id
|
|
|
- });
|
|
|
- if (pythonres.code == '200') {
|
|
|
- uni.showToast({
|
|
|
- title: pythonres.msg,
|
|
|
- icon: 'none',
|
|
|
- duration: 2000
|
|
|
- });
|
|
|
- this.querylist();
|
|
|
- } else {
|
|
|
- uni.showToast({
|
|
|
- title: pythonres.msg,
|
|
|
- icon: 'none',
|
|
|
- });
|
|
|
- }
|
|
|
- break;
|
|
|
- }
|
|
|
+ if (ctres.code == '200') {
|
|
|
+ uni.showToast({
|
|
|
+ title: ctres.msg,
|
|
|
+ icon: 'none',
|
|
|
+ duration: 2000
|
|
|
+ });
|
|
|
+ this.querylist();
|
|
|
+ } else {
|
|
|
+ uni.showToast({
|
|
|
+ title: ctres.msg,
|
|
|
+ icon: 'error',
|
|
|
+ });
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ default:
|
|
|
+ let pythonres = await this.$http.post('/insurance/crawler/auditStatusQuery', {
|
|
|
+ companyId: id
|
|
|
+ });
|
|
|
+ if (pythonres.code == '200') {
|
|
|
+ uni.showToast({
|
|
|
+ title: pythonres.msg,
|
|
|
+ icon: 'none',
|
|
|
+ duration: 2000
|
|
|
+ });
|
|
|
+ this.querylist();
|
|
|
+ } else {
|
|
|
+ uni.showToast({
|
|
|
+ title: pythonres.msg,
|
|
|
+ icon: 'none',
|
|
|
+ });
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
|
|
|
- },
|
|
|
- //撤单
|
|
|
- async cancelorder(item) {
|
|
|
- let res = await this.$http.post('/order/zijin/cancel', {
|
|
|
- companyId: item
|
|
|
- })
|
|
|
- if (res.code == '200') {
|
|
|
- uni.showToast({
|
|
|
- title: res.msg,
|
|
|
- icon: 'none',
|
|
|
- duration: 1000
|
|
|
+ },
|
|
|
+ //撤单
|
|
|
+ async cancelorder(item) {
|
|
|
+ let res = await this.$http.post('/order/zijin/cancel', {
|
|
|
+ companyId: item
|
|
|
+ })
|
|
|
+ if (res.code == '200') {
|
|
|
+ uni.showToast({
|
|
|
+ title: res.msg,
|
|
|
+ icon: 'none',
|
|
|
+ duration: 1000
|
|
|
+ });
|
|
|
+ this.querylist();
|
|
|
+ } else {
|
|
|
+ uni.showToast({
|
|
|
+ title: res.msg,
|
|
|
+ icon: 'none',
|
|
|
+ });
|
|
|
+ }
|
|
|
+ },
|
|
|
+ async queryStatus(id, item) {
|
|
|
+ switch (item.inscompany) {
|
|
|
+ case "紫金财险":
|
|
|
+ let zjapi = item.apiType == "2" ? "/insurance/crawler/getOrderDetail" :
|
|
|
+ '/order/zijin/getOrderDetail';
|
|
|
+ let zjres = await this.$http.post(`${zjapi}`, {
|
|
|
+ [item.apiType == 2 ? "subOrderNo" : "companyId"]: id
|
|
|
});
|
|
|
- this.querylist();
|
|
|
- } else {
|
|
|
- uni.showToast({
|
|
|
- title: res.msg,
|
|
|
- icon: 'none',
|
|
|
+ if (zjres.code == '200') {
|
|
|
+ uni.showToast({
|
|
|
+ title: zjres.msg,
|
|
|
+ icon: 'none',
|
|
|
+ duration: 2000
|
|
|
+ });
|
|
|
+ this.querylist();
|
|
|
+ } else {
|
|
|
+ uni.showToast({
|
|
|
+ title: zjres.msg,
|
|
|
+ icon: 'none',
|
|
|
+ });
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case "大家财险":
|
|
|
+ let djapi = item.apiType == '2' ? '/insurance/crawler/verifyPayment' :
|
|
|
+ '/api/dajia/verifyPayment';
|
|
|
+ let djres = await this.$http.post(`${djapi}`, {
|
|
|
+ [item.apiType == 2 ? "subOrderNo" : "companyId"]: id
|
|
|
});
|
|
|
- }
|
|
|
- },
|
|
|
- async queryStatus(id, item) {
|
|
|
- switch (item.inscompany) {
|
|
|
- case "紫金财险":
|
|
|
- let zjres = await this.$http.post('/order/zijin/getOrderDetail', {
|
|
|
- companyId: id
|
|
|
- });
|
|
|
- if (zjres.code == '200') {
|
|
|
- uni.showToast({
|
|
|
- title: zjres.msg,
|
|
|
- icon: 'none',
|
|
|
- duration: 2000
|
|
|
- });
|
|
|
- this.querylist();
|
|
|
- } else {
|
|
|
- uni.showToast({
|
|
|
- title: zjres.msg,
|
|
|
- icon: 'none',
|
|
|
- });
|
|
|
- }
|
|
|
- break;
|
|
|
- case "大家财险":
|
|
|
- let djapi = item.apiType == '2' ? '/insurance/crawler/verifyPayment' :
|
|
|
- '/api/dajia/verifyPayment';
|
|
|
- let djres = await this.$http.post(`${djapi}`, {
|
|
|
- [item.apiType == 2 ? "subOrderNo" : "companyId"]: id
|
|
|
- });
|
|
|
- if (djres.code == '200') {
|
|
|
- uni.showToast({
|
|
|
- title: djres.msg,
|
|
|
- icon: 'none',
|
|
|
- duration: 2000
|
|
|
- });
|
|
|
- this.querylist();
|
|
|
- } else {
|
|
|
- uni.showToast({
|
|
|
- title: djres.msg,
|
|
|
- icon: 'none',
|
|
|
- });
|
|
|
- }
|
|
|
- break;
|
|
|
- case "华泰财险":
|
|
|
- let htapi = item.apiType == '2' ? '/insurance/crawler/verifyPayment' :
|
|
|
- '/order/huaTaiApi/paymentEnquiry';
|
|
|
- let htres = await this.$http.post(`${htapi}`, {
|
|
|
- [item.apiType == 2 ? "subOrderNo" : "companyId"]: id
|
|
|
- });
|
|
|
- if (htres.code == '200') {
|
|
|
- uni.showToast({
|
|
|
- title: htres.msg,
|
|
|
- icon: 'none',
|
|
|
- duration: 2000
|
|
|
- });
|
|
|
- this.querylist();
|
|
|
- } else {
|
|
|
- uni.showToast({
|
|
|
- title: htres.msg,
|
|
|
- icon: 'error',
|
|
|
- });
|
|
|
- }
|
|
|
- break;
|
|
|
- case "永诚财险":
|
|
|
- let ycres = await this.$http.get(
|
|
|
- '/api/yongCheng/orderStatusBySuborderId/' + id);
|
|
|
- if (ycres.code == '200') {
|
|
|
- uni.showToast({
|
|
|
- title: ycres.msg,
|
|
|
- icon: 'none',
|
|
|
- duration: 2000
|
|
|
- });
|
|
|
- this.querylist();
|
|
|
- } else {
|
|
|
- uni.showToast({
|
|
|
- title: ycres.msg,
|
|
|
- icon: 'none',
|
|
|
- });
|
|
|
- }
|
|
|
- break;
|
|
|
- case "国任财险":
|
|
|
- let grres = await this.$http.post('/api/guoRen/updateOrderInfo', {
|
|
|
- companyId: id
|
|
|
- });
|
|
|
- if (grres.code == '200') {
|
|
|
- uni.showToast({
|
|
|
- title: grres.msg,
|
|
|
- icon: 'none',
|
|
|
- duration: 2000
|
|
|
- });
|
|
|
- this.querylist();
|
|
|
- } else {
|
|
|
- uni.showToast({
|
|
|
- title: grres.msg,
|
|
|
- icon: 'none',
|
|
|
- });
|
|
|
- }
|
|
|
- break;
|
|
|
- case "中煤财险":
|
|
|
- let zmres = await this.$http.post('/order/zhongMeiApi/paymentEnquiry', {
|
|
|
- companyId: id
|
|
|
- });
|
|
|
- if (zmres.code == '200') {
|
|
|
- uni.showToast({
|
|
|
- title: zmres.msg,
|
|
|
- icon: 'none',
|
|
|
- duration: 2000
|
|
|
- });
|
|
|
- this.querylist();
|
|
|
- } else {
|
|
|
- uni.showToast({
|
|
|
- title: zmres.msg,
|
|
|
- icon: 'none',
|
|
|
- });
|
|
|
- }
|
|
|
- break;
|
|
|
- case "渤海财险":
|
|
|
- let bhres = await this.$http.post('/order/boHaiApi/getOrderDetail', {
|
|
|
- companyId: id
|
|
|
- });
|
|
|
- if (bhres.code == '200') {
|
|
|
- uni.showToast({
|
|
|
- title: bhres.msg,
|
|
|
- icon: 'none',
|
|
|
- duration: 2000
|
|
|
- });
|
|
|
- this.querylist();
|
|
|
- } else {
|
|
|
- uni.showToast({
|
|
|
- title: bhres.msg,
|
|
|
- icon: 'none',
|
|
|
- });
|
|
|
- }
|
|
|
- break;
|
|
|
- default:
|
|
|
- let pythonres = await this.$http.post('/insurance/crawler/verifyPayment', {
|
|
|
- subOrderNo: id
|
|
|
- });
|
|
|
- if (pythonres.code == '200') {
|
|
|
- uni.showToast({
|
|
|
- title: pythonres.msg,
|
|
|
- icon: 'none',
|
|
|
- duration: 2000
|
|
|
- });
|
|
|
- this.querylist();
|
|
|
- } else {
|
|
|
- uni.showToast({
|
|
|
- title: pythonres.msg,
|
|
|
- icon: 'none',
|
|
|
- });
|
|
|
- }
|
|
|
- break;
|
|
|
- }
|
|
|
- },
|
|
|
- init() {
|
|
|
- this.sublist = this.sublist.map(val => {
|
|
|
- val.checked = false;
|
|
|
- return val;
|
|
|
- })
|
|
|
+ if (djres.code == '200') {
|
|
|
+ uni.showToast({
|
|
|
+ title: djres.msg,
|
|
|
+ icon: 'none',
|
|
|
+ duration: 2000
|
|
|
+ });
|
|
|
+ this.querylist();
|
|
|
+ } else {
|
|
|
+ uni.showToast({
|
|
|
+ title: djres.msg,
|
|
|
+ icon: 'none',
|
|
|
+ });
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case "华泰财险":
|
|
|
+ let htapi = item.apiType == '2' ? '/insurance/crawler/verifyPayment' :
|
|
|
+ '/order/huaTaiApi/paymentEnquiry';
|
|
|
+ let htres = await this.$http.post(`${htapi}`, {
|
|
|
+ [item.apiType == 2 ? "subOrderNo" : "companyId"]: id
|
|
|
+ });
|
|
|
+ if (htres.code == '200') {
|
|
|
+ uni.showToast({
|
|
|
+ title: htres.msg,
|
|
|
+ icon: 'none',
|
|
|
+ duration: 2000
|
|
|
+ });
|
|
|
+ this.querylist();
|
|
|
+ } else {
|
|
|
+ uni.showToast({
|
|
|
+ title: htres.msg,
|
|
|
+ icon: 'error',
|
|
|
+ });
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case "永诚财险":
|
|
|
+ let ycres = await this.$http.get(
|
|
|
+ '/api/yongCheng/orderStatusBySuborderId/' + id);
|
|
|
+ if (ycres.code == '200') {
|
|
|
+ uni.showToast({
|
|
|
+ title: ycres.msg,
|
|
|
+ icon: 'none',
|
|
|
+ duration: 2000
|
|
|
+ });
|
|
|
+ this.querylist();
|
|
|
+ } else {
|
|
|
+ uni.showToast({
|
|
|
+ title: ycres.msg,
|
|
|
+ icon: 'none',
|
|
|
+ });
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case "国任财险":
|
|
|
+ let grres = await this.$http.post('/api/guoRen/updateOrderInfo', {
|
|
|
+ companyId: id
|
|
|
+ });
|
|
|
+ if (grres.code == '200') {
|
|
|
+ uni.showToast({
|
|
|
+ title: grres.msg,
|
|
|
+ icon: 'none',
|
|
|
+ duration: 2000
|
|
|
+ });
|
|
|
+ this.querylist();
|
|
|
+ } else {
|
|
|
+ uni.showToast({
|
|
|
+ title: grres.msg,
|
|
|
+ icon: 'none',
|
|
|
+ });
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case "中煤财险":
|
|
|
+ let zmres = await this.$http.post('/order/zhongMeiApi/paymentEnquiry', {
|
|
|
+ companyId: id
|
|
|
+ });
|
|
|
+ if (zmres.code == '200') {
|
|
|
+ uni.showToast({
|
|
|
+ title: zmres.msg,
|
|
|
+ icon: 'none',
|
|
|
+ duration: 2000
|
|
|
+ });
|
|
|
+ this.querylist();
|
|
|
+ } else {
|
|
|
+ uni.showToast({
|
|
|
+ title: zmres.msg,
|
|
|
+ icon: 'none',
|
|
|
+ });
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case "渤海财险":
|
|
|
+ let bhapi = item.apiType == '2' ? '/insurance/crawler/verifyPayment' :
|
|
|
+ '/order/boHaiApi/getOrderDetail';
|
|
|
+ let bhres = await this.$http.post(`${bhapi}`, {
|
|
|
+ [item.apiType == 2 ? "subOrderNo" : "companyId"]: id
|
|
|
+ });
|
|
|
+ if (bhres.code == '200') {
|
|
|
+ uni.showToast({
|
|
|
+ title: bhres.msg,
|
|
|
+ icon: 'none',
|
|
|
+ duration: 2000
|
|
|
+ });
|
|
|
+ this.querylist();
|
|
|
+ } else {
|
|
|
+ uni.showToast({
|
|
|
+ title: bhres.msg,
|
|
|
+ icon: 'none',
|
|
|
+ });
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case "诚泰财险":
|
|
|
+ let ctapi = item.apiType == '2' ? '/insurance/crawler/verifyPayment' :
|
|
|
+ '/api/chengTai/payment';
|
|
|
+ let ctres = await this.$http.post(`${ctapi}`, {
|
|
|
+ [item.apiType == 2 ? "subOrderNo" : "companyId"]: id
|
|
|
+ });
|
|
|
+ if (ctres.code == '200') {
|
|
|
+ uni.showToast({
|
|
|
+ title: ctres.msg,
|
|
|
+ icon: 'none',
|
|
|
+ duration: 2000
|
|
|
+ });
|
|
|
+ this.querylist();
|
|
|
+ } else {
|
|
|
+ uni.showToast({
|
|
|
+ title: ctres.msg,
|
|
|
+ icon: 'error',
|
|
|
+ });
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ default:
|
|
|
+ let pythonres = await this.$http.post('/insurance/crawler/verifyPayment', {
|
|
|
+ subOrderNo: id
|
|
|
+ });
|
|
|
+ if (pythonres.code == '200') {
|
|
|
+ uni.showToast({
|
|
|
+ title: pythonres.msg,
|
|
|
+ icon: 'none',
|
|
|
+ duration: 2000
|
|
|
+ });
|
|
|
+ this.querylist();
|
|
|
+ } else {
|
|
|
+ uni.showToast({
|
|
|
+ title: pythonres.msg,
|
|
|
+ icon: 'none',
|
|
|
+ });
|
|
|
+ }
|
|
|
+ break;
|
|
|
}
|
|
|
-
|
|
|
+ },
|
|
|
+ init() {
|
|
|
+ this.sublist = this.sublist.map(val => {
|
|
|
+ val.checked = false;
|
|
|
+ return val;
|
|
|
+ })
|
|
|
}
|
|
|
+
|
|
|
}
|
|
|
+}
|
|
|
</script>
|
|
|
<style>
|
|
|
- page {
|
|
|
- background: #f2f2f2;
|
|
|
- }
|
|
|
+page {
|
|
|
+ background: #f2f2f2;
|
|
|
+}
|
|
|
</style>
|
|
|
<style lang="scss" scoped>
|
|
|
- .page {
|
|
|
- min-height: calc(100vh - 44px);
|
|
|
- background-color: #F8FAFE;
|
|
|
- padding: 16px 16px 30px 16px;
|
|
|
- }
|
|
|
+.page {
|
|
|
+ min-height: calc(100vh - 44px);
|
|
|
+ background-color: #F8FAFE;
|
|
|
+ padding: 16px 16px 30px 16px;
|
|
|
+}
|
|
|
|
|
|
- .car-header {
|
|
|
- width: 100%;
|
|
|
- height: auto;
|
|
|
- background: #FFFFFF;
|
|
|
- box-shadow: 0px 4px 10px 0px #DAE3F4;
|
|
|
- border-radius: 6px;
|
|
|
- padding: 8px 15px;
|
|
|
+.car-header {
|
|
|
+ width: 100%;
|
|
|
+ height: auto;
|
|
|
+ background: #FFFFFF;
|
|
|
+ box-shadow: 0px 4px 10px 0px #DAE3F4;
|
|
|
+ border-radius: 6px;
|
|
|
+ padding: 8px 15px;
|
|
|
|
|
|
|
|
|
- .head-name {
|
|
|
- margin-left: 20px;
|
|
|
+ .head-name {
|
|
|
+ margin-left: 20px;
|
|
|
|
|
|
- &>text {
|
|
|
- font-weight: bold;
|
|
|
- font-size: 15px;
|
|
|
- color: #232832;
|
|
|
- }
|
|
|
+ &>text {
|
|
|
+ font-weight: bold;
|
|
|
+ font-size: 15px;
|
|
|
+ color: #232832;
|
|
|
+ }
|
|
|
|
|
|
- .name1 text {
|
|
|
- font-size: 14px;
|
|
|
- font-weight: bold;
|
|
|
- color: #333333;
|
|
|
- }
|
|
|
+ .name1 text {
|
|
|
+ font-size: 14px;
|
|
|
+ font-weight: bold;
|
|
|
+ color: #333333;
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+.sub-orders {
|
|
|
+ width: 100%;
|
|
|
+ background: white;
|
|
|
+ border-radius: 6px;
|
|
|
+ padding: 10px;
|
|
|
+ box-shadow: 0px 4px 10px 0px #DAE3F4;
|
|
|
+ border-radius: 6px;
|
|
|
+ margin-bottom: 10px;
|
|
|
+
|
|
|
+ .status {
|
|
|
+ padding-bottom: 8px;
|
|
|
+ border-bottom: 1px solid #EFEFEF;
|
|
|
+
|
|
|
+ >text {
|
|
|
+ color: #FF5600;
|
|
|
+ font-size: 16px;
|
|
|
+ font-weight: bold;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- .sub-orders {
|
|
|
- width: 100%;
|
|
|
- background: white;
|
|
|
- border-radius: 6px;
|
|
|
- padding: 10px;
|
|
|
- box-shadow: 0px 4px 10px 0px #DAE3F4;
|
|
|
- border-radius: 6px;
|
|
|
- margin-bottom: 10px;
|
|
|
+ .orders-centre {
|
|
|
+ padding: 6px 0;
|
|
|
+ border-bottom: 1px solid #EFEFEF;
|
|
|
|
|
|
- .status {
|
|
|
- padding-bottom: 8px;
|
|
|
- border-bottom: 1px solid #EFEFEF;
|
|
|
+ >text {
|
|
|
+ font-size: 15px;
|
|
|
+ font-weight: bold;
|
|
|
+ color: #232832;
|
|
|
+ }
|
|
|
|
|
|
- >text {
|
|
|
- color: #FF5600;
|
|
|
- font-size: 16px;
|
|
|
- font-weight: bold;
|
|
|
+ .sum {
|
|
|
+ view {
|
|
|
+ width: 50%;
|
|
|
+ color: #2D4D89;
|
|
|
+ font-size: 13px;
|
|
|
}
|
|
|
}
|
|
|
+ }
|
|
|
|
|
|
- .orders-centre {
|
|
|
- padding: 6px 0;
|
|
|
- border-bottom: 1px solid #EFEFEF;
|
|
|
-
|
|
|
- >text {
|
|
|
- font-size: 15px;
|
|
|
- font-weight: bold;
|
|
|
- color: #232832;
|
|
|
- }
|
|
|
+ .orders-below {
|
|
|
+ padding-top: 10px;
|
|
|
|
|
|
- .sum {
|
|
|
- view {
|
|
|
- width: 50%;
|
|
|
- color: #2D4D89;
|
|
|
- font-size: 13px;
|
|
|
- }
|
|
|
+ >view {
|
|
|
+ uni-button {
|
|
|
+ margin-left: 5px;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- .orders-below {
|
|
|
- padding-top: 10px;
|
|
|
+ }
|
|
|
|
|
|
- >view {
|
|
|
- uni-button {
|
|
|
- margin-left: 5px;
|
|
|
- }
|
|
|
- }
|
|
|
+}
|
|
|
|
|
|
- }
|
|
|
|
|
|
- }
|
|
|
+.strong {
|
|
|
+ font-weight: bold;
|
|
|
+}
|
|
|
|
|
|
+.arrivalNavigations {
|
|
|
+ font-size: 14px;
|
|
|
+ color: rgba(51, 51, 51, 0.8);
|
|
|
+ margin-right: auto;
|
|
|
+ position: relative;
|
|
|
+}
|
|
|
|
|
|
- .strong {
|
|
|
- font-weight: bold;
|
|
|
- }
|
|
|
+//从这里开始是弹出框的样式 不需要搜索框的 前面样式都不用加
|
|
|
+.arrivalNavigation {
|
|
|
+ width: 250rpx;
|
|
|
+ position: absolute;
|
|
|
+ left: -10px;
|
|
|
+ top: 30px;
|
|
|
+ z-index: 99;
|
|
|
|
|
|
- .arrivalNavigations {
|
|
|
- font-size: 14px;
|
|
|
- color: rgba(51, 51, 51, 0.8);
|
|
|
- margin-right: auto;
|
|
|
- position: relative;
|
|
|
- }
|
|
|
+ .sideNavigation {
|
|
|
+ width: 80px;
|
|
|
+ background-color: #fff;
|
|
|
+ box-shadow: 0px 4px 10px 0px #DAE3F4;
|
|
|
+ border-radius: 10rpx;
|
|
|
|
|
|
- //从这里开始是弹出框的样式 不需要搜索框的 前面样式都不用加
|
|
|
- .arrivalNavigation {
|
|
|
- width: 250rpx;
|
|
|
- position: absolute;
|
|
|
- left: -10px;
|
|
|
- top: 30px;
|
|
|
- z-index: 99;
|
|
|
-
|
|
|
- .sideNavigation {
|
|
|
- width: 80px;
|
|
|
- background-color: #fff;
|
|
|
- box-shadow: 0px 4px 10px 0px #DAE3F4;
|
|
|
- border-radius: 10rpx;
|
|
|
-
|
|
|
- .sideNavigation-btn>view {
|
|
|
- text-align: center;
|
|
|
- font-size: 14px;
|
|
|
- color: #333333;
|
|
|
- text-align: center;
|
|
|
- padding: 6px 0;
|
|
|
- border-bottom: 1px solid #EFEFEF;
|
|
|
-
|
|
|
- &:last-child {
|
|
|
- border: none;
|
|
|
- }
|
|
|
+ .sideNavigation-btn>view {
|
|
|
+ text-align: center;
|
|
|
+ font-size: 14px;
|
|
|
+ color: #333333;
|
|
|
+ text-align: center;
|
|
|
+ padding: 6px 0;
|
|
|
+ border-bottom: 1px solid #EFEFEF;
|
|
|
+
|
|
|
+ &:last-child {
|
|
|
+ border: none;
|
|
|
}
|
|
|
}
|
|
|
+ }
|
|
|
|
|
|
- .d4 {
|
|
|
- width: 0;
|
|
|
- height: 0;
|
|
|
- margin-left: 22px;
|
|
|
- margin-top: -20rpx;
|
|
|
- border-width: 20rpx;
|
|
|
- border-style: solid;
|
|
|
- border-color: transparent #fff transparent transparent;
|
|
|
- transform: rotate(90deg);
|
|
|
- /*顺时针旋转90°*/
|
|
|
+ .d4 {
|
|
|
+ width: 0;
|
|
|
+ height: 0;
|
|
|
+ margin-left: 22px;
|
|
|
+ margin-top: -20rpx;
|
|
|
+ border-width: 20rpx;
|
|
|
+ border-style: solid;
|
|
|
+ border-color: transparent #fff transparent transparent;
|
|
|
+ transform: rotate(90deg);
|
|
|
+ /*顺时针旋转90°*/
|
|
|
|
|
|
- }
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+.TrackRecord {
|
|
|
+ width: 100%;
|
|
|
+ padding: 10px 20px;
|
|
|
+
|
|
|
+ .circle {
|
|
|
+ width: 18px;
|
|
|
+ height: 18px;
|
|
|
+ background: #F0F0F0;
|
|
|
+ border-radius: 50%;
|
|
|
+ font-size: 22rpx;
|
|
|
+ font-weight: bold;
|
|
|
}
|
|
|
|
|
|
- .TrackRecord {
|
|
|
- width: 100%;
|
|
|
- padding: 10px 20px;
|
|
|
+ .title {
|
|
|
+ color: #333333;
|
|
|
+ font-size: 12px;
|
|
|
+ margin-left: 12px;
|
|
|
+ font-weight: bold;
|
|
|
+ }
|
|
|
|
|
|
- .circle {
|
|
|
- width: 18px;
|
|
|
- height: 18px;
|
|
|
- background: #F0F0F0;
|
|
|
- border-radius: 50%;
|
|
|
- font-size: 22rpx;
|
|
|
- font-weight: bold;
|
|
|
- }
|
|
|
+ .content {
|
|
|
+ border-left: 1px solid #E2E5EB;
|
|
|
+ padding-left: 20px;
|
|
|
+ margin-left: 7px;
|
|
|
|
|
|
- .title {
|
|
|
- color: #333333;
|
|
|
- font-size: 12px;
|
|
|
- margin-left: 12px;
|
|
|
- font-weight: bold;
|
|
|
+ text {
|
|
|
+ font-size: 22rpx;
|
|
|
+ color: rgba(51, 51, 51, 0.85);
|
|
|
}
|
|
|
+ }
|
|
|
|
|
|
- .content {
|
|
|
- border-left: 1px solid #E2E5EB;
|
|
|
- padding-left: 20px;
|
|
|
- margin-left: 7px;
|
|
|
-
|
|
|
- text {
|
|
|
- font-size: 22rpx;
|
|
|
- color: rgba(51, 51, 51, 0.85);
|
|
|
- }
|
|
|
+ &:last-child {
|
|
|
+ .circle {
|
|
|
+ background-color: #E6EEFF;
|
|
|
+ color: #0052FF;
|
|
|
}
|
|
|
|
|
|
- &:last-child {
|
|
|
- .circle {
|
|
|
- background-color: #E6EEFF;
|
|
|
- color: #0052FF;
|
|
|
- }
|
|
|
-
|
|
|
- .title {
|
|
|
- color: #0052FF;
|
|
|
- }
|
|
|
+ .title {
|
|
|
+ color: #0052FF;
|
|
|
}
|
|
|
}
|
|
|
+}
|
|
|
</style>
|