|
|
@@ -9,48 +9,67 @@
|
|
|
turnPageId="20221031141102"
|
|
|
idname="sa_workorderid"
|
|
|
ownertable="sa_workorder"
|
|
|
+ tabName="tab1"
|
|
|
+ SalesmanQ="不执行"
|
|
|
tags=""
|
|
|
- :tabs="
|
|
|
- mainData.actiontype == '工序模板'
|
|
|
- ? ['工序详情', '确认单', '服务团队', '工单物料', '详细信息']
|
|
|
- : ['服务商品', '确认单', '服务团队', '详细信息']
|
|
|
- "
|
|
|
+ :tabs="['服务申请','服务工单','服务改善']"
|
|
|
@pageChange="pageChange"
|
|
|
@onEditSuccess="queryMainData($route.query.id)"
|
|
|
>
|
|
|
<div slot="tags"></div>
|
|
|
<div slot="customOperation">
|
|
|
- <!-- <customBtn
|
|
|
- btnName="接单"
|
|
|
- message="确认接单当前服务工单吗?"
|
|
|
- idName="20230210101103"
|
|
|
- keyName="sa_workorderid"
|
|
|
- :id="$route.query.id"
|
|
|
- @onSuccess="queryMainData"
|
|
|
- class="inline-16"
|
|
|
- v-if="mainData.status == '新建' && tool.checkAuth($route.name,'join')"
|
|
|
- />
|
|
|
+ <checkInfo :data="mainData" class="inline-16" @onSuccess="queryMainData"></checkInfo>
|
|
|
+ <transferWorkOrder btnType="primary" btnTitle="转工单" class="inline-16" @dialogShow="queryPerson" :disabledSubmit="personName == ''"
|
|
|
+ @onSubmit="transferWorkSubmit" v-if="mainData.status == '待接单'" ref="transferWorkRef" :data="mainData" :disabled="!mainData.isServerMag && !mainData.isleader">
|
|
|
+ <template slot="formRule">
|
|
|
+ <div>
|
|
|
+ <span style="color: red">*</span>{{$t(`请选择工单负责人`)}}
|
|
|
+ </div>
|
|
|
+ <div style="margin-top: 10px;width: 100%">
|
|
|
+ <el-select v-model="personName" placeholder="请选择" style="width: 100%" size="small">
|
|
|
+ <el-option
|
|
|
+ v-for="item in optionNames"
|
|
|
+ :key="item.index"
|
|
|
+ :label="item.username"
|
|
|
+ :value="item.userid">
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </transferWorkOrder>
|
|
|
+ <acceptingOrders :data="mainData" class="inline-16" v-if="mainData.status == '待接单'" :team_userid="team_userid" @onSuccess="queryMainData"></acceptingOrders>
|
|
|
+<!-- <customBtn-->
|
|
|
+<!-- btnName="接单"-->
|
|
|
+<!-- message="确认接单当前服务工单吗?"-->
|
|
|
+<!-- idName="20230210101103"-->
|
|
|
+<!-- keyName="sa_workorderid"-->
|
|
|
+<!-- :id="$route.query.id"-->
|
|
|
+<!-- @onSuccess="queryMainData"-->
|
|
|
+<!-- class="inline-16"-->
|
|
|
+<!-- />-->
|
|
|
<customBtn
|
|
|
- btnName="开始"
|
|
|
+ btnName="开始工单"
|
|
|
message="确认开始当前服务工单吗?"
|
|
|
idName="20230209144503"
|
|
|
keyName="sa_workorderid"
|
|
|
+ :disabled="!mainData.isleader"
|
|
|
:id="$route.query.id"
|
|
|
@onSuccess="queryMainData"
|
|
|
class="inline-16"
|
|
|
- v-if="mainData.status == '待开始' && tool.checkAuth($route.name,'start')"
|
|
|
+ v-if="mainData.status == '待开始'"
|
|
|
|
|
|
- /> -->
|
|
|
+ />
|
|
|
<customBtn
|
|
|
btnName="暂停"
|
|
|
message="确认暂停当前服务工单吗?"
|
|
|
idName="20230209144603"
|
|
|
keyName="sa_workorderid"
|
|
|
:id="$route.query.id"
|
|
|
+ :disabled="!mainData.isleader"
|
|
|
@onSuccess="queryMainData"
|
|
|
class="inline-16"
|
|
|
v-if="
|
|
|
- mainData.status == '进行中' && tool.checkAuth($route.name, 'stop')
|
|
|
+ mainData.status == '进行中'
|
|
|
"
|
|
|
/>
|
|
|
<customBtn
|
|
|
@@ -58,125 +77,61 @@
|
|
|
message="确认启用当前服务工单吗?"
|
|
|
idName="20230209144703"
|
|
|
keyName="sa_workorderid"
|
|
|
+ :disabled="!mainData.isleader"
|
|
|
:id="$route.query.id"
|
|
|
@onSuccess="queryMainData"
|
|
|
class="inline-16"
|
|
|
v-if="
|
|
|
- mainData.status == '暂停' && tool.checkAuth($route.name, 'used')
|
|
|
+ mainData.status == '暂停'
|
|
|
"
|
|
|
/>
|
|
|
- <!-- <customBtn
|
|
|
- btnName="完结"
|
|
|
- message="确认完结当前服务工单吗?"
|
|
|
- idName="20230209144903"
|
|
|
- keyName="sa_workorderid"
|
|
|
- :id="$route.query.id"
|
|
|
- @onSuccess="queryMainData"
|
|
|
- class="inline-16"
|
|
|
- v-if="mainData.status != '新建' && tool.checkAuth($route.name,'complete')"
|
|
|
+ <customBtn
|
|
|
+ btnName="完结工单"
|
|
|
+ message="确认完结当前服务工单吗?"
|
|
|
+ idName="20230209144903"
|
|
|
+ keyName="sa_workorderid"
|
|
|
+ :disabled="!mainData.isleader"
|
|
|
+ :id="$route.query.id"
|
|
|
+ @onSuccess="queryMainData"
|
|
|
+ class="inline-16"
|
|
|
+ v-if="mainData.status == '进行中'"
|
|
|
|
|
|
- /> -->
|
|
|
+ />
|
|
|
<customBtn
|
|
|
- btnName="作废"
|
|
|
- message="确认作废当前服务工单吗?"
|
|
|
- idName="20230209144803"
|
|
|
- keyName="sa_workorderid"
|
|
|
- :id="$route.query.id"
|
|
|
- @onSuccess="queryMainData"
|
|
|
- class="inline-16"
|
|
|
- v-if="
|
|
|
- mainData.status != '完结' && tool.checkAuth($route.name, 'delete')
|
|
|
- "
|
|
|
+ btnName="中止"
|
|
|
+ message="确认中止当前服务申请单吗?"
|
|
|
+ idName="2026012414051502"
|
|
|
+ keyName="sa_serviceorderid"
|
|
|
+ :id="$route.query.id"
|
|
|
+ :dialog="true"
|
|
|
+ :checkString="true"
|
|
|
+ dialogTitle="请输入中止原因"
|
|
|
+ :disabled="!mainData.isleader"
|
|
|
+ dialogKey="abortreason"
|
|
|
+ @onSuccess="queryMainData"
|
|
|
+ errorMessage="中止原因不可为空"
|
|
|
+ v-if="mainData.status != '已完成' && mainData.status != '已中止'"
|
|
|
+ class="inline-16"
|
|
|
+
|
|
|
/>
|
|
|
+<!-- <customBtn-->
|
|
|
+<!-- btnName="作废"-->
|
|
|
+<!-- message="确认作废当前服务工单吗?"-->
|
|
|
+<!-- idName="20230209144803"-->
|
|
|
+<!-- keyName="sa_workorderid"-->
|
|
|
+<!-- :id="$route.query.id"-->
|
|
|
+<!-- @onSuccess="queryMainData"-->
|
|
|
+<!-- class="inline-16"-->
|
|
|
+<!-- v-if="-->
|
|
|
+<!-- mainData.status != '完结' && tool.checkAuth($route.name, 'delete')-->
|
|
|
+<!-- "-->
|
|
|
+<!-- />-->
|
|
|
</div>
|
|
|
- <div slot="slot0" v-if="mainData.actiontype == '工序模板'">
|
|
|
- <taskDetail :data="nodes">
|
|
|
- <template v-slot:detail="scope">
|
|
|
- <taskListDetail
|
|
|
- class="inline-16"
|
|
|
- :data="scope.data"
|
|
|
- ></taskListDetail>
|
|
|
- </template>
|
|
|
- <!-- <template v-slot:edit="scope">
|
|
|
- <taskListEdit class="inline-16" :data="scope.data"/>
|
|
|
- </template> -->
|
|
|
- </taskDetail>
|
|
|
- </div>
|
|
|
- <div slot="slot1" v-if="mainData.actiontype == '工序模板'">
|
|
|
- <checkBill ref="checkBillRef">
|
|
|
- <template v-slot:download="scope">
|
|
|
- <el-button
|
|
|
- v-if="tool.checkAuth($route.name, 'checkBillDetail')"
|
|
|
- type="text"
|
|
|
- size="mini"
|
|
|
- @click="downLoadBill(scope.data)"
|
|
|
- >{{ $t("单 据 下 载") }}</el-button
|
|
|
- >
|
|
|
- </template>
|
|
|
- </checkBill>
|
|
|
- </div>
|
|
|
- <div slot="slot2" v-if="mainData.actiontype == '工序模板'">
|
|
|
- <teamList
|
|
|
- v-if="tool.checkAuth($route.name, 'teamList')"
|
|
|
- ref="teamList"
|
|
|
- :data="mainData.team"
|
|
|
- >
|
|
|
- <selectTeam ref="team" @teamChange="teamChange" slot="add">
|
|
|
- <el-button
|
|
|
- v-if="tool.checkAuth($route.name, 'teamHandle') && mainData.status !== '已完成'"
|
|
|
- class="button-new-tag"
|
|
|
- size="small"
|
|
|
- type="primary"
|
|
|
- @click="$refs.team.dialogFormVisible = true"
|
|
|
- >{{ $t("添 加") }}</el-button
|
|
|
- >
|
|
|
- </selectTeam>
|
|
|
- </teamList>
|
|
|
- </div>
|
|
|
- <div slot="slot3" v-if="mainData.actiontype == '工序模板'">
|
|
|
- <Items :data="mainData"></Items>
|
|
|
- </div>
|
|
|
- <div slot="slot4" v-if="mainData.actiontype == '工序模板'">
|
|
|
- <detailInfo :more="true" :data="detailInfo"></detailInfo>
|
|
|
- </div>
|
|
|
+ <div slot="slot0">
|
|
|
|
|
|
- <div slot="slot0" v-if="mainData.actiontype != '工序模板'">
|
|
|
- <Items :data="mainData"></Items>
|
|
|
- </div>
|
|
|
- <div slot="slot1" v-if="mainData.actiontype != '工序模板'">
|
|
|
- <checkBill>
|
|
|
- <template v-slot:download="scope">
|
|
|
- <el-button
|
|
|
- v-if="tool.checkAuth($route.name, 'checkBillDetail')"
|
|
|
- type="text"
|
|
|
- size="mini"
|
|
|
- @click="downLoadBill(scope.data)"
|
|
|
- >{{ $t("单 据 下 载") }}</el-button
|
|
|
- >
|
|
|
- </template>
|
|
|
- </checkBill>
|
|
|
- </div>
|
|
|
- <div slot="slot2" v-if="mainData.actiontype != '工序模板'">
|
|
|
- <teamList
|
|
|
- v-if="tool.checkAuth($route.name, 'teamList') "
|
|
|
- ref="teamList"
|
|
|
- :data="mainData.team"
|
|
|
- :status="mainData.status"
|
|
|
- >
|
|
|
- <selectTeam ref="team" @teamChange="teamChange" slot="add">
|
|
|
- <el-button
|
|
|
- v-if="tool.checkAuth($route.name, 'teamHandle') && mainData.status !== '已完成'"
|
|
|
- class="button-new-tag"
|
|
|
- size="small"
|
|
|
- type="primary"
|
|
|
- @click="$refs.team.dialogFormVisible = true"
|
|
|
- >{{ $t("添 加") }}</el-button
|
|
|
- >
|
|
|
- </selectTeam>
|
|
|
- </teamList>
|
|
|
</div>
|
|
|
- <div slot="slot3" v-if="mainData.actiontype != '工序模板'">
|
|
|
- <detailInfo :more="true" :data="detailInfo"></detailInfo>
|
|
|
+ <div slot="slot1">
|
|
|
+ <serviceWorkOrder ref="serviceWorkOrderRef" :data="mainData" :detailInfo="detailInfo" :nodes="nodes"></serviceWorkOrder>
|
|
|
</div>
|
|
|
</basicDetails>
|
|
|
</div>
|
|
|
@@ -191,17 +146,28 @@ import checkBill from "./checkBill/index";
|
|
|
import teamList from "./teamList/index";
|
|
|
import Items from "./items/index";
|
|
|
import selectTeam from "../components/teamSelect";
|
|
|
+import serviceWorkOrder from '../modules/serviceWorkOrder/index'
|
|
|
+import checkInfo from '../components/checkInfo'
|
|
|
+import transferWorkOrder from '@/components/dialogTemplate/index2'
|
|
|
+import acceptingOrders from '../components/acceptingOrders'
|
|
|
import { log } from "@antv/g2plot/lib/utils";
|
|
|
export default {
|
|
|
name: "detail",
|
|
|
data() {
|
|
|
return {
|
|
|
- mainData: "",
|
|
|
+ mainData: {isServerMag:false,isleader:false},
|
|
|
mainAreaData: {},
|
|
|
detailInfo: "",
|
|
|
nodes: [],
|
|
|
active_accoun:JSON.parse(sessionStorage.getItem('active_account')),
|
|
|
- folderid:JSON.parse(sessionStorage.getItem('folderid'))
|
|
|
+ folderid:JSON.parse(sessionStorage.getItem('folderid')),
|
|
|
+ team_name:'',
|
|
|
+ team_phone_number:'',
|
|
|
+ personName:'',
|
|
|
+ optionNames:[],
|
|
|
+ hrid:JSON.parse(sessionStorage.getItem('active_account')).hrid,
|
|
|
+ userid:JSON.parse(sessionStorage.getItem('active_account')).userid,
|
|
|
+ team_userid:''
|
|
|
};
|
|
|
},
|
|
|
components: {
|
|
|
@@ -213,20 +179,53 @@ export default {
|
|
|
teamList,
|
|
|
Items,
|
|
|
selectTeam,
|
|
|
+ serviceWorkOrder,
|
|
|
+ checkInfo,
|
|
|
+ transferWorkOrder,
|
|
|
+ acceptingOrders
|
|
|
},
|
|
|
methods: {
|
|
|
async queryMainData(id) {
|
|
|
+ this.mainData.isServerMag = false
|
|
|
+ this.mainData.isleader = false
|
|
|
+ if (this.hrid !== 0){
|
|
|
+ const res_hrid = await this.$api.requested({
|
|
|
+ classname: 'webmanage.hr.hr',
|
|
|
+ method:"query_hrMain",
|
|
|
+ content: {
|
|
|
+ hrid: this.hrid
|
|
|
+ },
|
|
|
+ })
|
|
|
+ if (res_hrid.data && res_hrid.data.userrole.length > 0){
|
|
|
+ res_hrid.data.userrole.forEach(item => {
|
|
|
+ if (item.rolename == 'SHZG' && item.remarks == '服务主管'){
|
|
|
+ this.mainData.isServerMag = true
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }
|
|
|
+ }
|
|
|
const res = await this.$api.requested({
|
|
|
id: 20230208140103,
|
|
|
content: {
|
|
|
sa_workorderid: this.$route.query.id,
|
|
|
},
|
|
|
});
|
|
|
- this.mainData = res.data;
|
|
|
+ this.mainData = Object.assign({}, this.mainData, res.data);
|
|
|
+ console.log(res.data,'输出33');
|
|
|
+ res.data.team.forEach(item => {
|
|
|
+ if (item.isleader){
|
|
|
+ this.team_name = item.name
|
|
|
+ this.team_phone_number = item.phonenumber
|
|
|
+ this.team_userid = item.userid
|
|
|
+ if (item.userid == this.userid){
|
|
|
+ this.mainData.isleader = true
|
|
|
+ }
|
|
|
+ }
|
|
|
+ })
|
|
|
this.changeDataStructure();
|
|
|
- console.log(res.data);
|
|
|
|
|
|
this.nodes = this.createTreeData(res.data.nodes);
|
|
|
+ this.mainData.actiontype == '工序模板'?this.$refs.serviceWorkOrderRef.activeName = '工序详情' : this.$refs.serviceWorkOrderRef.activeName = '服务商品'
|
|
|
console.log(this.nodes);
|
|
|
},
|
|
|
downLoadBill(data) {
|
|
|
@@ -279,7 +278,7 @@ export default {
|
|
|
},
|
|
|
{
|
|
|
label: "负责人",
|
|
|
- value: this.mainData.projectleader,
|
|
|
+ value: this.team_name,
|
|
|
},
|
|
|
{
|
|
|
label: "状态",
|
|
|
@@ -314,6 +313,52 @@ export default {
|
|
|
label: "地址",
|
|
|
value: this.mainData.address,
|
|
|
},
|
|
|
+
|
|
|
+ {
|
|
|
+ label: "关联订单",
|
|
|
+ value: this.mainData.sonum,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "现场联系人",
|
|
|
+ value: this.mainData.scenecontact,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "身份备注",
|
|
|
+ value: this.mainData.scenecontactrole,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "现场联系人电话",
|
|
|
+ value: this.mainData.scenecontactphonenumber,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "应用系统",
|
|
|
+ value: this.mainData.class1,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "客诉大类",
|
|
|
+ value: this.mainData.class2,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "问题描述",
|
|
|
+ value: this.mainData.reason,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "服务负责人电话",
|
|
|
+ value: this.team_phone_number,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "异常类型",
|
|
|
+ value: this.mainData.exception_type,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "服务等级",
|
|
|
+ value: this.mainData.service_level,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "项目名称",
|
|
|
+ value: this.mainData.projectname,
|
|
|
+ },
|
|
|
+
|
|
|
{
|
|
|
label: "创建时间",
|
|
|
value: this.mainData.createdate,
|
|
|
@@ -326,12 +371,13 @@ export default {
|
|
|
label: "操作类型",
|
|
|
value: this.mainData.actiontype,
|
|
|
},
|
|
|
+ { label:'备注', value: this.mainData.remarks}
|
|
|
];
|
|
|
this.detailInfo = [
|
|
|
{
|
|
|
title: "基本信息",
|
|
|
info: [
|
|
|
- { label: "单号", value: this.mainData.billno },
|
|
|
+ { label: "工单号", value: this.mainData.billno },
|
|
|
{ label: "申请单号", value: this.mainData.servicebillno },
|
|
|
{
|
|
|
label: "状态",
|
|
|
@@ -341,27 +387,63 @@ export default {
|
|
|
return style;
|
|
|
},
|
|
|
},
|
|
|
- { label: "企业编号", value: this.mainData.agentnum },
|
|
|
- { label: "企业名称", value: this.mainData.enterprise },
|
|
|
- { label:'客诉大类', value: this.mainData.class2},
|
|
|
- { label:'申请原因', value: this.mainData.reason},
|
|
|
- { label: "服务联系人", value: this.mainData.scenecontact },
|
|
|
- {
|
|
|
- label: "联系人电话",
|
|
|
- value: this.mainData.scenecontactphonenumber,
|
|
|
+ { label:'服务类型',value:this.mainData.servicetype,
|
|
|
+ style:function () {
|
|
|
+ let style = that.tool.getStatusColor(that.mainData.servicetype)
|
|
|
+ return style
|
|
|
+ }
|
|
|
},
|
|
|
- { label: "工单负责人", value: this.mainData.projectleader },
|
|
|
{ label: "工单类型", value: this.mainData.type },
|
|
|
- { label: "工单模板", value: this.mainData.name },
|
|
|
+ { label:'关联订单',value:this.mainData.sonum},
|
|
|
+ { label: "企业名称", value: this.mainData.enterprise },
|
|
|
+ { label: "企业编号", value: this.mainData.agentnum },
|
|
|
+ { label: "项目名称", value: this.mainData.projectname},
|
|
|
{
|
|
|
label: "省市县",
|
|
|
value: `${this.mainData.province}-${this.mainData.city}-${this.mainData.county}`,
|
|
|
},
|
|
|
- { label: "地址", value: this.mainData.address },
|
|
|
- { label: "创建人", value: this.mainData.createby },
|
|
|
- { label: "创建时间", value: this.mainData.createdate },
|
|
|
+ { label:'详细地址',value:this.mainData.address ? this.mainData.address : ''},
|
|
|
+ { label: "现场联系人", value: this.mainData.scenecontact },
|
|
|
+ { label:'身份备注',value:this.mainData.scenecontactrole},
|
|
|
+ { label:'现场联系人电话',value:this.mainData.scenecontactphonenumber},
|
|
|
+ { label:'应用系统',value:this.mainData.class1},
|
|
|
+ { label:'客诉大类',value:this.mainData.class2},
|
|
|
+ { label:'问题描述',value:this.mainData.reason},
|
|
|
+ { label:'是否外包工单',value:this.mainData.isout?'是':'否'},
|
|
|
+ { label:'服务负责人',value:this.team_name},
|
|
|
+ { label:'服务负责人电话',value:this.team_phone_number},
|
|
|
+ { label:'异常类型',value:this.exception_type},
|
|
|
+ { label: "业务员", value: this.mainData.saler_name},
|
|
|
+ { label: "业务员电话",value: this.mainData.salerphonenumber},
|
|
|
+ {
|
|
|
+ label: "服务等级",
|
|
|
+ value: this.mainData.service_level,
|
|
|
+ style:function () {
|
|
|
+ let style = that.tool.getStatusColor(that.mainData.service_level)
|
|
|
+ return style
|
|
|
+ }
|
|
|
+ },
|
|
|
+ { label: "确认客诉异常描述是否属实", value: this.mainData.isfact?'是':'否'},
|
|
|
+ { label: "是否为我司出货产品",value: this.mainData.isouritem?'是':'否'},
|
|
|
+ { label: "是否在保质期内", value: this.mainData.inqualityguaranteeperiod?'是':'否'},
|
|
|
+ { label:'备注', value: this.mainData.remarks},
|
|
|
],
|
|
|
},
|
|
|
+ {
|
|
|
+ title:'系统信息',
|
|
|
+ info: [
|
|
|
+ {label:'创建时间',value:this.mainData.createdate},
|
|
|
+ {label:'最近编辑时间',value:this.mainData.changedate},
|
|
|
+ {label:'最近编辑人',value:this.mainData.changeby},
|
|
|
+
|
|
|
+ {label:'接单时间',value:this.mainData.takedate},
|
|
|
+ {label:'开始工单时间',value:this.mainData.startdate},
|
|
|
+ {label:'完成时间',value:this.mainData.finishdate},
|
|
|
+ {label:'中止时间',value:this.mainData.abortdate},
|
|
|
+ {label:'中止原因',value:this.mainData.abortreason},
|
|
|
+
|
|
|
+ ]
|
|
|
+ }
|
|
|
];
|
|
|
},
|
|
|
createTreeData(array) {
|
|
|
@@ -427,6 +509,38 @@ export default {
|
|
|
this.queryMainData(this.$route.query.id);
|
|
|
this.$emit("onSuccess");
|
|
|
},
|
|
|
+ async queryPerson(){
|
|
|
+ const res = await this.$api.requested({
|
|
|
+ id:20230213143003,
|
|
|
+ content:{
|
|
|
+ pageNumber:1,
|
|
|
+ pageSize:999,
|
|
|
+ }
|
|
|
+ })
|
|
|
+ console.log(res.data,'333')
|
|
|
+ this.optionNames = res.data.map(item => {
|
|
|
+ return {
|
|
|
+ "username":item.username,
|
|
|
+ "userid":item.userid
|
|
|
+ }
|
|
|
+ })
|
|
|
+
|
|
|
+ },
|
|
|
+ async transferWorkSubmit(){
|
|
|
+ console.log('执行222')
|
|
|
+ const res = await this.$api.requested({
|
|
|
+ "content": {
|
|
|
+ "sa_workorderid": this.$route.query.id,
|
|
|
+ "userid": this.personName //1566
|
|
|
+ },
|
|
|
+ "id": 2026012714183302,
|
|
|
+ })
|
|
|
+ this.tool.showMessage(res,()=>{
|
|
|
+ this.$refs.transferWorkRef.dialogTableVisible = false
|
|
|
+ this.personName = ''
|
|
|
+ this.queryMainData()
|
|
|
+ })
|
|
|
+ }
|
|
|
},
|
|
|
mounted() {
|
|
|
this.queryMainData(this.$route.query.id);
|