Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
folacin-front
Project
Project
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
ynby
folacin-front
Commits
fbd12a95
Commit
fbd12a95
authored
Jul 28, 2021
by
罗成兵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug完善
parent
caed2e8c
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
69 additions
and
20 deletions
+69
-20
Home.vue
src/views/Home.vue
+2
-1
addFolviteDistribution.vue
...folviteDistribution/components/addFolviteDistribution.vue
+0
-0
folviteDistribution.vue
...ndexComponent/folviteDistribution/folviteDistribution.vue
+51
-12
addMaterialDistribution.vue
...nent/inStockManage/components/addMaterialDistribution.vue
+1
-1
inStockManage.vue
src/views/indexComponent/inStockManage/inStockManage.vue
+7
-4
addSupply.vue
...iews/indexComponent/supplyManage/components/addSupply.vue
+3
-2
global.less
static/css/global.less
+5
-0
No files found.
src/views/Home.vue
View file @
fbd12a95
...
@@ -64,7 +64,8 @@
...
@@ -64,7 +64,8 @@
this
.
$api
.
fyManage
.
fetchFYLoginUser
(
par
).
then
(({
data
})
=>
{
this
.
$api
.
fyManage
.
fetchFYLoginUser
(
par
).
then
(({
data
})
=>
{
// window.sessionStorage.setItem('menuList', JSON.stringify(data.menuList));
// window.sessionStorage.setItem('menuList', JSON.stringify(data.menuList));
window
.
sessionStorage
.
setItem
(
'userInfo'
,
JSON
.
stringify
(
data
.
userInfo
));
window
.
sessionStorage
.
setItem
(
'userInfo'
,
JSON
.
stringify
(
data
.
userInfo
));
window
.
sessionStorage
.
setItem
(
'allEnum'
,
JSON
.
stringify
(
data
.
enumValueList
))
window
.
sessionStorage
.
setItem
(
'allEnum'
,
JSON
.
stringify
(
data
.
enumValueList
));
window
.
sessionStorage
.
setItem
(
'unitInfo'
,
JSON
.
stringify
(
data
.
unitInfo
));
this
.
setInitMenuInfo
()
this
.
setInitMenuInfo
()
this
.
showChildren
=
true
this
.
showChildren
=
true
})
})
...
...
src/views/indexComponent/folviteDistribution/components/addFolviteDistribution.vue
View file @
fbd12a95
This diff is collapsed.
Click to expand it.
src/views/indexComponent/folviteDistribution/folviteDistribution.vue
View file @
fbd12a95
...
@@ -30,9 +30,13 @@
...
@@ -30,9 +30,13 @@
</
template
>
</
template
>
<
template
slot=
"action"
slot-scope=
"record"
>
<
template
slot=
"action"
slot-scope=
"record"
>
<!--
<a-button
type=
"link"
size=
"small"
@
click=
"openChildModal(record)"
>
人工发放
</a-button>
-->
<!--
<a-button
type=
"link"
size=
"small"
@
click=
"openChildModal(record)"
>
人工发放
</a-button>
-->
<a-button
type=
"link"
size=
"small"
@
click=
"toDetail(record)"
>
查看
</a-button>
<a-button
class=
"ant-table-btn"
size=
"small"
@
click=
"toDetail(record)"
>
查看
</a-button>
<a-button
type=
"link"
v-if=
"record.source===1&&record.isSigned===2"
size=
"small"
<a-button
class=
"ant-table-btn"
v-if=
"record.source===1&&record.isSigned===2"
size=
"small"
@
click=
"uploadConsentInfo(record)"
>
上传线下同意书
style=
"margin-left: 10px"
@
click=
"uploadConsentInfo(record)"
>
签署知情同意书
</a-button>
<a-button
class=
"ant-table-btn"
v-else
size=
"small"
style=
"margin-left: 10px"
@
click=
"showConsentInfo(record)"
>
已签知情同意书
</a-button>
</a-button>
</
template
>
</
template
>
</a-table>
</a-table>
...
@@ -66,8 +70,25 @@
...
@@ -66,8 +70,25 @@
<br>
<br>
</div>
</div>
</a-modal>
</a-modal>
<a-modal
:visible=
"previewVisible"
:footer=
"null"
@
cancel=
"previewVisible=false"
>
<a-modal
title=
"查看知情同意书"
:visible=
"showVisible"
@
cancel=
"showVisible = false"
@
ok=
"onsubmit"
<img
alt=
"example"
style=
"width: 100%"
:src=
"imageUrl"
/>
loading=
"true"
:maskClosable=
"false"
width=
"600px"
>
<div
v-if=
"currentRow.source==1"
>
<img
style=
"width: 100%"
:src=
"consentUrl"
height=
"100%"
/>
</div>
<div
v-else
>
<div
style=
"float: right;white-space:pre;text-indent:2em"
>
<div
v-html=
"consentInfo"
style=
"white-space:pre"
>
</div>
<div
style=
"float: right"
>
<div
style=
"height: 60px"
>
签名:
<img
style=
"width:200px;height: 40px;"
:src=
"applySignUrl"
height=
"100%"
/></div>
<div>
签署日期:{{currentRow.parentDate}}
</div>
<br><br>
</div>
</div>
</div>
</a-modal>
</a-modal>
<a-pagination
<a-pagination
v-if=
"pagination.total > 0"
v-if=
"pagination.total > 0"
...
@@ -130,9 +151,9 @@
...
@@ -130,9 +151,9 @@
},
},
{
{
title
:
'操作'
,
title
:
'操作'
,
fixed
:
'right'
,
fixed
:
'right'
,
align
:
'left'
,
align
:
'left'
,
width
:
"2
0
0px"
,
width
:
"2
4
0px"
,
scopedSlots
:
{
customRender
:
'action'
},
scopedSlots
:
{
customRender
:
'action'
},
},
},
]
]
...
@@ -140,7 +161,6 @@
...
@@ -140,7 +161,6 @@
components
:
{},
components
:
{},
data
()
{
data
()
{
return
{
return
{
// 搜索框对象
// 搜索框对象
searchForm
:
{
searchForm
:
{
womenIdCard
:
undefined
womenIdCard
:
undefined
...
@@ -155,8 +175,11 @@
...
@@ -155,8 +175,11 @@
tableData
:
[],
tableData
:
[],
loading
:
false
,
loading
:
false
,
visible
:
false
,
visible
:
false
,
showVisible
:
false
,
previewVisible
:
false
,
previewVisible
:
false
,
imageUrl
:
""
,
consentUrl
:
""
,
applySignUrl
:
""
,
consentInfo
:
""
,
headers
:
{
headers
:
{
Authorization
:
sessionStorage
.
getItem
(
"token"
)
Authorization
:
sessionStorage
.
getItem
(
"token"
)
},
},
...
@@ -165,7 +188,8 @@
...
@@ -165,7 +188,8 @@
formData
:
{
formData
:
{
consentId
:
""
,
consentId
:
""
,
id
:
""
id
:
""
}
},
currentRow
:
{},
}
}
},
},
created
()
{
created
()
{
...
@@ -224,19 +248,34 @@
...
@@ -224,19 +248,34 @@
this
.
formData
.
id
=
row
.
id
;
this
.
formData
.
id
=
row
.
id
;
this
.
visible
=
true
;
this
.
visible
=
true
;
},
},
showConsentInfo
(
row
)
{
this
.
currentRow
=
row
;
this
.
showVisible
=
true
;
this
.
$api
.
folviteDistributionManage
.
fetchFolviteDistributionDetail
({
residentId
:
row
.
id
}).
then
(({
data
=
[],
code
})
=>
{
this
.
consentUrl
=
data
.
consentUrl
;
this
.
applySignUrl
=
data
.
applySignUrl
;
})
if
(
row
.
source
==
2
)
{
this
.
$api
.
common
.
fetchConsentInfo
().
then
(({
data
})
=>
{
if
(
this
.
$api
.
utils
.
isNoBlank
(
data
))
{
this
.
consentInfo
=
data
.
content
;
}
})
}
},
handleChange
(
info
)
{
handleChange
(
info
)
{
let
fileList
=
[...
info
.
fileList
];
let
fileList
=
[...
info
.
fileList
];
fileList
=
fileList
.
slice
(
-
1
);
fileList
=
fileList
.
slice
(
-
1
);
fileList
=
fileList
.
map
(
file
=>
{
fileList
=
fileList
.
map
(
file
=>
{
if
(
file
.
response
)
{
if
(
file
.
response
)
{
this
.
image
Url
=
file
.
response
.
data
.
trueDownloadUrl
;
this
.
consent
Url
=
file
.
response
.
data
.
trueDownloadUrl
;
this
.
formData
.
consentId
=
file
.
response
.
data
.
id
;
this
.
formData
.
consentId
=
file
.
response
.
data
.
id
;
}
}
return
file
;
return
file
;
});
});
this
.
fileList
=
fileList
;
this
.
fileList
=
fileList
;
},
},
preview
(
val
){
preview
(
val
)
{
window
.
open
(
val
.
response
.
data
.
trueDownloadUrl
)
window
.
open
(
val
.
response
.
data
.
trueDownloadUrl
)
},
},
onsubmit
()
{
onsubmit
()
{
...
...
src/views/indexComponent/inStockManage/components/addMaterialDistribution.vue
View file @
fbd12a95
...
@@ -127,7 +127,7 @@
...
@@ -127,7 +127,7 @@
sendUnitId
:
undefined
,
sendUnitId
:
undefined
,
sendUnitName
:
undefined
,
sendUnitName
:
undefined
,
receiveUnitId
:
undefined
,
receiveUnitId
:
undefined
,
sendDate
:
undefined
,
sendDate
:
moment
(
new
Date
()).
format
(
'yyyy-MM-DD'
)
,
sendContact
:
undefined
,
sendContact
:
undefined
,
sendPhone
:
undefined
,
sendPhone
:
undefined
,
receivePhone
:
undefined
,
receivePhone
:
undefined
,
...
...
src/views/indexComponent/inStockManage/inStockManage.vue
View file @
fbd12a95
...
@@ -65,8 +65,10 @@
...
@@ -65,8 +65,10 @@
</a-popover>
</a-popover>
</div>
</div>
<div
style=
"margin-top: 16px;margin-bottom: 10px"
>
<div
style=
"margin-top: 16px;margin-bottom: 10px"
>
<a-button
type=
"primary"
class=
"search_btn btn_space"
@
click=
"openModal"
>
库存录入
</a-button>
<a-button
type=
"primary"
class=
"search_btn btn_space "
@
click=
"openModal"
v-if=
"unitInfo.level==3"
>
库存录入
</a-button>
<a-button
type=
"primary"
class=
"search_btn btn_space"
:disabled=
"selectedRowKeys.length
<
=
0
"
<a-button
type=
"primary"
class=
"search_btn btn_space"
:disabled=
"selectedRowKeys.length
<
=
0
"
v-if=
"unitInfo.level==3||unitInfo.level==4"
@
click=
"toAdd"
>
调拨分配
@
click=
"toAdd"
>
调拨分配
</a-button>
</a-button>
<a-button
type=
"primary"
class=
"search_btn btn_space"
>
导出Excel
</a-button>
<a-button
type=
"primary"
class=
"search_btn btn_space"
>
导出Excel
</a-button>
...
@@ -159,7 +161,7 @@
...
@@ -159,7 +161,7 @@
},
},
{
{
title
:
'操作'
,
title
:
'操作'
,
fixed
:
"right"
,
fixed
:
"right"
,
align
:
'center'
,
align
:
'center'
,
scopedSlots
:
{
customRender
:
'action'
},
scopedSlots
:
{
customRender
:
'action'
},
},
},
...
@@ -189,7 +191,8 @@
...
@@ -189,7 +191,8 @@
selectedRowKeys
:
[],
selectedRowKeys
:
[],
selectedVisible
:
false
,
selectedVisible
:
false
,
selectedRowList
:
[],
selectedRowList
:
[],
routerParams
:
{}
routerParams
:
{},
unitInfo
:
JSON
.
parse
(
sessionStorage
.
getItem
(
"unitInfo"
))
}
}
},
},
created
()
{
created
()
{
...
@@ -304,7 +307,7 @@
...
@@ -304,7 +307,7 @@
this
.
$router
.
push
({
path
:
'/inStock/addMaterialDistribution'
,
query
:
{
selected
:
this
.
selectedRowKeys
}})
this
.
$router
.
push
({
path
:
'/inStock/addMaterialDistribution'
,
query
:
{
selected
:
this
.
selectedRowKeys
}})
},
},
toDetail
(
record
)
{
toDetail
(
record
)
{
this
.
$router
.
push
({
path
:
'/inStock/inStockManageDetail'
,
query
:
{
id
:
record
.
id
}})
this
.
$router
.
push
({
path
:
'/inStock/inStockManageDetail'
,
query
:
{
id
:
record
.
id
}})
}
}
},
},
}
}
...
...
src/views/indexComponent/supplyManage/components/addSupply.vue
View file @
fbd12a95
...
@@ -61,9 +61,10 @@
...
@@ -61,9 +61,10 @@
:labelCol=
"
{span: 3}"
:labelCol=
"
{span: 3}"
:wrapperCol="{span: 20}">
:wrapperCol="{span: 20}">
<a-textarea
<a-textarea
placeholder=
"请输入备注,100字以内"
:rows=
"6"
:rows=
"6"
v-model=
"formData.remarks
"
:maxLength=
"100
"
placeholder=
"请输入备注
"
></a-textarea>
v-model=
"formData.remarks
"
></a-textarea>
</a-form-model-item>
</a-form-model-item>
</a-col>
</a-col>
</a-row>
</a-row>
...
...
static/css/global.less
View file @
fbd12a95
...
@@ -296,4 +296,9 @@ ant-pagination-item:focus, .ant-pagination-item:hover {
...
@@ -296,4 +296,9 @@ ant-pagination-item:focus, .ant-pagination-item:hover {
line-height: 24px;
line-height: 24px;
transform: translateX(-50%) translateY(-50%);
transform: translateX(-50%) translateY(-50%);
}
}
.ant-table-btn{
color: #FF4D80;
border: 1px solid #FF4D80;
}
//---------------------------------------------------------
//---------------------------------------------------------
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