Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gxpt_web
Overview
Overview
Details
Activity
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
pseer
gxpt_web
Commits
e9a83b4e
Commit
e9a83b4e
authored
Oct 23, 2023
by
zhangzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
细节优化
parent
28ef46a5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
2 deletions
+19
-2
index.vue
src/views/system/store/index.vue
+19
-2
No files found.
src/views/system/store/index.vue
View file @
e9a83b4e
...
@@ -89,6 +89,11 @@
...
@@ -89,6 +89,11 @@
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
<el-table-column
label=
"门店ID"
align=
"center"
prop=
"id"
/>
<el-table-column
label=
"门店ID"
align=
"center"
prop=
"id"
/>
<el-table-column
label=
"门店名称"
align=
"center"
prop=
"name"
/>
<el-table-column
label=
"门店名称"
align=
"center"
prop=
"name"
/>
<el-table-column
label=
"门店类型"
align=
"center"
prop=
"storeType"
>
<template
slot-scope=
"scope"
>
<dict-tag
:options=
"dict.type.store_type"
:value=
"scope.row.storeType"
/>
</
template
>
</el-table-column>
<el-table-column
label=
"门店主图"
align=
"center"
prop=
"images"
width=
"100"
>
<el-table-column
label=
"门店主图"
align=
"center"
prop=
"images"
width=
"100"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<image-preview
:src=
"scope.row.images"
:width=
"50"
:height=
"50"
/>
<image-preview
:src=
"scope.row.images"
:width=
"50"
:height=
"50"
/>
...
@@ -135,11 +140,21 @@
...
@@ -135,11 +140,21 @@
/>
/>
<!-- 添加或修改门店对话框 -->
<!-- 添加或修改门店对话框 -->
<el-dialog
:title=
"title"
:visible
.
sync=
"open"
width=
"5
00px
"
append-to-body
>
<el-dialog
:title=
"title"
:visible
.
sync=
"open"
width=
"5
5%
"
append-to-body
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"
8
0px"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"
12
0px"
>
<el-form-item
label=
"门店名称"
prop=
"name"
>
<el-form-item
label=
"门店名称"
prop=
"name"
>
<el-input
v-model=
"form.name"
placeholder=
"请输入门店名称"
/>
<el-input
v-model=
"form.name"
placeholder=
"请输入门店名称"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"房间类型"
prop=
"storeType"
>
<el-select
v-model=
"form.storeType"
placeholder=
"请选择门店类型"
>
<el-option
v-for=
"dict in dict.type.store_type"
:key=
"dict.value"
:label=
"dict.label"
:value=
"dict.value"
></el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"门店主图"
prop=
"images"
>
<el-form-item
label=
"门店主图"
prop=
"images"
>
<image-upload
v-model=
"form.images"
/>
<image-upload
v-model=
"form.images"
/>
</el-form-item>
</el-form-item>
...
@@ -178,6 +193,7 @@ import { listStore, getStore, delStore, addStore, updateStore } from "@/api/syst
...
@@ -178,6 +193,7 @@ import { listStore, getStore, delStore, addStore, updateStore } from "@/api/syst
export
default
{
export
default
{
name
:
"Store"
,
name
:
"Store"
,
dicts
:
[
'store_type'
],
data
()
{
data
()
{
return
{
return
{
// 遮罩层
// 遮罩层
...
@@ -243,6 +259,7 @@ export default {
...
@@ -243,6 +259,7 @@ export default {
longitude
:
null
,
longitude
:
null
,
latitude
:
null
,
latitude
:
null
,
manager
:
null
,
manager
:
null
,
storeType
:
'1'
,
phone
:
null
,
phone
:
null
,
info
:
null
,
info
:
null
,
createBy
:
null
,
createBy
:
null
,
...
...
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