2
3
dubch 5 жил өмнө
parent
commit
5a9d633978

+ 0 - 14
src/dashoo.cn/frontend_web/src/pages/oilsupplier/annualaudit/basicindex.vue

@@ -561,20 +561,6 @@
         })
       },
 
-      getorgtreelist() {
-        let _this = this
-        let params = {
-          IsInnerOrganize: 1
-        }
-        _this.$axios.get('organizes/orgalllist', {params})
-          .then(res => {
-            _this.orgtreelist = window.toolfun_gettreejson(res.data.items, 'Id', 'Parentid', 'Id,Fullname')
-          })
-          .catch(err => {
-            console.error(err)
-          })
-      },
-
       getDictOptions () {
         supplierapi.getDictList(this.$axios).then(res => {
           this.dictData = res.data.items

+ 0 - 13
src/dashoo.cn/frontend_web/src/pages/oilsupplier/annualaudit/goodsindex.vue

@@ -564,19 +564,6 @@
           console.error(err)
         })
       },
-      getorgtreelist () {
-        let _this = this
-        let params = {
-          IsInnerOrganize: 1
-        }
-        _this.$axios.get('organizes/orgalllist', { params })
-          .then(res => {
-            _this.orgtreelist = window.toolfun_gettreejson(res.data.items, 'Id', 'Parentid', 'Id,Fullname')
-          })
-          .catch(err => {
-            console.error(err)
-          })
-      },
       getDictOptions () {
         supplierapi.getDictList(this.$axios).then(res => {
           this.dictData = res.data.items

+ 0 - 16
src/dashoo.cn/frontend_web/src/pages/oilsupplier/annualaudit/techindex.vue

@@ -563,22 +563,6 @@ import WfHistory from '@/components/workflow/wfmultihistory.vue'
         })
       },
 
-      getorgtreelist () {
-        let _this = this
-        let params = {
-          IsInnerOrganize: 1
-        }
-        _this.$axios.get('organizes/orgalllist', {
-          params
-        })
-          .then(res => {
-            _this.orgtreelist = window.toolfun_gettreejson(res.data.items, 'Id', 'Parentid', 'Id,Fullname')
-          })
-          .catch(err => {
-            console.error(err)
-          })
-      },
-
       getDictOptions () {
         supplierapi.getDictList(this.$axios).then(res => {
           this.dictData = res.data.items