Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
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
hujun
tl_estate
Commits
de82cf7c
Commit
de82cf7c
authored
Apr 08, 2018
by
xishifeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
跟进图片上传
parent
882bca9c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
customerinfo_genjin.html
application/app_broker/view/index/customerinfo_genjin.html
+1
-1
customer_gj.js
public/app/js/customer_gj.js
+4
-2
No files found.
application/app_broker/view/index/customerinfo_genjin.html
View file @
de82cf7c
...
@@ -182,7 +182,7 @@
...
@@ -182,7 +182,7 @@
<script
src=
"/app/js/libs/require.min.js"
data-js=
"/app/js/customer_gj.js"
data-main=
"/app/js/main"
defer
async=
"true"
></script>
<script
src=
"/app/js/libs/require.min.js"
data-js=
"/app/js/customer_gj.js"
data-main=
"/app/js/main"
defer
async=
"true"
></script>
<script
type=
"text/x-template"
id=
"imgShow1"
>
<script
type=
"text/x-template"
id=
"imgShow1"
>
<
div
class
=
"sc_img"
>
<
div
class
=
"sc_img"
>
<
img
:
src
=
"data.
name
"
class
=
"preview"
>
<
img
:
src
=
"data.
url
"
class
=
"preview"
>
<
img
class
=
"del_img"
:
src
=
"deleteImgPrefix"
v
-
model
=
"deleteimg"
@
click
=
"deleteimg"
>
<
img
class
=
"del_img"
:
src
=
"deleteImgPrefix"
v
-
model
=
"deleteimg"
@
click
=
"deleteimg"
>
<
/div
>
<
/div
>
</script>
</script>
...
...
public/app/js/customer_gj.js
View file @
de82cf7c
...
@@ -90,7 +90,8 @@ require(['vue', 'css!style/customerinfo_sub_page.css', 'css!style/customer_gj.cs
...
@@ -90,7 +90,8 @@ require(['vue', 'css!style/customerinfo_sub_page.css', 'css!style/customer_gj.cs
_this
.
other_area
=
(
_len
===
0
)?
''
:
data
.
data
[
0
][
'other_area'
];
_this
.
other_area
=
(
_len
===
0
)?
''
:
data
.
data
[
0
][
'other_area'
];
_this
.
explain
=
(
_len
===
0
)?
''
:
data
.
data
[
0
][
'explain'
];
_this
.
explain
=
(
_len
===
0
)?
''
:
data
.
data
[
0
][
'explain'
];
(
_len
>
0
&&
data
.
data
[
0
][
'explain_img'
])
&&
_this
.
imgShowList
.
push
({
(
_len
>
0
&&
data
.
data
[
0
][
'explain_img'
])
&&
_this
.
imgShowList
.
push
({
'name'
:
data
.
data
[
0
][
'explain_img'
]
'name'
:
data
.
data
[
0
][
'explain_img'
],
'url'
:
ServerHostTempC
+
'/static/chat_image/'
+
data
.
data
[
0
][
'explain_img'
].
replace
(
'
\
\'
,'
\
/
')
});
});
//区域自动获取,并赋值
//区域自动获取,并赋值
_this.getArea({
_this.getArea({
...
@@ -237,7 +238,8 @@ require(['vue', 'css!style/customerinfo_sub_page.css', 'css!style/customer_gj.cs
...
@@ -237,7 +238,8 @@ require(['vue', 'css!style/customerinfo_sub_page.css', 'css!style/customer_gj.cs
if(typeof data === '
object
') {
if(typeof data === '
object
') {
if(data['
code
'] == '
200
') {
if(data['
code
'] == '
200
') {
_this.imgShowList.push({
_this.imgShowList.push({
'name'
:
ServerHostTempC
+
'/static/chat_image/'
+
data
.
data
.
name
.
replace
(
'
\
\'
,'
\
/
')
'
name
': data.data.name,
'
url
': ServerHostTempC + '
/
static
/
chat_image
/
' +data.data.name.replace('
\\
','
\
/
')
});
});
console.log(_this.imgShowList);
console.log(_this.imgShowList);
} else {
} else {
...
...
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