页面优化
This commit is contained in:
parent
a8661351ae
commit
b905fa7c29
@ -2,14 +2,14 @@ let httpApiThree;
|
||||
let httpApi;
|
||||
|
||||
// 正式使用的域名
|
||||
// httpApi = 'https://ceshi-worker-task.lihaink.cn' //测试
|
||||
httpApi = 'https://ceshi-worker-task.lihaink.cn' //测试
|
||||
// httpApi = 'https://preview-worker-task.lihaink.cn' //预上线
|
||||
httpApi = 'https://worker-task.lihaink.cn' //正式
|
||||
// httpApi = 'https://worker-task.lihaink.cn' //正式
|
||||
|
||||
|
||||
// httpApiThree = 'https://ceshi-worker-task.lihaink.cn' //测试
|
||||
httpApiThree = 'https://ceshi-worker-task.lihaink.cn' //测试
|
||||
// httpApiThree = 'https://preview-worker-task.lihaink.cn' //预上线
|
||||
httpApiThree = 'https://worker-task.lihaink.cn' //正式
|
||||
// httpApiThree = 'https://worker-task.lihaink.cn' //正式
|
||||
// #ifdef H5
|
||||
// httpApiThree = 'baseUrlTest' //生产
|
||||
// #endif
|
||||
|
@ -59,7 +59,6 @@
|
||||
<view class="car_info" v-if="dataList.type==0">
|
||||
<view class="car_type">
|
||||
<text v-if="true">租赁车辆</text>
|
||||
<text v-else>自有车辆</text>
|
||||
</view>
|
||||
<view class="car_li" v-for="item,index in carList">
|
||||
车牌号:{{item.car_license}}
|
||||
@ -142,6 +141,9 @@
|
||||
title="请输入驳回理由">
|
||||
<view class="slot-content">
|
||||
<u--textarea v-model="overruleValue" placeholder="请输入内容" class="textarea_cls"></u--textarea>
|
||||
<view style="color: red;font-size: 20rpx;" v-show="noValue">
|
||||
驳回理由不能为空
|
||||
</view>
|
||||
</view>
|
||||
</u-modal>
|
||||
</view>
|
||||
@ -165,6 +167,7 @@
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
noValue: false,
|
||||
flag1: true,
|
||||
times: 0,
|
||||
dataList: {},
|
||||
@ -233,16 +236,23 @@
|
||||
}
|
||||
},
|
||||
confirm() {
|
||||
if (!this.overruleValue) {
|
||||
this.noValue = true
|
||||
return
|
||||
}
|
||||
// console.log(this.overruleValue)
|
||||
overruleApi({
|
||||
id: this.dataList.id,
|
||||
content: this.overruleValue,
|
||||
}).then(res => {
|
||||
this.showPop = false
|
||||
this.noValue = false
|
||||
Toast("操作成功")
|
||||
setTimeout(() => {
|
||||
uni.navigateBack()
|
||||
}, 2000)
|
||||
uni.redirectTo({
|
||||
url: "/subpkg/property/index"
|
||||
})
|
||||
}, 1000)
|
||||
})
|
||||
},
|
||||
timer() {
|
||||
@ -262,7 +272,7 @@
|
||||
|
||||
},
|
||||
contractFn() {
|
||||
console.log(this.checked)
|
||||
// console.log(this.checked)
|
||||
contractApi({
|
||||
id: this.dataList.id,
|
||||
car_id: this.checked[0]?.car_id ? this.checked[0].car_id : ""
|
||||
@ -274,7 +284,7 @@
|
||||
// sendcontractFn() {
|
||||
|
||||
// // this.sendFn()
|
||||
// Toast("操作成功")
|
||||
// Toast("操作成功")
|
||||
// this.times = 10
|
||||
// this.timer()
|
||||
|
||||
|
@ -21,12 +21,10 @@
|
||||
uni.redirectTo({
|
||||
url: '/subpkg/property/index'
|
||||
})
|
||||
}, 3000)
|
||||
|
||||
}, 2000)
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.box {
|
||||
|
||||
|
@ -21,8 +21,8 @@ function baseRequestTwo(url, method, data, {
|
||||
noAuth = false,
|
||||
noVerify = false
|
||||
}) {
|
||||
let Url = "https://logistics.lihaink.cn", //正式环境
|
||||
// let Url = "https://ceshi-logistics.lihaink.cn", //测试环境
|
||||
// let Url = "https://logistics.lihaink.cn", //正式环境
|
||||
let Url = "https://ceshi-logistics.lihaink.cn", //测试环境
|
||||
header = HEADER;
|
||||
if (!noAuth) {
|
||||
// 已经未登录了,禁止请求
|
||||
|
Loading…
x
Reference in New Issue
Block a user