Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
patzn-cloud-web-back-soil
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
wangweidong
patzn-cloud-web-back-soil
Commits
92e66bbe
Commit
92e66bbe
authored
Jan 04, 2021
by
lichengming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了样品管理
parent
cafab9f3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
3 deletions
+17
-3
PhotoManageCont.vue
components/file/photo-manage/PhotoManageCont.vue
+14
-0
EntrustRegister.vue
pages/soil-alone-sample-instock/EntrustRegister.vue
+2
-2
EntrustRegister.vue
...ple-manage/soil-alone-sample-outstock/EntrustRegister.vue
+1
-1
No files found.
components/file/photo-manage/PhotoManageCont.vue
View file @
92e66bbe
...
...
@@ -125,6 +125,20 @@ export default {
viewUri
:
'/food/v1/sample_attachment/view'
}
break
case
'aloneSampleId'
:
// 样品
this
.
entrustId
=
id
this
.
urlData
=
{
msg
:
'FoodSampleAttachment'
,
pageUrl
:
'soil/v1/alone_sample_annex/page'
,
deleteUrl
:
'/soil/v1/alone_sample_annex/?ids='
,
uploadFileUrl
:
'/soil/v1/alone_sample_annex/upload/'
,
downloadFileUrl
:
'/soil/v1/alone_sample_annex/download/'
,
downloadBatch
:
'/food/v1/sample_attachment/download_batch'
,
uri
:
'FoodSampleAttachment/getBySampleId'
,
viewUri
:
'/soil/v1/alone_sample_annex/view'
}
break
case
'subcontractorId'
:
// 分包商
this
.
subcontractorId
=
id
...
...
pages/soil-alone-sample-instock/EntrustRegister.vue
View file @
92e66bbe
...
...
@@ -257,7 +257,7 @@ export default {
// 上传照片文件
this
.
currentComponent
=
'PhotoManage'
this
.
$nextTick
(()
=>
{
this
.
$refs
.
refModal
.
_open
(
data
.
id
,
'
entrust
Id'
)
this
.
$refs
.
refModal
.
_open
(
data
.
id
,
'
aloneSample
Id'
)
})
// this.$refs.PhotoManage._open(id, 'entrustId')
},
...
...
@@ -410,7 +410,7 @@ export default {
// 上传文件
this
.
currentComponent
=
'FileManage'
this
.
$nextTick
(()
=>
{
this
.
$refs
.
refModal
.
_open
(
id
,
'
entrust
Id'
)
this
.
$refs
.
refModal
.
_open
(
id
,
'
aloneSample
Id'
)
})
},
_getById
:
async
function
(
id
)
{
...
...
pages/soil-alone-sample-manage/soil-alone-sample-outstock/EntrustRegister.vue
View file @
92e66bbe
...
...
@@ -393,7 +393,7 @@ export default {
// 上传文件
this
.
currentComponent
=
'FileManage'
this
.
$nextTick
(()
=>
{
this
.
$refs
.
refModal
.
_open
(
id
,
'
entrust
Id'
)
this
.
$refs
.
refModal
.
_open
(
id
,
'
aloneSample
Id'
)
})
},
_getById
:
async
function
(
id
)
{
...
...
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