Commit ed46c1fc authored by jingnan's avatar jingnan 👀

看板跳Sqcdp维护界面修改

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