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
b7ea0817
Commit
b7ea0817
authored
Sep 23, 2020
by
lichengming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了开土制备历史记录
parent
37538382
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
5 deletions
+32
-5
SoilSampleItemManageHis.vue
pages/soil-sample-manage/SoilSampleItemManageHis.vue
+0
-0
SoilSampleManageHis.vue
pages/soil-sample-manage/SoilSampleManageHis.vue
+0
-0
SamplePreparationHis.vue
...sample-manage/sample-preparation/SamplePreparationHis.vue
+32
-5
No files found.
pages/soil-sample-manage/SoilSampleItemManageHis.vue
0 → 100644
View file @
b7ea0817
This diff is collapsed.
Click to expand it.
pages/soil-sample-manage/SoilSampleManageHis.vue
0 → 100644
View file @
b7ea0817
This diff is collapsed.
Click to expand it.
pages/soil-sample-manage/sample-preparation/SamplePreparationHis.vue
View file @
b7ea0817
...
...
@@ -47,13 +47,17 @@
</div>
</div>
<MeterEntrustRecord
ref=
"entrustRecordModal"
@
on-result-change=
"_page"
></MeterEntrustRecord>
<SoilSampleManageHis
ref=
"sampleManageModal"
@
on-result-change=
"_page"
></SoilSampleManageHis>
<PhotoManage
ref=
"photoManage"
></PhotoManage>
<FileManage
ref=
"fileManage"
></FileManage>
</div>
</template>
<
script
>
import
{
soilAptitude
,
soilEntrust
}
from
'../../../api'
import
MeterEntrustRecord
from
'../../../components/operation/Operation'
import
SoilSampleManageHis
from
'../SoilSampleManageHis'
export
default
{
components
:
{
MeterEntrustRecord
},
components
:
{
SoilSampleManageHis
,
MeterEntrustRecord
},
data
()
{
return
{
currentComponent
:
''
,
...
...
@@ -68,6 +72,21 @@ export default {
],
iconMsg
:
[
{
type
:
'ios-list'
,
id
:
''
,
name
:
'试样列表'
},
{
type
:
'ios-camera-outline'
,
id
:
''
,
name
:
'试样照片'
},
{
type
:
'md-cloud'
,
id
:
''
,
name
:
'附件'
},
{
type
:
'ios-clock'
,
id
:
''
,
name
:
'操作日志'
...
...
@@ -136,6 +155,9 @@ export default {
case
'附件'
:
this
.
_upload
(
data
.
id
)
break
case
'试样照片'
:
this
.
_upLoadPhoto
(
data
.
id
)
break
case
'删除'
:
this
.
_deleteByIds
([
data
.
id
])
break
...
...
@@ -145,12 +167,15 @@ export default {
case
'查看样品'
:
this
.
_sampleManage
(
data
.
id
)
break
case
'试样列表'
:
this
.
_sampleManage
(
data
.
id
)
break
}
})
},
_sampleManage
(
data
)
{
// 管理样品
this
.
$refs
.
meterS
ampleManageModal
.
_open
(
data
)
this
.
$refs
.
s
ampleManageModal
.
_open
(
data
)
},
_record
(
id
)
{
this
.
$refs
.
entrustRecordModal
.
_open
(
id
)
...
...
@@ -168,7 +193,7 @@ export default {
_page
:
async
function
()
{
Object
.
assign
(
this
.
formObj
,
this
.
$refs
.
pageTable
.
_searchParams
())
console
.
log
(
'this.formObj'
,
this
.
formObj
)
const
result
=
await
soilEntrust
.
page
(
this
.
formObj
)
const
result
=
await
soilEntrust
.
page
SamplePrepare
(
this
.
formObj
)
if
(
result
)
{
this
.
$refs
.
pageTable
.
_hideLoading
()
this
.
getPage
=
result
...
...
@@ -202,10 +227,12 @@ export default {
_itemModal
(
data
)
{
this
.
$refs
.
refModal
.
_open
(
data
)
},
_upLoadPhoto
(
id
)
{
this
.
$refs
.
photoManage
.
_open
(
id
,
'entrustId'
)
},
_upload
(
id
)
{
// 上传文件
this
.
$refs
.
refModal
.
_open
(
id
,
'subcontractor
Id'
)
this
.
$refs
.
fileManage
.
_open
(
id
,
'entrust
Id'
)
},
_getById
:
async
function
(
id
)
{
const
result
=
await
soilAptitude
.
getById
(
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