Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
ferry_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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
jianan
ferry_web
Commits
7139251c
Commit
7139251c
authored
Sep 10, 2020
by
YuleiLan
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
https://github.com/lanyulei/ferry_web
into dev
parents
ad533427
3ce77c8f
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
14 additions
and
9 deletions
+14
-9
src/components/VueFormMaking/components/GenerateFormItem.vue
+5
-0
src/components/VueFormMaking/components/WidgetConfig.vue
+1
-0
src/components/VueFormMaking/components/componentsConfig.js
+1
-0
src/components/VueFormMaking/lang/zh-CN.js
+1
-1
src/views/error-page/404.vue
+3
-6
src/views/login/index.vue
+2
-1
src/views/process/list/handle.vue
+1
-1
No files found.
src/components/VueFormMaking/components/GenerateFormItem.vue
View file @
7139251c
...
...
@@ -60,6 +60,9 @@
</span>
</el-divider>
</
template
>
<
template
v-if=
"widget.type === 'input' && widget.options.showPassword"
>
<input
:value=
"dataModel"
type=
"password"
style=
"border: none; background-color: #ffffff; color: #303133"
disabled=
"disabled"
>
</
template
>
<
template
v-else
>
<div>
{{
dataModel
}}
...
...
@@ -75,6 +78,7 @@
:placeholder=
"widget.options.placeholder"
:style=
"
{width: widget.options.width}"
:disabled="widget.options.disabled"
:show-password="widget.options.showPassword"
/>
<el-input
v-else
...
...
@@ -83,6 +87,7 @@
:disabled=
"widget.options.disabled"
:placeholder=
"widget.options.placeholder"
:style=
"
{width: widget.options.width}"
:show-password="widget.options.showPassword"
/>
</
template
>
...
...
src/components/VueFormMaking/components/WidgetConfig.vue
View file @
7139251c
...
...
@@ -390,6 +390,7 @@
<el-form-item
:label=
"$t('fm.config.widget.attribute')"
>
<el-checkbox
v-if=
"Object.keys(data.options).indexOf('readonly')>=0"
v-model=
"data.options.readonly"
>
{{
$t
(
'fm.config.widget.readonly'
)
}}
</el-checkbox>
<el-checkbox
v-if=
"Object.keys(data.options).indexOf('disabled')>=0"
v-model=
"data.options.disabled"
>
{{
$t
(
'fm.config.widget.disabled'
)
}}
</el-checkbox>
<el-checkbox
v-if=
"Object.keys(data.options).indexOf('showPassword')>=0"
v-model=
"data.options.showPassword"
>
{{
$t
(
'fm.config.widget.showPassword'
)
}}
</el-checkbox>
<el-checkbox
v-if=
"Object.keys(data.options).indexOf('editable')>=0"
v-model=
"data.options.editable"
>
{{
$t
(
'fm.config.widget.editable'
)
}}
</el-checkbox>
<el-checkbox
v-if=
"Object.keys(data.options).indexOf('clearable')>=0"
v-model=
"data.options.clearable"
>
{{
$t
(
'fm.config.widget.clearable'
)
}}
</el-checkbox>
<el-checkbox
v-if=
"Object.keys(data.options).indexOf('arrowControl')>=0"
v-model=
"data.options.arrowControl"
>
{{
$t
(
'fm.config.widget.arrowControl'
)
}}
</el-checkbox>
...
...
src/components/VueFormMaking/components/componentsConfig.js
View file @
7139251c
...
...
@@ -10,6 +10,7 @@ export const basicComponents = [
pattern
:
''
,
placeholder
:
''
,
disabled
:
false
,
showPassword
:
false
,
labelWidth
:
100
,
labelWidthDisabled
:
false
,
labelWidthStatus
:
true
...
...
src/components/VueFormMaking/lang/zh-CN.js
View file @
7139251c
...
...
@@ -166,7 +166,7 @@ export default {
arrowControl
:
'使用箭头进行时间选择'
,
isDelete
:
'删除'
,
isEdit
:
'编辑'
,
showPassword
:
'
显示
密码'
,
showPassword
:
'密码'
,
validate
:
'校验'
,
required
:
'必填'
,
patternPlaceholder
:
'填写正则表达式'
,
...
...
src/views/error-page/404.vue
View file @
7139251c
...
...
@@ -9,12 +9,9 @@
</div>
<div
class=
"bullshit"
>
<div
class=
"bullshit__oops"
>
OOPS!
</div>
<div
class=
"bullshit__info"
>
All rights reserved
<a
style=
"color:#20a0ff"
href=
"https://wallstreetcn.com"
target=
"_blank"
>
wallstreetcn
</a>
</div>
<div
class=
"bullshit__headline"
>
{{
message
}}
</div>
<div
class=
"bullshit__info"
>
Please check that the URL you entered is correct, or click the button below to return to the homepage.
</div>
<a
href=
""
class=
"bullshit__return-home"
>
Back to home
</a>
<div
class=
"bullshit__info"
>
请检查您访问的地址是否正确,通常在切换用户时,若您的用户没有上个用户退出时的页面权限,也会触发此报错,请知悉,或者点击一下按钮返回首页。
</div>
<a
href=
""
class=
"bullshit__return-home"
>
返回首页
</a>
</div>
</div>
</div>
...
...
@@ -26,7 +23,7 @@ export default {
name
:
'Page404'
,
computed
:
{
message
()
{
return
'
The webmaster said that you can not enter this page...
'
return
'
抱歉,您找的页面不存在。
'
}
}
}
...
...
src/views/login/index.vue
View file @
7139251c
...
...
@@ -227,7 +227,8 @@ export default {
this
.
loading
=
true
this
.
$store
.
dispatch
(
'user/login'
,
this
.
loginForm
)
.
then
(()
=>
{
this
.
$router
.
push
({
path
:
this
.
redirect
||
'/'
,
query
:
this
.
otherQuery
})
// this.$router.push({ path: this.redirect || '/', query: this.otherQuery })
this
.
$router
.
push
({
path
:
'/'
})
this
.
loading
=
false
})
.
catch
(()
=>
{
...
...
src/views/process/list/handle.vue
View file @
7139251c
...
...
@@ -64,7 +64,7 @@
<fm-generate-form
v-show=
"currentNode.hideTpls===undefined ||
currentNode.hideTpls===null ||
currentNode.hideTpls.indexOf(tplItem.id)===-1"
currentNode.hideTpls.indexOf(tplItem.
form_structure.
id)===-1"
:key=
"tplIndex"
:ref=
"'generateForm-'+tplItem.id"
:preview=
"currentNode.writeTpls===undefined ||
...
...
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