Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-xcmg-vue-app
Project
Project
Details
Activity
Releases
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
xugong
hls-xcmg-vue-app
Commits
c36219c8
Commit
c36219c8
authored
Dec 27, 2019
by
786817560
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'上传图片样式'
parent
2c90628c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
26 deletions
+18
-26
creat-rent-info.vue
src/pages/contractCreate/creat-rent-info.vue
+5
-22
create-enclosure-info.vue
src/pages/contractCreate/create-enclosure-info.vue
+13
-4
No files found.
src/pages/contractCreate/creat-rent-info.vue
View file @
c36219c8
...
...
@@ -459,32 +459,15 @@ export default {
// name: 'CreateEnclosureInfo',
// })
})
}
if
(
vm
.
isComputed
)
{
let
url
=
process
.
env
.
basePath
+
'prj_product_info_save'
let
param
=
{
master
:
{
division_n
:
vm
.
saveInfo
.
division_n
,
bp_name
:
vm
.
$route
.
params
.
bp_name
,
...
vm
.
productInfo
,
},
}
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
vm
.
$router
.
push
({
name
:
'CreateEnclosureInfo'
,
})
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
}
})
}
else
{
if
(
vm
.
isComputed
)
{
let
url
=
process
.
env
.
basePath
+
'prj_product_info_save'
let
param
=
{
master
:
vm
.
productInfo
,
master
:
{
division_n
:
vm
.
saveInfo
.
division_n
,
bp_name
:
vm
.
$route
.
params
.
bp_name
,
...
vm
.
productInfo
,
},
}
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
...
...
src/pages/contractCreate/create-enclosure-info.vue
View file @
c36219c8
...
...
@@ -185,7 +185,16 @@ export default {
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
res
.
lists
.
forEach
(
item
=>
{
item
[
'url'
]
=
process
.
env
.
filePath
+
'attachment_id='
+
item
.
attachment_id
+
'&access_token='
+
window
.
localStorage
.
access_token
})
vm
.
dowload_list
=
res
.
lists
console
.
log
(
'下载图片'
,
vm
.
dowload_list
)
}
})
},
...
...
@@ -685,11 +694,11 @@ export default {
}
}
}
.house:nth-of-type(2) {
margin-top: 0
}
.house:last-child {
margin-top: 0
margin-top: 0;
div {
float: left;
}
}
.upload-box {
...
...
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