Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
intel_promotion_manage
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
张伯涛
intel_promotion_manage
Commits
79da9894
Commit
79da9894
authored
Aug 28, 2024
by
liwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
将写死的小程序切换成数据字典
parent
82f90742
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
4 deletions
+12
-4
index.vue
src/views/merchantManagement/index.vue
+12
-4
No files found.
src/views/merchantManagement/index.vue
View file @
79da9894
...
...
@@ -146,8 +146,8 @@
<el-option
v-for=
"(item,index) in WeChatOptions"
:key=
"index"
:label=
"item.
l
abel"
:value=
"item.
v
alue"
:label=
"item.
dictL
abel"
:value=
"item.
dictV
alue"
/>
</el-select>
</el-form-item>
...
...
@@ -182,6 +182,7 @@ import {
delSysUnit
,
queryUnitAdminByBusinessId
}
from
'@/api/merchantManagement'
import
{
getDict
}
from
"@/api/system/dict/data"
;
export
default
{
name
:
'SysUnit'
,
...
...
@@ -189,8 +190,8 @@ export default {
return
{
userList
:
[],
WeChatOptions
:
[
{
label
:
'鸿泽云智能推广系统'
,
value
:
'1'
},
{
label
:
'星耀鸿泽文化智能推广系统'
,
value
:
'2'
}
//
{ label: '鸿泽云智能推广系统', value: '1' },
//
{ label: '星耀鸿泽文化智能推广系统', value: '2' }
],
userUnit
:
[],
/**
...
...
@@ -268,8 +269,15 @@ export default {
created
()
{
this
.
getUserList
()
this
.
getList
()
// 列表查询
this
.
getWeChartOptions
()
},
methods
:
{
// 获取小程序选择
getWeChartOptions
()
{
getDict
(
'wechart_options'
).
then
(
res
=>
{
this
.
WeChatOptions
=
res
.
data
})
},
getUserList
()
{
queryUnitAdmin
().
then
(
res
=>
{
this
.
userList
=
res
.
data
...
...
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