|
@@ -77,31 +77,30 @@
|
|
|
>
|
|
>
|
|
|
<h3 style="margin-left: 20px">{{ this.marsSopTitle }} SOP</h3>
|
|
<h3 style="margin-left: 20px">{{ this.marsSopTitle }} SOP</h3>
|
|
|
<span style="margin-left: 20px">选择 工艺/设备</span>
|
|
<span style="margin-left: 20px">选择 工艺/设备</span>
|
|
|
-<!-- :data="marsSopPage"-->
|
|
|
|
|
|
|
+ <!-- :data="marsSopPage"-->
|
|
|
<el-table
|
|
<el-table
|
|
|
style="width: 50%; margin: 20px"
|
|
style="width: 50%; margin: 20px"
|
|
|
:header-cell-style="{ background: '#004d8c', color: '#FFFFFF' }"
|
|
:header-cell-style="{ background: '#004d8c', color: '#FFFFFF' }"
|
|
|
:data="technologyList"
|
|
:data="technologyList"
|
|
|
highlight-current-row
|
|
highlight-current-row
|
|
|
@current-change="handleSelectionChange"
|
|
@current-change="handleSelectionChange"
|
|
|
- >
|
|
|
|
|
-<!-- <el-table-column type="selection" width="55" align="center"/>-->
|
|
|
|
|
-
|
|
|
|
|
-<!-- <el-table-column-->
|
|
|
|
|
-<!-- label="sop名称"-->
|
|
|
|
|
-<!-- align="center"-->
|
|
|
|
|
-<!-- prop="sopName"-->
|
|
|
|
|
-<!-- ></el-table-column>-->
|
|
|
|
|
|
|
+ >
|
|
|
|
|
+ <!-- <el-table-column type="selection" width="55" align="center"/>-->
|
|
|
|
|
+ <!-- <el-table-column-->
|
|
|
|
|
+ <!-- label="sop名称"-->
|
|
|
|
|
+ <!-- align="center"-->
|
|
|
|
|
+ <!-- prop="sopName"-->
|
|
|
|
|
+ <!-- ></el-table-column>-->
|
|
|
<el-table-column
|
|
<el-table-column
|
|
|
label="设备/工艺名称"
|
|
label="设备/工艺名称"
|
|
|
align="center"
|
|
align="center"
|
|
|
prop="machineryName"
|
|
prop="machineryName"
|
|
|
></el-table-column>
|
|
></el-table-column>
|
|
|
-<!-- <el-table-column-->
|
|
|
|
|
-<!-- label="所属岗位"-->
|
|
|
|
|
-<!-- align="center"-->
|
|
|
|
|
-<!-- prop="workstationName"-->
|
|
|
|
|
-<!-- ></el-table-column>-->
|
|
|
|
|
|
|
+ <!-- <el-table-column-->
|
|
|
|
|
+ <!-- label="所属岗位"-->
|
|
|
|
|
+ <!-- align="center"-->
|
|
|
|
|
+ <!-- prop="workstationName"-->
|
|
|
|
|
+ <!-- ></el-table-column>-->
|
|
|
</el-table>
|
|
</el-table>
|
|
|
<h2 style="margin-left: 20px">sop类型</h2>
|
|
<h2 style="margin-left: 20px">sop类型</h2>
|
|
|
<el-radio-group
|
|
<el-radio-group
|
|
@@ -110,7 +109,7 @@
|
|
|
style="display: flex; flex-direction: column; align-items: flex-start"
|
|
style="display: flex; flex-direction: column; align-items: flex-start"
|
|
|
@change="handleSopchange"
|
|
@change="handleSopchange"
|
|
|
>
|
|
>
|
|
|
-<!-- v-for="(option, index) in filteredSopTypes"-->
|
|
|
|
|
|
|
+ <!-- v-for="(option, index) in filteredSopTypes"-->
|
|
|
<el-radio
|
|
<el-radio
|
|
|
v-for="item in sopTypeOption"
|
|
v-for="item in sopTypeOption"
|
|
|
:key="item.value"
|
|
:key="item.value"
|
|
@@ -149,10 +148,15 @@
|
|
|
<el-card class="box-card" style="margin: 10px">
|
|
<el-card class="box-card" style="margin: 10px">
|
|
|
<div slot="header" class="clearfix">
|
|
<div slot="header" class="clearfix">
|
|
|
<span>锁定站信息</span>
|
|
<span>锁定站信息</span>
|
|
|
|
|
+ <i class="el-icon-search" style="float: right; padding: 3px 0;cursor: pointer;color:#189eff;"
|
|
|
|
|
+ @click="goLockDetail"
|
|
|
|
|
+ ></i>
|
|
|
</div>
|
|
</div>
|
|
|
<el-row>
|
|
<el-row>
|
|
|
<el-col :span="9">
|
|
<el-col :span="9">
|
|
|
- <el-table :data="selectPointList" :show-header="false">
|
|
|
|
|
|
|
+ <el-table :data="selectPointList" :show-header="false" height="200" @row-click="handleChangeTable"
|
|
|
|
|
+ v-if="tableVisible"
|
|
|
|
|
+ >
|
|
|
<el-table-column
|
|
<el-table-column
|
|
|
prop="pointName"
|
|
prop="pointName"
|
|
|
label=""
|
|
label=""
|
|
@@ -162,10 +166,13 @@
|
|
|
label=""
|
|
label=""
|
|
|
></el-table-column>
|
|
></el-table-column>
|
|
|
</el-table>
|
|
</el-table>
|
|
|
|
|
+ <span v-if="!tableVisible" style="color:#53a3ef;cursor: pointer" @click="handleChangeTable"
|
|
|
|
|
+ >锁定站</span>
|
|
|
|
|
+ <img src="@/assets/images/sopbgimg.png" style="width: 200px;height: 130px;margin-top: 10px"/>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
|
<MapData
|
|
<MapData
|
|
|
- style="width: 300px; height: 320px; margin-left: 15%"
|
|
|
|
|
|
|
+ style="width: 300px; height: 320px; margin-left: 18%"
|
|
|
:machineryId="this.machineryId"
|
|
:machineryId="this.machineryId"
|
|
|
></MapData>
|
|
></MapData>
|
|
|
</el-col>
|
|
</el-col>
|
|
@@ -357,20 +364,20 @@
|
|
|
}}</span>
|
|
}}</span>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
-<!-- <el-table-column label="操作" width="80">-->
|
|
|
|
|
-<!-- <template slot-scope="scope">-->
|
|
|
|
|
-<!-- <el-button-->
|
|
|
|
|
-<!-- v-no-more-click-->
|
|
|
|
|
-<!-- @click.native.prevent="-->
|
|
|
|
|
-<!-- deleteRow(scope.$index, AllUserTable)-->
|
|
|
|
|
-<!-- "-->
|
|
|
|
|
-<!-- type="text"-->
|
|
|
|
|
-<!-- size="small"-->
|
|
|
|
|
-<!-- >-->
|
|
|
|
|
-<!-- 移除-->
|
|
|
|
|
-<!-- </el-button>-->
|
|
|
|
|
-<!-- </template>-->
|
|
|
|
|
-<!-- </el-table-column>-->
|
|
|
|
|
|
|
+ <!-- <el-table-column label="操作" width="80">-->
|
|
|
|
|
+ <!-- <template slot-scope="scope">-->
|
|
|
|
|
+ <!-- <el-button-->
|
|
|
|
|
+ <!-- v-no-more-click-->
|
|
|
|
|
+ <!-- @click.native.prevent="-->
|
|
|
|
|
+ <!-- deleteRow(scope.$index, AllUserTable)-->
|
|
|
|
|
+ <!-- "-->
|
|
|
|
|
+ <!-- type="text"-->
|
|
|
|
|
+ <!-- size="small"-->
|
|
|
|
|
+ <!-- >-->
|
|
|
|
|
+ <!-- 移除-->
|
|
|
|
|
+ <!-- </el-button>-->
|
|
|
|
|
+ <!-- </template>-->
|
|
|
|
|
+ <!-- </el-table-column>-->
|
|
|
</el-table>
|
|
</el-table>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
<!-- 内部共锁人-->
|
|
<!-- 内部共锁人-->
|
|
@@ -387,7 +394,7 @@
|
|
|
color: 'white',
|
|
color: 'white',
|
|
|
}"
|
|
}"
|
|
|
>
|
|
>
|
|
|
- <el-table-column type="selection" width="55" align="center" />
|
|
|
|
|
|
|
+ <el-table-column type="selection" width="55" align="center"/>
|
|
|
<el-table-column prop="userId" label="内部人员Id"></el-table-column>
|
|
<el-table-column prop="userId" label="内部人员Id"></el-table-column>
|
|
|
<el-table-column prop="nickName" label="姓名">
|
|
<el-table-column prop="nickName" label="姓名">
|
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
@@ -422,7 +429,7 @@
|
|
|
color: 'white',
|
|
color: 'white',
|
|
|
}"
|
|
}"
|
|
|
>
|
|
>
|
|
|
- <el-table-column type="selection" width="55" align="center" />
|
|
|
|
|
|
|
+ <el-table-column type="selection" width="55" align="center"/>
|
|
|
<el-table-column prop="userId" label="外部人员Id"></el-table-column>
|
|
<el-table-column prop="userId" label="外部人员Id"></el-table-column>
|
|
|
<el-table-column prop="nickName" label="姓名">
|
|
<el-table-column prop="nickName" label="姓名">
|
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
@@ -622,40 +629,94 @@
|
|
|
<el-button v-no-more-click @click="cancel">关 闭</el-button>
|
|
<el-button v-no-more-click @click="cancel">关 闭</el-button>
|
|
|
</div>
|
|
</div>
|
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
-<!-- 第八步查看影响作业票-->
|
|
|
|
|
- <el-dialog :visible.sync="EightDetailvisible" title="受影响作业票" width="650px" append-to-body>
|
|
|
|
|
|
|
|
|
|
- <el-table :data="AffectedTickets">
|
|
|
|
|
- <el-table-column label="作业票编号" prop="ticketId" >
|
|
|
|
|
- </el-table-column>
|
|
|
|
|
- <el-table-column label="作业票名称" prop="ticketName" width="220" >
|
|
|
|
|
- </el-table-column>
|
|
|
|
|
|
|
+ <!-- 第八步查看影响作业票-->
|
|
|
|
|
+ <el-dialog :visible.sync="EightDetailvisible" title="受影响作业票" width="650px" append-to-body>
|
|
|
|
|
|
|
|
- <el-table-column label="作业票状态" prop="ticketStatus">
|
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
|
- <dict-tag
|
|
|
|
|
- :options="dict.type.ticket_status"
|
|
|
|
|
- :value="scope.row.ticketStatus"
|
|
|
|
|
- />
|
|
|
|
|
- </template>
|
|
|
|
|
- </el-table-column>
|
|
|
|
|
- <el-table-column
|
|
|
|
|
- label="作业票类型"
|
|
|
|
|
- prop="ticketType"
|
|
|
|
|
- >
|
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
|
- <dict-tag
|
|
|
|
|
- :options="dict.type.sop_type"
|
|
|
|
|
- :value="scope.row.ticketType"
|
|
|
|
|
- />
|
|
|
|
|
- </template>
|
|
|
|
|
- </el-table-column>
|
|
|
|
|
- </el-table>
|
|
|
|
|
|
|
+ <el-table :data="AffectedTickets">
|
|
|
|
|
+ <el-table-column label="作业票编号" prop="ticketId">
|
|
|
|
|
+ </el-table-column>
|
|
|
|
|
+ <el-table-column label="作业票名称" prop="ticketName" width="220">
|
|
|
|
|
+ </el-table-column>
|
|
|
|
|
+
|
|
|
|
|
+ <el-table-column label="作业票状态" prop="ticketStatus">
|
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
|
+ <dict-tag
|
|
|
|
|
+ :options="dict.type.ticket_status"
|
|
|
|
|
+ :value="scope.row.ticketStatus"
|
|
|
|
|
+ />
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </el-table-column>
|
|
|
|
|
+ <el-table-column
|
|
|
|
|
+ label="作业票类型"
|
|
|
|
|
+ prop="ticketType"
|
|
|
|
|
+ >
|
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
|
+ <dict-tag
|
|
|
|
|
+ :options="dict.type.sop_type"
|
|
|
|
|
+ :value="scope.row.ticketType"
|
|
|
|
|
+ />
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </el-table-column>
|
|
|
|
|
+ </el-table>
|
|
|
|
|
|
|
|
<div slot="footer" class="dialog-footer">
|
|
<div slot="footer" class="dialog-footer">
|
|
|
<el-button v-no-more-click @click="cancel">关 闭</el-button>
|
|
<el-button v-no-more-click @click="cancel">关 闭</el-button>
|
|
|
</div>
|
|
</div>
|
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
|
|
+
|
|
|
|
|
+ <!-- 锁定站放大按钮呈现diaolog-->
|
|
|
|
|
+ <el-dialog :visible.sync="LockDetailvisible" title="锁定站信息" height="500px" width="1200px" append-to-body>
|
|
|
|
|
+<!-- 这里为了没有地图数据而设置的-->
|
|
|
|
|
+<!-- <el-row>-->
|
|
|
|
|
+<!-- <el-col :span="8">-->
|
|
|
|
|
+<!-- <div style="padding: 10px">-->
|
|
|
|
|
+<!-- <el-table :data="selectPointList" :show-header="false" style="width: 200px;height: 175px;margin-left: 15%">-->
|
|
|
|
|
+<!-- <el-table-column-->
|
|
|
|
|
+<!-- prop="pointName"-->
|
|
|
|
|
+<!-- label=""-->
|
|
|
|
|
+<!-- ></el-table-column>-->
|
|
|
|
|
+<!-- <el-table-column-->
|
|
|
|
|
+<!-- prop="remark"-->
|
|
|
|
|
+<!-- label=""-->
|
|
|
|
|
+<!-- ></el-table-column>-->
|
|
|
|
|
+<!-- </el-table>-->
|
|
|
|
|
+<!-- </div>-->
|
|
|
|
|
+<!-- </el-col>-->
|
|
|
|
|
+<!-- <el-col :span="8">-->
|
|
|
|
|
+<!-- <LockDetail-->
|
|
|
|
|
+<!-- style=" margin-left: 5%"-->
|
|
|
|
|
+<!-- :machineryId="this.machineryId"-->
|
|
|
|
|
+<!-- ></LockDetail>-->
|
|
|
|
|
+<!-- </el-col>-->
|
|
|
|
|
+<!-- <el-col :span="8">-->
|
|
|
|
|
+<!-- <div style="padding: 10px"></div>-->
|
|
|
|
|
+<!-- </el-col>-->
|
|
|
|
|
+<!-- </el-row>-->
|
|
|
|
|
+
|
|
|
|
|
+ <el-row>
|
|
|
|
|
+ <el-col :span="8">
|
|
|
|
|
+ <LockDetail
|
|
|
|
|
+ style="width: 300px; height: 520px; margin-left: 5%"
|
|
|
|
|
+ :machineryId="this.machineryId"
|
|
|
|
|
+ ></LockDetail>
|
|
|
|
|
+ <el-table :data="selectPointList" :show-header="false" style="width: 200px;height: 175px;margin-left: 15%">
|
|
|
|
|
+ <el-table-column
|
|
|
|
|
+ prop="pointName"
|
|
|
|
|
+ label=""
|
|
|
|
|
+ ></el-table-column>
|
|
|
|
|
+ <el-table-column
|
|
|
|
|
+ prop="remark"
|
|
|
|
|
+ label=""
|
|
|
|
|
+ ></el-table-column>
|
|
|
|
|
+ </el-table>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="16">
|
|
|
|
|
+ <img src="@/assets/images/sopbgimg.png" style="width: 100%;height:100%;"/>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ </el-row>
|
|
|
|
|
+ </el-dialog>
|
|
|
|
|
+
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
@@ -680,18 +741,19 @@ import MapData from '@/views/mes/job/jobm/Mapdata.vue'
|
|
|
import { getUserList } from '@/api/mes/workCard'
|
|
import { getUserList } from '@/api/mes/workCard'
|
|
|
import { getJobPlayTicketInfo } from '@/api/mes/jobplay/jobplay'
|
|
import { getJobPlayTicketInfo } from '@/api/mes/jobplay/jobplay'
|
|
|
import { getLotoInfo, getLotoMapInfo } from '@/api/mes/lotoStation/lotoStation'
|
|
import { getLotoInfo, getLotoMapInfo } from '@/api/mes/lotoStation/lotoStation'
|
|
|
|
|
+import LockDetail from '@/views/mes/job/jobm/LockDetail.vue'
|
|
|
|
|
|
|
|
export default {
|
|
export default {
|
|
|
name: 'NewSop',
|
|
name: 'NewSop',
|
|
|
- components: { Template, MapData },
|
|
|
|
|
- dicts: ['sop_type', 'ticket_status','ticket_user_type'],
|
|
|
|
|
|
|
+ components: { Template, MapData, LockDetail },
|
|
|
|
|
+ dicts: ['sop_type', 'ticket_status', 'ticket_user_type'],
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
|
tabPosition: 'first',
|
|
tabPosition: 'first',
|
|
|
selectedOption: '',
|
|
selectedOption: '',
|
|
|
- selectedRow:null,//设备工艺 单选表格
|
|
|
|
|
|
|
+ selectedRow: null,//设备工艺 单选表格
|
|
|
marsSopPage: [], //岗位对应sop列表--现在准备存放设备工艺 而不是选设备工艺的sop
|
|
marsSopPage: [], //岗位对应sop列表--现在准备存放设备工艺 而不是选设备工艺的sop
|
|
|
- technologyList:[],//设备工艺表格数据
|
|
|
|
|
|
|
+ technologyList: [],//设备工艺表格数据
|
|
|
marsSopTitle: '', //岗位后 对应展示sop
|
|
marsSopTitle: '', //岗位后 对应展示sop
|
|
|
marsDeptList: [],
|
|
marsDeptList: [],
|
|
|
listLockerOption: [], //上锁人下拉数据
|
|
listLockerOption: [], //上锁人下拉数据
|
|
@@ -704,8 +766,8 @@ export default {
|
|
|
openColocker: false, //添加内外部人员
|
|
openColocker: false, //添加内外部人员
|
|
|
outsideTableData: [], //外部人员表格
|
|
outsideTableData: [], //外部人员表格
|
|
|
insideTableData: [], //内部人员表格
|
|
insideTableData: [], //内部人员表格
|
|
|
- insideTableDataOrign:[],//内部原始数据
|
|
|
|
|
- outsideTableDataOrign:[],//外部原始数据
|
|
|
|
|
|
|
+ insideTableDataOrign: [],//内部原始数据
|
|
|
|
|
+ outsideTableDataOrign: [],//外部原始数据
|
|
|
selectedInsideRows: [], // 存储选中的内部人员的 userId
|
|
selectedInsideRows: [], // 存储选中的内部人员的 userId
|
|
|
selectedOutsideRows: [], // 存储选中的外部人员的 userId
|
|
selectedOutsideRows: [], // 存储选中的外部人员的 userId
|
|
|
insideSearchQuery: '', // 内部搜索条件
|
|
insideSearchQuery: '', // 内部搜索条件
|
|
@@ -729,20 +791,21 @@ export default {
|
|
|
COCOTicketListPage: [], //CCO岗位的作业票
|
|
COCOTicketListPage: [], //CCO岗位的作业票
|
|
|
scaleFactor: 1, // 缩放比例,初始值为1
|
|
scaleFactor: 1, // 缩放比例,初始值为1
|
|
|
EightDetailvisible: false,//第八步受影响作业票
|
|
EightDetailvisible: false,//第八步受影响作业票
|
|
|
- AffectedTickets:[],//第八步查看详情信息表格
|
|
|
|
|
|
|
+ AffectedTickets: [],//第八步查看详情信息表格
|
|
|
sopTypeOption: [],
|
|
sopTypeOption: [],
|
|
|
- sopId:null,
|
|
|
|
|
- workstationId:null,//岗位Id
|
|
|
|
|
|
|
+ sopId: null,
|
|
|
|
|
+ workstationId: null,//岗位Id
|
|
|
rules: {
|
|
rules: {
|
|
|
locker: [
|
|
locker: [
|
|
|
{ required: true, message: '上锁人不能为空', trigger: 'change' }
|
|
{ required: true, message: '上锁人不能为空', trigger: 'change' }
|
|
|
- ],
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ ]
|
|
|
|
|
+ },
|
|
|
|
|
+ tableVisible: true,//表格显示
|
|
|
|
|
+ LockDetailvisible: false//锁定站详情
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
},
|
|
},
|
|
|
computed: {
|
|
computed: {
|
|
|
-
|
|
|
|
|
// filteredSopTypes() {
|
|
// filteredSopTypes() {
|
|
|
// const sopTypesInMarsSopPage = this.marsSopPage.map(
|
|
// const sopTypesInMarsSopPage = this.marsSopPage.map(
|
|
|
// (item) => item.sopType
|
|
// (item) => item.sopType
|
|
@@ -752,34 +815,46 @@ export default {
|
|
|
// )
|
|
// )
|
|
|
// },
|
|
// },
|
|
|
isStepFourExecuted() {
|
|
isStepFourExecuted() {
|
|
|
- const stepFour = this.EightStepForm.find((step) => step.stepIndex == "4");
|
|
|
|
|
- return stepFour && stepFour.stepStatus === '1';
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ const stepFour = this.EightStepForm.find((step) => step.stepIndex == '4')
|
|
|
|
|
+ return stepFour && stepFour.stepStatus === '1'
|
|
|
|
|
+ }
|
|
|
},
|
|
},
|
|
|
- watch:{
|
|
|
|
|
- 'tabPosition': function (val, oldVal) {
|
|
|
|
|
- if (val =='first') {
|
|
|
|
|
|
|
+ watch: {
|
|
|
|
|
+ 'tabPosition': function(val, oldVal) {
|
|
|
|
|
+ if (val == 'first') {
|
|
|
this.getList()
|
|
this.getList()
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
- 'dialogForm.locker': function (val) {
|
|
|
|
|
|
|
+ 'dialogForm.locker': function(val) {
|
|
|
if (val) {
|
|
if (val) {
|
|
|
this.handlelockerChage(val)
|
|
this.handlelockerChage(val)
|
|
|
console.log('我制定了')
|
|
console.log('我制定了')
|
|
|
}
|
|
}
|
|
|
- },
|
|
|
|
|
|
|
+ }
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
mounted() {
|
|
mounted() {
|
|
|
this.getList()
|
|
this.getList()
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
|
|
+ // 锁定站信息部分表格收缩
|
|
|
|
|
+ handleChangeTable() {
|
|
|
|
|
+ this.tableVisible = !this.tableVisible
|
|
|
|
|
+ },
|
|
|
|
|
+ // 锁定站进入详细页面
|
|
|
|
|
+ goLockDetail() {
|
|
|
|
|
+ // this.$router.push({
|
|
|
|
|
+ // name:'LockDetail',params: { machineryId: this.machineryId }
|
|
|
|
|
+ // },)
|
|
|
|
|
+ this.LockDetailvisible = true
|
|
|
|
|
+ },
|
|
|
|
|
+ // 内部人员搜索
|
|
|
filterInsideTable() {
|
|
filterInsideTable() {
|
|
|
- const query = this.insideSearchQuery.trim().toLowerCase();
|
|
|
|
|
|
|
+ const query = this.insideSearchQuery.trim().toLowerCase()
|
|
|
const filteredData = this.insideTableDataOrign.filter(item =>
|
|
const filteredData = this.insideTableDataOrign.filter(item =>
|
|
|
item.nickName.toLowerCase().includes(query)
|
|
item.nickName.toLowerCase().includes(query)
|
|
|
- );
|
|
|
|
|
- this.insideTableData = filteredData;
|
|
|
|
|
|
|
+ )
|
|
|
|
|
+ this.insideTableData = filteredData
|
|
|
|
|
|
|
|
// 如果输入框为空或null,回显选中状态
|
|
// 如果输入框为空或null,回显选中状态
|
|
|
if (!this.insideSearchQuery) {
|
|
if (!this.insideSearchQuery) {
|
|
@@ -788,31 +863,31 @@ export default {
|
|
|
|
|
|
|
|
const matchingUser = this.AllUserTable.find(u =>
|
|
const matchingUser = this.AllUserTable.find(u =>
|
|
|
u.userId == user.userId
|
|
u.userId == user.userId
|
|
|
- );
|
|
|
|
|
|
|
+ )
|
|
|
|
|
|
|
|
- console.log('Matching User:', matchingUser); // 输出匹配结果
|
|
|
|
|
|
|
+ console.log('Matching User:', matchingUser) // 输出匹配结果
|
|
|
if (matchingUser) {
|
|
if (matchingUser) {
|
|
|
this.$nextTick(() => {
|
|
this.$nextTick(() => {
|
|
|
- console.log(`Selecting user: ${user.nickName}`);
|
|
|
|
|
- this.$refs.insideTable.toggleRowSelection(user, true);
|
|
|
|
|
- });
|
|
|
|
|
|
|
+ console.log(`Selecting user: ${user.nickName}`)
|
|
|
|
|
+ this.$refs.insideTable.toggleRowSelection(user, true)
|
|
|
|
|
+ })
|
|
|
} else {
|
|
} else {
|
|
|
this.$nextTick(() => {
|
|
this.$nextTick(() => {
|
|
|
- console.log(`Deselecting user: ${user.nickName}`);
|
|
|
|
|
- this.$refs.insideTable.toggleRowSelection(user, false);
|
|
|
|
|
- });
|
|
|
|
|
|
|
+ console.log(`Deselecting user: ${user.nickName}`)
|
|
|
|
|
+ this.$refs.insideTable.toggleRowSelection(user, false)
|
|
|
|
|
+ })
|
|
|
}
|
|
}
|
|
|
- });
|
|
|
|
|
|
|
+ })
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
- // 外部人员搜索
|
|
|
|
|
|
|
+ // 外部人员搜索
|
|
|
filterOutsideTable() {
|
|
filterOutsideTable() {
|
|
|
- const query = this.outsideSearchQuery.trim().toLowerCase();
|
|
|
|
|
|
|
+ const query = this.outsideSearchQuery.trim().toLowerCase()
|
|
|
const filteredData = this.outsideTableDataOrign.filter(item =>
|
|
const filteredData = this.outsideTableDataOrign.filter(item =>
|
|
|
item.nickName.toLowerCase().includes(query)
|
|
item.nickName.toLowerCase().includes(query)
|
|
|
- );
|
|
|
|
|
- this.outsideTableData = filteredData;
|
|
|
|
|
|
|
+ )
|
|
|
|
|
+ this.outsideTableData = filteredData
|
|
|
|
|
|
|
|
// 如果输入框为空或null,回显选中状态
|
|
// 如果输入框为空或null,回显选中状态
|
|
|
if (!this.outsideSearchQuery) {
|
|
if (!this.outsideSearchQuery) {
|
|
@@ -821,21 +896,21 @@ export default {
|
|
|
|
|
|
|
|
const matchingUser = this.AllUserTable.find(u =>
|
|
const matchingUser = this.AllUserTable.find(u =>
|
|
|
u.userId == user.userId
|
|
u.userId == user.userId
|
|
|
- );
|
|
|
|
|
|
|
+ )
|
|
|
|
|
|
|
|
- console.log('Matching User:', matchingUser); // 输出匹配结果
|
|
|
|
|
|
|
+ console.log('Matching User:', matchingUser) // 输出匹配结果
|
|
|
if (matchingUser) {
|
|
if (matchingUser) {
|
|
|
this.$nextTick(() => {
|
|
this.$nextTick(() => {
|
|
|
- console.log(`Selecting user: ${user.nickName}`);
|
|
|
|
|
- this.$refs.outsideTable.toggleRowSelection(user, true);
|
|
|
|
|
- });
|
|
|
|
|
|
|
+ console.log(`Selecting user: ${user.nickName}`)
|
|
|
|
|
+ this.$refs.outsideTable.toggleRowSelection(user, true)
|
|
|
|
|
+ })
|
|
|
} else {
|
|
} else {
|
|
|
this.$nextTick(() => {
|
|
this.$nextTick(() => {
|
|
|
- console.log(`Deselecting user: ${user.nickName}`);
|
|
|
|
|
- this.$refs.outsideTable.toggleRowSelection(user, false);
|
|
|
|
|
- });
|
|
|
|
|
|
|
+ console.log(`Deselecting user: ${user.nickName}`)
|
|
|
|
|
+ this.$refs.outsideTable.toggleRowSelection(user, false)
|
|
|
|
|
+ })
|
|
|
}
|
|
}
|
|
|
- });
|
|
|
|
|
|
|
+ })
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
handleTicketClick(data) {
|
|
handleTicketClick(data) {
|
|
@@ -885,7 +960,7 @@ export default {
|
|
|
const data1 = {
|
|
const data1 = {
|
|
|
pages: 1,
|
|
pages: 1,
|
|
|
size: -1,
|
|
size: -1,
|
|
|
- machineryType: '工艺',
|
|
|
|
|
|
|
+ machineryType: '工艺'
|
|
|
}
|
|
}
|
|
|
listTechnology(data1).then((res) => {
|
|
listTechnology(data1).then((res) => {
|
|
|
console.log(res, 'technologyList')
|
|
console.log(res, 'technologyList')
|
|
@@ -898,12 +973,12 @@ export default {
|
|
|
},
|
|
},
|
|
|
// sop类型 el-radio
|
|
// sop类型 el-radio
|
|
|
handleSopchange(data) {
|
|
handleSopchange(data) {
|
|
|
- const sopType=this.sopTypeOption.find((item)=>item.label==data)
|
|
|
|
|
- const data1={
|
|
|
|
|
|
|
+ const sopType = this.sopTypeOption.find((item) => item.label == data)
|
|
|
|
|
+ const data1 = {
|
|
|
pages: 1,
|
|
pages: 1,
|
|
|
size: -1,
|
|
size: -1,
|
|
|
- machineryId:this.machineryId,
|
|
|
|
|
- sopType:sopType.value
|
|
|
|
|
|
|
+ machineryId: this.machineryId,
|
|
|
|
|
+ sopType: sopType.value
|
|
|
}
|
|
}
|
|
|
getIsMarsSopPage(data1).then((res) => {
|
|
getIsMarsSopPage(data1).then((res) => {
|
|
|
console.log(res, 'SopPage')
|
|
console.log(res, 'SopPage')
|
|
@@ -916,16 +991,16 @@ export default {
|
|
|
console.log(val)
|
|
console.log(val)
|
|
|
this.tabPosition = val
|
|
this.tabPosition = val
|
|
|
this.marsSopTitle = workstationName
|
|
this.marsSopTitle = workstationName
|
|
|
- this.workstationId=workstationId
|
|
|
|
|
|
|
+ this.workstationId = workstationId
|
|
|
if (workstationId) {
|
|
if (workstationId) {
|
|
|
const data = {
|
|
const data = {
|
|
|
pages: 1,
|
|
pages: 1,
|
|
|
size: -1,
|
|
size: -1,
|
|
|
workstationId: workstationId,
|
|
workstationId: workstationId,
|
|
|
- machineryType: '工艺',
|
|
|
|
|
|
|
+ machineryType: '工艺'
|
|
|
}
|
|
}
|
|
|
listTechnology(data).then((res) => {
|
|
listTechnology(data).then((res) => {
|
|
|
- console.log(res,'设备工艺---列表')
|
|
|
|
|
|
|
+ console.log(res, '设备工艺---列表')
|
|
|
this.technologyList = res.data.records
|
|
this.technologyList = res.data.records
|
|
|
})
|
|
})
|
|
|
// getIsMarsSopPage(data).then((res) => {
|
|
// getIsMarsSopPage(data).then((res) => {
|
|
@@ -934,10 +1009,10 @@ export default {
|
|
|
// })
|
|
// })
|
|
|
}
|
|
}
|
|
|
if (val == 'third') {
|
|
if (val == 'third') {
|
|
|
- this.selectedOption=''
|
|
|
|
|
- this.sopTypeOption=[]
|
|
|
|
|
- console.log(this.sopId,'this.sopId')
|
|
|
|
|
- if(this.sopId){
|
|
|
|
|
|
|
+ this.selectedOption = ''
|
|
|
|
|
+ this.sopTypeOption = []
|
|
|
|
|
+ console.log(this.sopId, 'this.sopId')
|
|
|
|
|
+ if (this.sopId) {
|
|
|
|
|
|
|
|
const data = {
|
|
const data = {
|
|
|
sopId: this.sopId
|
|
sopId: this.sopId
|
|
@@ -982,8 +1057,8 @@ export default {
|
|
|
})
|
|
})
|
|
|
selectSopTypeByMachineryId(selection.machineryId).then((res) => {
|
|
selectSopTypeByMachineryId(selection.machineryId).then((res) => {
|
|
|
console.log(res, 'SopTypeByMachineryId')
|
|
console.log(res, 'SopTypeByMachineryId')
|
|
|
- this.sopTypeOption=res.data.map((item) =>{
|
|
|
|
|
- return{
|
|
|
|
|
|
|
+ this.sopTypeOption = res.data.map((item) => {
|
|
|
|
|
+ return {
|
|
|
label: item.dictLabel,
|
|
label: item.dictLabel,
|
|
|
value: item.dictValue
|
|
value: item.dictValue
|
|
|
}
|
|
}
|
|
@@ -993,33 +1068,33 @@ export default {
|
|
|
// 添加内部人员
|
|
// 添加内部人员
|
|
|
addInside(row) {
|
|
addInside(row) {
|
|
|
if (row.stepIndex == '3') {
|
|
if (row.stepIndex == '3') {
|
|
|
- this.dialogForm.locker=''
|
|
|
|
|
- this.AllUserTable=[]
|
|
|
|
|
- this.newticketUserDTOList=[]
|
|
|
|
|
|
|
+ this.dialogForm.locker = ''
|
|
|
|
|
+ this.AllUserTable = []
|
|
|
|
|
+ this.newticketUserDTOList = []
|
|
|
this.open = true
|
|
this.open = true
|
|
|
|
|
|
|
|
- const roleId=this.dict.type.ticket_user_type.find((item)=>item.label=='jtlocker')//利用字典值来记录上锁人 共锁人 方便如果修改了值 直接系统更改
|
|
|
|
|
|
|
+ const roleId = this.dict.type.ticket_user_type.find((item) => item.label == 'jtlocker')//利用字典值来记录上锁人 共锁人 方便如果修改了值 直接系统更改
|
|
|
const query1 = {
|
|
const query1 = {
|
|
|
pageSize: 10000,
|
|
pageSize: 10000,
|
|
|
pageNum: 1,
|
|
pageNum: 1,
|
|
|
- workstationId:this.workstationId,
|
|
|
|
|
- roleId:roleId.value,
|
|
|
|
|
- unitId:9
|
|
|
|
|
|
|
+ workstationId: this.workstationId,
|
|
|
|
|
+ roleId: roleId.value,
|
|
|
|
|
+ unitId: 9
|
|
|
}
|
|
}
|
|
|
// 上锁人赋值 上锁人 共锁人都要遵循 属于当前工艺 当前作业负责人或者执行人的角色属性
|
|
// 上锁人赋值 上锁人 共锁人都要遵循 属于当前工艺 当前作业负责人或者执行人的角色属性
|
|
|
getUserList(query1).then((res) => {
|
|
getUserList(query1).then((res) => {
|
|
|
// 上锁人下拉数据
|
|
// 上锁人下拉数据
|
|
|
this.listLockerOption = res.rows.map((item) => ({
|
|
this.listLockerOption = res.rows.map((item) => ({
|
|
|
- label: item.nickName,
|
|
|
|
|
- value: item.userId
|
|
|
|
|
- }))
|
|
|
|
|
|
|
+ label: item.nickName,
|
|
|
|
|
+ value: item.userId
|
|
|
|
|
+ }))
|
|
|
})
|
|
})
|
|
|
- const roleIdColocker=this.dict.type.ticket_user_type.find((item)=>item.label=='jtcolocker')//利用字典值来记录上锁人 共锁人 方便如果修改了值 直接系统更改
|
|
|
|
|
|
|
+ const roleIdColocker = this.dict.type.ticket_user_type.find((item) => item.label == 'jtcolocker')//利用字典值来记录上锁人 共锁人 方便如果修改了值 直接系统更改
|
|
|
const query = {
|
|
const query = {
|
|
|
pageSize: 10000,
|
|
pageSize: 10000,
|
|
|
pageNum: 1,
|
|
pageNum: 1,
|
|
|
- workstationId:this.workstationId,
|
|
|
|
|
- roleId:roleIdColocker.value,
|
|
|
|
|
|
|
+ workstationId: this.workstationId,
|
|
|
|
|
+ roleId: roleIdColocker.value
|
|
|
}
|
|
}
|
|
|
// 共锁人赋值
|
|
// 共锁人赋值
|
|
|
getUserList(query).then((res) => {
|
|
getUserList(query).then((res) => {
|
|
@@ -1029,45 +1104,43 @@ export default {
|
|
|
this.outsideTableData = res.rows.filter((item) => item.unitId != '9')
|
|
this.outsideTableData = res.rows.filter((item) => item.unitId != '9')
|
|
|
|
|
|
|
|
// 获取已分配人员数据
|
|
// 获取已分配人员数据
|
|
|
- getJobTicketInfo(this.ticketId).then((res) => {
|
|
|
|
|
- const assignedUsers = res.data.jobTicketUserList || [];
|
|
|
|
|
- console.log(assignedUsers, '已分配人员');
|
|
|
|
|
- this.dialogForm.locker = assignedUsers
|
|
|
|
|
- .filter(item => item.userRole == 'jtlocker')
|
|
|
|
|
- .map(item => item.userName);
|
|
|
|
|
- const newUser=res.data.jobTicketUserList.filter((item) =>item.userRole == 'jtlocker')
|
|
|
|
|
- this.newticketUserDTOList=[...this.newticketUserDTOList,...newUser];
|
|
|
|
|
- // 更新内部和外部用户的选中状态
|
|
|
|
|
- this.$nextTick(() => {
|
|
|
|
|
- // 手动选中内部人员
|
|
|
|
|
- this.insideTableData.forEach((user) => {
|
|
|
|
|
- const isAssigned = assignedUsers.some(
|
|
|
|
|
- (assigned) =>
|
|
|
|
|
- assigned.userId == user.userId && assigned.userType == '0'&&assigned.userRole!=='jtlocker'
|
|
|
|
|
- );
|
|
|
|
|
- if (isAssigned) {
|
|
|
|
|
- this.$refs.insideTable.toggleRowSelection(user, true);
|
|
|
|
|
-
|
|
|
|
|
- }
|
|
|
|
|
- });
|
|
|
|
|
-
|
|
|
|
|
- // 手动选中外部人员
|
|
|
|
|
- this.outsideTableData.forEach((user) => {
|
|
|
|
|
- const isAssigned = assignedUsers.some(
|
|
|
|
|
- (assigned) =>
|
|
|
|
|
- assigned.userId == user.userId && assigned.userType == '1'&&assigned.userRole!=='jtlocker'
|
|
|
|
|
- );
|
|
|
|
|
- if (isAssigned) {
|
|
|
|
|
- this.$refs.outsideTable.toggleRowSelection(user, true);
|
|
|
|
|
-
|
|
|
|
|
- }
|
|
|
|
|
- });
|
|
|
|
|
- this.insideTableDataOrign = [...this.insideTableData];
|
|
|
|
|
- this.outsideTableDataOrign = [...this.outsideTableData];
|
|
|
|
|
- });
|
|
|
|
|
- });
|
|
|
|
|
|
|
+ getJobTicketInfo(this.ticketId).then((res) => {
|
|
|
|
|
+ const assignedUsers = res.data.jobTicketUserList || []
|
|
|
|
|
+ console.log(assignedUsers, '已分配人员')
|
|
|
|
|
+ this.dialogForm.locker = assignedUsers
|
|
|
|
|
+ .filter(item => item.userRole == 'jtlocker')
|
|
|
|
|
+ .map(item => item.userName)
|
|
|
|
|
+ const newUser = res.data.jobTicketUserList.filter((item) => item.userRole == 'jtlocker')
|
|
|
|
|
+ this.newticketUserDTOList = [...this.newticketUserDTOList, ...newUser]
|
|
|
|
|
+ // 更新内部和外部用户的选中状态
|
|
|
|
|
+ this.$nextTick(() => {
|
|
|
|
|
+ // 手动选中内部人员
|
|
|
|
|
+ this.insideTableData.forEach((user) => {
|
|
|
|
|
+ const isAssigned = assignedUsers.some(
|
|
|
|
|
+ (assigned) =>
|
|
|
|
|
+ assigned.userId == user.userId && assigned.userType == '0' && assigned.userRole !== 'jtlocker'
|
|
|
|
|
+ )
|
|
|
|
|
+ if (isAssigned) {
|
|
|
|
|
+ this.$refs.insideTable.toggleRowSelection(user, true)
|
|
|
|
|
+
|
|
|
|
|
+ }
|
|
|
|
|
+ })
|
|
|
|
|
|
|
|
|
|
+ // 手动选中外部人员
|
|
|
|
|
+ this.outsideTableData.forEach((user) => {
|
|
|
|
|
+ const isAssigned = assignedUsers.some(
|
|
|
|
|
+ (assigned) =>
|
|
|
|
|
+ assigned.userId == user.userId && assigned.userType == '1' && assigned.userRole !== 'jtlocker'
|
|
|
|
|
+ )
|
|
|
|
|
+ if (isAssigned) {
|
|
|
|
|
+ this.$refs.outsideTable.toggleRowSelection(user, true)
|
|
|
|
|
|
|
|
|
|
+ }
|
|
|
|
|
+ })
|
|
|
|
|
+ this.insideTableDataOrign = [...this.insideTableData]
|
|
|
|
|
+ this.outsideTableDataOrign = [...this.outsideTableData]
|
|
|
|
|
+ })
|
|
|
|
|
+ })
|
|
|
|
|
|
|
|
})
|
|
})
|
|
|
|
|
|
|
@@ -1092,12 +1165,12 @@ export default {
|
|
|
console.log(val, '上锁人chage')
|
|
console.log(val, '上锁人chage')
|
|
|
if (val) {
|
|
if (val) {
|
|
|
// 操作选中角色发生变化
|
|
// 操作选中角色发生变化
|
|
|
- this.newticketUserDTOList=[]
|
|
|
|
|
|
|
+ this.newticketUserDTOList = []
|
|
|
this.$set(this.dialogForm, this.dialogForm.locker, val)
|
|
this.$set(this.dialogForm, this.dialogForm.locker, val)
|
|
|
} else {
|
|
} else {
|
|
|
this.$set(this.dialogForm, this.dialogForm.locker, val)
|
|
this.$set(this.dialogForm, this.dialogForm.locker, val)
|
|
|
}
|
|
}
|
|
|
- this.$forceUpdate();
|
|
|
|
|
|
|
+ this.$forceUpdate()
|
|
|
const user = this.listLockerOption.find((item) => item.value == val)
|
|
const user = this.listLockerOption.find((item) => item.value == val)
|
|
|
|
|
|
|
|
if (user && this.dialogForm.locker !== '') {
|
|
if (user && this.dialogForm.locker !== '') {
|
|
@@ -1118,15 +1191,15 @@ export default {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
- handlelockerClear(){
|
|
|
|
|
|
|
+ handlelockerClear() {
|
|
|
this.newticketUserDTOList = []
|
|
this.newticketUserDTOList = []
|
|
|
- console.log(this.newticketUserDTOList, '清除后的用户');
|
|
|
|
|
|
|
+ console.log(this.newticketUserDTOList, '清除后的用户')
|
|
|
},
|
|
},
|
|
|
InSelectionChange(selection) {
|
|
InSelectionChange(selection) {
|
|
|
// 移除未选中的内部用户
|
|
// 移除未选中的内部用户
|
|
|
this.AllUserTable = this.AllUserTable.filter((user) =>
|
|
this.AllUserTable = this.AllUserTable.filter((user) =>
|
|
|
user.userType !== 0 || selection.some((item) => item.userId === user.userId)
|
|
user.userType !== 0 || selection.some((item) => item.userId === user.userId)
|
|
|
- );
|
|
|
|
|
|
|
+ )
|
|
|
|
|
|
|
|
// 添加新的内部用户
|
|
// 添加新的内部用户
|
|
|
selection.forEach((item) => {
|
|
selection.forEach((item) => {
|
|
@@ -1136,18 +1209,18 @@ export default {
|
|
|
userId: item.userId,
|
|
userId: item.userId,
|
|
|
userType: 0,
|
|
userType: 0,
|
|
|
userRole: 'jtcolocker'
|
|
userRole: 'jtcolocker'
|
|
|
- });
|
|
|
|
|
|
|
+ })
|
|
|
}
|
|
}
|
|
|
- });
|
|
|
|
|
|
|
+ })
|
|
|
|
|
|
|
|
- console.log(this.AllUserTable, '内部人员');
|
|
|
|
|
|
|
+ console.log(this.AllUserTable, '内部人员')
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
OutSelectionChange(selection) {
|
|
OutSelectionChange(selection) {
|
|
|
// 移除未选中的外部用户
|
|
// 移除未选中的外部用户
|
|
|
this.AllUserTable = this.AllUserTable.filter((user) =>
|
|
this.AllUserTable = this.AllUserTable.filter((user) =>
|
|
|
user.userType !== 1 || selection.some((item) => item.userId === user.userId)
|
|
user.userType !== 1 || selection.some((item) => item.userId === user.userId)
|
|
|
- );
|
|
|
|
|
|
|
+ )
|
|
|
|
|
|
|
|
// 添加新的外部用户
|
|
// 添加新的外部用户
|
|
|
selection.forEach((item) => {
|
|
selection.forEach((item) => {
|
|
@@ -1157,11 +1230,11 @@ export default {
|
|
|
userId: item.userId,
|
|
userId: item.userId,
|
|
|
userType: 1,
|
|
userType: 1,
|
|
|
userRole: 'jtcolocker'
|
|
userRole: 'jtcolocker'
|
|
|
- });
|
|
|
|
|
|
|
+ })
|
|
|
}
|
|
}
|
|
|
- });
|
|
|
|
|
|
|
+ })
|
|
|
|
|
|
|
|
- console.log(this.AllUserTable, '外部人员');
|
|
|
|
|
|
|
+ console.log(this.AllUserTable, '外部人员')
|
|
|
},
|
|
},
|
|
|
confirmAddUser() {
|
|
confirmAddUser() {
|
|
|
|
|
|
|
@@ -1206,7 +1279,7 @@ export default {
|
|
|
cancel() {
|
|
cancel() {
|
|
|
this.open = false
|
|
this.open = false
|
|
|
this.FiveDetailvisible = false
|
|
this.FiveDetailvisible = false
|
|
|
- this.EightDetailvisible=false
|
|
|
|
|
|
|
+ this.EightDetailvisible = false
|
|
|
},
|
|
},
|
|
|
// 作业票结束
|
|
// 作业票结束
|
|
|
finshJobticket() {
|
|
finshJobticket() {
|
|
@@ -1254,10 +1327,10 @@ export default {
|
|
|
})
|
|
})
|
|
|
} else if (row.stepIndex == '8') {
|
|
} else if (row.stepIndex == '8') {
|
|
|
let ticketId = this.ticketId
|
|
let ticketId = this.ticketId
|
|
|
- this.EightDetailvisible=true
|
|
|
|
|
|
|
+ this.EightDetailvisible = true
|
|
|
getStepEight(ticketId).then((res) => {
|
|
getStepEight(ticketId).then((res) => {
|
|
|
console.log(res, '第八步查看作业票数据')
|
|
console.log(res, '第八步查看作业票数据')
|
|
|
- this.AffectedTickets=res.data
|
|
|
|
|
|
|
+ this.AffectedTickets = res.data
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|