修改bug

This commit is contained in:
yangjun 2023-06-18 00:43:22 +08:00
parent e7e8bd7e42
commit 0a662e42cb
3 changed files with 11 additions and 10 deletions

View File

@ -40,9 +40,9 @@
<template #tableTitle>
</template>
<!--操作栏-->
<!-- <template #action="{ record }">
<TableAction :actions="getTableAction(record)" :dropDownActions="getDropDownAction(record)"/>
</template> -->
<template #action="{ record }">
<TableAction :actions="getTableAction(record)" />
</template>
<!--字段回显插槽-->
<template #htmlSlot="{text}">
<div v-html="text"></div>
@ -82,7 +82,7 @@
columns,
canResize:false,
useSearchForm: false,
showActionColumn: false,
showActionColumn: true,
actionColumn: {
width: 120,
fixed: 'right',
@ -171,8 +171,8 @@
function getTableAction(record) {
return [
{
label: '编辑',
onClick: handleEdit.bind(null, record),
label: '详情',
onClick: handleDetail.bind(null, record),
},
];
}

View File

@ -3,11 +3,11 @@
<a-form ref="formRef" class="antd-modal-form" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-row>
<a-col :span="24">
<a-form-item label="意见建议内容" v-bind="validateInfos.suggestions">
<a-textarea v-model:value="formData.suggestions" rows="4" placeholder="请输入意见建议内容" :disabled="disabled"/>
<a-form-item label="建议内容" v-bind="validateInfos.suggestions">
<a-textarea v-model:value="formData.suggestions" rows="16" placeholder="请输入意见建议内容" readonly/>
</a-form-item>
</a-col>
<a-col :span="24">
<a-col :span="24" hidden>
<a-form-item label="反馈内容" v-bind="validateInfos.feedback">
<a-textarea v-model:value="formData.feedback" rows="4" placeholder="请输入反馈内容" :disabled="disabled"/>
</a-form-item>

View File

@ -29,7 +29,8 @@
<div class="ggkThreeTitle ggkCcxs">{{item.ktzt}}</div>
<div class="ggkFourTitle">0人听课</div>
<!-- -{{ item.kclj }}--{{ item.jslj }} -->
<div><a-button type="primary" class="ggkButton" target="_blank" :href="item.kclj" @click.stop>进入课堂</a-button></div>
<div v-if="item.type=='1'"><a-button type="primary" class="ggkButton" target="_blank" :href="item.kclj" @click.stop>进入课堂</a-button></div>
<div v-else><a-button type="primary" class="ggkButton" target="_blank" disabled :href="item.kclj" @click="false" style="background-color: rgb(197, 192, 192);">进入课堂</a-button></div>
</div>
</a>
</div>