修改bug

This commit is contained in:
yangjun 2023-12-23 19:01:25 +08:00
parent 43a92fb84c
commit fb024eeec1
6 changed files with 11 additions and 7 deletions

View File

@ -117,7 +117,7 @@
import { BasicTable, useTable, TableAction } from '/@/components/Table';
import { useListPage } from '/@/hooks/system/useListPage';
import { columns } from './KcExportConfigTpkwcqkjzglx.data';
import { list, deleteOne, batchDelete, getImportUrl, getExportUrl } from './KcExportConfigTpkwcqkjzglx.api';
import { list, deleteOne, batchDelete, getImportUrl, getExportUrl } from './KcExportConfigTpkwcqkjzglxNew.api';
import { downloadFile } from '/@/utils/common/renderUtils';
import KcExportConfigTpkwcqkjzglxModal from './components/KcExportConfigTpkwcqkjzglxModal.vue'
import KcTksfrzbModal from './components/KcTksfrzbModal.vue'

View File

@ -27,7 +27,11 @@ export const columns: BasicColumn[] = [
{
title: '听课要求',
align: "center",
dataIndex: 'tkyq'
dataIndex: 'tkyq',
customRender: ({ text }) => {
text = Number(text)
return text;
},
},
{
title: '实际听课数',

View File

@ -131,7 +131,7 @@ function toIndex(){
yqlist(null).then(res=>{
var list = res
if(list){
tkyqcs.value = list.tkyq||'未配置'
tkyqcs.value = Number(list.tkyq)||'未配置'
tkyqywc.value = list.sjtksl||'0'
}
})

View File

@ -31,8 +31,8 @@
<div class="ggkThreeTitle ggkCcxs">{{item.ktzt}}</div>
<div class="ggkFourTitle">{{item.logcount}}人听课</div>
</a>
<!-- -{{ item.kclj }}--{{ item.jslj }} -->
<div v-if="item.sfxs2=='1'"><a-button type="primary" class="ggkButton" target="_blank" :href="item.kclj" @click="jrkt(item)">进入课堂</a-button></div>
<!-- -{{ item.kclj }}-{{item.sfxs}}-{{ item.jslj }} -->
<div v-if="(item.dqztpx=='1'||item.dqztpx=='2')&&item.kclj!=null"><a-button type="primary" class="ggkButton" target="_blank" :href="item.kclj" @click="jrkt(item)">进入课堂</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>

View File

@ -18,7 +18,7 @@
<span v-if="item.source != null" class="hand" style="padding-left: .5rem;color: #337ab7;"></span>
<span v-if="item.source=='0'" class="hand" style="padding-left: .5rem;color: #337ab7;">课程中心</span>
<span v-else-if="item.source=='1'" class="hand" style="padding-left: .5rem;color: #337ab7;">老系统</span>
<span v-else-if="item.source=='2'" class="hand" style="padding-left: .5rem;color: #337ab7;">务大厅</span>
<span v-else-if="item.source=='2'" class="hand" style="padding-left: .5rem;color: #337ab7;">务大厅</span>
<span v-else-if="item.source=='3'" class="hand" style="padding-left: .5rem;color: #337ab7;">纸质评价</span>
<span v-if="item.source != null" class="hand" style="padding-left: .5rem;color: #337ab7;">--</span>
<span v-if="item.evaluationver=='1'" class="hand" style="padding-left: .5rem;color: #337ab7;">原始数据</span>

View File

@ -18,7 +18,7 @@
<span v-if="item.source != null" class="hand" style="padding-left: .5rem;color: #337ab7;"></span>
<span v-if="item.source=='0'" class="hand" style="padding-left: .5rem;color: #337ab7;">课程中心</span>
<span v-else-if="item.source=='1'" class="hand" style="padding-left: .5rem;color: #337ab7;">老系统</span>
<span v-else-if="item.source=='2'" class="hand" style="padding-left: .5rem;color: #337ab7;">务大厅</span>
<span v-else-if="item.source=='2'" class="hand" style="padding-left: .5rem;color: #337ab7;">务大厅</span>
<span v-else-if="item.source=='3'" class="hand" style="padding-left: .5rem;color: #337ab7;">纸质评价</span>
<span v-if="item.source != null" class="hand" style="padding-left: .5rem;color: #337ab7;">--</span>
<span v-if="item.evaluationver=='1'" class="hand" style="padding-left: .5rem;color: #337ab7;">原始数据</span>