|
@@ -166,8 +166,7 @@ export default {
|
|
|
},
|
|
|
created () {
|
|
|
|
|
|
- console.log("==============="+getProjctName());
|
|
|
-
|
|
|
+ console.log("==============="+getProjctName());
|
|
|
window.deleteRow = this.deleteRow
|
|
|
// console.log('流程数据', this.processData)
|
|
|
// 加载一些下拉选择数据等
|
|
@@ -211,7 +210,8 @@ export default {
|
|
|
postAction('/sys/dict/getDictItems/getDictList', dynamicKeyValueList).then(dictData => {
|
|
|
if (dictData.success) {
|
|
|
this.dynamicData = dictData.result.dicList
|
|
|
- //技能博物馆部门信息
|
|
|
+ if(getProjctName() =='技能博物馆'){
|
|
|
+ //技能博物馆部门信息
|
|
|
this.getAction('/sys/sysDepart/queryMyDeptList').then(res => {
|
|
|
if (res.success) {
|
|
|
var aa=[]
|
|
@@ -223,6 +223,7 @@ export default {
|
|
|
this.$message.error(res.message)
|
|
|
}
|
|
|
})
|
|
|
+
|
|
|
//技能博物馆人员信息
|
|
|
this.getAction('/sys/user/list', { pageSize: -1}).then(res => {
|
|
|
if (res.success) {
|
|
@@ -282,6 +283,7 @@ export default {
|
|
|
this.$message.error(res.message)
|
|
|
}
|
|
|
})
|
|
|
+ }
|
|
|
// 获取用户下拉数据
|
|
|
this.getAction('/sys/user/list2', { pageSize: 20000 }).then(userData => {
|
|
|
if (res.success) {
|
|
@@ -708,7 +710,6 @@ export default {
|
|
|
},
|
|
|
// 表单字段数值发生改变事件
|
|
|
handleChange (value, key) {
|
|
|
- debugger
|
|
|
if(key == 'proposer' && this.processData.businessTable == 'regular_employee_apply'){//员工转正申请:申请人部门
|
|
|
this.$refs.KFB.setData({apply_department:this.deptInfo[value]})
|
|
|
}
|