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
812645f7
Commit
812645f7
authored
Jan 15, 2021
by
zhangmengqi
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev'
parents
333d1ac4
0eaacf60
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
82 additions
and
77 deletions
+82
-77
FileManageCont.vue
components/file/file-manage/FileManageCont.vue
+1
-1
FilesList.vue
components/file/file-manage/FilesList.vue
+11
-3
FlowBranch.vue
components/flow/FlowBranch.vue
+8
-6
PtArrow.vue
components/flow/PtArrow.vue
+6
-4
PtCircle.vue
components/flow/PtCircle.vue
+7
-4
PtRect.vue
components/flow/PtRect.vue
+6
-4
EntrustRegister.vue
pages/meter-entrust/entrust-register/EntrustRegister.vue
+6
-5
flowIndex.vue
pages/workbench/flowIndex.vue
+19
-19
messagePanel.vue
pages/workbench/messagePanel.vue
+18
-31
No files found.
components/file/file-manage/FileManageCont.vue
View file @
812645f7
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
</Col>
</Col>
<!--列表-->
<!--列表-->
<Col
span=
"24"
>
<Col
span=
"24"
>
<FilesList
ref=
"fileModal"
:fileName=
"fileName"
@
on-result-change=
"_fileData"
></FilesList>
<FilesList
ref=
"fileModal"
:fileName=
"fileName"
:viewUrl=
"urlData.downloadFileUrl"
@
on-result-change=
"_fileData"
></FilesList>
</Col>
</Col>
</Row>
</Row>
<!--删除提示框-->
<!--删除提示框-->
...
...
components/file/file-manage/FilesList.vue
View file @
812645f7
...
@@ -60,7 +60,7 @@
...
@@ -60,7 +60,7 @@
fixed=
"right"
>
fixed=
"right"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<VXEIconList
<VXEIconList
:msg=
"iconMsg"
:msg=
"
scope.row.type === 'jpg'||scope.row.type === 'pdf'||scope.row.type === 'png' ?iconMsgJpg:
iconMsg"
@
on-result-change=
"_iconClick"
:rowData=
"scope.row"
></VXEIconList>
@
on-result-change=
"_iconClick"
:rowData=
"scope.row"
></VXEIconList>
</
template
>
</
template
>
</vxe-table-column>
</vxe-table-column>
...
@@ -145,7 +145,8 @@ import BatchUploadSample from './BatchUploadSample'
...
@@ -145,7 +145,8 @@ import BatchUploadSample from './BatchUploadSample'
export
default
{
export
default
{
components
:
{
BatchUpload
,
BatchUploadSample
},
components
:
{
BatchUpload
,
BatchUploadSample
},
props
:
{
props
:
{
fileName
:
null
fileName
:
null
,
viewUrl
:
null
},
},
data
()
{
data
()
{
return
{
return
{
...
@@ -193,7 +194,7 @@ export default {
...
@@ -193,7 +194,7 @@ export default {
Ids
:
[],
Ids
:
[],
smallUrl
:
global
.
staticURL
+
'/img/smallfile/'
,
smallUrl
:
global
.
staticURL
+
'/img/smallfile/'
,
bigUrl
:
global
.
staticURL
+
'/img/bigfile/'
,
bigUrl
:
global
.
staticURL
+
'/img/bigfile/'
,
imgUrl
:
global
.
baseURL
+
'/soil/v1/entrust_annex/download/
'
,
imgUrl
:
'
'
,
action
:
''
,
action
:
''
,
dataObj
:
{
dataObj
:
{
file
:
''
file
:
''
...
@@ -234,6 +235,7 @@ export default {
...
@@ -234,6 +235,7 @@ export default {
this
.
idsObj
=
idsObj
this
.
idsObj
=
idsObj
this
.
urlData
=
data
this
.
urlData
=
data
this
.
action
=
global
.
baseURL
+
data
.
uploadFileUrl
+
data
.
id
this
.
action
=
global
.
baseURL
+
data
.
uploadFileUrl
+
data
.
id
this
.
imgUrl
=
global
.
baseURL
+
data
.
downloadFileUrl
this
.
downloadFileUrlFile
=
data
.
downloadFileUrl
this
.
downloadFileUrlFile
=
data
.
downloadFileUrl
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
_page
()
this
.
_page
()
...
@@ -328,6 +330,12 @@ export default {
...
@@ -328,6 +330,12 @@ export default {
case
'pdf'
:
case
'pdf'
:
this
.
$pdfView
(
data
.
objectKey
)
this
.
$pdfView
(
data
.
objectKey
)
break
break
case
'png'
:
const
pngViewList
=
[]
pngViewList
.
push
(
global
.
baseURL
+
this
.
downloadFileUrlFile
+
data
.
id
)
this
.
imgViewList
=
pngViewList
this
.
imgViewIndex
=
0
break
}
}
// console.log(data)
// console.log(data)
// if (this.urlData.viewUri === '/meter/v1/entrust_attachment/preview/') {
// if (this.urlData.viewUri === '/meter/v1/entrust_attachment/preview/') {
...
...
components/flow/FlowBranch.vue
View file @
812645f7
...
@@ -80,16 +80,16 @@ export default {
...
@@ -80,16 +80,16 @@ export default {
// const list_0_value = this.list[0].value
// const list_0_value = this.list[0].value
const
listZeroValue
=
this
.
list
[
0
].
value
const
listZeroValue
=
this
.
list
[
0
].
value
// if (current_value) {
// if (current_value) {
if
(
currentValue
===
false
||
currentValue
===
undefined
)
{
if
(
currentValue
===
false
)
{
return
undefined
return
false
}
else
if
(
currentValue
)
{
}
else
if
(
currentValue
)
{
return
endValue
return
endValue
}
else
{
}
else
{
// undefined,说明要接着向下走
// undefined,说明要接着向下走
// eslint-disable-next-line no-lonely-if
// eslint-disable-next-line no-lonely-if
if
(
listZeroValue
!==
undefined
&&
endValue
)
{
if
(
listZeroValue
===
true
&&
endValue
)
{
return
true
return
true
}
else
if
(
listZeroValue
!==
undefined
&&
endValue
===
false
)
{
}
else
if
(
listZeroValue
===
false
)
{
return
false
return
false
}
}
}
}
...
@@ -102,7 +102,8 @@ export default {
...
@@ -102,7 +102,8 @@ export default {
.flow-start-border
{
.flow-start-border
{
width
:
2px
;
width
:
2px
;
height
:
133px
;
height
:
133px
;
background
:
#666
;
/*background: #666;*/
background
:
#eb6877
;
position
:
absolute
;
position
:
absolute
;
top
:
30px
;
top
:
30px
;
}
}
...
@@ -112,6 +113,7 @@ export default {
...
@@ -112,6 +113,7 @@ export default {
}
}
.red-flow-start-border
{
.red-flow-start-border
{
background
:
#eb6877
;
/*background: #eb6877;*/
background
:
#666
;
}
}
</
style
>
</
style
>
components/flow/PtArrow.vue
View file @
812645f7
...
@@ -47,12 +47,14 @@ export default {
...
@@ -47,12 +47,14 @@ export default {
<
style
scoped
>
<
style
scoped
>
.arrow-left
{
.arrow-left
{
height
:
2px
;
height
:
2px
;
background
:
#666
;
/*background: #666;*/
background
:
#eb6877
;
}
}
.arrow-right
{
.arrow-right
{
border
:
6px
solid
transparent
;
border
:
6px
solid
transparent
;
border-left
:
10px
solid
#666
;
/*border-left: 10px solid #666;*/
border-left
:
10px
solid
#eb6877
;
width
:
0
;
width
:
0
;
height
:
0px
;
height
:
0px
;
margin-top
:
-5px
;
margin-top
:
-5px
;
...
@@ -74,7 +76,7 @@ export default {
...
@@ -74,7 +76,7 @@ export default {
}
}
.red-color-left
{
.red-color-left
{
background
:
#
eb6877
;
background
:
#
666
;
}
}
.blue-color-right
{
.blue-color-right
{
...
@@ -82,6 +84,6 @@ export default {
...
@@ -82,6 +84,6 @@ export default {
}
}
.red-color-right
{
.red-color-right
{
border-left-color
:
#
eb6877
;
border-left-color
:
#
666
;
}
}
</
style
>
</
style
>
components/flow/PtCircle.vue
View file @
812645f7
...
@@ -47,12 +47,14 @@ export default {
...
@@ -47,12 +47,14 @@ export default {
.circle
{
.circle
{
width
:
60px
;
width
:
60px
;
height
:
60px
;
height
:
60px
;
border
:
1px
solid
#999
;
/*border: 1px solid #999;*/
background
:
#999
;
/*background: #999;*/
color
:
#fff
;
color
:
#fff
;
border-radius
:
50%
;
border-radius
:
50%
;
text-align
:
center
;
text-align
:
center
;
font-size
:
12px
;
font-size
:
12px
;
border-color
:
#eb6877
;
background-color
:
#eb6877
;
}
}
.circle
span
{
.circle
span
{
...
@@ -76,8 +78,9 @@ export default {
...
@@ -76,8 +78,9 @@ export default {
}
}
.red-color
{
.red-color
{
border-color
:
#eb6877
;
/*border-color: #eb6877;*/
background-color
:
#eb6877
;
/*background-color: #eb6877;*/
color
:
#fff
;
color
:
#fff
;
background
:
#999
;
}
}
</
style
>
</
style
>
components/flow/PtRect.vue
View file @
812645f7
...
@@ -42,8 +42,9 @@ export default {
...
@@ -42,8 +42,9 @@ export default {
<
style
scoped
>
<
style
scoped
>
.rect
{
.rect
{
border
:
1px
solid
#999
;
border
:
1px
solid
#eb6877
;
background
:
#999
;
/*background: #999;*/
background
:
#eb6877
;
color
:
#fff
;
color
:
#fff
;
font-size
:
12px
;
font-size
:
12px
;
width
:
80px
;
width
:
80px
;
...
@@ -62,8 +63,9 @@ export default {
...
@@ -62,8 +63,9 @@ export default {
}
}
.red-color
{
.red-color
{
border-color
:
#eb6877
;
border-color
:
#999
;
background-color
:
#eb6877
;
/*background-color: #eb6877;*/
background-color
:
#999
;
color
:
#fff
;
color
:
#fff
;
}
}
</
style
>
</
style
>
pages/meter-entrust/entrust-register/EntrustRegister.vue
View file @
812645f7
...
@@ -100,12 +100,13 @@ export default {
...
@@ -100,12 +100,13 @@ export default {
type
:
'success'
,
type
:
'success'
,
id
:
''
,
id
:
''
,
name
:
'提交至评审'
name
:
'提交至评审'
},
{
type
:
'success'
,
id
:
''
,
name
:
'提交'
}
}
// ,
// {
// type: 'success',
// id: '',
// name: '提交'
// }
],
],
iconMsg
:
[
iconMsg
:
[
{
{
...
...
pages/workbench/flowIndex.vue
View file @
812645f7
...
@@ -187,28 +187,21 @@ export default {
...
@@ -187,28 +187,21 @@ export default {
// 上面连接线颜色
// 上面连接线颜色
upLineClassObj
()
{
upLineClassObj
()
{
const
valueZero
=
this
.
list
.
end
[
0
].
value
const
valueZero
=
this
.
list
.
end
[
0
].
value
const
upValue
=
this
.
list
.
branch
[
0
][
2
].
value
//
const upValue = this.list.branch[0][2].value
const
upValueZero
=
this
.
list
.
branch
[
0
][
0
].
value
const
upValueZero
=
this
.
list
.
branch
[
0
][
0
].
value
if
(
if
(
upValueZero
===
false
)
{
upValue
===
undefined
||
return
false
upValueZero
===
undefined
||
upValue
===
false
)
{
return
undefined
}
else
{
}
else
{
return
valueZero
return
valueZero
}
}
},
},
// 下面连接线颜色
// 下面连接线颜色
downLineClassObj
()
{
downLineClassObj
()
{
const
valueZero
=
this
.
list
.
end
[
0
].
value
const
valueZero
=
this
.
list
.
end
[
0
].
value
// true 报告编制
const
downValue
=
this
.
list
.
branch
[
2
][
2
].
value
// const downValue = this.list.branch[2][2].value // false 高级自校版
const
downValueZero
=
this
.
list
.
branch
[
2
][
0
].
value
const
downValueZero
=
this
.
list
.
branch
[
2
][
0
].
value
// false 高级
if
(
if
(
downValueZero
===
false
)
{
downValue
!==
undefined
||
return
false
(
downValue
===
undefined
&&
downValueZero
===
undefined
)
)
{
return
undefined
}
else
{
}
else
{
return
valueZero
return
valueZero
}
}
...
@@ -224,13 +217,20 @@ export default {
...
@@ -224,13 +217,20 @@ export default {
const
branchOne
=
this
.
list
.
branch
[
1
][
0
].
value
const
branchOne
=
this
.
list
.
branch
[
1
][
0
].
value
const
branchTwo
=
this
.
list
.
branch
[
2
][
0
].
value
const
branchTwo
=
this
.
list
.
branch
[
2
][
0
].
value
if
(
index
===
2
)
{
if
(
index
===
2
)
{
if
(
branchZero
!==
undefined
)
{
if
(
branchZero
!==
false
)
{
return
branchZero
if
(
(
branchZero
===
undefined
)
&
(
branchOne
===
true
||
branchTwo
===
true
)
)
{
return
true
}
else
{
return
branchZero
}
}
}
if
(
branchOne
!==
undefined
)
{
if
(
branchOne
!==
false
)
{
return
branchOne
return
branchOne
}
}
if
(
branchTwo
!==
undefined
)
{
if
(
branchTwo
!==
false
)
{
return
branchTwo
return
branchTwo
}
}
}
else
{
}
else
{
...
...
pages/workbench/messagePanel.vue
View file @
812645f7
...
@@ -3,9 +3,9 @@
...
@@ -3,9 +3,9 @@
<Card
style=
"width:100%"
>
<Card
style=
"width:100%"
>
<div
class=
"config_meta"
>
<div
class=
"config_meta"
>
<p
class=
"fl"
>
<p
class=
"fl"
>
消息通知
{{
total
}}
消息通知
</p>
</p>
<div
class=
"fr"
@
click=
"_detail
"
>
<div
@
click=
"_detail"
class=
"fr
"
>
<Tooltip
content=
"查看更多"
placement=
"left"
>
<Tooltip
content=
"查看更多"
placement=
"left"
>
<Icon
type=
"ios-more"
size=
"30"
color=
"#2d8cf0"
style=
"cursor:pointer;"
/>
<Icon
type=
"ios-more"
size=
"30"
color=
"#2d8cf0"
style=
"cursor:pointer;"
/>
</Tooltip>
</Tooltip>
...
@@ -13,27 +13,16 @@
...
@@ -13,27 +13,16 @@
<div
class=
"clear"
/>
<div
class=
"clear"
/>
</div>
</div>
<div
style=
"width: 100%;"
>
<div
style=
"width: 100%;"
>
<element-table
<PTVXETableHeight
ref=
"pageTable"
ref=
"pageTable"
:table-height=
"300"
:page-columns=
"pageColumns"
@
on-result-change=
"_tableResultChange"
:getPage=
"tableData"
hide-checkbox=
"true"
>
:table-height=
"tableHeight"
<vxe-table-column
:get-page=
"tableData"
:field=
"item.key"
show-check-box
:title=
"item.title"
hide-page
:min-width=
"item.width?item.width:150"
@
on-result-change=
"_tableResultChange"
:fixed=
"item.fixed?item.fixed:undefined"
>
v-for=
"item in pageColumns"
<el-table-column
:key=
"item.key"
sortable
>
v-for=
"item in pageColumns"
:key=
"item.key"
show-overflow-tooltip
sortable
:prop=
"item.key"
:label=
"item.title"
:align=
"item.align"
:width=
"item.width"
:min-width=
"200"
:fixed=
"item.fixed?item.fixed:undefined"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<span
v-if=
"item.datetime"
>
<span
v-if=
"item.datetime"
>
{{
scope
.
row
[
item
.
key
]?
$dateformat
(
scope
.
row
[
item
.
key
],
'yyyy-mm-dd HH:MM'
):
''
}}
{{
scope
.
row
[
item
.
key
]?
$dateformat
(
scope
.
row
[
item
.
key
],
'yyyy-mm-dd HH:MM'
):
''
}}
...
@@ -45,8 +34,8 @@
...
@@ -45,8 +34,8 @@
{{
scope
.
row
[
item
.
key
]
}}
{{
scope
.
row
[
item
.
key
]
}}
</span>
</span>
</
template
>
</
template
>
</
el
-table-column>
</
vxe
-table-column>
</
element-table
>
</
PTVXETableHeight
>
</div>
</div>
</Card>
</Card>
<!--<!–未完成检测项目列表–>-->
<!--<!–未完成检测项目列表–>-->
...
@@ -68,7 +57,7 @@ export default {
...
@@ -68,7 +57,7 @@ export default {
{
title
:
'内容'
,
key
:
'content'
},
{
title
:
'内容'
,
key
:
'content'
},
{
title
:
'创建时间'
,
key
:
'ctime'
,
datetime
:
true
}
{
title
:
'创建时间'
,
key
:
'ctime'
,
datetime
:
true
}
],
],
total
:
''
formObj
:
{}
}
}
},
},
computed
:
{
computed
:
{
...
@@ -87,13 +76,11 @@ export default {
...
@@ -87,13 +76,11 @@ export default {
_tableResultChange
(
msg
)
{},
_tableResultChange
(
msg
)
{},
async
_request
()
{
async
_request
()
{
this
.
$refs
.
pageTable
.
_hideLoading
()
this
.
$refs
.
pageTable
.
_hideLoading
()
const
data
=
{
Object
.
assign
(
this
.
formObj
,
this
.
$refs
.
pageTable
.
_searchParams
())
page
:
1
,
const
result
=
await
workbench
.
myMessagePage
(
this
.
formObj
)
rows
:
10
}
const
result
=
await
workbench
.
myMessagePage
(
data
)
if
(
result
)
{
if
(
result
)
{
this
.
tableData
=
result
this
.
tableData
=
result
this
.
$refs
.
pageTable
.
_hideLoading
()
}
}
// this.$store.dispatch('ManufactContract/messagePage', {page: 1, rows: 7}).then(() => {
// this.$store.dispatch('ManufactContract/messagePage', {page: 1, rows: 7}).then(() => {
// let tableData = this.$store.state.ManufactContract.page.records
// let tableData = this.$store.state.ManufactContract.page.records
...
...
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