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
df7fafd7
Commit
df7fafd7
authored
Jul 25, 2020
by
wangweidong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化修改
parent
221b8042
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
29 additions
and
23 deletions
+29
-23
MeterSampleFlow.vue
pages/meter-send/sample-flow/MeterSampleFlow.vue
+2
-2
MeterSampleInput.vue
pages/meter-send/sample-input/MeterSampleInput.vue
+10
-9
SelectOriTempRecord.vue
pages/meter-send/sample-input/SelectOriTempRecord.vue
+1
-0
MeterTaskAlloca.vue
pages/meter-send/task-distribute/MeterTaskAlloca.vue
+16
-12
No files found.
pages/meter-send/sample-flow/MeterSampleFlow.vue
View file @
df7fafd7
...
@@ -105,8 +105,8 @@ export default {
...
@@ -105,8 +105,8 @@ export default {
selectData
:
[],
selectData
:
[],
getPage
:
{},
getPage
:
{},
pageColumns
:
[
pageColumns
:
[
{
title
:
'样品名称'
,
key
:
'name'
,
width
:
1
2
0
},
{
title
:
'样品名称'
,
key
:
'name'
,
width
:
1
3
0
},
{
title
:
'样品编号'
,
key
:
'code'
,
width
:
1
2
0
},
{
title
:
'样品编号'
,
key
:
'code'
,
width
:
1
5
0
},
{
title
:
'型号规格'
,
key
:
'spec'
},
{
title
:
'型号规格'
,
key
:
'spec'
},
{
title
:
'出厂编号'
,
key
:
'factoryNumber'
},
{
title
:
'出厂编号'
,
key
:
'factoryNumber'
},
{
title
:
'检测类型'
,
key
:
'type'
},
{
title
:
'检测类型'
,
key
:
'type'
},
...
...
pages/meter-send/sample-input/MeterSampleInput.vue
View file @
df7fafd7
...
@@ -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.code"
@
on-enter=
"_formSearch"
name=
"aptitude"
placeholder=
"请输入样品编号"
clearable
/>
<Input
v-model=
"formObj.code"
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"
...
@@ -160,9 +160,9 @@ export default {
...
@@ -160,9 +160,9 @@ export default {
getPage
:
{},
getPage
:
{},
pageColumns
:
[
pageColumns
:
[
{
title
:
'样品名称'
,
key
:
'name'
,
width
:
120
},
{
title
:
'样品名称'
,
key
:
'name'
,
width
:
120
},
{
title
:
'样品编号'
,
key
:
'code'
,
width
:
1
2
0
},
{
title
:
'样品编号'
,
key
:
'code'
,
width
:
1
5
0
},
{
title
:
'证书是否编制'
,
key
:
'onlineReported'
,
width
:
120
},
{
title
:
'证书是否编制'
,
key
:
'onlineReported'
,
width
:
120
},
{
title
:
'证书编号'
,
key
:
'reportCode'
,
width
:
1
3
0
},
{
title
:
'证书编号'
,
key
:
'reportCode'
,
width
:
1
5
0
},
{
title
:
'型号规格'
,
key
:
'spec'
,
width
:
115
},
{
title
:
'型号规格'
,
key
:
'spec'
,
width
:
115
},
{
title
:
'出厂编号'
,
key
:
'factoryNumber'
,
width
:
115
},
{
title
:
'出厂编号'
,
key
:
'factoryNumber'
,
width
:
115
},
{
title
:
'制造厂商'
,
key
:
'manufacturer'
,
width
:
125
},
{
title
:
'制造厂商'
,
key
:
'manufacturer'
,
width
:
125
},
...
@@ -402,6 +402,7 @@ export default {
...
@@ -402,6 +402,7 @@ export default {
// data.tempId,
// data.tempId,
// data.dataSource
// data.dataSource
// )
// )
console
.
log
(
'_certificateSelectBack--'
,
data
)
this
.
_makeCode
(
data
)
this
.
_makeCode
(
data
)
}
else
{
}
else
{
const
ids
=
this
.
selectIds
const
ids
=
this
.
selectIds
...
...
pages/meter-send/sample-input/SelectOriTempRecord.vue
View file @
df7fafd7
...
@@ -184,6 +184,7 @@ export default {
...
@@ -184,6 +184,7 @@ export default {
const
param
=
{
const
param
=
{
sampleId
:
this
.
sampleId
,
sampleId
:
this
.
sampleId
,
tempId
:
this
.
selectData
[
0
].
id
,
tempId
:
this
.
selectData
[
0
].
id
,
remark
:
this
.
selectData
[
0
].
remark
,
dataSource
:
this
.
sampleData
dataSource
:
this
.
sampleData
}
}
console
.
log
(
param
)
console
.
log
(
param
)
...
...
pages/meter-send/task-distribute/MeterTaskAlloca.vue
View file @
df7fafd7
...
@@ -43,11 +43,15 @@
...
@@ -43,11 +43,15 @@
{{
scope
.
row
[
item
.
key
]
===
1
?
'是'
:
'否'
}}
{{
scope
.
row
[
item
.
key
]
===
1
?
'是'
:
'否'
}}
</div>
</div>
<div
v-else-if=
"item.key==='type'"
>
<div
v-else-if=
"item.key==='type'"
>
<Select
v-model=
"scope.row.type"
>
<span
v-if=
"scope.row[item.key]===0"
>
<Option
v-for=
"(item,index) in options"
:key=
"item.name"
:value=
"index"
>
检定
{{
item
.
name
}}
</span>
</Option>
<span
v-if=
"scope.row[item.key]===1"
>
</Select>
校准
</span>
<span
v-if=
"scope.row[item.key]===2"
>
外观检查
</span>
</div>
</div>
<div
v-else
>
{{
scope
.
row
[
item
.
key
]
}}
</div>
<div
v-else
>
{{
scope
.
row
[
item
.
key
]
}}
</div>
</
template
>
</
template
>
...
@@ -116,12 +120,12 @@ export default {
...
@@ -116,12 +120,12 @@ export default {
type
:
'success'
,
type
:
'success'
,
id
:
'meter-task-alloca-allocation-btn'
,
id
:
'meter-task-alloca-allocation-btn'
,
name
:
'分配任务'
name
:
'分配任务'
},
{
type
:
'success'
,
id
:
'meter-task-alloca-import-item-btn'
,
name
:
'导入检测项目'
}
}
//, {
// type: 'success',
// id: 'meter-task-alloca-import-item-btn',
// name: '导入检测项目'
// }
],
],
searchOpen
:
false
,
searchOpen
:
false
,
options
:
[
options
:
[
...
@@ -142,9 +146,9 @@ export default {
...
@@ -142,9 +146,9 @@ export default {
selectData
:
[],
selectData
:
[],
getPage
:
{},
getPage
:
{},
pageColumns
:
[
pageColumns
:
[
{
title
:
'样品编号'
,
key
:
'code'
,
width
:
1
20
},
{
title
:
'样品编号'
,
key
:
'code'
,
width
:
1
35
},
{
title
:
'样品名称'
,
key
:
'name'
,
width
:
140
},
{
title
:
'样品名称'
,
key
:
'name'
,
width
:
140
},
{
title
:
'检测项目'
,
key
:
'itemNames'
,
width
:
140
},
//
{ title: '检测项目', key: 'itemNames', width: 140 },
{
title
:
'型号规格'
,
key
:
'spec'
,
width
:
140
},
{
title
:
'型号规格'
,
key
:
'spec'
,
width
:
140
},
{
title
:
'出厂编号'
,
key
:
'factoryNumber'
,
width
:
140
},
{
title
:
'出厂编号'
,
key
:
'factoryNumber'
,
width
:
140
},
{
title
:
'是否分包'
,
key
:
'jobOut'
,
width
:
110
},
{
title
:
'是否分包'
,
key
:
'jobOut'
,
width
:
110
},
...
...
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