chore: 支持仅查询其他用户的流水线

This commit is contained in:
xiaojunnuo
2025-12-16 22:52:07 +08:00
parent 3e2f2fc02e
commit 3f3ee3456e
2 changed files with 23 additions and 1 deletions
@@ -145,6 +145,9 @@ export default function ({ crudExpose, context: { selectedRowKeys } }: CreateCru
},
},
},
search: {
col: { span: 3 },
},
form: {
afterSubmit({ form, res, mode }) {
if (mode === "add") {
@@ -262,6 +265,7 @@ export default function ({ crudExpose, context: { selectedRowKeys } }: CreateCru
type: "number",
search: {
show: true,
col: { span: 3 },
},
column: {
width: 100,
@@ -277,6 +281,7 @@ export default function ({ crudExpose, context: { selectedRowKeys } }: CreateCru
show: computed(() => {
return userStore.isAdmin && settingStore.sysPublic.managerOtherUserPipeline;
}),
col: { span: 3 },
},
form: {
show: false,
@@ -297,6 +302,7 @@ export default function ({ crudExpose, context: { selectedRowKeys } }: CreateCru
component: {
name: "a-input",
},
col: { span: 3 },
},
form: {
rules: [{ required: true, message: t("certd.fields.required") }],