优化标准类别
This commit is contained in:
+17
-2
@@ -1,7 +1,22 @@
|
||||
import axios from '@/common/axios'
|
||||
|
||||
// 根据企标编号查找文件
|
||||
export function selectByIdAtt(id){
|
||||
return axios._getData('/lawss/sarBussionessStand/selectByIdAtt', { id })
|
||||
function selectByIdAtt(id){
|
||||
return axios._getData('lawss/sarBussionessStand/selectByIdAtt', { id })
|
||||
}
|
||||
|
||||
// 企业标准树
|
||||
function getMenuListOne(sorDivide, userId){
|
||||
return axios._getData('sarResource/ts-resource/getListStandLimitData', { sorDivide, userId })
|
||||
}
|
||||
|
||||
// 技术体系树
|
||||
function getMenuListTwo(dicId){
|
||||
return axios._getData('lawss/sarMenuStandardLimit/getListStandLimit', { dicId })
|
||||
}
|
||||
|
||||
export {
|
||||
selectByIdAtt,
|
||||
getMenuListOne,
|
||||
getMenuListTwo
|
||||
}
|
||||
|
||||
@@ -668,6 +668,7 @@ import ProcessTitle from "../../components/ProcessTitle";
|
||||
import {saveTaskFirst,queryTaskFirst, inboundLiaisonDetail,taskDel,startProcessRollBack, completeTask } from "api/process";
|
||||
import selectTree from "@/components/abc/selectTree/selectTree"
|
||||
import { getTreeItem } from "@/common/myFun.js"
|
||||
import { getMenuListOne, getMenuListTwo } from "@/api/flow"
|
||||
|
||||
export default {
|
||||
name: "qbfsStep1",
|
||||
@@ -1084,28 +1085,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))
|
||||
})
|
||||
},
|
||||
getStandDataBtns(){
|
||||
|
||||
+5
-13
@@ -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 () {
|
||||
|
||||
Reference in New Issue
Block a user