parent
319ab0763c
commit
2ccc2e4ae2
@ -1,46 +1,65 @@
|
||||
export const mySortChange = {
|
||||
created() {
|
||||
console.log('混入');
|
||||
created() {
|
||||
console.log('混入');
|
||||
},
|
||||
methods: {
|
||||
mySortChange(e) {
|
||||
this.sortableshowDaty = e
|
||||
this.form1.pzrqSort = ""
|
||||
this.form1.pzyxqSort = ""
|
||||
this.form1.zcrszshiSort = ""
|
||||
console.log(e.order);
|
||||
let indextype = e.order == "ascending" ? 1 : e.order == "descending" ? 2 : ""
|
||||
if (e.column.label == "批准日期") {
|
||||
this.form1.pzrqSort = indextype
|
||||
}
|
||||
if (e.column.label == "批准有效期至") {
|
||||
this.form1.pzyxqSort = indextype
|
||||
}
|
||||
if (e.column.label == "所在地") {
|
||||
this.form1.zcrszshiSort = indextype
|
||||
}
|
||||
this.searchList()
|
||||
},
|
||||
methods: {
|
||||
mySortChange(e) {
|
||||
this.sortableshowDaty = e
|
||||
this.form1.pzrqSort = ""
|
||||
this.form1.pzyxqSort = ""
|
||||
this.form1.zcrszshiSort = ""
|
||||
console.log(e.order);
|
||||
let indextype = e.order == "ascending" ? 1 : e.order == "descending" ? 2 : ""
|
||||
if (e.column.label == "批准日期") {
|
||||
this.form1.pzrqSort = indextype
|
||||
}
|
||||
if (e.column.label == "批准有效期至") {
|
||||
this.form1.pzyxqSort = indextype
|
||||
}
|
||||
if (e.column.label == "所在地") {
|
||||
this.form1.zcrszshiSort = indextype
|
||||
}
|
||||
this.searchList()
|
||||
},
|
||||
mydataFn() {
|
||||
if (this.$refs.mydata.pzrqStartTime) {
|
||||
this.form1.pzrqStart = this.$refs.mydata.pzrqStartTime[0]
|
||||
this.form1.pzrqEnd = this.$refs.mydata.pzrqStartTime[1]
|
||||
} else {
|
||||
this.$refs.mydata.form1.pzrqStart = ""
|
||||
this.$refs.mydata.form1.pzrqEnd = ""
|
||||
}
|
||||
if (this.$refs.mydata.yppzwhyxqStartTime) {
|
||||
this.form1.pzyxqStart = this.$refs.mydata.yppzwhyxqStartTime[0]
|
||||
this.form1.pzyxqEnd = this.$refs.mydata.yppzwhyxqStartTime[1]
|
||||
} else {
|
||||
this.form1.pzyxqStart = ""
|
||||
this.form1.pzyxqEnd = ""
|
||||
}
|
||||
// this.searchList()
|
||||
},
|
||||
mydataFnqingkong(){
|
||||
this.$refs.mydata.pzrqStartTime = ""
|
||||
this.$refs.mydata.yppzwhyxqStartTime = ""
|
||||
}
|
||||
mydataFn() {
|
||||
if (this.$refs.mydata.pzrqStartTime) {
|
||||
this.form1.pzrqStart = this.$refs.mydata.pzrqStartTime[0]
|
||||
this.form1.pzrqEnd = this.$refs.mydata.pzrqStartTime[1]
|
||||
} else {
|
||||
this.$refs.mydata.form1.pzrqStart = ""
|
||||
this.$refs.mydata.form1.pzrqEnd = ""
|
||||
}
|
||||
if (this.$refs.mydata.yppzwhyxqStartTime) {
|
||||
this.form1.pzyxqStart = this.$refs.mydata.yppzwhyxqStartTime[0]
|
||||
this.form1.pzyxqEnd = this.$refs.mydata.yppzwhyxqStartTime[1]
|
||||
} else {
|
||||
this.form1.pzyxqStart = ""
|
||||
this.form1.pzyxqEnd = ""
|
||||
}
|
||||
// this.searchList()
|
||||
},
|
||||
mydataFnqingkong() {
|
||||
this.$refs.mydata.pzrqStartTime = ""
|
||||
this.$refs.mydata.yppzwhyxqStartTime = ""
|
||||
},
|
||||
isdishi(type) {
|
||||
let cities = {
|
||||
210100000000: '沈阳市',
|
||||
210200000000: '大连市',
|
||||
210300000000: '鞍山市',
|
||||
210400000000: '抚顺市',
|
||||
210500000000: '本溪市',
|
||||
210600000000: '丹东市',
|
||||
210700000000: '锦州市',
|
||||
210800000000: '营口市',
|
||||
210900000000: '阜新市',
|
||||
211000000000: '辽阳市',
|
||||
211100000000: '盘锦市',
|
||||
211200000000: '铁岭市',
|
||||
211300000000: '朝阳市',
|
||||
211400000000: '葫芦岛市'
|
||||
}
|
||||
return cities[type] || "外地"
|
||||
}
|
||||
};
|
||||
}
|
||||
};
|
Loading…
Reference in new issue