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
e4ad13aa
Commit
e4ad13aa
authored
Jul 03, 2024
by
zhengke
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into 1.4.0
parents
4a9db423
1b97b1b3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
3 deletions
+19
-3
index.vue
src/views/Editor/EditorHeader/index.vue
+17
-2
ElementTemplateData.vue
src/views/Editor/Toolbar/ElementTemplateData.vue
+1
-1
nation.vue
src/views/TemplateCenter/nation.vue
+1
-0
No files found.
src/views/Editor/EditorHeader/index.vue
View file @
e4ad13aa
...
...
@@ -525,9 +525,24 @@ const setTemplate = async (type) =>{
||
queryObj
.
value
.
ColorStr
==
''
||
queryObj
.
value
.
SeasonName
==
''
)){
datas
.
loading
=
false
mainStore
.
setToolbarState
(
ToolbarStates
.
EL_TEMPLATEDATA
)
return
ElMessage
({
if
(
queryObj
.
value
.
Title
==
''
)
return
ElMessage
({
showClose
:
true
,
message
:
'请完善右侧模版名称'
,
type
:
'warning'
,
})
if
(
queryObj
.
value
.
CountryName
==
''
)
return
ElMessage
({
showClose
:
true
,
message
:
'请完善右侧国家'
,
type
:
'warning'
,
})
if
(
queryObj
.
value
.
ColorStr
==
''
)
return
ElMessage
({
showClose
:
true
,
message
:
'请完善右侧颜色'
,
type
:
'warning'
,
})
if
(
queryObj
.
value
.
SeasonName
==
''
)
return
ElMessage
({
showClose
:
true
,
message
:
'请完善右侧
模版数据
'
,
message
:
'请完善右侧
季节
'
,
type
:
'warning'
,
})
}
...
...
src/views/Editor/Toolbar/ElementTemplateData.vue
View file @
e4ad13aa
...
...
@@ -97,7 +97,6 @@
</div>
</div>
</div>
<div
class=
"row q-mt-md"
>
<el-select
v-model=
"queryObj.CountryName"
filterable
class=
"m-2"
placeholder=
"请选择国家"
@
change=
"getCountryId"
>
...
...
@@ -468,6 +467,7 @@
})
return
}
datas
.
params
.
Content
=
datas
.
params
.
Name
try
{
datas
.
addNationLoading
=
true
let
dataRes
=
await
ConfigService
.
SetTemplateConfigData
(
datas
.
params
)
...
...
src/views/TemplateCenter/nation.vue
View file @
e4ad13aa
...
...
@@ -126,6 +126,7 @@
message
:
'请完善国家名称'
,
type
:
'warning'
,
})
datas
.
params
.
Content
=
datas
.
params
.
Name
datas
.
requestLoading
=
true
const
result
=
await
ConfigService
.
SetTemplateConfigData
(
datas
.
params
)
if
(
result
){
...
...
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