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

View File

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

View File

@ -29,7 +29,8 @@
<div class="ggkThreeTitle ggkCcxs">{{item.ktzt}}</div> <div class="ggkThreeTitle ggkCcxs">{{item.ktzt}}</div>
<div class="ggkFourTitle">0人听课</div> <div class="ggkFourTitle">0人听课</div>
<!-- -{{ item.kclj }}--{{ item.jslj }} --> <!-- -{{ 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> </div>
</a> </a>
</div> </div>