Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
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
周远喜
mes-ui
Commits
e887cd17
Commit
e887cd17
authored
Sep 30, 2020
by
renjintao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
config index
parent
a99070f4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
159 additions
and
171 deletions
+159
-171
npm-shrinkwrap.json
npm-shrinkwrap.json
+10
-10
index.vue
pages/system/config/index.vue
+149
-161
No files found.
npm-shrinkwrap.json
View file @
e887cd17
...
@@ -4943,7 +4943,7 @@
...
@@ -4943,7 +4943,7 @@
"dependencies"
:
{
"dependencies"
:
{
"commander"
:
{
"commander"
:
{
"version"
:
"2.14.1"
,
"version"
:
"2.14.1"
,
"resolved"
:
"http
://r.cnpmjs.org/commander/download/
commander-2.14.1.tgz"
,
"resolved"
:
"http
s://registry.npm.taobao.org/commander/download/commander-2.14.1.tgz?cache=0&sync_timestamp=1595168224685&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fcommander%2Fdownload%2F
commander-2.14.1.tgz"
,
"integrity"
:
"sha1-IjUSPjevjKPGXfRbAm29NXsBuao="
"integrity"
:
"sha1-IjUSPjevjKPGXfRbAm29NXsBuao="
}
}
}
}
...
@@ -5472,7 +5472,7 @@
...
@@ -5472,7 +5472,7 @@
},
},
"crc-32"
:
{
"crc-32"
:
{
"version"
:
"1.2.0"
,
"version"
:
"1.2.0"
,
"resolved"
:
"http
://r.cnpmjs
.org/crc-32/download/crc-32-1.2.0.tgz"
,
"resolved"
:
"http
s://registry.npm.taobao
.org/crc-32/download/crc-32-1.2.0.tgz"
,
"integrity"
:
"sha1-yy224puIUI4y2d0OwWk+e0Ghggg="
,
"integrity"
:
"sha1-yy224puIUI4y2d0OwWk+e0Ghggg="
,
"requires"
:
{
"requires"
:
{
"exit-on-epipe"
:
"~1.0.1"
,
"exit-on-epipe"
:
"~1.0.1"
,
...
@@ -7369,7 +7369,7 @@
...
@@ -7369,7 +7369,7 @@
},
},
"exit-on-epipe"
:
{
"exit-on-epipe"
:
{
"version"
:
"1.0.1"
,
"version"
:
"1.0.1"
,
"resolved"
:
"http
://r.cnpmjs
.org/exit-on-epipe/download/exit-on-epipe-1.0.1.tgz"
,
"resolved"
:
"http
s://registry.npm.taobao
.org/exit-on-epipe/download/exit-on-epipe-1.0.1.tgz"
,
"integrity"
:
"sha1-C92S6H1ShdJn2qgXHQ6wYVlolpI="
"integrity"
:
"sha1-C92S6H1ShdJn2qgXHQ6wYVlolpI="
},
},
"expand-brackets"
:
{
"expand-brackets"
:
{
...
@@ -8020,7 +8020,7 @@
...
@@ -8020,7 +8020,7 @@
},
},
"frac"
:
{
"frac"
:
{
"version"
:
"1.1.2"
,
"version"
:
"1.1.2"
,
"resolved"
:
"http
://r.cnpmjs
.org/frac/download/frac-1.1.2.tgz"
,
"resolved"
:
"http
s://registry.npm.taobao
.org/frac/download/frac-1.1.2.tgz"
,
"integrity"
:
"sha1-PXT39keMiKG1AgMG10fcYxPHTQs="
"integrity"
:
"sha1-PXT39keMiKG1AgMG10fcYxPHTQs="
},
},
"fragment-cache"
:
{
"fragment-cache"
:
{
...
@@ -15097,7 +15097,7 @@
...
@@ -15097,7 +15097,7 @@
},
},
"printj"
:
{
"printj"
:
{
"version"
:
"1.1.2"
,
"version"
:
"1.1.2"
,
"resolved"
:
"http
://r.cnpmjs
.org/printj/download/printj-1.1.2.tgz"
,
"resolved"
:
"http
s://registry.npm.taobao
.org/printj/download/printj-1.1.2.tgz"
,
"integrity"
:
"sha1-2Q3rKXWoufYA+zoclOP0xTx4oiI="
"integrity"
:
"sha1-2Q3rKXWoufYA+zoclOP0xTx4oiI="
},
},
"private"
:
{
"private"
:
{
...
@@ -20550,7 +20550,7 @@
...
@@ -20550,7 +20550,7 @@
},
},
"script-loader"
:
{
"script-loader"
:
{
"version"
:
"0.7.2"
,
"version"
:
"0.7.2"
,
"resolved"
:
"http
://r.cnpmjs
.org/script-loader/download/script-loader-0.7.2.tgz"
,
"resolved"
:
"http
s://registry.npm.taobao
.org/script-loader/download/script-loader-0.7.2.tgz"
,
"integrity"
:
"sha1-IBbbb4byX1z1baOJFdgzeLsWa6c="
,
"integrity"
:
"sha1-IBbbb4byX1z1baOJFdgzeLsWa6c="
,
"dev"
:
true
,
"dev"
:
true
,
"requires"
:
{
"requires"
:
{
...
@@ -21138,7 +21138,7 @@
...
@@ -21138,7 +21138,7 @@
},
},
"ssf"
:
{
"ssf"
:
{
"version"
:
"0.10.3"
,
"version"
:
"0.10.3"
,
"resolved"
:
"http
://r.cnpmjs
.org/ssf/download/ssf-0.10.3.tgz"
,
"resolved"
:
"http
s://registry.npm.taobao
.org/ssf/download/ssf-0.10.3.tgz"
,
"integrity"
:
"sha1-jq4fwpyQpVLnkhII+BiS1vd6yys="
,
"integrity"
:
"sha1-jq4fwpyQpVLnkhII+BiS1vd6yys="
,
"requires"
:
{
"requires"
:
{
"frac"
:
"~1.1.2"
"frac"
:
"~1.1.2"
...
@@ -23805,7 +23805,7 @@
...
@@ -23805,7 +23805,7 @@
},
},
"wmf"
:
{
"wmf"
:
{
"version"
:
"1.0.2"
,
"version"
:
"1.0.2"
,
"resolved"
:
"http
://r.cnpmjs
.org/wmf/download/wmf-1.0.2.tgz"
,
"resolved"
:
"http
s://registry.npm.taobao
.org/wmf/download/wmf-1.0.2.tgz"
,
"integrity"
:
"sha1-fRnWIQcaCMK9xrfmiKnENSmMwto="
"integrity"
:
"sha1-fRnWIQcaCMK9xrfmiKnENSmMwto="
},
},
"word-wrap"
:
{
"word-wrap"
:
{
...
@@ -23960,7 +23960,7 @@
...
@@ -23960,7 +23960,7 @@
},
},
"xlsx"
:
{
"xlsx"
:
{
"version"
:
"0.15.6"
,
"version"
:
"0.15.6"
,
"resolved"
:
"http
://r.cnpmjs.org/xlsx/download/
xlsx-0.15.6.tgz"
,
"resolved"
:
"http
s://registry.npm.taobao.org/xlsx/download/xlsx-0.15.6.tgz?cache=0&sync_timestamp=1597272342311&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fxlsx%2Fdownload%2F
xlsx-0.15.6.tgz"
,
"integrity"
:
"sha1-Rh+EHW2eoag3XizSRr8jrs4IodU="
,
"integrity"
:
"sha1-Rh+EHW2eoag3XizSRr8jrs4IodU="
,
"requires"
:
{
"requires"
:
{
"adler-32"
:
"~1.2.0"
,
"adler-32"
:
"~1.2.0"
,
...
@@ -23975,7 +23975,7 @@
...
@@ -23975,7 +23975,7 @@
"dependencies"
:
{
"dependencies"
:
{
"commander"
:
{
"commander"
:
{
"version"
:
"2.17.1"
,
"version"
:
"2.17.1"
,
"resolved"
:
"http
://r.cnpmjs.org/commander/download/
commander-2.17.1.tgz"
,
"resolved"
:
"http
s://registry.npm.taobao.org/commander/download/commander-2.17.1.tgz?cache=0&sync_timestamp=1595168224685&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fcommander%2Fdownload%2F
commander-2.17.1.tgz"
,
"integrity"
:
"sha1-vXerfebelCBc6sxy8XFtKfIKd78="
"integrity"
:
"sha1-vXerfebelCBc6sxy8XFtKfIKd78="
}
}
}
}
...
...
pages/system/config/index.vue
View file @
e887cd17
<
template
>
<
template
>
<div
class=
"config flex"
>
<div
class=
"config flex"
>
<div
class=
"menu"
>
<div
class=
"menu"
>
<Menu
theme=
"light"
active-name=
"site"
>
<Menu
theme=
"light"
active-name=
"site"
@
on-select=
"pageTo"
>
<MenuItem
name=
"site"
to=
"#site"
>
站点设置
</MenuItem>
<MenuItem
name=
"site"
>
站点设置
</MenuItem>
<MenuItem
name=
"bus"
to=
"#bus"
>
业务设置
</MenuItem>
<MenuItem
name=
"bus"
>
业务设置
</MenuItem>
</Menu>
</Menu>
</div>
</div>
<
<<<<<<
HEAD
<
div
class=
"main fg"
id=
"mainDiv"
>
<div
class=
"main fg"
id=
"mainDiv"
>
<div
class=
"tr lt40 fr divTop pr20"
>
<div
class=
"tr lt40 fr divTop pr20"
>
<Button
type=
"primary"
size=
"small"
@
click=
"save"
>
保存
</Button>
<Button
type=
"primary"
size=
"small"
@
click=
"save"
>
保存
</Button>
<Button
type=
"text"
size=
"small"
@
click=
"reset"
>
恢复默认
</Button>
<Button
type=
"text"
size=
"small"
@
click=
"reset"
>
恢复默认
</Button>
=======
<div
class=
"main fg"
>
<div
class=
"tool tr"
>
<Button
type=
"primary"
@
click=
"save"
>
保存
</Button>
<Button
type=
"text"
@
click=
"reset"
>
恢复默认
</Button>
</div>
</div>
<Form
ref=
"form"
:model=
"config"
:rules=
"rules"
:label-width=
"120"
>
<Form
ref=
"form"
:model=
"config"
:rules=
"rules"
:label-width=
"120"
>
<div
id=
"site
"
>
<div
id=
"site"
class=
"mt50
"
>
<h3>
站点设置
</h3>
<h3>
站点设置
</h3>
<FormItem
label=
"默认语言"
prop=
"site.language"
>
<FormItem
label=
"默认语言"
prop=
"site.language"
>
<Input
v-model=
"config.site.language"
></Input>
<Input
v-model=
"config.site.language"
></Input>
...
@@ -84,7 +79,6 @@
...
@@ -84,7 +79,6 @@
<i-switch
v-model=
"config.site.windowMove"
/>
<i-switch
v-model=
"config.site.windowMove"
/>
<span
class=
"tip"
>
开启后弹框可以进行移动
</span>
<span
class=
"tip"
>
开启后弹框可以进行移动
</span>
</FormItem>
</FormItem>
>>>>>>> c26d050f1ec6b064c32ac1a3b4f647500a3dfe83
</div>
</div>
<div
id=
"bus"
>
<div
id=
"bus"
>
<h3>
业务设置
</h3>
<h3>
业务设置
</h3>
...
@@ -138,7 +132,7 @@
...
@@ -138,7 +132,7 @@
</div>
</div>
</Form>
</Form>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
...
@@ -181,12 +175,7 @@ export default {
...
@@ -181,12 +175,7 @@ export default {
mainDiv
.
scrollTop
=
site
.
scrollHeight
;
mainDiv
.
scrollTop
=
site
.
scrollHeight
;
}
}
}
}
})
},
},
reset
()
{
this
.
$store
.
dispatch
(
"loadSiteConfig"
);
},
},
};
};
</
script
>
</
script
>
...
@@ -205,6 +194,7 @@ reset() {
...
@@ -205,6 +194,7 @@ reset() {
width: 100%;
width: 100%;
top: 5px;
top: 5px;
}
}
}
.main {
.main {
margin: 0px -10px;
margin: 0px -10px;
...
@@ -233,7 +223,5 @@ reset() {
...
@@ -233,7 +223,5 @@ reset() {
height: calc(100vh - 150px);
height: calc(100vh - 150px);
overflow-y: auto;
overflow-y: auto;
}
}
}
}
}
</
style
>
</
style
>
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