讲师管理bug

This commit is contained in:
zhangsir
2024-11-26 19:21:13 +08:00
parent 67c904c693
commit 62688a0185
16 changed files with 100 additions and 55 deletions

View File

@@ -133,10 +133,10 @@
<span class="line"></span>
<span>讲师费用详情</span>
<a-descriptions bordered :column="2" :contentStyle="rowCenter" :labelStyle="rowCenter">
<a-descriptions-item label="审批编号">{{formParam?.teacherName||'-'}}</a-descriptions-item>
<a-descriptions-item label="审批编号">{{formParam?.approvalNumber||'-'}}</a-descriptions-item>
<a-descriptions-item label="培训发生组织">{{formParam?.trainOrgName||'-'}}</a-descriptions-item>
<a-descriptions-item v-if="activeKey==2" label="汇总周期" >{{formParam?.summaryDate||'-'}}</a-descriptions-item>
<a-descriptions-item label="提交时间">{{formParam?.approval_submit_time||'-'}}</a-descriptions-item>
<a-descriptions-item label="提交时间">{{formParam?.approvalSubmitTime||'-'}}</a-descriptions-item>
<a-descriptions-item label="汇总金额">{{formParam?.summaryTotal||'-'}}</a-descriptions-item>
<a-descriptions-item label="状态">{{{0:'待确认' ,1:'待提交' ,2:'审核中', 3:'已完成', 4:'拒绝',5:'待提交'}[formParam?.status]}}</a-descriptions-item>
</a-descriptions>
@@ -256,7 +256,10 @@
FolderAddOutlined,//图标--新增
ProjectManager,
},
setup() {
setup(props,emit) {
watch(()=>props.key,(val)=>{
console.log(val,'valllllll')
})
const router = useRouter()
const state = reactive({
tableDataParams:{
@@ -334,7 +337,7 @@
if (res.data.code === 200) {
let arr = res.data.data;
let array = [];
arr.map((value) => {
arr?.map((value) => {
let obj = {
value: value.kid,
label: value.systemName,
@@ -345,7 +348,7 @@
}
})
}
LecturerSystemLista()
// LecturerSystemLista()
const trainOrglist=ref([])
//获取培训发生组织
const trainOrglista =() => {
@@ -430,8 +433,8 @@
},
{
title: '汇总时间 ',
dataIndex: 'summaryDate',
key: 'summaryDate',
dataIndex: 'summaryTime',
key: 'summaryTime',
ellipsis: true,
align: "center",
width:200
@@ -446,8 +449,8 @@
},
{
title: '提交时间',
dataIndex: 'approval_submit_time',
key: 'approval_submit_time',
dataIndex: 'approvalSubmitTime',
key: 'approvalSubmitTime',
ellipsis: true, align: "center",
width: 200,
customRender: ({text, record}) => {