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
40306d68
Commit
40306d68
authored
Jan 07, 2021
by
lichengming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了委托单登记
parent
8facabfc
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
3 deletions
+17
-3
FileManageCont.vue
components/file/entrust-file-manage/FileManageCont.vue
+4
-0
FilesList.vue
components/file/entrust-file-manage/FilesList.vue
+12
-3
EntrustRegister.vue
pages/meter-entrust/entrust-register/EntrustRegister.vue
+1
-0
No files found.
components/file/entrust-file-manage/FileManageCont.vue
View file @
40306d68
...
...
@@ -13,6 +13,10 @@
<Form-item
class=
"search-btn"
>
<Button
@
click=
"_search"
type=
"primary"
>
搜索
</Button>
</Form-item>
<Form-item
style=
"float: right"
>
<p>
委托评审需要上传以下文件:
</p>
<p>
1、试验项目单 2、现场描述/样品照片等现场资料 3、相关技术要求
</p>
</Form-item>
</Form>
</Col>
<!--列表-->
...
...
components/file/entrust-file-manage/FilesList.vue
View file @
40306d68
...
...
@@ -61,7 +61,7 @@
fixed=
"right"
>
<
template
slot-scope=
"scope"
>
<VXEIconList
:msg=
"scope.row.type === '
pdf'
?iconMsgJpg:iconMsg"
:msg=
"scope.row.type === '
jpg'||scope.row.type === 'pdf'
?iconMsgJpg:iconMsg"
@
on-result-change=
"_iconClick"
:rowData=
"scope.row"
></VXEIconList>
</
template
>
</vxe-table-column>
...
...
@@ -321,8 +321,17 @@ export default {
},
// 预览图片(该合同下所有的)
_viewImg
(
data
)
{
this
.
$pdfView
(
data
.
objectKey
)
console
.
log
(
data
)
switch
(
data
.
type
)
{
case
'jpg'
:
const
imgViewList
=
[]
imgViewList
.
push
(
global
.
baseURL
+
this
.
downloadFileUrlFile
+
data
.
id
)
this
.
imgViewList
=
imgViewList
this
.
imgViewIndex
=
0
break
case
'pdf'
:
this
.
$pdfView
(
data
.
objectKey
)
break
}
// console.log(data)
// if (this.urlData.viewUri === '/meter/v1/entrust_attachment/preview/') {
// const id = data.entrustId
...
...
pages/meter-entrust/entrust-register/EntrustRegister.vue
View file @
40306d68
...
...
@@ -39,6 +39,7 @@
<template
slot-scope=
"scope"
>
<span
v-if=
"item.date"
>
{{
scope
.
row
[
item
.
key
]?
$dateformat
(
scope
.
row
[
item
.
key
],
'yyyy-mm-dd'
):
''
}}
</span>
<span
v-else-if=
"item.status"
>
{{
scope
.
row
[
item
.
key
].
display
}}
</span>
<span
v-else-if=
"item.key==='backReasons'"
style=
"color: red"
>
{{
scope
.
row
[
item
.
key
]
}}
</span>
<span
v-else
>
{{
scope
.
row
[
item
.
key
]
}}
</span>
</
template
>
</vxe-table-column>
...
...
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