|
@@ -132,6 +132,8 @@ export default {
|
|
|
gv:this.funName,
|
|
|
department:[],//技能博物管下拉框信息
|
|
|
personListJn:[],//技能博物馆人员信息下拉框
|
|
|
+ fundApproval:[],//技能博物馆项目信息
|
|
|
+ conferenceRoom:[],//技能博物馆会议室信息
|
|
|
},
|
|
|
postInfo: {},//职位信息
|
|
|
deptInfo: {},//部门信息
|
|
@@ -244,6 +246,38 @@ export default {
|
|
|
this.$message.error(res.message)
|
|
|
}
|
|
|
})
|
|
|
+
|
|
|
+ //技能博物馆项目信息
|
|
|
+ this.getAction('/oa/activiti/getSelectionList',{tableName:'bwg_project_start'}).then(res => {
|
|
|
+ if (res.success) {
|
|
|
+ var aa=[]
|
|
|
+ res.result.map(item=>{
|
|
|
+ aa.push(
|
|
|
+ {value:item.project_name,
|
|
|
+ label:item.project_name,
|
|
|
+ startDate:item.start_date,
|
|
|
+ endDate:item.end_date,
|
|
|
+ projectReasons:item.project_reasons,
|
|
|
+ budgetInformation:item.budget_information
|
|
|
+ })
|
|
|
+ })
|
|
|
+ this.dynamicData.fundApproval = aa
|
|
|
+ } else {
|
|
|
+ this.$message.error(res.message)
|
|
|
+ }
|
|
|
+ })
|
|
|
+ //技能博物馆会议室信息
|
|
|
+ this.getAction('/oa/meetingRoom/all').then(res => {
|
|
|
+ if (res.success) {
|
|
|
+ var aa=[]
|
|
|
+ res.result.map(item=>{
|
|
|
+ aa.push({value:item.name,label:item.name})
|
|
|
+ })
|
|
|
+ this.dynamicData.conferenceRoom = aa
|
|
|
+ } else {
|
|
|
+ this.$message.error(res.message)
|
|
|
+ }
|
|
|
+ })
|
|
|
// 获取用户下拉数据
|
|
|
this.getAction('/sys/user/list2', { pageSize: 20000 }).then(userData => {
|
|
|
if (res.success) {
|
|
@@ -746,6 +780,18 @@ export default {
|
|
|
})
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ //技能博物馆 ----资金审批
|
|
|
+ if(key == 'project_name' && this.processData.businessTable == 'bwg_capital_approval'){
|
|
|
+ this.dynamicData.fundApproval.map(item =>{
|
|
|
+ if(item.label == value){
|
|
|
+ this.$refs.KFB.setData({start_data:item.startDate})
|
|
|
+ this.$refs.KFB.setData({end_date:item.endDate})
|
|
|
+ this.$refs.KFB.setData({project_reasons:item.projectReasons})
|
|
|
+ this.$refs.KFB.setData({budget_information:item.budgetInformation})
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }
|
|
|
|
|
|
//改变的表单是主子表类型时
|
|
|
if((value instanceof Array) && (key.indexOf('child&')!==-1)){
|