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
bfc44237
Commit
bfc44237
authored
Mar 18, 2021
by
lichengming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加了实验室领样管理样品科室筛选查询条件
parent
d44943bf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
1 deletions
+23
-1
TakeSampleManage.vue
pages/soil-sample-manage/sample-take/TakeSampleManage.vue
+23
-1
No files found.
pages/soil-sample-manage/sample-take/TakeSampleManage.vue
View file @
bfc44237
...
...
@@ -16,6 +16,16 @@
<Input
v-model=
"formObj.sampleCode"
@
on-enter=
"_formSearch"
name=
"sampleCode"
placeholder=
"请输入样品编号"
clearable
></Input>
<input
name=
"contractId"
type=
"hidden"
>
</Form-item>
<Form-item
label=
"试验科室:"
class=
"search-item"
>
<el-select
v-model=
"formObj.groupId"
@
change=
"_selGroup"
placeholder=
"请选择"
clearable
style=
"width: 100%"
>
<el-option
v-for=
"(item,index) in groupoptions"
:key=
"index"
:label=
"item.name"
:value=
"item.id"
/>
</el-select>
</Form-item>
<Form-item
class=
"search-btn"
>
<Button
@
click=
"_formSearch"
type=
"primary"
>
搜索
</Button>
</Form-item>
...
...
@@ -66,7 +76,7 @@
</div>
</template>
<
script
>
import
{
soilEntrust
,
soilSample
}
from
'../../../api'
import
{
soil
Aptitude
,
soil
Entrust
,
soilSample
}
from
'../../../api'
import
ItemManage
from
'./ItemManage'
export
default
{
components
:
{
ItemManage
},
...
...
@@ -75,6 +85,7 @@ export default {
btn
:
[{
type
:
'primary'
,
id
:
''
,
name
:
'领样'
}],
selectIds
:
[],
getPage
:
{},
groupoptions
:
[],
pageColumns
:
[
{
title
:
'试样编号'
,
key
:
'sampleCode'
,
width
:
100
,
fixed
:
'left'
},
{
title
:
'试样深度'
,
key
:
'sampleDepth'
,
width
:
95
},
...
...
@@ -109,6 +120,16 @@ export default {
_selectSampleLink
(
data
)
{
console
.
log
(
data
)
},
_getGroupList
:
async
function
()
{
const
result
=
await
soilAptitude
.
getGroupList
()
if
(
result
)
{
this
.
groupoptions
=
result
}
},
_selGroup
(
data
)
{
console
.
log
(
data
)
this
.
formObj
.
groupId
=
data
},
// 组件返回值
_componentResult
(
data
,
msg
)
{
switch
(
this
.
currentComponent
)
{
...
...
@@ -133,6 +154,7 @@ export default {
this
.
$nextTick
(()
=>
{
this
.
_page
()
})
this
.
_getGroupList
()
},
_page
:
async
function
()
{
Object
.
assign
(
this
.
formObj
,
this
.
$refs
.
pageTable
.
_searchParams
())
...
...
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