szx-1087需求

This commit is contained in:
sunhonglai
2025-05-07 10:35:51 +08:00
parent 93ba27d1fe
commit da7dca34a1
3 changed files with 14 additions and 3 deletions

View File

@@ -409,6 +409,13 @@ export default {
key: 'updateName', key: 'updateName',
ellipsis: true, align: "center", ellipsis: true, align: "center",
width: 120, width: 120,
customRender: (value) => {
return (
<div>
{ value.record.updateName || '-' }
</div>
)
}
}, },
]) ])
//晋级记录列表数据 //晋级记录列表数据

View File

@@ -12,7 +12,7 @@
:disabled="disabled" :disabled="disabled"
v-model:value="selectData" v-model:value="selectData"
style="width: 100%" style="width: 100%"
placeholder="请查询姓名或工号" placeholder="placeholder"
:options="isOpen?options:selectOptions" :options="isOpen?options:selectOptions"
:filter-option="false" :filter-option="false"
showSearch showSearch
@@ -117,6 +117,10 @@ const props = defineProps({
lecturer: { lecturer: {
type: Boolean, type: Boolean,
default: false, default: false,
},
placeholder: {
type: String,
default: '请查询姓名或工号'
} }
}) })
const emit = defineEmits(['update:value','update:lable','update:system','update:level','update:newlable','update:orgId','update:id','update:payrollPlaceCode','update:payrollPlaceName']) const emit = defineEmits(['update:value','update:lable','update:system','update:level','update:newlable','update:orgId','update:id','update:payrollPlaceCode','update:payrollPlaceName'])

View File

@@ -90,7 +90,7 @@
</template> </template>
<template v-if="column.key === 'operation'"> <template v-if="column.key === 'operation'">
<a-space> <a-space>
<a-button type="link" @click="() => handleLook(record, String(record.courseform))">查看</a-button> <a-button v-if="record.certStatus === 1" type="link" @click="() => handleLook(record, String(record.courseform))">查看</a-button>
<a-button <a-button
v-if="(record.isPermission === 'true' || record.isSuperPermission === 'true') && checkMenu('lecturerEdit')" v-if="(record.isPermission === 'true' || record.isSuperPermission === 'true') && checkMenu('lecturerEdit')"
@@ -175,7 +175,7 @@
<!-- TODO GX01 --> <!-- TODO GX01 -->
<SearchTeacher @tlevel="teacherTlevel" :lecturer="true" :disabled="!!id" <SearchTeacher @tlevel="teacherTlevel" :lecturer="true" :disabled="!!id"
v-model:value="formParam.name" v-model:lable="formParam.orgNames" v-model:orgId="formParam.orgId" v-model:value="formParam.name" v-model:lable="formParam.orgNames" v-model:orgId="formParam.orgId"
v-model:id="formParam.id" v-model:system="tSystemNames" v-model:level="formParam.tlevelId"> v-model:id="formParam.id" v-model:system="tSystemNames" v-model:level="formParam.tlevelId" placeholder="请查询姓名或工号(只可查询非讲师人员)">
</SearchTeacher> </SearchTeacher>
</a-form-item> </a-form-item>
</a-col> </a-col>