fix: 测试问题修改

dev_1.0.0
xiangcongshuai 10 months ago
parent 75b8e7fe06
commit 49b5aa8c71

@ -76,7 +76,8 @@ const columns: TableColumnList = [
{
label: "序号",
type: "index",
width: 80
align: "center",
width: 55
},
{
label: "知识标题",
@ -383,6 +384,7 @@ onMounted(() => {
background: 'var(--el-table-row-hover-bg-color)',
color: 'var(--el-text-color-primary)'
}"
border
adaptive
:pagination="pagination"
@page-size-change="handleSizeChange"

@ -108,10 +108,7 @@ const openRejectApproval = () => {
RejectApprovalRef.value.open(knowledgeId.value, todoId.value);
};
const downLoadFile = item => {
downloadFile(
`/know-sub/file/downloadFile?fileId=${item.fileBlobId}`,
item.fileName
);
downloadFile(`/know-sub/file/downloadFile?fileId=${item.id}`, item.fileName);
};
</script>

@ -50,7 +50,7 @@ defineExpose({
const fileIdList = [];
const fileList = [];
data.fileInfoList.forEach(e => {
fileIdList.push(e.fileBlobId);
fileIdList.push(e.id);
fileList.push({
name: e.fileName
});
@ -425,8 +425,8 @@ onMounted(() => {
v-model="formData.knowledgeInfo.publishScope"
class="ml-4"
>
<el-radio :label="0" size="large">公开</el-radio>
<el-radio :label="1" size="large">不公开</el-radio>
<el-radio :label="1" size="large">公开</el-radio>
<el-radio :label="2" size="large">不公开</el-radio>
</el-radio-group>
</el-form-item>
</el-col>

@ -132,7 +132,9 @@ const columns: TableColumnList = [
{
label: "序号",
type: "index",
width: 80
align: "center",
width: 55,
resizable: true
},
{
label: "知识标题",
@ -293,7 +295,7 @@ const del = async (id, val) => {
remark: val
});
if (res.code === 200) {
message("删除成功", { type: "success" });
message("删除流程成功", { type: "success" });
search();
}
};
@ -303,7 +305,7 @@ const withdrawOk = async (id, val) => {
remark: val
});
if (res.code === 200) {
message("撤回成功", { type: "success" });
message("撤回流程成功", { type: "success" });
search();
}
};
@ -457,6 +459,7 @@ onMounted(() => {
color: 'var(--el-text-color-primary)'
}"
adaptive
border
:pagination="pagination"
@page-size-change="handleSizeChange"
@page-current-change="handleCurrentChange"

@ -46,7 +46,7 @@ export default ({ command, mode }: ConfigEnv): UserConfigExport => {
proxy: {
// 类型: Record<string, string | ProxyOp 为开发服务器配置自定义代理规则
"/know-sub/": {
target: "http://192.168.10.25:9201/",
target: "http://192.168.10.138:1180/",
changeOrigin: true,
secure: false
// eslint-disable-next-line no-shadow

Loading…
Cancel
Save