mirror of https://github.com/certd/certd
chore:
parent
ffa4de6911
commit
7f596ed315
|
@ -5,6 +5,7 @@ import SuiteValueEdit from "/@/views/sys/suite/product/suite-value-edit.vue";
|
||||||
import SuiteValue from "/@/views/sys/suite/product/suite-value.vue";
|
import SuiteValue from "/@/views/sys/suite/product/suite-value.vue";
|
||||||
import DurationValue from "/@/views/sys/suite/product/duration-value.vue";
|
import DurationValue from "/@/views/sys/suite/product/duration-value.vue";
|
||||||
import dayjs from "dayjs";
|
import dayjs from "dayjs";
|
||||||
|
import createCrudOptionsUser from "/@/views/sys/authority/user/crud";
|
||||||
|
|
||||||
export default function ({ crudExpose, context }: CreateCrudOptionsProps): CreateCrudOptionsRet {
|
export default function ({ crudExpose, context }: CreateCrudOptionsProps): CreateCrudOptionsRet {
|
||||||
const api = pipelineGroupApi;
|
const api = pipelineGroupApi;
|
||||||
|
@ -118,13 +119,27 @@ export default function ({ crudExpose, context }: CreateCrudOptionsProps): Creat
|
||||||
userId: {
|
userId: {
|
||||||
title: "用户",
|
title: "用户",
|
||||||
type: "table-select",
|
type: "table-select",
|
||||||
|
search: {
|
||||||
|
show: true
|
||||||
|
},
|
||||||
dict: dict({
|
dict: dict({
|
||||||
async getNodesByValues(ids: number[]) {
|
async getNodesByValues(ids: number[]) {
|
||||||
return await api.GetSimpleUserByIds(ids);
|
return await api.GetSimpleUserByIds(ids);
|
||||||
},
|
},
|
||||||
value: "id",
|
value: "id",
|
||||||
label: "nickName"
|
label: "nickName"
|
||||||
})
|
}),
|
||||||
|
form: {
|
||||||
|
component: {
|
||||||
|
crossPage: true,
|
||||||
|
multiple: false,
|
||||||
|
select: {
|
||||||
|
placeholder: "点击选择"
|
||||||
|
},
|
||||||
|
createCrudOptions: createCrudOptionsUser
|
||||||
|
// crudOptionsOverride: crudOptionsOverride
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
productType: {
|
productType: {
|
||||||
title: "类型",
|
title: "类型",
|
||||||
|
|
Loading…
Reference in New Issue