|
@@ -156,7 +156,7 @@ export default {
|
|
|
computed: {
|
|
|
...mapGetters(['floorSelect']),
|
|
|
},
|
|
|
- props: ['smsxt', 'diff', 'tabLabel','size'],
|
|
|
+ props: ['smsxt', 'diff', 'tabLabel', 'size', 'assetnum'],
|
|
|
methods: {
|
|
|
//序号的方法
|
|
|
indexMethod(index) {
|
|
@@ -203,8 +203,8 @@ export default {
|
|
|
getParams.data.wotjyssjStartDate = this.real[0] + '000000'
|
|
|
getParams.data.wotjyssjEndDate = this.real[1] + '000000'
|
|
|
}
|
|
|
- if(this.source && this.source != '全部'){
|
|
|
- getParams.data.bxfwlymc = this.source
|
|
|
+ if (this.source && this.source != '全部') {
|
|
|
+ getParams.data.bxfwlymc = this.source
|
|
|
}
|
|
|
//输入框搜索
|
|
|
getParams.data.keyword = ''
|
|
@@ -238,7 +238,7 @@ export default {
|
|
|
}
|
|
|
this.$refs.picLargeOpen.open(this.imgUrl)
|
|
|
},
|
|
|
- startMethods(){
|
|
|
+ startMethods() {
|
|
|
this.tabFind()
|
|
|
this.getList()
|
|
|
this.$nextTick(() => {
|
|
@@ -246,7 +246,7 @@ export default {
|
|
|
this.tableMaxHeight = this.$refs.tableBox.offsetHeight
|
|
|
})
|
|
|
},
|
|
|
- //下拉框查询
|
|
|
+ //下拉框查询
|
|
|
tabFind() {
|
|
|
let postParams = [
|
|
|
{
|
|
@@ -256,13 +256,13 @@ export default {
|
|
|
},
|
|
|
tableName: 'sms_wxzy', //视图名称
|
|
|
},
|
|
|
- ]
|
|
|
+ ]
|
|
|
let data = {
|
|
|
plazaId: this.$store.state.plazaId,
|
|
|
}
|
|
|
querySelect({ data, postParams }).then((res) => {
|
|
|
//console.log(res)
|
|
|
- let bxfwlymc = res.data && res.data.data && res.data.data.sms_zxzy?res.data.data.sms_zxzy.bxfwlymc:[]
|
|
|
+ let bxfwlymc = res.data && res.data.data && res.data.data.sms_zxzy ? res.data.data.sms_zxzy.bxfwlymc : []
|
|
|
this.sourceOption = []
|
|
|
this.sourceOption.push({
|
|
|
name: '全部',
|
|
@@ -280,12 +280,12 @@ export default {
|
|
|
watch: {
|
|
|
diff(newV, oldV) {
|
|
|
if (newV !== oldV) {
|
|
|
- this.startMethods()
|
|
|
+ this.startMethods()
|
|
|
}
|
|
|
},
|
|
|
tabLabel(newV, oldV) {
|
|
|
if (newV !== oldV) {
|
|
|
- this.startMethods()
|
|
|
+ this.startMethods()
|
|
|
}
|
|
|
},
|
|
|
},
|