mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-13 21:06:44 +08:00
-- bug
This commit is contained in:
@@ -95,7 +95,8 @@ function getMemberData() {
|
|||||||
const list = res.data.data.rows.filter(e => !(props.value + '').includes(e.id)).map(e => ({
|
const list = res.data.data.rows.filter(e => !(props.value + '').includes(e.id)).map(e => ({
|
||||||
label: e.realName,
|
label: e.realName,
|
||||||
value: e.id,
|
value: e.id,
|
||||||
deptId: e.departId
|
deptId: e.departId,
|
||||||
|
departName: e.departName
|
||||||
}));
|
}));
|
||||||
memberParam.value.pageNo === 1 && props.value ? (options.value = list) : options.value.push(...list)
|
memberParam.value.pageNo === 1 && props.value ? (options.value = list) : options.value.push(...list)
|
||||||
loading.value = false
|
loading.value = false
|
||||||
@@ -125,7 +126,7 @@ function blur() {
|
|||||||
function change(e, l) {
|
function change(e, l) {
|
||||||
isOpen.value = false
|
isOpen.value = false
|
||||||
Array.isArray(l) && (selectOptions.value = l)
|
Array.isArray(l) && (selectOptions.value = l)
|
||||||
Array.isArray(selectOptions.value) && emit('onChange', e, l, selectOptions.value.find(e => e.deptId)?.deptId)
|
Array.isArray(selectOptions.value) && emit('onChange', e, l, selectOptions.value.find(e => e.deptId)?.deptId, selectOptions.value.find(e => e.deptId)?.departName)
|
||||||
if (Array.isArray(l)) {
|
if (Array.isArray(l)) {
|
||||||
emit('update:name', l.map(t => t.label).join(','))
|
emit('update:name', l.map(t => t.label).join(','))
|
||||||
emit('update:value', l.map(t => t.value).join(','))
|
emit('update:value', l.map(t => t.value).join(','))
|
||||||
|
|||||||
@@ -1782,8 +1782,9 @@ export default {
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
function managerChange(e, l, d) {
|
function managerChange(e, l, d, t) {
|
||||||
state.projectInfo.sourceBelongId = d;
|
state.projectInfo.sourceBelongId = d;
|
||||||
|
state.projectInfo.sourceBelongName = t;
|
||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|||||||
Reference in New Issue
Block a user