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
e330d3cc
Commit
e330d3cc
authored
Nov 23, 2020
by
zhangmengqi
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev'
parents
78bd16fe
d5541ed3
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
33 additions
and
9 deletions
+33
-9
ReportMakeIndex.vue
pages/soil-report-manage/report-make/ReportMakeIndex.vue
+1
-1
ReportMakeByEntrust.vue
...il-report-manage/report-make/tabs/ReportMakeByEntrust.vue
+15
-3
SoilSampleManageHis.vue
pages/soil-sample-manage/SoilSampleManageHis.vue
+5
-2
ItemRightList.vue
...s/soil-test-manage/test-input/item-tabs/ItemRightList.vue
+4
-1
SampleRightList.vue
...il-test-manage/test-input/sample-tabs/SampleRightList.vue
+8
-2
No files found.
pages/soil-report-manage/report-make/ReportMakeIndex.vue
View file @
e330d3cc
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
<!--
</el-tab-pane>
-->
<!--
</el-tab-pane>
-->
<!--
</el-tabs>
-->
<!--
</el-tabs>
-->
<el-tabs
v-model=
"activeName"
@
tab-click=
"_changeTabs"
>
<el-tabs
v-model=
"activeName"
@
tab-click=
"_changeTabs"
>
<el-tab-pane
label=
"
数据审核
"
name=
"check"
></el-tab-pane>
<el-tab-pane
label=
"
报告编制
"
name=
"check"
></el-tab-pane>
<el-tab-pane
label=
"历史任务"
name=
"checkHis"
></el-tab-pane>
<el-tab-pane
label=
"历史任务"
name=
"checkHis"
></el-tab-pane>
</el-tabs>
</el-tabs>
<keep-alive>
<keep-alive>
...
...
pages/soil-report-manage/report-make/tabs/ReportMakeByEntrust.vue
View file @
e330d3cc
...
@@ -286,10 +286,10 @@ export default {
...
@@ -286,10 +286,10 @@ export default {
this
.
$nextTick
(
function
()
{
this
.
$nextTick
(
function
()
{
switch
(
res
)
{
switch
(
res
)
{
case
'管理样品和报告'
:
case
'管理样品和报告'
:
this
.
$refs
.
refModal
.
_open
(
data
.
id
)
this
.
_sampleManage
(
data
.
id
)
break
break
case
'查看原始记录'
:
case
'查看原始记录'
:
this
.
$refs
.
refModal
.
_open
(
data
.
id
)
this
.
_viewRecord
(
data
.
id
)
break
break
case
'上传报告'
:
case
'上传报告'
:
this
.
_uploadReport
(
data
.
id
)
this
.
_uploadReport
(
data
.
id
)
...
@@ -312,6 +312,18 @@ export default {
...
@@ -312,6 +312,18 @@ export default {
}
}
})
})
},
},
_viewRecord
(
id
)
{
this
.
currentComponent
=
'OriginalRecordView'
this
.
$nextTick
(()
=>
{
this
.
$refs
.
refModal
.
_open
(
id
)
})
},
_sampleManage
(
id
)
{
this
.
currentComponent
=
'SampleByMakeModal'
this
.
$nextTick
(()
=>
{
this
.
$refs
.
refModal
.
_open
(
id
)
})
},
_uploadReport
(
id
)
{
_uploadReport
(
id
)
{
this
.
currentComponent
=
'UploadByReport'
this
.
currentComponent
=
'UploadByReport'
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
...
@@ -358,7 +370,7 @@ export default {
...
@@ -358,7 +370,7 @@ export default {
}
}
break
break
case
'iconClick'
:
case
'iconClick'
:
this
.
_iconClick
(
data
.
name
,
data
.
rowData
,
data
.
c
omponentName
)
this
.
_iconClick
(
data
.
name
,
data
.
rowData
,
data
.
c
urrentComponent
)
break
break
case
'changeSize'
:
case
'changeSize'
:
this
.
_page
()
this
.
_page
()
...
...
pages/soil-sample-manage/SoilSampleManageHis.vue
View file @
e330d3cc
...
@@ -43,12 +43,15 @@
...
@@ -43,12 +43,15 @@
<!--
</el-input>
-->
<!--
</el-input>
-->
<Input
:value=
"scope.row.describeDetail"
@
change
.
native=
"_inputChange($event.target.value,scope.row)"
></Input>
<Input
:value=
"scope.row.describeDetail"
@
change
.
native=
"_inputChange($event.target.value,scope.row)"
></Input>
</div>
</div>
<div
v-
else-
if=
"item.key==='remark'"
@
click
.
stop=
"_handleRow(scope)"
>
<div
v-if=
"item.key==='remark'"
@
click
.
stop=
"_handleRow(scope)"
>
<el-input
v-model=
"scope.row.remark"
@
change=
"_remarkChange(scope.row)"
></el-input>
<el-input
v-model=
"scope.row.remark"
@
change=
"_remarkChange(scope.row)"
></el-input>
</div>
</div>
</
template
>
</
template
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<div
v-if
>
<div
v-if=
"item.status"
>
{{
scope
.
row
[
item
.
key
].
display
}}
</div>
<div
v-else
>
{{
scope
.
row
[
item
.
key
]
}}
{{
scope
.
row
[
item
.
key
]
}}
</div>
</div>
</
template
>
</
template
>
...
...
pages/soil-test-manage/test-input/item-tabs/ItemRightList.vue
View file @
e330d3cc
...
@@ -183,7 +183,10 @@ export default {
...
@@ -183,7 +183,10 @@ export default {
case
'查看原始记录'
:
case
'查看原始记录'
:
console
.
log
(
data
)
console
.
log
(
data
)
if
(
data
.
recordId
)
{
if
(
data
.
recordId
)
{
this
.
_viewRecord
(
data
.
recordId
)
this
.
$refs
.
editModal
.
_openWithType
(
data
.
recordId
,
'ENVTESTMAKEEDIT'
)
}
else
{
}
else
{
this
.
$Message
.
warning
(
'未填写原始记录'
)
this
.
$Message
.
warning
(
'未填写原始记录'
)
}
}
...
...
pages/soil-test-manage/test-input/sample-tabs/SampleRightList.vue
View file @
e330d3cc
...
@@ -55,6 +55,7 @@
...
@@ -55,6 +55,7 @@
<SelEquip
ref=
"selEquip"
@
on-result-change=
"_equipResult"
></SelEquip>
<SelEquip
ref=
"selEquip"
@
on-result-change=
"_equipResult"
></SelEquip>
<IndexManage
ref=
"indexModal"
@
on-result-change=
"_page"
></IndexManage>
<IndexManage
ref=
"indexModal"
@
on-result-change=
"_page"
></IndexManage>
<EquipManage
ref=
"equipModal"
@
on-result-change=
"_page"
></EquipManage>
<EquipManage
ref=
"equipModal"
@
on-result-change=
"_page"
></EquipManage>
<OriginalRecordEdit
ref=
"editModal"
></OriginalRecordEdit>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
...
@@ -65,13 +66,15 @@ import SelectOriTempRecord from '../SelectOriTempRecord'
...
@@ -65,13 +66,15 @@ import SelectOriTempRecord from '../SelectOriTempRecord'
import
SelEquip
from
'../../../../components/select-equip/SelEquip'
import
SelEquip
from
'../../../../components/select-equip/SelEquip'
import
IndexManage
from
'../IndexManage'
import
IndexManage
from
'../IndexManage'
import
EquipManage
from
'../EquipManage'
import
EquipManage
from
'../EquipManage'
import
OriginalRecordEdit
from
'../OriginalRecordEdit'
export
default
{
export
default
{
components
:
{
components
:
{
AssignPerson
,
AssignPerson
,
SelectOriTempRecord
,
SelectOriTempRecord
,
SelEquip
,
SelEquip
,
IndexManage
,
IndexManage
,
EquipManage
EquipManage
,
OriginalRecordEdit
},
},
data
()
{
data
()
{
return
{
return
{
...
@@ -486,7 +489,10 @@ export default {
...
@@ -486,7 +489,10 @@ export default {
case
'查看原始记录'
:
case
'查看原始记录'
:
console
.
log
(
data
)
console
.
log
(
data
)
if
(
data
.
recordId
)
{
if
(
data
.
recordId
)
{
this
.
_viewRecord
(
data
.
recordId
)
this
.
$refs
.
editModal
.
_openWithType
(
data
.
recordId
,
'ENVTESTMAKEEDIT'
)
}
else
{
}
else
{
this
.
$Message
.
warning
(
'未填写原始记录'
)
this
.
$Message
.
warning
(
'未填写原始记录'
)
}
}
...
...
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