修改bug

This commit is contained in:
yangjun 2023-04-16 16:11:51 +08:00
parent 8aee5fb36b
commit 3c95eb4f97
6 changed files with 11 additions and 9 deletions

2
.env
View File

@ -11,7 +11,7 @@ VITE_GLOB_APP_SHORT_NAME = CourseInformationCenter
VITE_GLOB_APP_CAS_BASE_URL=https://authserver.nenu.edu.cn/authserver
# 是否开启单点登录
VITE_GLOB_APP_OPEN_SSO = false
VITE_GLOB_APP_OPEN_SSO = true
# 开启微前端模式
VITE_GLOB_APP_OPEN_QIANKUN=true

View File

@ -19,7 +19,7 @@ VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE = false
VITE_GLOB_API_URL=/jeecgboot
#后台接口全路径地址(必填)
VITE_GLOB_DOMAIN_URL=http://jeecg-boot-system:8080/jeecg-boot
VITE_GLOB_DOMAIN_URL=http://210.47.17.166/jeecg-boot
# 接口父路径前缀
VITE_GLOB_API_URL_PREFIX=

View File

@ -1,7 +1,7 @@
<template>
<div class="tktjClass">
<a-row>
<a-col :span="24" style="text-align: center;"><strong style="font-size: 16px;">听评课周统计</strong></a-col>
<a-col :span="24" style="text-align: center;"><strong style="font-size: 16px;">听评课覆盖率</strong></a-col>
<a-col :span="24">
<a-row>
<a-col :span="6">

View File

@ -56,6 +56,7 @@
import { getValueType } from '/@/utils';
import { saveOrUpdate } from '../KcErrorreport.api';
import { Form } from 'ant-design-vue';
import { getUserId } from '/@/views/site/utils/index';
//
import { useUserStore } from '/@/store/modules/user';
@ -108,7 +109,8 @@
* 新增
*/
function add(record) {
var param = {kechengbiaoid:record.id}
console.log(`🚀 ~ file: KcErrorreportIndexForm.vue:114 ~ add ~ record:`, record)
var param = {kechengbiaoid:record.kechengbiaoid,userid:getUserId()}
edit(param);
}

View File

@ -184,9 +184,9 @@ import { filterDictTextByCache } from '/@/utils/dict/JDictSelectUtil.js';
*/
function edit(record) {
nextTick(() => {
resetFields();
resetFields(record);
//
Object.assign(formData, record);
// Object.assign(formData, record);
});
}

View File

@ -7,7 +7,7 @@
<a-input v-model:value="formData.ntitle" placeholder="请输入标题" :disabled="disabled"></a-input>
</a-form-item>
</a-col>
<a-col :span="24">
<a-col :span="24" hidden>
<a-form-item label="类型" v-bind="validateInfos.ntype">
<j-dict-select-tag type='radio' v-model:value="formData.ntype" dictCode="ntype" placeholder="请选择类型" :disabled="disabled" @change="funntype"/>
</a-form-item>
@ -119,9 +119,9 @@ import { dateFormat } from '/@/utils/common/compUtils';
*/
function edit(record) {
nextTick(() => {
resetFields();
resetFields(record);
//
Object.assign(formData, record);
// Object.assign(formData, record);
});
}