|
|
@@ -13,9 +13,6 @@ |
|
|
|
<el-select clearable v-model="searchForm.questionType" style="width: 200px" placeholder="请选择工单类型"> |
|
|
|
<el-option v-for="item in vehicleTypes" :key="item.value" :label="item.label" :value="item.value" /> |
|
|
|
</el-select> |
|
|
|
<!-- <el-select clearable v-model="searchForm.vanType" style="width: 200px" placeholder="请选择咨询等级"> |
|
|
|
<el-option v-for="item in vehicleTypes" :key="item.value" :label="item.label" :value="item.value" /> |
|
|
|
</el-select> --> |
|
|
|
<el-select clearable v-model="searchForm.orderSourcePage" style="width: 200px" placeholder="请选择订单来源"> |
|
|
|
<el-option v-for="item in SYSTEM_SORT" :key="item.value" :label="item.label" :value="item.value" /> |
|
|
|
</el-select> |
|
|
@@ -40,7 +37,7 @@ |
|
|
|
value-format="YYYY-MM-DD HH:mm:ss" /> |
|
|
|
</template> |
|
|
|
<template #CustomButton> |
|
|
|
<el-button v-if="IsPermission(route, 'GET_ORDER_LIST')" type="primary" @click="getOrderFn(1)"> |
|
|
|
<el-button type="primary" @click="getOrderFn(1)"> |
|
|
|
<span style="font-family: `楷体`">批量领取订单</span> |
|
|
|
</el-button> |
|
|
|
</template> |
|
|
@@ -51,47 +48,47 @@ |
|
|
|
</el-tabs> |
|
|
|
</template> |
|
|
|
<template #operation="{ scope }"> |
|
|
|
<el-button style="margin: 10px 5px;" v-if="IsPermission(route, 'INFO_LIST')" type="warning" size="small" |
|
|
|
<el-button style="margin: 10px 5px;" type="warning" size="small" |
|
|
|
@click="audit(scope.$index, scope.row, false)"> |
|
|
|
详情 |
|
|
|
</el-button> |
|
|
|
<el-button style="margin: 10px 5px;" v-if=" (scope.row.orderStatus == 0 && scope.row.receiveStatus == 3 ) && IsPermission(route, 'GET_ORDER_LIST')" type="success" size="small" |
|
|
|
<el-button style="margin: 10px 5px;" v-if=" (scope.row.orderStatus == 0 && scope.row.receiveStatus == 3 )" type="success" size="small" |
|
|
|
@click="audit(scope.$index, scope.row, true)"> |
|
|
|
处理 |
|
|
|
</el-button> |
|
|
|
|
|
|
|
<el-button :loading="scope.row.btnLoading" |
|
|
|
v-if="(scope.row.receiveStatus == 0 || scope.row.receiveStatus == 2) && IsPermission(route, 'GET_ORDER_LIST')" |
|
|
|
v-if="(scope.row.receiveStatus == 0 || scope.row.receiveStatus == 2)" |
|
|
|
type="primary" size="small" @click="getOrderFn(2, scope.row)"> |
|
|
|
<span style="font-family: `楷体`">领取订单</span> |
|
|
|
<span style="margin: 10px 5px;">领取订单</span> |
|
|
|
</el-button> |
|
|
|
</template> |
|
|
|
</crud-template> |
|
|
|
<!-- <el-dialog v-model="check" width="30%" title="审核"> |
|
|
|
<el-form ref="form" :model="autdis" |
|
|
|
:rules="{ reason: [{ required: true, message: '驳回类型不能为空', trigger: 'change' }] }" label-width="80px"> |
|
|
|
<el-form-item label=""> |
|
|
|
<el-radio-group v-model="autdis.auditStatus"> |
|
|
|
<el-radio label="true">审核通过</el-radio> |
|
|
|
<el-radio label="false">审核不通过</el-radio> |
|
|
|
</el-radio-group> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item v-if="autdis.auditStatus != 'true'" label="审核原因" prop="reason"> |
|
|
|
<el-select clearable @change="autdisReasonChange" v-model="autdis.reason" placeholder="请选择审核原因类型"> |
|
|
|
<el-option :label="item.label" :key="item.value" :value="item.value" |
|
|
|
v-for="item in NEW_CSMSN_APPLY_REASON" /> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item v-if="autdisReasonType == '8' && autdis.auditStatus != 'true'" label="其他原因" prop="reason1"> |
|
|
|
<el-input v-trim clearable type="textarea" v-model="autdis.reason1" :placeholder="`审核不通过原因`" maxlength="200" |
|
|
|
show-word-limit></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
<template #footer> |
|
|
|
<el-button @click="check = false">取 消</el-button> |
|
|
|
<el-button type="primary" @click="checkForm(form)">确 定</el-button> |
|
|
|
</template> |
|
|
|
</el-dialog> --> |
|
|
|
<!-- <el-dialog v-model="check" width="30%" title="审核">--> |
|
|
|
<!-- <el-form ref="form" :model="autdis"--> |
|
|
|
<!-- :rules="{ reason: [{ required: true, message: '驳回类型不能为空', trigger: 'change' }] }" label-width="80px">--> |
|
|
|
<!-- <el-form-item label="">--> |
|
|
|
<!-- <el-radio-group v-model="autdis.auditStatus">--> |
|
|
|
<!-- <el-radio label="true">审核通过</el-radio>--> |
|
|
|
<!-- <el-radio label="false">审核不通过</el-radio>--> |
|
|
|
<!-- </el-radio-group>--> |
|
|
|
<!-- </el-form-item>--> |
|
|
|
<!-- <el-form-item v-if="autdis.auditStatus != 'true'" label="审核原因" prop="reason">--> |
|
|
|
<!-- <el-select clearable @change="autdisReasonChange" v-model="autdis.reason" placeholder="请选择审核原因类型">--> |
|
|
|
<!-- <el-option :label="item.label" :key="item.value" :value="item.value"--> |
|
|
|
<!-- v-for="item in NEW_CSMSN_APPLY_REASON" />--> |
|
|
|
<!-- </el-select>--> |
|
|
|
<!-- </el-form-item>--> |
|
|
|
<!-- <el-form-item v-if="autdisReasonType == '8' && autdis.auditStatus != 'true'" label="其他原因" prop="reason1">--> |
|
|
|
<!-- <el-input v-trim clearable type="textarea" v-model="autdis.reason1" :placeholder="`审核不通过原因`" maxlength="200"--> |
|
|
|
<!-- show-word-limit></el-input>--> |
|
|
|
<!-- </el-form-item>--> |
|
|
|
<!-- </el-form>--> |
|
|
|
<!-- <template #footer>--> |
|
|
|
<!-- <el-button @click="check = false">取 消</el-button>--> |
|
|
|
<!-- <el-button type="primary" @click="checkForm(form)">确 定</el-button>--> |
|
|
|
<!-- </template>--> |
|
|
|
<!-- </el-dialog>--> |
|
|
|
</div> |
|
|
|
<!-- 处理弹窗 --> |
|
|
|
<el-dialog v-model="exchangeInformationDialog" width="80%" :title="exchangeInformationDialogTitle" |
|
|
@@ -247,9 +244,9 @@ |
|
|
|
<div v-if="detailDialogTitle == '订单详情'"> |
|
|
|
<el-affix style="position: absolute; top: 0; right: 80px" v-if="6 == visiinfoDatable.orderStep && autdisButton" |
|
|
|
:offset="offset + 50"> |
|
|
|
<!-- <el-button type="danger" size="small" @click="handleAudit"> |
|
|
|
<el-button type="danger" size="small" @click="handleAudit"> |
|
|
|
审核 |
|
|
|
</el-button> --> |
|
|
|
</el-button> |
|
|
|
</el-affix> |
|
|
|
<orderInfo :infoData="visiinfoDatable"></orderInfo> |
|
|
|
</div> |
|
|
@@ -701,7 +698,7 @@ function exchangeInformationsubmitForm() { |
|
|
|
draggable: true, |
|
|
|
}) |
|
|
|
.then(() => { |
|
|
|
let api = '/iaw/api/afterSale/selfService/salesmanUpload'; |
|
|
|
let api = '/managew/selfService/salesmanUpload'; |
|
|
|
let params = { |
|
|
|
...exchangeInformationForm.value, |
|
|
|
serviceOrderId:serviceOrderId.value |
|
|
@@ -826,7 +823,7 @@ function dateChange(time) { |
|
|
|
} |
|
|
|
function getList() { |
|
|
|
crudRef.value.tableLoding = true |
|
|
|
BaseService.postN('/iaw/api/afterSale/selfService/page', getParams()).then((res: any) => { |
|
|
|
BaseService.postN('/managew/selfService/page', getParams()).then((res: any) => { |
|
|
|
if (res && res.code === 0) { |
|
|
|
//数据转换 |
|
|
|
let bizContent = res.data |
|
|
@@ -880,7 +877,7 @@ function getOrderFn(type, row?) { |
|
|
|
// operatorId: cacheAccessToken.openId |
|
|
|
} |
|
|
|
console.log(params, 'paramsparams') |
|
|
|
BaseService.postN('/iaw[/api/afterSale]/selfService/orderReceive', params).then( |
|
|
|
BaseService.postN('/managew/selfService/orderReceive', params).then( |
|
|
|
(res: any) => { |
|
|
|
if (res && res.code === 0) { |
|
|
|
ElMessage.success('领取成功') |
|
|
@@ -920,7 +917,7 @@ function checkForm(formEl) { |
|
|
|
autdis.reason = '' |
|
|
|
autdis.reason1 = '' |
|
|
|
} |
|
|
|
BaseService.postN('/iaw/issue/order/orderManualVerify', autdis).then((res: any) => { |
|
|
|
BaseService.postN('/managew/order/orderManualVerify', autdis).then((res: any) => { |
|
|
|
if (res && res.code === 0) { |
|
|
|
ElMessage.success(res.message) |
|
|
|
check.value = false |
|
|
@@ -964,7 +961,7 @@ function audit(idx: number, data: any, type) { |
|
|
|
serviceOrderId.value = data.id |
|
|
|
} |
|
|
|
// autdisButton.value = type |
|
|
|
BaseService.postN('/iaw/api/afterSale/selfService/view', { id: data.id }).then((res: any) => { |
|
|
|
BaseService.postN('/managew/selfService/view', { id: data.id }).then((res: any) => { |
|
|
|
console.log(111111111111111111); |
|
|
|
if (res && res.code === 0) { |
|
|
|
console.log(res.data, 'res.data'); |