Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
patzn-cloud-web-h5app-drs
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
zhuxiaomei
patzn-cloud-web-h5app-drs
Commits
6cb8a7fa
Commit
6cb8a7fa
authored
Nov 02, 2020
by
zhuxiaomei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
储存条件
parent
bc3f81e8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
8 deletions
+15
-8
SamplingListAdd.vue
src/page/sampling-list/SamplingListAdd.vue
+7
-4
SamplingListAddNet.vue
src/page/sampling-list/SamplingListAddNet.vue
+4
-1
File.vue
src/page/sampling-list/file/File.vue
+4
-3
No files found.
src/page/sampling-list/SamplingListAdd.vue
View file @
6cb8a7fa
...
...
@@ -849,7 +849,7 @@
inward
:
''
,
originPlace
:
''
,
packClass
:
''
,
storageCondition
:
[]
,
storageCondition
:
''
,
storageConditionRemark
:
''
},
taskTypeList
:
[
'监督抽检'
,
'风险监测'
,
'评价性抽检'
],
...
...
@@ -915,15 +915,18 @@
this
.
formObj
[
key
]
=
result
[
key
]
}
}
for
(
let
key
in
this
.
netTested
)
{
if
(
result
.
netTested
[
key
])
{
this
.
n
etTested
[
key
]
=
result
.
n
etTested
[
key
]
for
(
let
key
in
this
.
n
onN
etTested
)
{
if
(
result
.
n
onN
etTested
[
key
])
{
this
.
n
onNetTested
[
key
]
=
result
.
nonN
etTested
[
key
]
}
}
for
(
let
key
in
this
.
sample
)
{
if
(
result
.
sample
[
key
])
{
if
(
key
===
'sampleDate'
)
{
this
.
sample
[
key
]
=
result
.
sample
[
key
]
?
this
.
$dateformat
(
result
.
sample
[
key
],
'yyyy-mm-dd'
)
:
''
}
else
if
(
key
===
'storageCondition'
){
this
.
storageCondition
=
result
.
sample
[
key
].
split
(
','
)
this
.
sample
[
key
]
=
result
.
sample
[
key
]
}
else
{
this
.
sample
[
key
]
=
result
.
sample
[
key
]
}
...
...
src/page/sampling-list/SamplingListAddNet.vue
View file @
6cb8a7fa
...
...
@@ -902,7 +902,10 @@
if
(
result
.
sample
[
key
])
{
if
(
key
===
'sampleDate'
)
{
this
.
sample
[
key
]
=
result
.
sample
[
key
]
?
this
.
$dateformat
(
result
.
sample
[
key
],
'yyyy-mm-dd'
)
:
''
}
else
{
}
else
if
(
key
===
'storageCondition'
){
this
.
storageCondition
=
result
.
sample
[
key
].
split
(
','
)
this
.
sample
[
key
]
=
result
.
sample
[
key
]
}
else
{
this
.
sample
[
key
]
=
result
.
sample
[
key
]
}
}
...
...
src/page/sampling-list/file/File.vue
View file @
6cb8a7fa
...
...
@@ -19,9 +19,10 @@
</van-list>
</van-pull-refresh>
</div>
<div
class=
"bottom-btn"
>
<van-button
type=
"info"
block
@
click=
"_goto('/sampling_list/file_upload')"
>
添加附件
</van-button>
<!--<van-button type="primary" square @click="_uploadImg">添加图片</van-button>-->
<div
class=
"bottom-btn bottom-btn-two"
>
<!--<van-button type="info" block @click="_goto('/sampling_list/file_upload')">添加附件</van-button>-->
<van-button
type=
"info"
square
@
click=
"_goto('/sampling_list/file_upload')"
>
添加附件
</van-button>
<van-button
type=
"primary"
square
@
click=
"_uploadImg"
>
添加图片
</van-button>
</div>
<van-image-preview
v-model=
"showImg"
:images=
"imgList"
>
<!--<template #:index>第{{ index }}页</template>-->
...
...
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