mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-19 15:56:47 +08:00
讲师管理bug
This commit is contained in:
@@ -67,9 +67,9 @@
|
||||
</template>
|
||||
</a-table>
|
||||
</div>
|
||||
<div style="margin-bottom: 100px">
|
||||
<!-- <div style="margin-bottom: 100px">
|
||||
<a-table v-if="threeList" :columns="columnsThree" :loading="formData?.loadingThree" :data-source="formData?.tableDataThree" :pagination="false"/>
|
||||
</div>
|
||||
</div> -->
|
||||
</a-tab-pane>
|
||||
</a-tabs>
|
||||
</div>
|
||||
@@ -80,6 +80,11 @@
|
||||
<button class="btn2" @click="confirm">撤销编辑内容</button>
|
||||
</div>
|
||||
</div>
|
||||
<a-modal :footer="null" width="800px" v-model:visible="visibleModal" title="审批记录详情">
|
||||
<div style="margin: 20px;padding-bottom: 20px;">
|
||||
<a-table :columns="columnsThree" :loading="formData?.loadingThree" :data-source="formData?.tableDataThree" :pagination="false"/>
|
||||
</div>
|
||||
</a-modal>
|
||||
</a-drawer>
|
||||
</template>
|
||||
|
||||
@@ -99,6 +104,7 @@ const props = defineProps({
|
||||
}
|
||||
});
|
||||
const emit = defineEmits({});
|
||||
const visibleModal = ref(false)
|
||||
const columns = [
|
||||
{
|
||||
title: '组织的名称',
|
||||
@@ -250,9 +256,11 @@ const approvalData = ref(null)
|
||||
const threeList = ref(false)
|
||||
const lookList = (record) => {
|
||||
console.log(record,'resssssss')
|
||||
if(!threeList.value||record.approvalId!=approvalData.value){
|
||||
threeList.value = true
|
||||
approvalData.value = record.approvalId
|
||||
// if(!threeList.value||record.approvalId!=approvalData.value){
|
||||
// threeList.value = true
|
||||
// approvalData.value = record.approvalId
|
||||
formData.value.tableDataThree = []
|
||||
visibleModal.value = true
|
||||
formData.value.loadingThree = true
|
||||
api.getApprovalResultByApprovalIdList(record.approvalId).then(res=>{
|
||||
if(res.data.code == 200){
|
||||
@@ -264,10 +272,10 @@ const lookList = (record) => {
|
||||
formData.value.loadingThree = false
|
||||
message.error(err.data.msg)
|
||||
})
|
||||
}else{
|
||||
threeList.value = false
|
||||
approvalData.value = null
|
||||
}
|
||||
// }else{
|
||||
// threeList.value = false
|
||||
// approvalData.value = null
|
||||
// }
|
||||
}
|
||||
const visible = ref(false);
|
||||
watch(visible, (val)=>{
|
||||
|
||||
Reference in New Issue
Block a user