Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bms-vue-obear
Project
Project
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
daywrite
bms-vue-obear
Commits
0e34ecd8
Commit
0e34ecd8
authored
Jun 23, 2019
by
daywrite
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
c6342626
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
5 deletions
+20
-5
index.ejs
index.ejs
+3
-3
searchForm.vue
src/components/common/searchForm.vue
+1
-1
documentForm.vue
src/components/document/documentForm.vue
+16
-1
No files found.
index.ejs
View file @
0e34ecd8
...
...
@@ -11,10 +11,10 @@
<script
src=
"./static/vupVueSdk.js"
></script>
<link
rel=
"stylesheet"
href=
"./static/vupVueSdk.css"
>
<script
src=
"https://code.highcharts.com.cn/highcharts/highcharts.js"
></script>
<
!-- <script src="https://code.highcharts.com.cn/highcharts/highcharts-more.js"></script> --
>
<
script
src=
"https://code.highcharts.com.cn/highcharts/highcharts-more.js"
></script
>
<script
src=
"https://code.highcharts.com.cn/highcharts/modules/exporting.js"
></script>
<script
src=
"https://code.highcharts.com.cn/highcharts/modules/drilldown.js"
>
//
<
script
src
=
"https://code.highcharts.com.cn/highcharts/modules/solid-gauge.js"
>
</script>
<script
src=
"https://code.highcharts.com.cn/highcharts/modules/drilldown.js"
>
</script>
<script
src=
"https://code.highcharts.com.cn/highcharts/modules/solid-gauge.js"
></script>
<script
src=
"https://code.highcharts.com.cn/highcharts/themes/grid-light.js"
></script>
<script
src=
"https://img.hcharts.cn/highcharts-plugins/highcharts-zh_CN.js"
></script>
<script>
...
...
src/components/common/searchForm.vue
View file @
0e34ecd8
...
...
@@ -14,7 +14,7 @@
{{
item
.
name
}}
</span>
</span>
<el-select
v-model=
"clientForm[item.key]"
placeholder=
"
请选择"
v-if=
"!item.itemKey && item.key !== 'Filter[sort]'"
>
<el-select
v-model=
"clientForm[item.key]"
placeholder=
"
全部"
clearable
v-if=
"!item.itemKey && item.key !== 'Filter[sort]'"
>
<el-option
v-for=
"(option, optKey) in item.value"
:key=
"optKey"
:label=
"option.name"
...
...
src/components/document/documentForm.vue
View file @
0e34ecd8
...
...
@@ -52,11 +52,21 @@
v-model
.
trim=
"model.attachment_id"
>
</el-input>
</el-form-item>
<el-form-item
label=
"文件名:"
prop=
"attachment_id"
class=
"ec-clear-left ec-form-item-lg"
>
<single-upload
label=
""
:file-name=
"getFileName('receiptScan')"
tips=
"只能上传 jpg,png,pdf 类型文件, 文件不能超过50M"
:form-item=
"model.attachment_id"
@
update:item=
"val =>
{model.attachment_id = val}">
</single-upload>
</el-form-item>
</el-form>
</section>
</
template
>
<
script
>
import
singleRadio
from
'../common/singleRadio'
import
singleUpload
from
'../common/singleUpload'
import
settingMixin
from
'../common/settingMixin'
import
{
requestAPI
,
...
...
@@ -72,7 +82,8 @@ export default {
},
components
:
{
singleRadio
singleRadio
,
singleUpload
},
data
()
{
...
...
@@ -140,6 +151,10 @@ export default {
}).
then
(
res
=>
{
this
.
options
.
documentTypeArray
=
res
})
},
getFileName
(
key
)
{
return
''
}
}
}
...
...
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