feat: 首页标准发布
This commit is contained in:
@@ -46,12 +46,11 @@ export default {
|
|||||||
//获取数据
|
//获取数据
|
||||||
getAdvice() {
|
getAdvice() {
|
||||||
let obj = {}
|
let obj = {}
|
||||||
obj.msgType = 'RESOURCE'
|
obj.limit = 8
|
||||||
obj.rowLimit = 8
|
this.$http.get('sarStandardsInfo/sar-standards-info/getStandInfoByList', obj, {
|
||||||
this.$http.get('sarStandardsInfo/sar-standards-info/getSarStandardsInfoPage', obj, {
|
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
this.standardReleaseList = res.data.list
|
this.standardReleaseList = res.data
|
||||||
}, e => {
|
}, e => {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -110,7 +110,25 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
MORE() {
|
MORE() {
|
||||||
this.$router.push({name: 'standardForComments'})
|
switch (this.activeName) {
|
||||||
|
case 'solicitOpinions':
|
||||||
|
this.$router.push({name: 'standardForComments'})
|
||||||
|
break
|
||||||
|
case 'release':
|
||||||
|
this.$confirm('请选择国内/海外标准', {
|
||||||
|
confirmButtonText: '国内标准',
|
||||||
|
cancelButtonText: '海外标准',
|
||||||
|
type: 'warning',
|
||||||
|
center: true
|
||||||
|
}).then(() => {
|
||||||
|
this.$router.push({name: 'domesticStandardsAndRegulations'})
|
||||||
|
}).catch(() => {
|
||||||
|
this.$router.push({name: 'foreignStandardsAndRegulations'})
|
||||||
|
});
|
||||||
|
break
|
||||||
|
default:
|
||||||
|
break
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user