Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pptist
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
viitto
pptist
Commits
4ff950f8
Commit
4ff950f8
authored
Feb 22, 2024
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化 移动 组件
parent
1f554245
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
162 additions
and
103 deletions
+162
-103
ConfigService.ts
src/services/ConfigService.ts
+21
-0
BrowsingHistory.vue
src/views/SellTemplate/components/BrowsingHistory.vue
+131
-89
TreeFile.vue
src/views/SellTemplate/components/TreeFile.vue
+9
-13
journeyAds.vue
src/views/SellTemplate/components/journeyAds.vue
+1
-1
No files found.
src/services/ConfigService.ts
View file @
4ff950f8
...
...
@@ -5,6 +5,27 @@ import Api,{ HttpResponse, Result } from './../utils/request';
*/
class
ConfigService
{
/**
* 我的回收站
*/
static
async
GetTripOtherRecycleBinPage
(
params
:
any
):
Promise
<
HttpResponse
>
{
return
Api
.
Post
(
"triptemplate_GetTripOtherRecycleBinPage"
,
params
)
}
/**
* 共享给我的文件
*/
static
async
GetShareMyFile
(
params
:
any
):
Promise
<
HttpResponse
>
{
return
Api
.
Post
(
"triptemplate_GetShareMyFile"
,
params
)
}
/**
* 获取我的收藏
*/
static
async
GetTripCollectListPage
(
params
:
any
):
Promise
<
HttpResponse
>
{
return
Api
.
Post
(
"triptemplate_GetTripCollectListPage"
,
params
)
}
/**
* 获取行程广告最近版本
*/
...
...
src/views/SellTemplate/components/BrowsingHistory.vue
View file @
4ff950f8
This diff is collapsed.
Click to expand it.
src/views/SellTemplate/components/TreeFile.vue
View file @
4ff950f8
...
...
@@ -56,13 +56,12 @@
:props=
"defaultProps"
v-model=
"datas.FolderId"
:data=
"dataList"
default-expand-all
check-strictly
:render-after-expand=
"false"
show-checkbox
check-on-click-node
style=
"width: 220px"
default-expand-all
:filter-node-method=
"filterNode"
@
check=
"handleTreeNodeClick"
/>
</div>
...
...
@@ -137,16 +136,13 @@ import FolderService from "@/services/FolderService";
// 树目前的选中状态对象,包含 checkedNodes、checkedKeys、halfCheckedNodes、halfCheckedKeys 四个属性
if
(
checkObj
.
checkedKeys
.
length
!=
0
)
{
datas
.
FolderObj
=
data
if
(
checkObj
.
checkedKeys
.
length
==
2
)
{
// 如果选择超过一个节点,则只保留最后一个节点
//单选实现
datas
.
FolderId
=
data
.
FileId
// if(checkObj.checkedNodes.length>1)
treeRef
.
value
.
setCheckedKeys
([
data
.
FileId
]);
}
else
{
datas
.
FolderId
=
data
.
FileId
treeRef
.
value
.
setCheckedKeys
([
data
.
FileId
]);
}
// if (checkObj.checkedKeys.length == 2) {
// datas.FolderId = data.FileId
// treeRef.value.setCheckedKeys([data.FileId]);
// }else{
// datas.FolderId = data.FileId
// treeRef.value.setCheckedKeys([data.FileId]);
// }
}
}
const
filterNode
=
(
value
:
string
,
data
:
Tree
)
=>
{
...
...
src/views/SellTemplate/components/journeyAds.vue
View file @
4ff950f8
...
...
@@ -494,7 +494,7 @@ const singleChoice = (row: any) => {
};
const
DeleteFile
=
async
(
item
:
any
)
=>
{
ElMessageBox
.
confirm
(
"此操作将删除该文件夹,是否确定?"
,
"提示"
,
{
ElMessageBox
.
confirm
(
"此操作将删除该文件夹
及其下的文件
,是否确定?"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment