|
@@ -501,16 +501,20 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
created() {
|
|
|
- /** 查询林场部门树结构 */
|
|
|
- deptTreeselect().then(response => {
|
|
|
- this.deptChangOptionsLiandong = response.data
|
|
|
- })
|
|
|
- /** 查询林班层级树结构 */
|
|
|
- linBanTreeselect().then(response => {
|
|
|
- this.deptBanOptionsLiandong = response.data
|
|
|
- })
|
|
|
},
|
|
|
methods: {
|
|
|
+ deptTreeselect(){
|
|
|
+ /** 查询林场部门树结构 */
|
|
|
+ deptTreeselect().then(response => {
|
|
|
+ this.deptChangOptionsLiandong = response.data
|
|
|
+ })
|
|
|
+ },
|
|
|
+ linBanTreeselect(){
|
|
|
+ /** 查询林班层级树结构 */
|
|
|
+ linBanTreeselect().then(response => {
|
|
|
+ this.deptBanOptionsLiandong = response.data
|
|
|
+ })
|
|
|
+ },
|
|
|
selectMessageById(id) {
|
|
|
selectMessageById(id).then(response => {
|
|
|
/** 获取消息列表 */
|
|
@@ -814,10 +818,12 @@ export default {
|
|
|
window.choseLayerSwitchingList_Data(urlList)
|
|
|
},
|
|
|
forestban() {
|
|
|
+ alert(111)
|
|
|
window.forestban()
|
|
|
console.log('林班')
|
|
|
},
|
|
|
forestchang() {
|
|
|
+ alert(222)
|
|
|
window.forestchang()
|
|
|
console.log('林场')
|
|
|
},
|