优化标准类别
This commit is contained in:
+17
-2
@@ -1,7 +1,22 @@
|
|||||||
import axios from '@/common/axios'
|
import axios from '@/common/axios'
|
||||||
|
|
||||||
// 根据企标编号查找文件
|
// 根据企标编号查找文件
|
||||||
export function selectByIdAtt(id){
|
function selectByIdAtt(id){
|
||||||
return axios._getData('/lawss/sarBussionessStand/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 {saveTaskFirst,queryTaskFirst, inboundLiaisonDetail,taskDel,startProcessRollBack, completeTask } from "api/process";
|
||||||
import selectTree from "@/components/abc/selectTree/selectTree"
|
import selectTree from "@/components/abc/selectTree/selectTree"
|
||||||
import { getTreeItem } from "@/common/myFun.js"
|
import { getTreeItem } from "@/common/myFun.js"
|
||||||
|
import { getMenuListOne, getMenuListTwo } from "@/api/flow"
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "qbfsStep1",
|
name: "qbfsStep1",
|
||||||
@@ -1084,28 +1085,19 @@ export default {
|
|||||||
// 企业标准树
|
// 企业标准树
|
||||||
getMenuListOne() {
|
getMenuListOne() {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
this.$http._getData('sarResource/ts-resource/getListStandLimitData', {
|
getMenuListOne('BUSINESS_STAND', this.$store.getters.userInfo.userId).then(res=>{
|
||||||
sorDivide: 'BUSINESS_STAND',
|
|
||||||
userId: this.$store.getters.userInfo.userId
|
|
||||||
}).then(res=>{
|
|
||||||
if(res && res.data)
|
if(res && res.data)
|
||||||
resolve(res.data)
|
resolve(res.data)
|
||||||
}).catch(e=>{
|
}).catch(e => reject(e))
|
||||||
console.log(e)
|
|
||||||
})
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 技术体系树
|
// 技术体系树
|
||||||
getMenuListTwo() {
|
getMenuListTwo() {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
this.$http._getData('lawss/sarMenuStandardLimit/getListStandLimit', {
|
getMenuListTwo('9m4qqqaansxmox5e82zm').then(res=>{
|
||||||
dicId: '9m4qqqaansxmox5e82zm'
|
|
||||||
}).then(res=>{
|
|
||||||
if(res && res.data)
|
if(res && res.data)
|
||||||
resolve(res.data)
|
resolve(res.data)
|
||||||
}).catch(e=>{
|
}).catch(e => reject(e))
|
||||||
console.log(e)
|
|
||||||
})
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
getStandDataBtns(){
|
getStandDataBtns(){
|
||||||
|
|||||||
+5
-13
@@ -1772,6 +1772,7 @@ import ProcessTitle from "@/pages/processCenter/pages/components/ProcessTitle";
|
|||||||
import treeSelectModule from "@/components/treeSelect/treeSelectModule.vue";
|
import treeSelectModule from "@/components/treeSelect/treeSelectModule.vue";
|
||||||
import selectTree from "@/components/abc/selectTree/selectTree"
|
import selectTree from "@/components/abc/selectTree/selectTree"
|
||||||
import { getTreeItem } from "@/common/myFun.js"
|
import { getTreeItem } from "@/common/myFun.js"
|
||||||
|
import { getMenuListOne, getMenuListTwo } from "@/api/flow"
|
||||||
|
|
||||||
import {mapGetters} from "vuex";
|
import {mapGetters} from "vuex";
|
||||||
import store from "@/store";
|
import store from "@/store";
|
||||||
@@ -2670,28 +2671,19 @@ export default {
|
|||||||
// 企业标准树
|
// 企业标准树
|
||||||
getMenuListOne() {
|
getMenuListOne() {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
this.$http._getData('sarResource/ts-resource/getListStandLimitData', {
|
getMenuListOne('BUSINESS_STAND', this.$store.getters.userInfo.userId).then(res=>{
|
||||||
sorDivide: 'BUSINESS_STAND',
|
|
||||||
userId: this.$store.getters.userInfo.userId
|
|
||||||
}).then(res=>{
|
|
||||||
if(res && res.data)
|
if(res && res.data)
|
||||||
resolve(res.data)
|
resolve(res.data)
|
||||||
}).catch(e=>{
|
}).catch(e => reject(e))
|
||||||
console.log(e)
|
|
||||||
})
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 技术体系树
|
// 技术体系树
|
||||||
getMenuListTwo() {
|
getMenuListTwo() {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
this.$http._getData('lawss/sarMenuStandardLimit/getListStandLimit', {
|
getMenuListTwo('9m4qqqaansxmox5e82zm').then(res=>{
|
||||||
dicId: '9m4qqqaansxmox5e82zm'
|
|
||||||
}).then(res=>{
|
|
||||||
if(res && res.data)
|
if(res && res.data)
|
||||||
resolve(res.data)
|
resolve(res.data)
|
||||||
}).catch(e=>{
|
}).catch(e => reject(e))
|
||||||
console.log(e)
|
|
||||||
})
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
replaceLawsNumModelCancel () {
|
replaceLawsNumModelCancel () {
|
||||||
|
|||||||
Reference in New Issue
Block a user