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
7c01c8e8
Commit
7c01c8e8
authored
Oct 14, 2020
by
lichengming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了备样管理
parent
bd65a63e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
13 deletions
+25
-13
PTVXETableHeight.vue
components/table/PTVXETableHeight.vue
+0
-0
SampleParpareApply.vue
.../soil-sample-manage/backups-manage/SampleParpareApply.vue
+0
-0
SampleBackupsManage.vue
...-sample-manage/backups-manage/tab/SampleBackupsManage.vue
+23
-13
global.js
plugins/global.js
+2
-0
No files found.
components/table/PTVXETableHeight.vue
0 → 100644
View file @
7c01c8e8
This diff is collapsed.
Click to expand it.
pages/soil-sample-manage/backups-manage/SampleParpareApply.vue
0 → 100644
View file @
7c01c8e8
This diff is collapsed.
Click to expand it.
pages/soil-sample-manage/backups-manage/tab/SampleBackupsManage.vue
View file @
7c01c8e8
...
@@ -25,17 +25,9 @@
...
@@ -25,17 +25,9 @@
</btn-list>
</btn-list>
</Col>
</Col>
<!--样品数量-->
<!--样品数量-->
<Col
span=
"24"
>
<div
style=
"display: flex;padding-bottom: 10px;"
>
<div
v-for=
"(item,index) in contList"
:key=
"index"
class=
"reimbursement-item"
>
<p
:class=
"item.color?item.color:''"
>
{{
item
.
value
}}
</p>
<p>
{{
item
.
name
}}
</p>
</div>
</div>
</Col>
<!-- 表格 -->
<!-- 表格 -->
<Col
span=
"24"
>
<Col
span=
"24"
>
<PTVXETable
<PTVXETable
Height
id=
"samplePreManage"
id=
"samplePreManage"
ref=
"pageTable"
ref=
"pageTable"
:tableHeight=
"tableHeight"
:tableHeight=
"tableHeight"
...
@@ -109,21 +101,24 @@
...
@@ -109,21 +101,24 @@
</
template
>
</
template
>
</vxe-table-column>
</vxe-table-column>
</template>
</template>
</PTVXETable>
</PTVXETable
Height
>
</Col>
</Col>
</Row>
</Row>
</div>
</div>
</div>
</div>
<SampleParpareApply
ref=
"applyModal"
></SampleParpareApply>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
AutoCompletes
from
'../../../../components/base/AutoCompletes'
import
AutoCompletes
from
'../../../../components/base/AutoCompletes'
import
SampleParpareApply
from
'../SampleParpareApply'
// eslint-disable-next-line no-unused-vars
// eslint-disable-next-line no-unused-vars
import
http
from
'../../../../api/http'
import
http
from
'../../../../api/http'
import
{
soilEntrust
}
from
'../../../../api'
import
{
soilEntrust
}
from
'../../../../api'
export
default
{
export
default
{
components
:
{
components
:
{
AutoCompletes
AutoCompletes
,
SampleParpareApply
},
},
data
()
{
data
()
{
return
{
return
{
...
@@ -137,6 +132,11 @@ export default {
...
@@ -137,6 +132,11 @@ export default {
btn
:
[
btn
:
[
{
{
type
:
'primary'
,
type
:
'primary'
,
id
:
''
,
name
:
'处理申请'
},
{
type
:
'primary'
,
id
:
'food-sample-preparation-his-all'
,
id
:
'food-sample-preparation-his-all'
,
name
:
'制备'
name
:
'制备'
},
},
...
@@ -214,9 +214,9 @@ export default {
...
@@ -214,9 +214,9 @@ export default {
computed
:
{
computed
:
{
tableHeight
:
function
()
{
tableHeight
:
function
()
{
if
(
this
.
searchOpen
)
{
if
(
this
.
searchOpen
)
{
return
this
.
$tableHeight
(
''
,
385
)
return
this
.
$tableHeight
(
''
,
250
)
}
else
{
}
else
{
return
this
.
$tableHeight
(
''
,
30
0
)
return
this
.
$tableHeight
(
''
,
21
0
)
}
}
},
},
colorComputed
()
{
colorComputed
()
{
...
@@ -360,6 +360,9 @@ export default {
...
@@ -360,6 +360,9 @@ export default {
},
},
_btnClick
(
msg
)
{
_btnClick
(
msg
)
{
switch
(
msg
)
{
switch
(
msg
)
{
case
'处理申请'
:
this
.
_applyDispose
()
break
case
'制备'
:
case
'制备'
:
this
.
_preMethod
()
this
.
_preMethod
()
break
break
...
@@ -390,6 +393,13 @@ export default {
...
@@ -390,6 +393,13 @@ export default {
break
break
}
}
},
},
_applyDispose
()
{
if
(
this
.
selectIds
.
length
===
0
)
{
this
.
$Message
.
warning
(
'请选择一条或多条数据!'
)
}
else
{
this
.
$refs
.
applyModal
.
_open
(
this
.
selectData
)
}
},
// 制备
// 制备
_preMethod
()
{
_preMethod
()
{
if
(
this
.
selectSampleIds
.
length
===
0
)
{
if
(
this
.
selectSampleIds
.
length
===
0
)
{
...
...
plugins/global.js
View file @
7c01c8e8
...
@@ -9,6 +9,7 @@ import iconList from '../components/base/iconList'
...
@@ -9,6 +9,7 @@ import iconList from '../components/base/iconList'
import
elementTable
from
'../components/table/elementTable'
import
elementTable
from
'../components/table/elementTable'
import
modalFooter
from
'../components/base/modalFooter'
import
modalFooter
from
'../components/base/modalFooter'
import
PTVXETable
from
'../components/table/PTVXETable'
import
PTVXETable
from
'../components/table/PTVXETable'
import
PTVXETableHeight
from
'../components/table/PTVXETableHeight'
import
PTVXETableData
from
'../components/base/PTVXETableData'
import
PTVXETableData
from
'../components/base/PTVXETableData'
import
VXEIconList
from
'../components/base/VXEIconList'
import
VXEIconList
from
'../components/base/VXEIconList'
import
FileManage
from
'../components/file/file-manage/FileManage'
import
FileManage
from
'../components/file/file-manage/FileManage'
...
@@ -24,6 +25,7 @@ Vue.component('element-table', elementTable)
...
@@ -24,6 +25,7 @@ Vue.component('element-table', elementTable)
Vue
.
component
(
'element-table-height'
,
elementTableHeight
)
Vue
.
component
(
'element-table-height'
,
elementTableHeight
)
Vue
.
component
(
'modal-footer'
,
modalFooter
)
Vue
.
component
(
'modal-footer'
,
modalFooter
)
Vue
.
component
(
'PTVXETable'
,
PTVXETable
)
Vue
.
component
(
'PTVXETable'
,
PTVXETable
)
Vue
.
component
(
'PTVXETableHeight'
,
PTVXETableHeight
)
Vue
.
component
(
'PTVXETableData'
,
PTVXETableData
)
Vue
.
component
(
'PTVXETableData'
,
PTVXETableData
)
Vue
.
component
(
'VXEIconList'
,
VXEIconList
)
Vue
.
component
(
'VXEIconList'
,
VXEIconList
)
Vue
.
component
(
'VXESettingCol'
,
VXESettingCol
)
Vue
.
component
(
'VXESettingCol'
,
VXESettingCol
)
...
...
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