Compare commits
3 Commits
b81f485d1a
...
prod-25-09
| Author | SHA1 | Date | |
|---|---|---|---|
| 8501416382 | |||
| ce81490703 | |||
| e54e36a4bc |
@ -323,7 +323,6 @@ export function jumpPage(data){
|
||||
return request({
|
||||
url:'/supplierAppV2/dispatchApp/user/jumpPage',
|
||||
method:'POST',
|
||||
contentType:'application/json',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
@ -90,7 +90,6 @@ export default {
|
||||
totalList:[],
|
||||
numInfo:'',
|
||||
keyword:'',
|
||||
serviceTypeName:'',
|
||||
show:false,
|
||||
showEmpty:false,
|
||||
isLoading:false,
|
||||
@ -103,7 +102,6 @@ export default {
|
||||
this.driverId = urlParams.get('driverId');
|
||||
this.time=timeFormat(Date.now())
|
||||
this.keyword=urlParams.get('keyword') || ''
|
||||
this.serviceTypeName=urlParams.get('serviceTypeName') || ''
|
||||
this.getTrainingList();
|
||||
document.addEventListener('visibilitychange', async ( ) => {
|
||||
let state = document.visibilityState
|
||||
@ -131,7 +129,6 @@ export default {
|
||||
type:1,
|
||||
id:this.driverId,
|
||||
text:this.keyword || '',
|
||||
serviceTypeName:this.serviceTypeName || ''
|
||||
})
|
||||
this.totalList=[]
|
||||
this.pageList=[]
|
||||
|
||||
@ -94,7 +94,6 @@ export default {
|
||||
showEmpty:false,
|
||||
supplierId:'',
|
||||
driverId:'',
|
||||
serviceTypeName:'',
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
@ -104,7 +103,6 @@ export default {
|
||||
if(this.driverId){
|
||||
this.keyword=urlParams.get('keyword') || ''
|
||||
}
|
||||
this.serviceTypeName=urlParams.get('serviceTypeName') || ''
|
||||
this.getNormalList()
|
||||
},
|
||||
methods:{
|
||||
@ -130,7 +128,6 @@ export default {
|
||||
type:this.supplierId ? 2 : 1,
|
||||
id: this.supplierId ? this.supplierId : this.driverId,
|
||||
text:this.keyword || '',
|
||||
serviceTypeName:this.serviceTypeName || ''
|
||||
})
|
||||
this.totalList=res.data.list
|
||||
let result=[]
|
||||
|
||||
@ -68,7 +68,6 @@ export default {
|
||||
pageList:[],
|
||||
totalList:[],
|
||||
keyword:'',
|
||||
serviceTypeName:'',
|
||||
show:false,
|
||||
showEmpty:false,
|
||||
isLoading:false,
|
||||
@ -78,8 +77,6 @@ export default {
|
||||
mounted() {
|
||||
const urlParams = new URLSearchParams(window.location.search);
|
||||
this.supplierId = urlParams.get('supplierId');
|
||||
this.keyword=urlParams.get('keyword') || ''
|
||||
this.serviceTypeName=urlParams.get('serviceTypeName') || ''
|
||||
this.getTrainingList();
|
||||
document.addEventListener('visibilitychange', async ( ) => {
|
||||
let state = document.visibilityState
|
||||
@ -107,7 +104,6 @@ export default {
|
||||
type:2,
|
||||
id: this.supplierId,
|
||||
text:this.keyword || '',
|
||||
serviceTypeName:this.serviceTypeName || ''
|
||||
})
|
||||
this.totalList=[]
|
||||
this.pageList=[]
|
||||
|
||||
@ -175,7 +175,7 @@ export default {
|
||||
confirmButtonColor: '#0E76F4',
|
||||
showCancelButton: false,
|
||||
}).then(async() => {
|
||||
this.goPage('newTrainingList', { supplierId : this.supplierId, type: 'invoice' })
|
||||
this.goPage('newTrainingList', { supplierId : this.supplierId })
|
||||
}).catch(() => {
|
||||
// on cancel
|
||||
});
|
||||
@ -189,9 +189,7 @@ export default {
|
||||
this.getNotifyList()
|
||||
},
|
||||
async getJumpHandler() {
|
||||
let res = await jumpPage({
|
||||
type: 'invoice'
|
||||
});
|
||||
let res = await jumpPage();
|
||||
return res
|
||||
},
|
||||
getMonth(item) {
|
||||
|
||||
@ -95,7 +95,6 @@
|
||||
multiple
|
||||
:multiple-limit="isMultiple ? 2 : 1"
|
||||
v-model="selectedOption"
|
||||
:disabled="vehicleInfoDisabled"
|
||||
value-key="name"
|
||||
class="elSelect"
|
||||
collapse-tags="collapse-tags"
|
||||
@ -122,7 +121,6 @@
|
||||
value-key="name"
|
||||
class="elSelect"
|
||||
collapse-tags="collapse-tags"
|
||||
:disabled="vehicleInfoDisabled"
|
||||
placeholder="请选择" style="width: 55%"
|
||||
>
|
||||
<el-option
|
||||
@ -192,7 +190,7 @@
|
||||
<span>车辆状态</span>
|
||||
</div>
|
||||
<div class="isJoin">
|
||||
<van-radio-group v-model="vehicleStatus" :class="{ 'disabled-tree': vehicleInfoDisabled }" :disabled="vehicleInfoDisabled" @change="isVehicleChange" class="joinWrap">
|
||||
<van-radio-group v-model="vehicleStatus" @change="isVehicleChange" class="joinWrap">
|
||||
<van-radio :name="1" style="margin-right: 26px">
|
||||
启用
|
||||
<img
|
||||
@ -307,7 +305,6 @@
|
||||
ref="tree"
|
||||
:highlight-current="true"
|
||||
:expand-on-click-node="false"
|
||||
:class="{ 'disabled-tree': vehicleInfoDisabled }"
|
||||
:data="supplierServiceList"
|
||||
:props="defaultProps">
|
||||
</el-tree>
|
||||
@ -387,7 +384,6 @@ export default {
|
||||
vehicleLicense:'',//牌照
|
||||
vehicleFrontLicensePlate:'',//车头照车牌号码
|
||||
insuranceCorp: '',
|
||||
auditStatus: '',
|
||||
vehicleTypes:[{
|
||||
name: '小修车',
|
||||
value: 1
|
||||
@ -495,11 +491,6 @@ export default {
|
||||
}]
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
vehicleInfoDisabled() {
|
||||
return [1,2].includes(this.auditStatus)
|
||||
},
|
||||
},
|
||||
watch:{
|
||||
selectedOption(newVal){
|
||||
if(newVal == 4){
|
||||
@ -572,14 +563,6 @@ export default {
|
||||
}
|
||||
})
|
||||
this.$forceUpdate();
|
||||
} else if( this.vehicleLicenseInfo?.vehicleType?.includes('载货') || this.vehicleLicenseInfo?.vehicleType?.includes('中型') || this.vehicleLicenseInfo?.vehicleType?.includes('重型')) {
|
||||
this.vehicleTypes.map(item => {
|
||||
if( item.value == 1 || item.value == 9 ) {
|
||||
item.disabled = true;
|
||||
} else {
|
||||
item.disabled = false;
|
||||
}
|
||||
})
|
||||
} else {
|
||||
this.vehicleTypes.map(item => {
|
||||
item.disabled = false;
|
||||
@ -675,21 +658,8 @@ export default {
|
||||
this.vehicleLicenseInfo.issueDate = frontInfo?.issueDate;
|
||||
this.vehicleLicenseInfo.issueAuthority = frontInfo?.seal;
|
||||
this.setDefault();
|
||||
this.checkDisabledItems();
|
||||
}
|
||||
},
|
||||
checkDisabledItems() {
|
||||
let _arr = [];
|
||||
this.selectedOption.map(item => {
|
||||
let _tempArr = this.vehicleTypes.filter(_item => _item.disabled && _item.value == item);
|
||||
_arr = [..._arr, ..._tempArr]
|
||||
})
|
||||
if (_arr.length > 0) {
|
||||
this.$toast(`车辆类别数据不合法:${_arr.map(item => item.name).join('、')}`)
|
||||
return false
|
||||
}
|
||||
return true
|
||||
},
|
||||
async vehicleBackOcrHandler() { // 行驶证副页 ocr 识别
|
||||
this.vehicleLicenseInfo.recordNumber = '';
|
||||
this.vehicleLicenseInfo.passengerCapacity = '';
|
||||
@ -761,7 +731,6 @@ export default {
|
||||
this.selectedOption=result.vehicleType?.split(',').map((item)=>{
|
||||
return Number(item);
|
||||
});
|
||||
this.auditStatus = result.auditStatus;
|
||||
this.virtualVehicle = result.virtualVehicle;
|
||||
this.$refs.tree.setCheckedKeys(result.serviceIds)
|
||||
this.vehicleStatus = result.vehicleStatus
|
||||
@ -842,10 +811,6 @@ export default {
|
||||
this.$toast('车辆类别不能为空')
|
||||
return
|
||||
}
|
||||
let res = this.checkDisabledItems();
|
||||
if(!res) {
|
||||
return false
|
||||
}
|
||||
if( !this.virtualVehicle ) {
|
||||
this.$toast('车辆属性不能为空')
|
||||
return
|
||||
@ -1020,8 +985,4 @@ export default {
|
||||
border: none !important;
|
||||
text-align: right !important;
|
||||
}
|
||||
.disabled-tree {
|
||||
pointer-events: none;
|
||||
opacity: 0.6;
|
||||
}
|
||||
</style>
|
||||
|
||||
@ -211,7 +211,7 @@ export default {
|
||||
'行驶证未录入': {
|
||||
className: 'default_cls'
|
||||
},
|
||||
'行驶证核验通过': {
|
||||
'行驶证验证通过': {
|
||||
className: 'success_cls'
|
||||
},
|
||||
'行驶证核验不通过': {
|
||||
|
||||
@ -22,7 +22,7 @@
|
||||
为此中道救援经过与保司沟通协调,特为与中道救援合作紧密的服务商,提供救援职业责任险参保渠道,提升服务商服务能力,降低运营风险,实现共同进步。
|
||||
</div>
|
||||
<div>一、救援职业责任险简介:</div>
|
||||
<div> 1、综合保额100万元(其中救援责任50万元,物流责任50万元),可全方位覆盖我们日常的经营活动。</div>
|
||||
<div>1、综合保额50万元,可全方位覆盖我们日常的经营活动。</div>
|
||||
<div> 2、保费支付可采用救援服务费抵扣的方式,降低资金压力。</div>
|
||||
<div> 3、详细保险条款、保费和其他问题,如需了解,请与辖区区域经理联系。</div>
|
||||
<div> 二、其他意见建议如需交流,请与18621558505曲仁杰联系。</div>
|
||||
|
||||
@ -78,11 +78,9 @@ export default {
|
||||
isLoading:false,
|
||||
showPoup:true,//进入弹框
|
||||
isFinished:false,
|
||||
type: '',
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.type = this.$route.query?.type;
|
||||
// this.onRefresh();
|
||||
this.getList();
|
||||
|
||||
@ -122,7 +120,6 @@ export default {
|
||||
pageSize:this.pageSize,
|
||||
docType:1,
|
||||
trainingType:4,
|
||||
type: this.type,
|
||||
})
|
||||
this.pageList=res.data?.list || [];
|
||||
if(res.data.assessState == 0){
|
||||
|
||||
Reference in New Issue
Block a user