|
@@ -52,7 +52,7 @@ import { mapGetters } from 'vuex'
|
|
|
import { settingQueryBizTypeList } from '@/api/settingQueryBizTypeList.js'
|
|
|
import Utils from '../../util.js'
|
|
|
import { logoutUrl } from '@/apiConfig/requestIP.js'
|
|
|
-import { memberQueryMemberInfoByIDAPorName, settingGetBizList, settingUserSetBiz, settingUserGetBiz } from '@/api/projectIndex'
|
|
|
+import { memberGetLoginInMemberInfoByLdap, settingGetBizList, settingUserSetBiz, settingUserGetBiz } from '@/api/projectIndex'
|
|
|
|
|
|
export default {
|
|
|
// components: {
|
|
@@ -63,7 +63,7 @@ export default {
|
|
|
return {
|
|
|
bizOptions: [],
|
|
|
show2: false,
|
|
|
- options: [],
|
|
|
+ options: {},
|
|
|
value: '',
|
|
|
arr_data: [],
|
|
|
sumTypeArray: [],
|
|
@@ -93,7 +93,6 @@ export default {
|
|
|
Utils.$on('demo', msg => {
|
|
|
const bizId = {}
|
|
|
bizId.code = msg
|
|
|
-
|
|
|
this.$message({ message: '提示:任务业务线与当前任务业务线不符,系统自动在“3秒后”变更任务业务线为当前业务线!', type: 'error', duration: 10000, offset: 150 })
|
|
|
setTimeout(() => {
|
|
|
this.sumTypeCkeck(bizId)
|
|
@@ -128,13 +127,16 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
get_bizArr() {
|
|
|
+ // var url = window.location.href // 获取url中"?"符后的字
|
|
|
+ // this.taskId = url.split('?id=')
|
|
|
+ // console.log(this.taskId, 'ccdscsdcdscdss')
|
|
|
settingQueryBizTypeList({}).then(res => {
|
|
|
this.bizOptions = res.data.list
|
|
|
var int = Number(localStorage.getItem('bizId'))
|
|
|
int === 0 ? int = '' : ''
|
|
|
this.bizShow.id = int
|
|
|
- memberQueryMemberInfoByIDAPorName({ memberIDAP: localStorage.getItem('realname') }).then(res => {
|
|
|
- this.options = res.data[0]
|
|
|
+ memberGetLoginInMemberInfoByLdap().then(res => {
|
|
|
+ this.options = res.data
|
|
|
})
|
|
|
})
|
|
|
settingGetBizList({}).then(res => {
|