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
9a676222
Commit
9a676222
authored
Jun 15, 2020
by
lichengming
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://git.patzn.com/root/patzn-cloud-service-metr-web
into dev
parents
2643fecb
a6ed3d45
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
18 deletions
+32
-18
meter-sample.js
api/meter/meter-sample.js
+11
-0
MeterCertificateCheck.vue
pages/meter-certificate/check/MeterCertificateCheck.vue
+21
-18
No files found.
api/meter/meter-sample.js
View file @
9a676222
...
@@ -61,6 +61,17 @@ export default {
...
@@ -61,6 +61,17 @@ export default {
http
http
.
post
(
'meter/v1/sample/subpackage_info_reg?ids='
+
data
.
ids
,
data
.
reg
)
.
post
(
'meter/v1/sample/subpackage_info_reg?ids='
+
data
.
ids
,
data
.
reg
)
.
then
(
res
=>
res
),
.
then
(
res
=>
res
),
reportCheckBack
:
data
=>
http
.
post
(
'meter/v1/sample/report_check_back?ids='
+
data
.
ids
+
'&reason='
+
data
.
reason
)
.
then
(
res
=>
res
),
distributeOutSample
:
data
=>
distributeOutSample
:
data
=>
http
http
.
post
(
.
post
(
...
...
pages/meter-certificate/check/MeterCertificateCheck.vue
View file @
9a676222
...
@@ -6,29 +6,29 @@
...
@@ -6,29 +6,29 @@
<Row>
<Row>
<!--查询-->
<!--查询-->
<Col
span=
"24"
style=
"margin-top: 10px"
>
<Col
span=
"24"
style=
"margin-top: 10px"
>
<Form
id=
"formId"
v-show=
"searchOpen
"
:label-width=
"90"
inline
onsubmit=
"return false"
>
<Form
v-show=
"searchOpen"
id=
"formId
"
:label-width=
"90"
inline
onsubmit=
"return false"
>
<label
class=
"label-sign"
></label>
<label
class=
"label-sign"
></label>
<Form-item
class=
"search-item"
label=
"实验室名称:"
>
<Form-item
class=
"search-item"
label=
"实验室名称:"
>
<Input
v-model=
"formObj.name"
@
on-enter=
"_formSearch"
name=
"name"
placeholder=
"请输入实验室名称"
clearable
/>
<Input
v-model=
"formObj.name"
name=
"name"
placeholder=
"请输入实验室名称"
clearable
@
on-enter=
"_formSearch"
/>
</Form-item>
</Form-item>
<Form-item
class=
"search-item"
label=
"资质:"
>
<Form-item
class=
"search-item"
label=
"资质:"
>
<Input
v-model=
"formObj.aptitude"
@
on-enter=
"_formSearch"
name=
"aptitude"
placeholder=
"请输入资质"
clearable
/>
<Input
v-model=
"formObj.aptitude"
name=
"aptitude"
placeholder=
"请输入资质"
clearable
@
on-enter=
"_formSearch"
/>
</Form-item>
</Form-item>
<Form-item
class=
"search-btn"
>
<Form-item
class=
"search-btn"
>
<Button
@
click=
"_formSearch"
type=
"primary
"
>
搜索
</Button>
<Button
type=
"primary"
@
click=
"_formSearch
"
>
搜索
</Button>
</Form-item>
</Form-item>
</Form>
</Form>
</Col>
</Col>
<!--操作-->
<!--操作-->
<Col
span=
"24"
>
<Col
span=
"24"
>
<btn-list
:msg=
"btn"
:open=
"searchOpen"
:show-search-btn=
"true"
@
on-result-change=
"_btnClick
"
<btn-list
:msg=
"btn"
:open=
"searchOpen"
:show-search-btn=
"true"
class=
"contHide
"
class=
"contHide
"
></btn-list>
@
on-result-change=
"_btnClick
"
></btn-list>
</Col>
</Col>
<!--表格-->
<!--表格-->
<Col
span=
"24"
>
<Col
span=
"24"
>
<PTVXETable
ref=
"pageTable"
:table-height=
"tableHeight"
:form-id=
"formId"
:loading=
"true"
<PTVXETable
ref=
"pageTable"
:table-height=
"tableHeight"
:form-id=
"formId"
:loading=
"true"
:get-page=
"getPage"
:icon-msg=
"iconMsg"
@
on-result-change=
"_tableResultChange"
select-data
>
:get-page=
"getPage"
:icon-msg=
"iconMsg"
select-data
@
on-result-change=
"_tableResultChange"
>
<vxe-table-column
<vxe-table-column
v-for=
"item in pageColumns"
v-for=
"item in pageColumns"
:key=
"item.key"
:key=
"item.key"
...
@@ -131,18 +131,21 @@ export default {
...
@@ -131,18 +131,21 @@ export default {
},
},
methods
:
{
methods
:
{
_reasonResult
(
data
)
{
_reasonResult
(
data
)
{
if
(
undefined
!==
data
&&
data
!==
''
)
{
this
.
_reportCheckBack
(
data
)
}
console
.
log
(
data
)
console
.
log
(
data
)
// this.$store
},
// .dispatch('FoodContract/customerBack',
{
_reportCheckBack
:
async
function
(
data
)
{
// ids: this.selectIds.join(','),
const
result
=
await
meterSample
.
reportCheckBack
({
// remark: data
ids
:
this
.
selectIds
,
// })
reason
:
data
// .then(() => {
})
// if (this.$store.state.FoodContract.success) {
// this.$Message.success('退回成功')
if
(
result
)
{
// this._page(
)
this
.
$Message
.
success
(
'退回成功!'
)
// }
await
this
.
_page
()
// })
}
},
},
_modalResult
()
{
_modalResult
()
{
if
(
this
.
currentComponent
===
'FoodSubcontracterEdit'
)
{
if
(
this
.
currentComponent
===
'FoodSubcontracterEdit'
)
{
...
...
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