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
675e8789
Commit
675e8789
authored
Mar 25, 2021
by
lichengming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了科室领样查询条件
parent
5ebd117f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
2 deletions
+24
-2
SampleTakeIndex.vue
pages/soil-sample-manage/sample-take/SampleTakeIndex.vue
+1
-0
TakeByEntrust.vue
pages/soil-sample-manage/sample-take/TakeByEntrust.vue
+23
-2
No files found.
pages/soil-sample-manage/sample-take/SampleTakeIndex.vue
View file @
675e8789
...
@@ -44,6 +44,7 @@ export default {
...
@@ -44,6 +44,7 @@ export default {
},
},
_page
()
{
_page
()
{
this
.
$refs
.
entrustTabs
.
_page
()
this
.
$refs
.
entrustTabs
.
_page
()
this
.
$refs
.
entrustTabs
.
_getGroupList
()
}
}
}
}
}
}
...
...
pages/soil-sample-manage/sample-take/TakeByEntrust.vue
View file @
675e8789
...
@@ -14,6 +14,19 @@
...
@@ -14,6 +14,19 @@
<Form-item
class=
"search-item"
label=
"委托编号:"
>
<Form-item
class=
"search-item"
label=
"委托编号:"
>
<Input
v-model=
"formObj.entrustCode"
@
on-enter=
"_formSearch"
placeholder=
"请输入委托编号"
clearable
></Input>
<Input
v-model=
"formObj.entrustCode"
@
on-enter=
"_formSearch"
placeholder=
"请输入委托编号"
clearable
></Input>
</Form-item>
</Form-item>
<Form-item
class=
"search-item"
label=
"钻孔名称:"
>
<Input
v-model=
"formObj.boreholeName"
@
on-enter=
"_formSearch"
placeholder=
"请输入钻孔名称"
clearable
></Input>
</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"
>
<Form-item
class=
"search-btn"
>
<Button
@
click=
"_formSearch"
type=
"primary"
>
搜索
</Button>
<Button
@
click=
"_formSearch"
type=
"primary"
>
搜索
</Button>
</Form-item>
</Form-item>
...
@@ -69,7 +82,7 @@
...
@@ -69,7 +82,7 @@
</template>
</template>
<
script
>
<
script
>
import
UserInfo
from
'../../../components/user-info-single/assignPerson'
import
UserInfo
from
'../../../components/user-info-single/assignPerson'
import
{
soilEntrust
}
from
'../../../api'
import
{
soil
Aptitude
,
soil
Entrust
}
from
'../../../api'
import
Operation
from
'../../../components/operation/Operation'
import
Operation
from
'../../../components/operation/Operation'
import
global
from
'../../../api/config'
import
global
from
'../../../api/config'
import
SampleManage
from
'./TakeSampleManage'
import
SampleManage
from
'./TakeSampleManage'
...
@@ -83,9 +96,11 @@ export default {
...
@@ -83,9 +96,11 @@ export default {
return
{
return
{
formObj
:
{
formObj
:
{
client
:
undefined
,
client
:
undefined
,
entrustCode
:
undefined
entrustCode
:
undefined
,
boreholeName
:
undefined
},
},
typeList
:
[{
name
:
'企业'
,
value
:
0
},
{
name
:
'政府'
,
value
:
1
}],
typeList
:
[{
name
:
'企业'
,
value
:
0
},
{
name
:
'政府'
,
value
:
1
}],
groupoptions
:
[],
iconMsg
:
[
iconMsg
:
[
{
{
type
:
'ios-beaker'
,
type
:
'ios-beaker'
,
...
@@ -154,6 +169,12 @@ export default {
...
@@ -154,6 +169,12 @@ export default {
// this.acceptSelectUserValue = localStorage.getItem('acceptSelectUserValue')
// this.acceptSelectUserValue = localStorage.getItem('acceptSelectUserValue')
},
},
methods
:
{
methods
:
{
_getGroupList
:
async
function
()
{
const
result
=
await
soilAptitude
.
getGroupList
()
if
(
result
)
{
this
.
groupoptions
=
result
}
},
_userResult
(
data
,
msg
)
{
_userResult
(
data
,
msg
)
{
const
sendData
=
{
const
sendData
=
{
ids
:
this
.
selectIds
.
join
(
','
)
ids
:
this
.
selectIds
.
join
(
','
)
...
...
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