|
@@ -208,7 +208,10 @@
|
|
|
<view class="customer">
|
|
<view class="customer">
|
|
|
联系客服
|
|
联系客服
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="accept" @click="receive" v-if="form.statusCode == 2">
|
|
|
|
|
|
|
+ <view class="accept" @click="receive" v-if="form.checkType<20 &&form.statusCode == 2">
|
|
|
|
|
+ 接单
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="accept" @click.stop="receive" v-if="form.checkType>20 && form.flowStatus =='03'" style="margin-left: 16rpx;">
|
|
|
接单
|
|
接单
|
|
|
</view>
|
|
</view>
|
|
|
<view class="func" v-if="form.checkType == 1">
|
|
<view class="func" v-if="form.checkType == 1">
|
|
@@ -269,7 +272,7 @@
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
</view>
|
|
</view>
|
|
|
- <receive v-if="isSuccess" @cut="refresh" />
|
|
|
|
|
|
|
+ <receive v-if="isSuccess" @cut="refresh" :titleCheckType="titleCheckType"/>
|
|
|
<upload :type="uptype" :taskId="taskId" v-if="isUpload" @cut="isUpload = false" @upSuccess="upSuccess" />
|
|
<upload :type="uptype" :taskId="taskId" v-if="isUpload" @cut="isUpload = false" @upSuccess="upSuccess" />
|
|
|
<serviceDetail :subOrderId="subOrderId" @cut="isServiceDeatil =false" v-if="isServiceDeatil" />
|
|
<serviceDetail :subOrderId="subOrderId" @cut="isServiceDeatil =false" v-if="isServiceDeatil" />
|
|
|
<evaluate :userId="userId" :taskId="taskId" v-if="iseEvaluate" @cut="cutEvaluate" />
|
|
<evaluate :userId="userId" :taskId="taskId" v-if="iseEvaluate" @cut="cutEvaluate" />
|
|
@@ -303,6 +306,8 @@
|
|
|
iseEvaluate: false, //评论弹窗显隐
|
|
iseEvaluate: false, //评论弹窗显隐
|
|
|
userId: '', //传值给评论弹窗
|
|
userId: '', //传值给评论弹窗
|
|
|
paramState: null,
|
|
paramState: null,
|
|
|
|
|
+ titleCheckType:null,//接单提示区分
|
|
|
|
|
+ serveType: '', //服务类型
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
@@ -343,13 +348,14 @@
|
|
|
},
|
|
},
|
|
|
// 接单
|
|
// 接单
|
|
|
receive() {
|
|
receive() {
|
|
|
|
|
+ this.titleCheckType = this.form.checkType
|
|
|
let data = {
|
|
let data = {
|
|
|
taskId: this.taskId,
|
|
taskId: this.taskId,
|
|
|
checkType: this.checkType,
|
|
checkType: this.checkType,
|
|
|
paramState: '04',
|
|
paramState: '04',
|
|
|
// serveType: '01'
|
|
// serveType: '01'
|
|
|
}
|
|
}
|
|
|
- item.checkType < 20 ? data.serveType = '01' : data.serveType = '02'
|
|
|
|
|
|
|
+ this.form.checkType < 20 ? data.serveType = '01' : data.serveType = '02'
|
|
|
this.$http.post("/ts/merchant/update/Serve", data).then(res => {
|
|
this.$http.post("/ts/merchant/update/Serve", data).then(res => {
|
|
|
console.log(res)
|
|
console.log(res)
|
|
|
if (res.data.code == 200) {
|
|
if (res.data.code == 200) {
|
|
@@ -381,8 +387,10 @@
|
|
|
taskId: this.taskId,
|
|
taskId: this.taskId,
|
|
|
checkType: this.checkType,
|
|
checkType: this.checkType,
|
|
|
paramState: this.paramState, //商户上传图片成功
|
|
paramState: this.paramState, //商户上传图片成功
|
|
|
- serveType: '01'
|
|
|
|
|
|
|
+ // serveType: '01'
|
|
|
|
|
+ serveType: this.serveType
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
this.$http.post("/ts/merchant/update/Serve", data).then(res => {
|
|
this.$http.post("/ts/merchant/update/Serve", data).then(res => {
|
|
|
if (res.data.code == 200) {
|
|
if (res.data.code == 200) {
|
|
|
this.isUpload = false
|
|
this.isUpload = false
|
|
@@ -543,7 +551,7 @@
|
|
|
this.paramState = '06'
|
|
this.paramState = '06'
|
|
|
this.serveType = '02'
|
|
this.serveType = '02'
|
|
|
this.isUpload = true
|
|
this.isUpload = true
|
|
|
- this.getDeatil()
|
|
|
|
|
|
|
+ // this.getDeatil()
|
|
|
},
|
|
},
|
|
|
help() {
|
|
help() {
|
|
|
this.taskId = this.form.taskId
|
|
this.taskId = this.form.taskId
|