Skip to content

Commit

Permalink
feat: 优化已知问题;提交前端构建成果物
Browse files Browse the repository at this point in the history
  • Loading branch information
huasenjio committed Oct 20, 2024
1 parent 2f9bb8a commit 891e534
Show file tree
Hide file tree
Showing 19 changed files with 62 additions and 48 deletions.
2 changes: 1 addition & 1 deletion huasen-frontend/admin/src/network/address/site.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* @Date: 2022-10-10 01:15:26
* @LastEditors: huasenjio
* @LastEditTime: 2023-04-25 00:21:12
* @Description: 文件操作接口
* @Description: 链接操作接口
*/

const Mock = require('mockjs2');
Expand Down
30 changes: 15 additions & 15 deletions huasen-frontend/admin/src/views/column-manage/ColumnManage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<template v-slot:tips>
<div class="text text-gray-500">
<i class="el-icon-warning-outline text-orange-400 mr-px-4"></i>
温馨提示:添加的<font class="text-red-400">栏目</font>需要绑定到<font class="text-red-400">订阅源</font>后才会被加载显示
温馨提示:添加的<font class="text-red-400">栏目</font>需要配置绑定到<font class="text-red-400">订阅源</font>后才会被加载显示
</div>
</template>
</DialogForm>
Expand Down Expand Up @@ -89,14 +89,14 @@ export default {
label: '备注',
key: 'remarks',
},
// {
// label: '网址仓库',
// key: 'siteStore',
// },
// {
// label: '拓展字段',
// key: 'expand',
// },
{
label: '网址仓库',
key: 'siteStore',
},
{
label: '拓展字段',
key: 'expand',
},
],

// 搜索表单
Expand All @@ -123,15 +123,10 @@ export default {
mode: 'add',
formMap: [
{
label: '栏目名称',
label: '名称',
key: 'name',
type: 'input',
},
{
label: '封面',
key: 'banner',
type: 'banner',
},
{
label: '描述',
key: 'description',
Expand All @@ -148,6 +143,11 @@ export default {
key: 'remarks',
type: 'input',
},
{
label: '封面',
key: 'banner',
type: 'banner',
},
{
label: '是否可用',
key: 'enabled',
Expand Down
26 changes: 18 additions & 8 deletions huasen-frontend/admin/src/views/column-manage/SiteSelector.vue
Original file line number Diff line number Diff line change
Expand Up @@ -203,16 +203,26 @@ export default {
});
// 选择性绑定/解绑
if (needBindSite.length) {
await this.API.bindColumnToSite({
columnId: this.currentColumn._id,
sites: needBindSite,
});
await this.API.bindColumnToSite(
{
columnId: this.currentColumn._id,
sites: needBindSite,
},
{
notify: false,
},
);
}
if (needUnbindSite.length) {
await this.API.unbindColumnToSite({
columnId: this.currentColumn._id,
sites: needUnbindSite,
});
await this.API.unbindColumnToSite(
{
columnId: this.currentColumn._id,
sites: needUnbindSite,
},
{
notify: false,
},
);
}
this.$emit('save');
},
Expand Down
16 changes: 8 additions & 8 deletions huasen-frontend/admin/src/views/journal-manage/JournalManage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,14 @@ export default {
label: '订阅源名称',
key: 'name',
},
// {
// label: '栏目',
// key: 'columnStore',
// },
// {
// label: '拓展字段',
// key: 'expand',
// },
{
label: '栏目',
key: 'columnStore',
},
{
label: '拓展字段',
key: 'expand',
},
{
label: '权限码',
key: 'code',
Expand Down
12 changes: 1 addition & 11 deletions huasen-frontend/admin/src/views/site-manage/SiteManage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
<template v-slot:tips>
<div class="text text-gray-500">
<i class="el-icon-warning-outline text-orange-400 mr-px-4"></i>
温馨提示:添加的<font class="text-red-400">网链</font>需要绑定到<font class="text-red-400">栏目</font>后才会被加载显示
温馨提示:添加的<font class="text-red-400">网链</font>需要配置绑定到<font class="text-red-400">栏目</font>后才会被加载显示
</div>
</template>
</DialogForm>
Expand All @@ -60,8 +60,6 @@
:formRule="importRule"
:close-on-click-modal="false"
:mode="importMode"
@comfirmForm="saveImportSite"
@cancelForm="cancelImportSite"
></DialogForm>
</div>
</template>
Expand Down Expand Up @@ -292,7 +290,6 @@ export default {
this.tableData = res.data.list;
this.total = res.data.total;
this.cancel();
this.cancelImportSite();
});
// 请求站点的所有标签
this.API.findSiteTagByList({}, { notify: false }).then(res => {
Expand Down Expand Up @@ -492,13 +489,6 @@ export default {
}
},

cancelImportSite() {
if (this.$refs.dialogImportForm) {
this.$refs.dialogImportForm.close();
}
this.showImport = false;
},

cancel() {
if (this.$refs.dialogForm) {
this.$refs.dialogForm.close();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,14 @@ export default {
height: 100%;
.exit {
position: absolute;
padding: 2px;
bottom: 18px;
right: 28px;
font-size: 24px;
filter: invert(100%);
// filter: invert(100%);
cursor: pointer;
border-radius: 6px;
background-color: var(--gray-o5);
}
}
</style>

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.site-manage[data-v-3a0dcc7e]{width:100%;height:calc(100% - 120px);padding:10px 10px}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 891e534

Please sign in to comment.