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
c95d9b9f
Commit
c95d9b9f
authored
Jun 24, 2024
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化管理中心模版 类型
parent
6a7a5511
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
13 deletions
+4
-13
follow.vue
src/components/home/follow.vue
+1
-8
Index.vue
src/views/TemplateCenter/Index.vue
+3
-5
No files found.
src/components/home/follow.vue
View file @
c95d9b9f
...
...
@@ -33,7 +33,6 @@
import
{
ref
,
onMounted
,
reactive
,
watch
,
onBeforeUnmount
}
from
'vue'
import
{
useRouter
}
from
"vue-router"
;
import
{
storeToRefs
}
from
'pinia'
import
{
useScreenStore
}
from
'@/store'
import
{
ApiResult
}
from
'@/configs/axios'
import
UserServices
from
'@/services/UserService'
import
{
ElMessage
,
FormInstance
}
from
'element-plus'
;
...
...
@@ -44,8 +43,6 @@ const qrCode = ref('')
const
qrLoading
=
ref
(
false
)
const
router
=
useRouter
();
const
{
market
,
model
,
ConfigId
,
CoverImg
,
dataLoading
}
=
storeToRefs
(
useScreenStore
())
const
props
=
defineProps
({
DetaTem
:{
type
:
Boolean
,
...
...
@@ -60,10 +57,7 @@ const props = defineProps({
default
:
false
,
}
})
const
params
=
reactive
({
ConfigId
:
''
as
any
,
TCID
:
''
as
any
,
})
const
emit
=
defineEmits
<
{
(
event
:
'close'
):
void
,
(
event
:
'success'
):
void
,
...
...
@@ -79,7 +73,6 @@ const close = () => {
stopTimerHandler
(
1
)
emit
(
'close'
)
}
if
(
model
.
value
==
0
&&
ConfigId
.
value
)
params
.
ConfigId
=
ConfigId
.
value
const
beginTimerHandler
=
()
=>
{
...
...
src/views/TemplateCenter/Index.vue
View file @
c95d9b9f
...
...
@@ -94,8 +94,8 @@
<span
class=
"fz14 q-pr-md shrink microsoft"
>
类型:
</span>
<el-select
v-model=
"queryObj.QAuthType"
class=
"ml-1 shrink TemSel microsoft"
placeholder=
"类型"
@
change=
"search()"
>
<
!--
<el-option
class=
"microsoft"
key=
""
label=
"不限"
value=
""
/>
--
>
placeholder=
"类型"
clearable
@
change=
"search()"
>
<
el-option
class=
"microsoft"
key=
""
label=
"不限"
value=
""
/
>
<el-option
class=
"microsoft"
v-for=
"item in QAuthTypes"
:key=
"item.ID"
...
...
@@ -331,7 +331,7 @@ const queryObj = reactive({
TemplateType
:
0
,
//0 不限 1模版 2广告
type
:
0
,
OrderByType
:
1
,
//排序方式
QAuthType
:
''
,
//1-免费,2-VIP,3-私有
QAuthType
:
userInfo
.
value
.
isp
?
1
:
''
,
//1-免费,2-VIP,3-私有
})
const
queryColor
=
ref
({
DictKey
:
'Trip_Template_Color'
,
...
...
@@ -780,8 +780,6 @@ getTemplateQuery();
queryTemplateBySearchHandler
();
onMounted
(()
=>
{
if
(
userInfo
.
value
.
isp
)
queryObj
.
QAuthType
=
1
console
.
log
(
userInfo
.
value
.
isp
,
'-----'
)
// marketRef.value.addEventListener("scroll", scrollingHandler);
})
</
script
>
...
...
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