Commit f84c2d7f authored by jingnan's avatar jingnan 👀

看板跳Sqcdp维护界面修改

parent 08463dba
...@@ -355,15 +355,15 @@ export default { ...@@ -355,15 +355,15 @@ export default {
}, },
// 初始化日历 // 初始化日历
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
var date = null let date = null
date = new Date(`${year}-${month}-1`).getDay() date = new Date(`${year}-${month}-1`).getDay()
var month1 = null let month1 = null
var month2 = null let month2 = null
var year2 = year let year2 = year
if (month <= 9) { if (month <= 9) {
month1 = '0' + month month1 = '0' + month
month2 = '0' + (month + 1) month2 = '0' + (month + 1)
...@@ -379,8 +379,8 @@ export default { ...@@ -379,8 +379,8 @@ export default {
month2 = month + 1 month2 = month + 1
} }
this.loading = true this.loading = true
var data = [] let data = []
var sorties = '' let sorties = ''
try { try {
data = this.sqcdpParams.query.data data = this.sqcdpParams.query.data
sorties = this.sqcdpParams.query.sorties sorties = this.sqcdpParams.query.sorties
...@@ -397,7 +397,7 @@ export default { ...@@ -397,7 +397,7 @@ export default {
this.enull = date - 1 this.enull = date - 1
} }
this.loading = false this.loading = false
this.sqcdpParams.query.sorties = false // this.sqcdpParams.query.sorties = false
} else { } else {
const params = { const params = {
searchItems: { searchItems: {
...@@ -484,7 +484,7 @@ export default { ...@@ -484,7 +484,7 @@ export default {
}, },
// /风险颜色修改 // /风险颜色修改
selectClasses(item, index) { selectClasses(item, index) {
var params = {} let params = {}
switch (this.activeName) { switch (this.activeName) {
case 'S': case 'S':
params = { params = {
...@@ -538,7 +538,7 @@ export default { ...@@ -538,7 +538,7 @@ export default {
}, },
// 备注 // 备注
rmark(item, index) { rmark(item, index) {
var params = {} let params = {}
switch (this.activeName) { switch (this.activeName) {
case 'S': case 'S':
params = { params = {
......
...@@ -2761,7 +2761,7 @@ export default { ...@@ -2761,7 +2761,7 @@ export default {
name: 'sqcdpMaintain', name: 'sqcdpMaintain',
query: { query: {
name: name, name: name,
sorties: this.info.aircraftSorties.defCode, sorties: false,
serialNumber: this.$route.query.serialNumber, serialNumber: this.$route.query.serialNumber,
data: data data: 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