fix: 修复环境配置和富文本编辑页面问题
更新生产环境API地址配置,取消注释富文本编辑页面的编辑人列显示,并根据用户类型动态设置数据范围参数
This commit is contained in:
parent
6d5eaa7fe6
commit
94cc7c172c
|
|
@ -2,9 +2,9 @@
|
||||||
ENV = production
|
ENV = production
|
||||||
|
|
||||||
# 线上环境接口地址
|
# 线上环境接口地址
|
||||||
VITE_API_URL = https://cankao.cs.com.cn/admin
|
# VITE_API_URL = https://cankao.cs.com.cn/admin
|
||||||
# VITE_API_URL = http://123.60.153.169:8040/admin
|
VITE_API_URL = http://123.60.153.169:8040/admin
|
||||||
|
|
||||||
#H5的域名,目前是给列表里的复制用
|
#H5的域名,目前是给列表里的复制用
|
||||||
VITE_API_URL_H5 = https://cankao.cs.com.cn
|
# VITE_API_URL_H5 = https://cankao.cs.com.cn
|
||||||
# VITE_API_URL_H5 = http://123.60.153.169:8040
|
VITE_API_URL_H5 = http://123.60.153.169:8040
|
||||||
|
|
|
||||||
|
|
@ -108,11 +108,11 @@
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
||||||
|
|
||||||
<!-- <el-table-column align="center" width="120" prop="submitter" label="编辑人">
|
<el-table-column align="center" width="120" prop="submitter" label="编辑人">
|
||||||
<template v-slot="scope">
|
<template v-slot="scope">
|
||||||
{{ scope.row.submitter ? scope.row.submitter : '-' }}
|
{{ scope.row.submitter ? scope.row.submitter : '-' }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column> -->
|
</el-table-column>
|
||||||
<el-table-column align="center" width="120">
|
<el-table-column align="center" width="120">
|
||||||
<template #header>
|
<template #header>
|
||||||
<el-dropdown trigger="click" @command="handleCommandRating">
|
<el-dropdown trigger="click" @command="handleCommandRating">
|
||||||
|
|
@ -394,7 +394,7 @@ async function getData() {
|
||||||
size: tableData.size,
|
size: tableData.size,
|
||||||
dateline_from: _sdate || undefined,
|
dateline_from: _sdate || undefined,
|
||||||
dateline_to: _edate || undefined,
|
dateline_to: _edate || undefined,
|
||||||
range: 'review',
|
|
||||||
});
|
});
|
||||||
tableLoading.value = false;
|
tableLoading.value = false;
|
||||||
if (code == 200) {
|
if (code == 200) {
|
||||||
|
|
|
||||||
|
|
@ -107,12 +107,11 @@
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
||||||
|
<el-table-column align="center" width="120" prop="submitter" label="编辑人">
|
||||||
<!-- <el-table-column align="center" width="120" prop="submitter" label="编辑人">
|
|
||||||
<template v-slot="scope">
|
<template v-slot="scope">
|
||||||
{{ scope.row.submitter ? scope.row.submitter : '-' }}
|
{{ scope.row.submitter ? scope.row.submitter : '-' }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column> -->
|
</el-table-column>
|
||||||
<el-table-column align="center" width="120">
|
<el-table-column align="center" width="120">
|
||||||
<template #header>
|
<template #header>
|
||||||
<el-dropdown trigger="click" @command="handleCommandRating">
|
<el-dropdown trigger="click" @command="handleCommandRating">
|
||||||
|
|
@ -394,6 +393,7 @@ async function getData() {
|
||||||
size: tableData.size,
|
size: tableData.size,
|
||||||
dateline_from: _sdate || undefined,
|
dateline_from: _sdate || undefined,
|
||||||
dateline_to: _edate || undefined,
|
dateline_to: _edate || undefined,
|
||||||
|
range: Session.get('userInfoLocal').userType == '01' ? 'review' : 'all',
|
||||||
});
|
});
|
||||||
tableLoading.value = false;
|
tableLoading.value = false;
|
||||||
if (code == 200) {
|
if (code == 200) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue