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
defb0d18
Commit
defb0d18
authored
Oct 23, 2020
by
lichengming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了委托单试验项目列表按钮
parent
c1730110
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
5 deletions
+25
-5
SoilSampleItemManage.vue
pages/meter-entrust/SoilSampleItemManage.vue
+4
-4
EntrustRegister.vue
pages/meter-entrust/entrust-register/EntrustRegister.vue
+21
-1
No files found.
pages/meter-entrust/SoilSampleItemManage.vue
View file @
defb0d18
...
...
@@ -11,11 +11,11 @@
<Col
span=
"24"
>
<Form
id=
"search-sample-company"
v-show=
"searchOpen"
:label-width=
"90"
inline
onsubmit=
"return false"
>
<label
class=
"label-sign"
></label>
<Form-item
label=
"
检测项目
:"
class=
"search-item"
>
<Form-item
label=
"
试验名称
:"
class=
"search-item"
>
<Input
v-model=
"formObj.name"
@
on-enter=
"_formSearch"
placeholder=
"请输入检测项目"
clearable
/>
</Form-item>
<Form-item
label=
"
检测依据
:"
class=
"search-item"
>
<Input
v-model=
"formObj.
code"
@
on-enter=
"_formSearch"
placeholder=
"请输入检测依据
"
clearable
/>
<Form-item
label=
"
试验科室
:"
class=
"search-item"
>
<Input
v-model=
"formObj.
groupName"
@
on-enter=
"_formSearch"
placeholder=
"请输入试验科室
"
clearable
/>
</Form-item>
<Form-item
class=
"search-btn"
>
<Button
@
click=
"_formSearch"
type=
"primary"
>
...
...
@@ -163,7 +163,7 @@ export default {
formObj
:
{
name
:
undefined
,
sampleId
:
undefined
,
cod
e
:
undefined
groupNam
e
:
undefined
}
}
},
...
...
pages/meter-entrust/entrust-register/EntrustRegister.vue
View file @
defb0d18
...
...
@@ -52,6 +52,7 @@
<Operation
ref=
"operationModal"
></Operation>
<EntrustRegisterEdit
ref=
"editModal"
@
on-result-change=
"_formSearch"
></EntrustRegisterEdit>
<SoilSampleManage
ref=
"sampleManageModal"
@
on-result-change=
"_page"
></SoilSampleManage>
<SoilSampleItemManage
ref=
"itemManageModal"
@
on-result-change=
"_page"
></SoilSampleItemManage>
</div>
</template>
<
script
>
...
...
@@ -60,9 +61,16 @@ import http from '../../../api/http'
import
Operation
from
'../../../components/operation/Operation'
import
SoilSampleManage
from
'../SoilSampleManage'
import
importModal
from
'../../../components/import/DownloadTemplateImport'
import
SoilSampleItemManage
from
'../SoilSampleItemManage'
import
EntrustRegisterEdit
from
'./EntrustRegisterEdit'
export
default
{
components
:
{
Operation
,
EntrustRegisterEdit
,
SoilSampleManage
,
importModal
},
components
:
{
Operation
,
EntrustRegisterEdit
,
SoilSampleManage
,
importModal
,
SoilSampleItemManage
},
data
()
{
return
{
currentComponent
:
''
,
...
...
@@ -101,6 +109,11 @@ export default {
id
:
''
,
name
:
'试样列表'
},
{
type
:
'ios-apps'
,
id
:
''
,
name
:
'试验项目列表'
},
// {
// type: 'ios-beaker',
// id: '',
...
...
@@ -204,6 +217,9 @@ export default {
case
'试样列表'
:
this
.
_sampleManage
(
data
.
id
)
break
case
'试验项目列表'
:
this
.
_itemManage
(
data
.
id
)
break
case
'附件'
:
this
.
_upload
(
data
.
id
)
break
...
...
@@ -224,6 +240,10 @@ export default {
// 管理样品
this
.
$refs
.
sampleManageModal
.
_open
(
data
)
},
_itemManage
(
data
)
{
// 管理样品
this
.
$refs
.
itemManageModal
.
_open
(
data
)
},
_submitToReview
()
{
this
.
_submitByContractIds
(
'委托评审'
)
},
...
...
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