提交代码
This commit is contained in:
parent
3bc06d57ae
commit
2d323fa8a0
|
@ -108,7 +108,7 @@ export interface HomeTrendQuery extends PageQuery {
|
||||||
/**
|
/**
|
||||||
* 发布时间
|
* 发布时间
|
||||||
*/
|
*/
|
||||||
createTime: string;
|
time: string;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 日期范围参数
|
* 日期范围参数
|
||||||
|
|
|
@ -9,9 +9,9 @@
|
||||||
<el-input v-model="queryParams.title" placeholder="请输入标题" clearable @keyup.enter="handleQuery" />
|
<el-input v-model="queryParams.title" placeholder="请输入标题" clearable @keyup.enter="handleQuery" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
<el-form-item label="发布时间" prop="createTime">
|
<el-form-item label="发布时间" prop="time">
|
||||||
<el-date-picker v-model="queryParams.createTime" type="date" placeholder="请选择发布时间"
|
<el-date-picker v-model="queryParams.time" format="YYYY-MM-DD" value-format="YYYY-MM-DD" type="date"
|
||||||
@keyup.enter="handleQuery" />
|
placeholder="请选择发布时间" @keyup.enter="handleQuery" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<el-button type="primary" icon="Search" @click="handleQuery">搜索</el-button>
|
<el-button type="primary" icon="Search" @click="handleQuery">搜索</el-button>
|
||||||
|
@ -144,7 +144,7 @@ const data = reactive<PageData<HomeTrendForm, HomeTrendQuery>>({
|
||||||
sort: undefined,
|
sort: undefined,
|
||||||
content: undefined,
|
content: undefined,
|
||||||
status: undefined,
|
status: undefined,
|
||||||
createTime: undefined,
|
time: undefined,
|
||||||
params: {
|
params: {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -258,7 +258,6 @@ const single = ref(true);
|
||||||
const multiple = ref(true);
|
const multiple = ref(true);
|
||||||
const total = ref(0);
|
const total = ref(0);
|
||||||
const type = ref(0);
|
const type = ref(0);
|
||||||
const previewListResource = ref(true);
|
|
||||||
|
|
||||||
const dialog = reactive<DialogOption>({
|
const dialog = reactive<DialogOption>({
|
||||||
visible: false,
|
visible: false,
|
||||||
|
@ -320,8 +319,6 @@ const { queryParams, form, rules } = toRefs(data);
|
||||||
/** 查询OSS对象存储列表 */
|
/** 查询OSS对象存储列表 */
|
||||||
const getList = async () => {
|
const getList = async () => {
|
||||||
loading.value = true;
|
loading.value = true;
|
||||||
const res = await proxy?.getConfigKey('sys.oss.previewListResource');
|
|
||||||
previewListResource.value = res?.data === undefined ? true : res.data === 'true';
|
|
||||||
let response
|
let response
|
||||||
if (isAudit.value) {
|
if (isAudit.value) {
|
||||||
response = await awaitResourceList(queryParams.value);
|
response = await awaitResourceList(queryParams.value);
|
||||||
|
|
Loading…
Reference in New Issue