Commit d71f20c8 by 李伟康

Merge branch 'SAAS+V5.0.0-1014' of http://192.168.3.233:8090/glsx/gl_tape into SAAS+V5.0.0-1014

2 parents 6413b318 699758cc
...@@ -120,6 +120,8 @@ export default { ...@@ -120,6 +120,8 @@ export default {
padding: toRpx(4) toRpx(20); padding: toRpx(4) toRpx(20);
font-size: toRpx(24); font-size: toRpx(24);
font-weight: 500; font-weight: 500;
height: toRpx(44);
line-height: toRpx(44);
} }
// 状态颜色 // 状态颜色
.status-10 { .status-10 {
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
</template> </template>
<template> <template>
<view class="form-btn flex align-center"> <view class="form-btn flex align-center">
<view class="btn search mr-12" @click.stop="search">搜索</view> <view class="btn search mr-12" @click.stop="search">查询</view>
<view class="btn" @click.stop="$emit('reset')">重置</view> <view class="btn" @click.stop="$emit('reset')">重置</view>
</view> </view>
</template> </template>
......
...@@ -339,12 +339,14 @@ export default { ...@@ -339,12 +339,14 @@ export default {
console.log('this.uploadedImages', this.formData) console.log('this.uploadedImages', this.formData)
} }
}) })
uni.showLoading()
const res = await uni.$api.evaluationApi.confirmDelivery({ const res = await uni.$api.evaluationApi.confirmDelivery({
evalOrderNo: this.query.evalOrderNo, evalOrderNo: this.query.evalOrderNo,
...this.formData ...this.formData
}) })
console.log('res:', res) console.log('res:', res)
if (res.data.code == 0) { if (res.data.code == 0) {
uni.hideLoading()
uni.showToast({ title: '交车成功', icon: 'none' }) uni.showToast({ title: '交车成功', icon: 'none' })
setTimeout(() => { setTimeout(() => {
uni.navigateBack({ uni.navigateBack({
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<searchBox @search="search" @reset="reset" :searchValue.sync="searchValue" /> <searchBox @search="search" @reset="reset" :searchValue.sync="searchValue" />
<view class="box-class mt-32"> <view class="box-class mt-32">
<type-tab-component :typeList="typeList" :isShowCount="true" :tabIndex.sync="tabIndex" @tabClick="search"></type-tab-component> <type-tab-component :typeList="typeList" :isShowCount="true" :tabIndex.sync="tabIndex" @tabClick="search"></type-tab-component>
<z-paging ref="paging" :fixed="false" paging-class="paging-class " :loading-full-fixed="false" :auto-show-system-loading="true" :show-scrollbar="false" v-model="dataList" @query="queryList" :default-page-size="10"> <z-paging ref="paging" :fixed="false" paging-class="paging-class" :class="tabIndex == 0 ? 'no-br' : ''" :loading-full-fixed="false" :auto-show-system-loading="true" :show-scrollbar="false" v-model="dataList" @query="queryList" :default-page-size="10">
<template #empty> <template #empty>
<view class="mask-box flex flex-col justify-center align-center"> <view class="mask-box flex flex-col justify-center align-center">
<image :src="noData" /> <image :src="noData" />
...@@ -631,6 +631,10 @@ export default { ...@@ -631,6 +631,10 @@ export default {
background-color: #fff; background-color: #fff;
height: calc(100% - #{toRpx(96)}); height: calc(100% - #{toRpx(96)});
box-sizing: border-box; box-sizing: border-box;
border-radius: toRpx(64);
}
.no-br {
border-radius: 0 toRpx(64) toRpx(64) toRpx(64);
} }
.mask-box { .mask-box {
height: calc(100% - #{toRpx(96)}); height: calc(100% - #{toRpx(96)});
......
...@@ -941,8 +941,7 @@ export default { ...@@ -941,8 +941,7 @@ export default {
delete this.formData.finalPrice delete this.formData.finalPrice
} }
uni.showLoading() uni.showLoading()
const res = uni.$api.evaluationApi.evalOrderSignContract({ ...this.formData, evalOrderNo: this.query.evalOrderNo }) uni.$api.evaluationApi.evalOrderSignContract({ ...this.formData, evalOrderNo: this.query.evalOrderNo }).then(res => {
res.then(res => {
console.log('res:', res) console.log('res:', res)
if (res.data.code == 0) { if (res.data.code == 0) {
uni.hideLoading() uni.hideLoading()
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!