Commit 7424d640 authored by jingnan's avatar jingnan 👀

看板跳转代码暂存

parent 543fcb7e
...@@ -275,12 +275,24 @@ export default { ...@@ -275,12 +275,24 @@ export default {
default: () => null default: () => null
}, },
year: { year: {
type: String, type: [String, Number],
default: () => null
},
unitNo: {
type: [String, Number],
default: () => null default: () => null
}, },
activeName: { activeName: {
type: String, type: String,
default: () => null default: () => null
},
sqcdpParams: {
type: Object,
default: () => {
return {
query: {}
}
}
} }
}, },
data() { data() {
...@@ -319,8 +331,8 @@ export default { ...@@ -319,8 +331,8 @@ export default {
{ id: 2, dictKey: 'Red', dictValue: '出勤率小于90%' }, { id: 2, dictKey: 'Red', dictValue: '出勤率小于90%' },
{ id: 3, dictKey: 'null', dictValue: '出勤率大于90%' } { id: 3, dictKey: 'null', dictValue: '出勤率大于90%' }
] ]
}, }
unitNo: null // unitNo: null
} }
}, },
computed: { }, computed: { },
...@@ -337,12 +349,12 @@ export default { ...@@ -337,12 +349,12 @@ export default {
// 创建确认调用 // 创建确认调用
init() { init() {
this.$nextTick(() => { this.$nextTick(() => {
this.getData(this.year, this.month) // this.getData(this.year, this.month)
}) })
}, },
// 初始化日历 // 初始化日历
getData(year, month, unitNo) { getData(year, month, unitNo) {
this.unitNo = unitNo // this.unitNo = unitNo
this.day = [] this.day = []
this.enull = 0 this.enull = 0
if (year === null || month === null || year === undefined) return if (year === null || month === null || year === undefined) return
...@@ -369,12 +381,8 @@ export default { ...@@ -369,12 +381,8 @@ export default {
var data = [] var data = []
var sorties = '' var sorties = ''
try { try {
data = data = this.sqcdpParams.query.data
this.$parent.$parent.$parent.$parent.$parent.$parent.sqcdpParams.query sorties = this.sqcdpParams.query.sorties
.data
sorties =
this.$parent.$parent.$parent.$parent.$parent.$parent.sqcdpParams.query
.sorties
} catch (err) { } catch (err) {
console.info(err) console.info(err)
} }
...@@ -388,7 +396,7 @@ export default { ...@@ -388,7 +396,7 @@ export default {
this.enull = date - 1 this.enull = date - 1
} }
this.loading = false this.loading = false
this.$parent.$parent.$parent.$parent.sqcdpParams.query.sorties = false this.sqcdpParams.query.sorties = false
} else { } else {
const params = { const params = {
searchItems: { searchItems: {
...@@ -418,11 +426,11 @@ export default { ...@@ -418,11 +426,11 @@ export default {
} }
] ]
} }
if (unitNo && unitNo !== '工厂') { if (this.unitNo && this.unitNo !== '工厂') {
params.searchItems.items.push({ params.searchItems.items.push({
fieldName: 'unitNo', fieldName: 'unitNo',
operator: 'EQ', operator: 'EQ',
value: unitNo value: this.unitNo
}) })
} else { } else {
params.searchItems.items.push({ params.searchItems.items.push({
......
...@@ -57,8 +57,16 @@ export default { ...@@ -57,8 +57,16 @@ export default {
default: () => [] default: () => []
}, },
year: { year: {
type: String, type: [String, Number],
default: () => null default: () => null
},
sqcdpParams: {
type: Object,
default: () => {
return {
query: {}
}
}
} }
}, },
data() { data() {
...@@ -144,18 +152,18 @@ export default { ...@@ -144,18 +152,18 @@ export default {
}) })
}).catch(err => console.log(err)).finally(() => { }).catch(err => console.log(err)).finally(() => {
}).finally(() => { }).finally(() => {
this.stance = '工厂'
// var serialNumber = false
// try {
// serialNumber = this.$parent.$parent.$parent.$parent.sqcdpParams.query.serialNumber
// } catch (err) {
// console.info(err)
// }
// if (serialNumber) {
// this.stance = serialNumber
// } else {
// this.stance = '工厂' // this.stance = '工厂'
// } let serialNumber = false
try {
serialNumber = this.sqcdpParams.query.serialNumber || '工厂'
} catch (err) {
console.info(err)
}
if (serialNumber) {
this.stance = serialNumber
} else {
this.stance = '工厂'
}
}) })
}, },
// 返回站位名称 // 返回站位名称
......
<!-- <!--
* @Author: ljm * @Author: ljm
* @Date: 2021-06-22 * @Date: 2021-06-22
* @LastEditTime: * @LastEditTime: 2024-08-07 16:23:30
* @Description: sqcdp维护 * @Description: sqcdp维护
* @FilePath: applications/dee-mes/src/views/mes/baseData/sqcdp/index.vue * @FilePath: applications/dee-mes/src/views/mes/baseData/sqcdp/index.vue
--> -->
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
<section class="wordCalendar"> <section class="wordCalendar">
<Header <Header
ref="header" ref="header"
:sqcdp-params="sqcdpParams"
:year-data="yearData" :year-data="yearData"
:year="year" :year="year"
@getMonth="handleMonth" @getMonth="handleMonth"
...@@ -17,19 +18,19 @@ ...@@ -17,19 +18,19 @@
/> />
<el-tabs v-model="activeName" type="card" @tab-click="tabClick"> <el-tabs v-model="activeName" type="card" @tab-click="tabClick">
<el-tab-pane label="S(安全)" name="S"> <el-tab-pane label="S(安全)" name="S">
<Calender ref="calenderS" :active-name="activeName" :month="month" :year="year" /> <Calender ref="calenderS" :sqcdp-params="sqcdpParams" :unit-no="unitNo" :active-name="activeName" :month="month" :year="year" />
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="Q(质量)" name="Q"> <el-tab-pane label="Q(质量)" name="Q">
<Calender ref="calenderQ" :active-name="activeName" :month="month" :year="year" /> <Calender ref="calenderQ" :sqcdp-params="sqcdpParams" :unit-no="unitNo" :active-name="activeName" :month="month" :year="year" />
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="C(成本)" name="C"> <el-tab-pane label="C(成本)" name="C">
<Calender ref="calenderC" :active-name="activeName" :month="month" :year="year" /> <Calender ref="calenderC" :sqcdp-params="sqcdpParams" :unit-no="unitNo" :active-name="activeName" :month="month" :year="year" />
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="D(进度)" name="D"> <el-tab-pane label="D(进度)" name="D">
<Calender ref="calenderD" :active-name="activeName" :month="month" :year="year" /> <Calender ref="calenderD" :sqcdp-params="sqcdpParams" :unit-no="unitNo" :active-name="activeName" :month="month" :year="year" />
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="P(人员)" name="P"> <el-tab-pane label="P(人员)" name="P">
<Calender ref="calenderP" :active-name="activeName" :month="month" :year="year" /> <Calender ref="calenderP" :sqcdp-params="sqcdpParams" :unit-no="unitNo" :active-name="activeName" :month="month" :year="year" />
</el-tab-pane> </el-tab-pane>
</el-tabs> </el-tabs>
<!-- <Calender ref="calender" :unit-no="unitNo" :month="month" :year="year" /> --> <!-- <Calender ref="calender" :unit-no="unitNo" :month="month" :year="year" /> -->
...@@ -49,6 +50,16 @@ export default { ...@@ -49,6 +50,16 @@ export default {
Header, Header,
Calender Calender
}, },
props: {
sqcdpParams: {
type: Object,
default: () => {
return {
query: {}
}
}
}
},
data() { data() {
return { return {
activeName: 'S', activeName: 'S',
...@@ -59,7 +70,9 @@ export default { ...@@ -59,7 +70,9 @@ export default {
} }
}, },
mounted() { mounted() {
if (!this.sqcdpParams.name) {
this.initYear() this.initYear()
}
}, },
created() {}, created() {},
methods: { methods: {
...@@ -72,7 +85,9 @@ export default { ...@@ -72,7 +85,9 @@ export default {
this.selectTab($event.name) this.selectTab($event.name)
}, },
selectTab(activeName) { selectTab(activeName) {
this.$nextTick(() => {
this.$refs['calender' + activeName].getData(this.year, this.month, this.unitNo) this.$refs['calender' + activeName].getData(this.year, this.month, this.unitNo)
})
}, },
// 年份下拉框触发 // 年份下拉框触发
handleYear(year) { handleYear(year) {
...@@ -94,26 +109,25 @@ export default { ...@@ -94,26 +109,25 @@ export default {
post('/FactoryCalendar/getAllFactoryYear') post('/FactoryCalendar/getAllFactoryYear')
.then((res) => { .then((res) => {
this.yearData = res.items.sort() this.yearData = res.items.sort()
this.year = res.items[0] this.year = new Date().getFullYear()
this.month = new Date().getMonth() + 1 this.month = new Date().getMonth() + 1
}) })
.catch((err) => console.log(err)) .catch((err) => console.log(err))
.finally(() => { .finally(() => {
let name = ''
let serialNumber = ''
try {
name = this.sqcdpParams.query.name
serialNumber = this.sqcdpParams.query.serialNumber
} catch (err) {
console.info(err)
}
if (name) {
this.activeName = name
this.handleStance(serialNumber)
} else {
this.$refs['calender' + this.activeName].getData(this.year, this.month, this.unitNo) this.$refs['calender' + this.activeName].getData(this.year, this.month, this.unitNo)
}
// var name = ''
// var serialNumber = ''
// try {
// name = this.$parent.$parent.$parent.sqcdpParams.query.name
// serialNumber = this.$parent.$parent.$parent.sqcdpParams.query.serialNumber
// } catch (err) {
// console.info(err)
// }
// if (name) {
// this.activeName = name
// this.handleStance(serialNumber)
// } else {
// }
}) })
} }
......
...@@ -1901,7 +1901,7 @@ ...@@ -1901,7 +1901,7 @@
@click="isFullClick" @click="isFullClick"
> >
</div> </div>
<SQCDPDialog ref="SQCDPDialog" /> <SQCDPDialog ref="SQCDPDialog" :sqcdp-params="sqcdpParams" />
<ExpireWarningDialog ref="ExpireWarningDialog" /> <ExpireWarningDialog ref="ExpireWarningDialog" />
<SummaryOfStationMissingPartsDialog <SummaryOfStationMissingPartsDialog
ref="SummaryOfStationMissingPartsDialog" ref="SummaryOfStationMissingPartsDialog"
...@@ -2484,7 +2484,8 @@ export default { ...@@ -2484,7 +2484,8 @@ export default {
storageExpireWarningParams: {}, storageExpireWarningParams: {},
summaryOfStationMissingPartsParams: {}, summaryOfStationMissingPartsParams: {},
siteProblemManagementSummaryParams: {}, siteProblemManagementSummaryParams: {},
actionitemsParams: {} actionitemsParams: {},
sqcdpParams: {}
} }
}, },
computed: { computed: {
...@@ -2891,10 +2892,6 @@ export default { ...@@ -2891,10 +2892,6 @@ export default {
}) })
}, },
routerWordCalendar(name) { routerWordCalendar(name) {
if (name) {
console.log('跳转暂时未做,需要做的时候删除这段代码!')
return
}
let data = [] let data = []
switch (name) { switch (name) {
case 'S': case 'S':
...@@ -2943,6 +2940,7 @@ export default { ...@@ -2943,6 +2940,7 @@ export default {
query: { query: {
name: name, name: name,
sorties: this.info.aircraftSorties.defCode, sorties: this.info.aircraftSorties.defCode,
serialNumber: this.$route.query.serialNumber,
data: data data: data
} }
} }
......
...@@ -10,28 +10,59 @@ ...@@ -10,28 +10,59 @@
@close="close" @close="close"
@opened="opened" @opened="opened"
> >
JobPlanExecutionQuery <!-- <JobPlanExecutionQuery /> --> <dee-as-com
ref="table"
class="list-table"
:lay-config="cmpOptions"
/>
</el-dialog> </el-dialog>
</template> </template>
<script> <script>
// import JobPlanExecutionQuery from '@/views/mes/physicalQualityAndConfiguratioCnontrol/jobPlanExecutionSummary'
export default { export default {
name: 'JobPlanExecutionQueryDialog', name: 'JobPlanExecutionQueryDialog',
components: { components: {
// JobPlanExecutionQuery
}, },
props: {}, props: {
jobPlanExecutionQueryParams: {
type: Object,
default: () => {}
}
},
data() { data() {
return { return {
visible: false visible: false,
cmpOptions: { typeName: 'JoExecutePlan', layKey: 'JoExecutePlanTable' }
} }
}, },
computed: {}, computed: {},
created() {}, created() {},
methods: { methods: {
opened() { opened() {
this.$children[0].$children[0].getAirModelList() const extraParams = [
// this.$parent.JobPlanExecutionQueryParams = {} {
'fieldName': 'joExecutePlan.planState',
'operator': 'IN',
'value': this.jobPlanExecutionQueryParams.query.planStateCode
},
{
'fieldName': 'planeType',
'operator': 'EQ',
'value': this.jobPlanExecutionQueryParams.query.model
},
{
'fieldName': 'sorties',
'operator': 'EQ',
'value': this.jobPlanExecutionQueryParams.query.sorties
},
{
'fieldName': 'positionNumber',
'operator': 'LIKE',
'value': this.jobPlanExecutionQueryParams.query.serialNumber
}
]
setTimeout(() => {
this.$refs.table.$refs.asCom.getData(extraParams)
}, 500)
}, },
close() { close() {
this.visible = false this.visible = false
......
...@@ -11,17 +11,22 @@ ...@@ -11,17 +11,22 @@
@close="close" @close="close"
@opened="opened" @opened="opened"
> >
<!-- <SQCDP /> -->SQCDP <SQCDP ref="SQCDP" :sqcdp-params="sqcdpParams" />
</el-dialog> </el-dialog>
</template> </template>
<script> <script>
// import SQCDP from '@/views/mes/baseData/sqcdp/index.vue' import SQCDP from '../../Sqcdp'
export default { export default {
name: 'SQCDPDialog', name: 'SQCDPDialog',
components: { components: {
// SQCDP SQCDP
},
props: {
sqcdpParams: {
type: Object,
default: () => {}
}
}, },
props: { },
data() { data() {
return { return {
visible: false visible: false
...@@ -32,10 +37,10 @@ export default { ...@@ -32,10 +37,10 @@ export default {
created() {}, created() {},
methods: { methods: {
opened() { opened() {
this.$children[0].$children[0].initYear() this.$refs.SQCDP.initYear()
}, },
close() { close() {
this.$parent.sqcdpParams = {} // this.$parent.sqcdpParams = {}
this.visible = false this.visible = false
} }
} }
...@@ -46,6 +51,7 @@ export default { ...@@ -46,6 +51,7 @@ export default {
position: absolute; position: absolute;
.el-dialog__header{ .el-dialog__header{
text-align: center; text-align: center;
// background: linear-gradient(90deg, #2F70A4 0%, #4E85A3 64%, #55A781 100%);
} }
.el-dialog { .el-dialog {
max-height:100%; max-height:100%;
......
...@@ -11,20 +11,28 @@ ...@@ -11,20 +11,28 @@
@close="close" @close="close"
@opened="opened" @opened="opened"
> >
SiteProblemManagementSummary<!-- <SiteProblemManagementSummary /> --> <dee-as-com
ref="table"
class="list-table"
:lay-config="cmpOptions"
/>
</el-dialog> </el-dialog>
</template> </template>
<script> <script>
// import SiteProblemManagementSummary from '@/views/mes/physicalQualityAndConfiguratioCnontrol/siteProblemManagementSummary/index.vue'
export default { export default {
name: 'SQCDPDialog', name: 'SiteProblemManagementSummary',
components: { components: {
// SiteProblemManagementSummary
}, },
props: { }, props: {
siteProblemManagementSummaryParams: {
type: Object,
default: () => {}
}
},
data() { data() {
return { return {
visible: false visible: false,
cmpOptions: { typeName: 'SpotProblem', layKey: 'defaultResultCopy' }
} }
}, },
computed: { computed: {
...@@ -32,11 +40,34 @@ export default { ...@@ -32,11 +40,34 @@ export default {
created() {}, created() {},
methods: { methods: {
opened() { opened() {
this.$children[0].$children[0].init() const extraParams =
this.$parent.siteProblemManagementSummaryParams = {} [
{
'fieldName': 'standPosition',
'operator': 'EQ',
'value': this.siteProblemManagementSummaryParams.query.serialNumber
},
{
'fieldName': 'sptype',
'operator': 'LIKE',
'value': this.siteProblemManagementSummaryParams.query.name
},
{
'fieldName': 'airModel',
'operator': 'EQ',
'value': this.siteProblemManagementSummaryParams.query.model
},
{
'fieldName': 'sorties',
'operator': 'EQ',
'value': this.siteProblemManagementSummaryParams.query.sorties
}
]
setTimeout(() => {
this.$refs.table.$refs.asCom.getData(extraParams)
}, 500)
}, },
close() { close() {
this.$parent.siteProblemManagementSummaryParams = {}
this.visible = false this.visible = false
} }
} }
......
...@@ -1978,9 +1978,9 @@ ...@@ -1978,9 +1978,9 @@
> >
</div> </div>
<JobPlanExecutionQueryDialog ref="JobPlanExecutionQueryDialog" /> <JobPlanExecutionQueryDialog ref="JobPlanExecutionQueryDialog" />
<SQCDPDialog ref="SQCDPDialog" /> <SQCDPDialog ref="SQCDPDialog" :sqcdp-params="sqcdpParams" />
<SummaryOfStationMissingPartsDialog ref="SummaryOfStationMissingPartsDialog" /> <SummaryOfStationMissingPartsDialog ref="SummaryOfStationMissingPartsDialog" />
<SiteProblemManagementSummaryDialog ref="SiteProblemManagementSummaryDialog" /> <SiteProblemManagementSummaryDialog ref="SiteProblemManagementSummaryDialog" :site-problem-management-summary-params="siteProblemManagementSummaryParams" />
</div> </div>
</template> </template>
...@@ -1988,7 +1988,6 @@ ...@@ -1988,7 +1988,6 @@
import * as echarts from 'echarts' import * as echarts from 'echarts'
import $ from 'jquery' import $ from 'jquery'
import elementResizeDetectorMaker from 'element-resize-detector' import elementResizeDetectorMaker from 'element-resize-detector'
import JobPlanExecutionQueryDialog from './Dialog/JobPlanExecutionQueryDialog.vue' import JobPlanExecutionQueryDialog from './Dialog/JobPlanExecutionQueryDialog.vue'
import SQCDPDialog from './Dialog/SQCDPDialog.vue' import SQCDPDialog from './Dialog/SQCDPDialog.vue'
import SummaryOfStationMissingPartsDialog from './Dialog/SummaryOfStationMissingPartsDialog.vue' import SummaryOfStationMissingPartsDialog from './Dialog/SummaryOfStationMissingPartsDialog.vue'
...@@ -2630,10 +2629,6 @@ export default { ...@@ -2630,10 +2629,6 @@ export default {
const chartDom = document.getElementById('superviseEchart') const chartDom = document.getElementById('superviseEchart')
const myChart = echarts.init(chartDom) const myChart = echarts.init(chartDom)
myChart.on('click', function(params) { myChart.on('click', function(params) {
if (params) {
console.log('跳转暂时未做,需要做的时候删除这段代码!')
return
}
that.routerSiteProblemManagementSummary(params.name) that.routerSiteProblemManagementSummary(params.name)
}) })
myChart.setOption(superviseOption) myChart.setOption(superviseOption)
...@@ -2723,29 +2718,59 @@ export default { ...@@ -2723,29 +2718,59 @@ export default {
* sqcdp维护 * sqcdp维护
*/ */
routerWordCalendar(name) { routerWordCalendar(name) {
if (name) { let data = []
console.log('跳转暂时未做,需要做的时候删除这段代码!') switch (name) {
return case 'S':
data = this.sqcdpData.S.map((p) => {
return {
calendar: p.date.substr(5, 5),
srisk: p.color === 'Green' ? 'null' : p.color
}
})
break
case 'Q':
data = this.sqcdpData.Q.map((p) => {
return {
calendar: p.date.substr(5, 5),
qrisk: p.color === 'Green' ? 'null' : p.color
}
})
break
case 'C':
data = this.sqcdpData.C.map((p) => {
return {
calendar: p.date.substr(5, 5),
crisk: p.color === 'Green' ? 'null' : p.color
}
})
break
case 'D':
data = this.sqcdpData.D.map((p) => {
return {
calendar: p.date.substr(5, 5),
drisk: p.color === 'Green' ? 'null' : p.color
}
})
break
case 'P':
data = this.sqcdpData.P.map((p) => {
return {
calendar: p.date.substr(5, 5),
prisk: p.color === 'Green' ? 'null' : p.color
}
})
break
} }
this.sqcdpParams = { this.sqcdpParams = {
name: 'sqcdpMaintain', name: 'sqcdpMaintain',
query: { query: {
name: name, name: name,
sorties: false, sorties: this.info.aircraftSorties.defCode,
serialNumber: this.info.serialNumber, serialNumber: this.$route.query.serialNumber,
data: [] data: data
} }
} }
this.$refs.SQCDPDialog.visible = true this.$refs.SQCDPDialog.visible = true
// this.$router.push({
// name: 'sqcdpMaintain',
// query: {
// name: name,
// sorties: false,
// serialNumber: this.info.serialNumber,
// data: []
// }
// })
}, },
/** /**
* 路由跳转作业计划执行查询 * 路由跳转作业计划执行查询
...@@ -2754,7 +2779,7 @@ export default { ...@@ -2754,7 +2779,7 @@ export default {
this.JobPlanExecutionQueryParams = { this.JobPlanExecutionQueryParams = {
name: 'jobPlanExecutionSummary', name: 'jobPlanExecutionSummary',
query: { query: {
serialNumber: this.$route.query.planId, serialNumber: this.$route.query.serialNumber,
// planId: this.$route.query.planId, // planId: this.$route.query.planId,
model: this.$route.query.model, model: this.$route.query.model,
sorties: this.$route.query.sorties, sorties: this.$route.query.sorties,
...@@ -2771,9 +2796,11 @@ export default { ...@@ -2771,9 +2796,11 @@ export default {
this.siteProblemManagementSummaryParams = { this.siteProblemManagementSummaryParams = {
name: 'siteProblemManagementSummary', name: 'siteProblemManagementSummary',
query: { query: {
serialNumber: this.$route.query.serialNumber,
name: name, name: name,
planId: this.$route.query.planId, planId: this.$route.query.planId,
sorties: null// this.$route.query.sorties model: this.$route.query.model,
sorties: this.$route.query.sorties
} }
} }
this.$refs.SiteProblemManagementSummaryDialog.visible = true this.$refs.SiteProblemManagementSummaryDialog.visible = true
......
...@@ -103,7 +103,7 @@ ...@@ -103,7 +103,7 @@
@click="isFullClick" @click="isFullClick"
> >
</div> </div>
<JobPlanExecutionQueryDialog ref="JobPlanExecutionQueryDialog" /> <JobPlanExecutionQueryDialog ref="JobPlanExecutionQueryDialog" :job-plan-execution-query-params="JobPlanExecutionQueryParams" />
</div> </div>
</template> </template>
...@@ -332,6 +332,7 @@ export default { ...@@ -332,6 +332,7 @@ export default {
query: { query: {
title: '站位看板', title: '站位看板',
planId: item.id, planId: item.id,
serialNumber: item.serialNumber,
model: this.sortiesRow.aircraftType.defName, model: this.sortiesRow.aircraftType.defName,
sorties: this.sortiesRow.aircraftSorties.defCode, sorties: this.sortiesRow.aircraftSorties.defCode,
data: JSON.stringify(item) data: JSON.stringify(item)
...@@ -342,14 +343,10 @@ export default { ...@@ -342,14 +343,10 @@ export default {
* 路由跳转作业计划执行查询 * 路由跳转作业计划执行查询
*/ */
routerJobPlanExecutionSummary(planStateCode) { routerJobPlanExecutionSummary(planStateCode) {
if (planStateCode) {
console.log('跳转暂时未做,需要做的时候删除这段代码!')
return
}
const params = { const params = {
name: 'jobPlanExecutionSummary', name: 'jobPlanExecutionSummary',
query: { query: {
serialNumber: this.stationRow.id, serialNumber: this.stationRow.serialNumber,
model: this.sortiesRow.aircraftType.defName, model: this.sortiesRow.aircraftType.defName,
sorties: this.sortiesRow.aircraftSorties.defCode, sorties: this.sortiesRow.aircraftSorties.defCode,
planStateCode: false planStateCode: false
...@@ -357,25 +354,25 @@ export default { ...@@ -357,25 +354,25 @@ export default {
} }
switch (planStateCode) { switch (planStateCode) {
case '架次总数': case '架次总数':
params.query.planStateCode = ['执行中', '已派工', '已下发', '已下达', '完工', '未下达'] params.query.planStateCode = ['Run', 'Delivery', 'Issued', 'Yes', 'Finish', 'Not', 'Paused', 'Reserved', 'TF_ZF']
params.query.serialNumber = null params.query.serialNumber = null
break break
case '架次已开工': case '架次已开工':
params.query.planStateCode = ['执行中', '已派工', '已下发'] params.query.planStateCode = ['Run', 'Delivery', 'Issued']
params.query.serialNumber = null params.query.serialNumber = null
break break
case '架次已完工': case '架次已完工':
params.query.planStateCode = ['完工'] params.query.planStateCode = ['Finish']
params.query.serialNumber = null params.query.serialNumber = null
break break
case '站位总数': case '站位总数':
params.query.planStateCode = ['执行中', '已派工', '已下发', '已下达', '完工', '未下达'] params.query.planStateCode = ['Run', 'Delivery', 'Issued', 'Yes', 'Finish', 'Not', 'Paused', 'Reserved', 'TF_ZF']
break break
case '站位已开工': case '站位已开工':
params.query.planStateCode = ['执行中', '已派工', '已下发'] params.query.planStateCode = ['Run', 'Delivery', 'Issued']
break break
case '站位已完工': case '站位已完工':
params.query.planStateCode = ['完工'] params.query.planStateCode = ['Finish']
break break
default: default:
params.query.planStateCode = false params.query.planStateCode = false
...@@ -395,6 +392,7 @@ export default { ...@@ -395,6 +392,7 @@ export default {
path: '/page/1365d099-837a-4a7d-8e61-5a59eb8d75d4', path: '/page/1365d099-837a-4a7d-8e61-5a59eb8d75d4',
query: { query: {
title: '飞机组装总体站位看板', title: '飞机组装总体站位看板',
serialNumber: this.stationRow.serialNumber,
model: this.sortiesRow.aircraftType.defName, model: this.sortiesRow.aircraftType.defName,
sorties: this.sortiesRow.aircraftSorties.defCode, sorties: this.sortiesRow.aircraftSorties.defCode,
data: JSON.stringify(data) data: JSON.stringify(data)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment