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
1a81fe50
Commit
1a81fe50
authored
Feb 25, 2021
by
lichengming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
录入历史管理项目添加查看指标按钮
parent
fc4ffa69
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
21 deletions
+13
-21
SoilSampleItemManageHis.vue
...s/soil-test-manage/test-input/SoilSampleItemManageHis.vue
+13
-21
No files found.
pages/soil-test-manage/test-input/SoilSampleItemManageHis.vue
View file @
1a81fe50
...
...
@@ -27,7 +27,7 @@
</Col>
<!-- 表格 -->
<Col
span=
"24"
>
<PTVXETable
ref=
"pageTable"
:table-height=
"tableHeight"
:form-id=
"formId"
:loading=
"true"
<PTVXETable
ref=
"pageTable"
:table-height=
"tableHeight"
:
icon-msg=
"iconMsg"
:
form-id=
"formId"
:loading=
"true"
:get-page=
"getPage"
@
on-result-change=
"_tableResultChange"
>
<vxe-table-column
v-for=
"item in pageColumns"
...
...
@@ -105,13 +105,15 @@
<modal-footer
ref=
"footerModal"
:footer=
"footerList"
@
on-result-change=
"_footerResult"
/>
</div>
</Modal>
<IndexManage
ref=
"indexModal"
@
on-result-change=
"_page"
></IndexManage>
</div>
</template>
<
script
>
import
http
from
'../../../api/http'
import
{
soilEntrust
}
from
'../../../api'
import
IndexManage
from
'./IndexManage'
export
default
{
components
:
{},
components
:
{
IndexManage
},
data
()
{
return
{
formId
:
'SoilSampleItemManage'
,
...
...
@@ -120,7 +122,7 @@ export default {
// { type: 'success', id: '', name: '提交分包' },
{
type
:
'success'
,
id
:
'ZBC'
,
name
:
'取消分包'
}
],
iconMsg
:
[{
type
:
'
pt-a-end'
,
id
:
''
,
name
:
'删除
'
}],
iconMsg
:
[{
type
:
'
md-apps'
,
id
:
''
,
name
:
'查看指标
'
}],
sampleId
:
''
,
// 样品id
showModal
:
false
,
modalTitle
:
'管理检测项目'
,
...
...
@@ -377,25 +379,15 @@ export default {
this
.
currentComponent
=
componentName
this
.
$nextTick
(
function
()
{
switch
(
res
)
{
case
'编辑'
:
this
.
_editModal
(
true
,
data
)
break
case
'复制'
:
this
.
_copy
(
data
)
break
case
'删除'
:
console
.
log
(
index
)
this
.
_deleteById
(
data
.
id
)
break
case
'导出样品委托协议'
:
this
.
_exportAgreement
(
data
.
id
)
break
case
'附件'
:
this
.
$refs
.
refModal
.
_open
(
data
.
id
,
'sampleId'
)
case
'查看指标'
:
this
.
_indexManage
(
data
)
break
}
})
},
_indexManage
(
data
)
{
this
.
$refs
.
indexModal
.
_open
(
data
)
},
_tableResultChange
(
msg
,
data
)
{
const
selectIds
=
[]
switch
(
msg
)
{
...
...
@@ -406,9 +398,9 @@ export default {
this
.
selectIds
=
selectIds
this
.
selectData
=
data
break
//
case 'iconClick':
//
this._iconClick(data.name, data.rowData, data.componentName)
//
break
case
'iconClick'
:
this
.
_iconClick
(
data
.
name
,
data
.
rowData
,
data
.
componentName
)
break
case
'page'
:
this
.
_page
()
break
...
...
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