优化标准类别

This commit is contained in:
zyn
2023-04-25 15:40:07 +08:00
parent 5e3cb2339a
commit 6a07ca8355
3 changed files with 27 additions and 28 deletions
@@ -1772,6 +1772,7 @@ import ProcessTitle from "@/pages/processCenter/pages/components/ProcessTitle";
import treeSelectModule from "@/components/treeSelect/treeSelectModule.vue";
import selectTree from "@/components/abc/selectTree/selectTree"
import { getTreeItem } from "@/common/myFun.js"
import { getMenuListOne, getMenuListTwo } from "@/api/flow"
import {mapGetters} from "vuex";
import store from "@/store";
@@ -2670,28 +2671,19 @@ export default {
// 企业标准树
getMenuListOne() {
return new Promise((resolve, reject) => {
this.$http._getData('sarResource/ts-resource/getListStandLimitData', {
sorDivide: 'BUSINESS_STAND',
userId: this.$store.getters.userInfo.userId
}).then(res=>{
getMenuListOne('BUSINESS_STAND', this.$store.getters.userInfo.userId).then(res=>{
if(res && res.data)
resolve(res.data)
}).catch(e=>{
console.log(e)
})
}).catch(e => reject(e))
})
},
// 技术体系树
getMenuListTwo() {
return new Promise((resolve, reject) => {
this.$http._getData('lawss/sarMenuStandardLimit/getListStandLimit', {
dicId: '9m4qqqaansxmox5e82zm'
}).then(res=>{
getMenuListTwo('9m4qqqaansxmox5e82zm').then(res=>{
if(res && res.data)
resolve(res.data)
}).catch(e=>{
console.log(e)
})
}).catch(e => reject(e))
})
},
replaceLawsNumModelCancel () {