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
53721587
Commit
53721587
authored
Jun 19, 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
e0551c9b
6ccb4b71
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
50 additions
and
67 deletions
+50
-67
MeterContractReview.vue
pages/meter-contract/contract-review/MeterContractReview.vue
+2
-2
MeterOutPersonalTask.vue
pages/meter-out/personal-task/MeterOutPersonalTask.vue
+22
-10
MeterPersonItemTaskManage.vue
pages/meter-out/personal-task/MeterPersonItemTaskManage.vue
+1
-5
MeterGoOutTestEdit.vue
pages/meter-out/task-distribute/MeterGoOutTestEdit.vue
+0
-0
MeterOutTaskAlloca.vue
pages/meter-out/task-distribute/MeterOutTaskAlloca.vue
+12
-20
MeterOutTaskDistribute.vue
pages/meter-out/task-distribute/MeterOutTaskDistribute.vue
+12
-26
MeterOutTaskDistributeHis.vue
...s/meter-out/task-distribute/MeterOutTaskDistributeHis.vue
+1
-4
No files found.
pages/meter-contract/contract-review/MeterContractReview.vue
View file @
53721587
...
@@ -71,7 +71,7 @@ export default {
...
@@ -71,7 +71,7 @@ export default {
{
{
type
:
'success'
,
type
:
'success'
,
id
:
''
,
id
:
''
,
name
:
'
添加
'
name
:
'
评审
'
}
}
],
],
iconMsg
:
[
iconMsg
:
[
...
@@ -135,7 +135,7 @@ export default {
...
@@ -135,7 +135,7 @@ export default {
this
.
currentComponent
=
componentName
this
.
currentComponent
=
componentName
this
.
$nextTick
(
function
()
{
this
.
$nextTick
(
function
()
{
switch
(
msg
)
{
switch
(
msg
)
{
case
'
添加
'
:
case
'
评审
'
:
this
.
_editModal
(
false
)
this
.
_editModal
(
false
)
break
break
case
'提交'
:
case
'提交'
:
...
...
pages/meter-out/personal-task/MeterOutPersonalTask.vue
View file @
53721587
...
@@ -37,7 +37,21 @@
...
@@ -37,7 +37,21 @@
:min-width=
"item.width?item.width:200"
:min-width=
"item.width?item.width:200"
:fixed=
"item.fixed?item.fixed:undefined"
sortable
>
:fixed=
"item.fixed?item.fixed:undefined"
sortable
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
[
item
.
key
]
}}
</span>
<span
v-if=
"item.key==='type'"
>
<span
v-if=
"scope.row[item.key]===0"
>
检定
</span>
<span
v-else-if=
"scope.row[item.key]===1"
>
校准
</span>
<span
v-else-if=
"scope.row[item.key]===2"
>
外观检查
</span>
</span>
<span
v-else
>
{{
scope
.
row
[
item
.
key
]
}}
</span>
</
template
>
</
template
>
</vxe-table-column>
</vxe-table-column>
</PTVXETable>
</PTVXETable>
...
@@ -49,8 +63,8 @@
...
@@ -49,8 +63,8 @@
<operationModal
ref=
"operationModal"
></operationModal>
<operationModal
ref=
"operationModal"
></operationModal>
<SelEquip
ref=
"SelEquip"
@
on-result-change=
"_equipSelectBack"
></SelEquip>
<SelEquip
ref=
"SelEquip"
@
on-result-change=
"_equipSelectBack"
></SelEquip>
<CarManage
ref=
"carEdit"
></CarManage>
<CarManage
ref=
"carEdit"
></CarManage>
<InstruMentEdit
ref=
"InstruEdit"
></InstruMentEdit>
<InstruMentEdit
ref=
"InstruEdit"
@
on-result-change=
"_page"
></InstruMentEdit>
<MeterPersonItemTaskManage
ref=
"personModal"
></MeterPersonItemTaskManage>
<MeterPersonItemTaskManage
ref=
"personModal"
@
on-result-change=
"_page"
></MeterPersonItemTaskManage>
<MeterSubcontractorEdit
ref=
"editSubcontractorModal"
@
on-result-change=
"_formSearch"
></MeterSubcontractorEdit>
<MeterSubcontractorEdit
ref=
"editSubcontractorModal"
@
on-result-change=
"_formSearch"
></MeterSubcontractorEdit>
</div>
</div>
</template>
</template>
...
@@ -97,7 +111,7 @@ export default {
...
@@ -97,7 +111,7 @@ export default {
{
{
type
:
'md-create'
,
type
:
'md-create'
,
id
:
''
,
id
:
''
,
name
:
'
编辑
'
name
:
'
检测结果
'
},
},
{
{
type
:
'md-car'
,
type
:
'md-car'
,
...
@@ -126,9 +140,9 @@ export default {
...
@@ -126,9 +140,9 @@ export default {
pageColumns
:
[
pageColumns
:
[
{
title
:
'样品名称'
,
key
:
'name'
,
width
:
120
},
{
title
:
'样品名称'
,
key
:
'name'
,
width
:
120
},
{
title
:
'样品编号'
,
key
:
'code'
,
width
:
120
},
{
title
:
'样品编号'
,
key
:
'code'
,
width
:
120
},
{
title
:
'型号规格'
,
key
:
'spec'
},
{
title
:
'型号规格'
,
key
:
'spec'
,
width
:
120
},
{
title
:
'出厂编号'
,
key
:
'factoryNumber'
},
{
title
:
'出厂编号'
,
key
:
'factoryNumber'
,
width
:
120
},
{
title
:
'检测类型'
,
key
:
'type'
},
{
title
:
'检测类型'
,
key
:
'type'
,
width
:
100
},
{
title
:
'委托单位'
,
key
:
'client'
,
width
:
200
},
{
title
:
'委托单位'
,
key
:
'client'
,
width
:
200
},
{
title
:
'联系人'
,
key
:
'person'
,
width
:
120
},
{
title
:
'联系人'
,
key
:
'person'
,
width
:
120
},
{
title
:
'联系电话'
,
key
:
'tel'
,
width
:
120
},
{
title
:
'联系电话'
,
key
:
'tel'
,
width
:
120
},
...
@@ -218,8 +232,7 @@ export default {
...
@@ -218,8 +232,7 @@ export default {
case
'车辆管理'
:
case
'车辆管理'
:
this
.
$refs
.
carEdit
.
_open
()
this
.
$refs
.
carEdit
.
_open
()
break
break
case
'编辑'
:
case
'检测结果'
:
// this._editModal(true, data.id)
this
.
_personModal
(
data
)
this
.
_personModal
(
data
)
break
break
case
'资质项目'
:
case
'资质项目'
:
...
@@ -238,7 +251,6 @@ export default {
...
@@ -238,7 +251,6 @@ export default {
})
})
},
},
_personModal
(
data
)
{
_personModal
(
data
)
{
console
.
log
(
data
)
this
.
$refs
.
personModal
.
_open
(
data
.
id
)
this
.
$refs
.
personModal
.
_open
(
data
.
id
)
},
},
_equipSelectBack
(
data
)
{
_equipSelectBack
(
data
)
{
...
...
pages/meter-out/personal-task/MeterPersonItemTaskManage.vue
View file @
53721587
...
@@ -86,11 +86,7 @@ export default {
...
@@ -86,11 +86,7 @@ export default {
// {id: '', name: '复制历史样品检测项目', componentName: 'CopyHisItem'},
// {id: '', name: '复制历史样品检测项目', componentName: 'CopyHisItem'},
// {id: '', name: '删除'},
// {id: '', name: '删除'},
// ],
// ],
iconMsg
:
[
iconMsg
:
[{
type
:
'md-checkmark'
,
id
:
''
,
name
:
'完成'
}],
{
type
:
'compose'
,
id
:
''
,
name
:
'编辑'
},
{
type
:
'ios-copy'
,
id
:
''
,
name
:
'复制'
,
componentName
:
'CopyModal'
},
{
type
:
'trash-a'
,
id
:
''
,
name
:
'删除'
}
],
btn
:
[
btn
:
[
{
{
// meter-review-entrust-pass-btn
// meter-review-entrust-pass-btn
...
...
pages/meter-out/task-distribute/MeterGoOutTestEdit.vue
deleted
100644 → 0
View file @
e0551c9b
This diff is collapsed.
Click to expand it.
pages/meter-out/task-distribute/MeterOutTaskAlloca.vue
View file @
53721587
...
@@ -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-else-if=
"scope.row[item.key]===1"
>
</Select>
校准
</span>
<span
v-else-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
>
...
@@ -66,26 +70,14 @@ import assignPerson from '../../../components/user-info-single/assignPerson'
...
@@ -66,26 +70,14 @@ import assignPerson from '../../../components/user-info-single/assignPerson'
export
default
{
export
default
{
components
:
{
components
:
{
assignPerson
assignPerson
// FoodSampleGovernDetail,
// CopyModal,
// FoodSampleGovernLYEdits
},
},
data
()
{
data
()
{
return
{
return
{
currentComponent
:
''
,
currentComponent
:
''
,
// btn: [
// {type: 'success', id: '', name: '添加', componentName: 'FoodSampleGovernEdit'},
// {id: 'food-gov-sample-batch-add', name: '批量添加', componentName: 'FoodSampleGovernBatchAdd'},
// {id: '', name: '导入样品', componentName: 'FoodImportSample'},
// {id: '', name: '导入检测项目', componentName: 'RelItem'},
// {id: '', name: '导入检测项目包', componentName: 'RelItemPackage'},
// {id: '', name: '复制历史样品检测项目', componentName: 'CopyHisItem'},
// {id: '', name: '删除'},
// ],
iconMsg
:
[
iconMsg
:
[
{
type
:
'compose'
,
id
:
''
,
name
:
'编辑'
},
//
{ type: 'compose', id: '', name: '编辑' },
{
type
:
'ios-copy'
,
id
:
''
,
name
:
'复制'
,
componentName
:
'CopyModal'
},
//
{ type: 'ios-copy', id: '', name: '复制', componentName: 'CopyModal' },
{
type
:
'trash-a'
,
id
:
''
,
name
:
'删除'
}
//
{ type: 'trash-a', id: '', name: '删除' }
],
],
btn
:
[
btn
:
[
{
{
...
...
pages/meter-out/task-distribute/MeterOutTaskDistribute.vue
View file @
53721587
...
@@ -6,24 +6,24 @@
...
@@ -6,24 +6,24 @@
<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"
>
...
@@ -47,18 +47,15 @@
...
@@ -47,18 +47,15 @@
</div>
</div>
<FileManage
ref=
"FileManage"
></FileManage>
<FileManage
ref=
"FileManage"
></FileManage>
<MeterOutTaskAlloca
ref=
"taskAllocaModal"
></MeterOutTaskAlloca>
<MeterOutTaskAlloca
ref=
"taskAllocaModal"
></MeterOutTaskAlloca>
<MeterSubcontractorEdit
ref=
"editSubcontractorModal"
@
on-result-change=
"_formSearch"
></MeterSubcontractorEdit>
<MeterOutTaskOperation
ref=
"operationModal"
></MeterOutTaskOperation>
<MeterOutTaskOperation
ref=
"operationModal"
></MeterOutTaskOperation>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
{
meterEntrust
}
from
'../../../api'
import
{
meterEntrust
}
from
'../../../api'
import
MeterSubcontractorEdit
from
'./MeterGoOutTestEdit'
import
MeterOutTaskAlloca
from
'./MeterOutTaskAlloca'
import
MeterOutTaskAlloca
from
'./MeterOutTaskAlloca'
import
MeterOutTaskOperation
from
'./MeterOutTaskOperation'
import
MeterOutTaskOperation
from
'./MeterOutTaskOperation'
export
default
{
export
default
{
components
:
{
components
:
{
MeterSubcontractorEdit
,
MeterOutTaskAlloca
,
MeterOutTaskAlloca
,
MeterOutTaskOperation
MeterOutTaskOperation
},
},
...
@@ -67,24 +64,13 @@ export default {
...
@@ -67,24 +64,13 @@ export default {
currentComponent
:
''
,
currentComponent
:
''
,
formId
:
'meterSubcontractorFormId'
,
formId
:
'meterSubcontractorFormId'
,
searchOpen
:
false
,
searchOpen
:
false
,
btn
:
[
btn
:
[],
{
type
:
'success'
,
id
:
'meter-go-out-entrust-add-btn'
,
name
:
'添加'
},
{
type
:
'success'
,
id
:
'meter-go-out-entrust-submit-btn'
,
name
:
'提交'
}
],
iconMsg
:
[
iconMsg
:
[
{
//
{
type
:
'md-create'
,
//
type: 'md-create',
id
:
''
,
//
id: '',
name
:
'编辑'
//
name: '编辑'
},
//
},
{
{
type
:
'ios-contact'
,
type
:
'ios-contact'
,
id
:
''
,
id
:
''
,
...
...
pages/meter-out/task-distribute/MeterOutTaskDistributeHis.vue
View file @
53721587
...
@@ -45,15 +45,12 @@
...
@@ -45,15 +45,12 @@
</Row>
</Row>
</div>
</div>
</div>
</div>
<MeterSubcontractorEdit
ref=
"editSubcontractorModal"
@
on-result-change=
"_formSearch"
></MeterSubcontractorEdit>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
{
meterEntrust
}
from
'../../../api'
import
{
meterEntrust
}
from
'../../../api'
import
MeterSubcontractorEdit
from
'./MeterGoOutTestEdit'
export
default
{
export
default
{
components
:
{
MeterSubcontractorEdit
},
components
:
{},
data
()
{
data
()
{
return
{
return
{
currentComponent
:
''
,
currentComponent
:
''
,
...
...
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