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
cd9030e2
Commit
cd9030e2
authored
Jun 21, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
全部约带看
parent
4e0f596d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
5 deletions
+11
-5
submit_report_pc.js
public/app/js/submit_report_pc.js
+8
-2
inspectionRecordAllOffice.js
public/resource/js/inspectionRecordAllOffice.js
+3
-3
No files found.
public/app/js/submit_report_pc.js
View file @
cd9030e2
...
@@ -5,6 +5,8 @@ require(['vue', 'css!style/submit_report_pc.css', 'jquery0325', 'common'], funct
...
@@ -5,6 +5,8 @@ require(['vue', 'css!style/submit_report_pc.css', 'jquery0325', 'common'], funct
var
_doc
=
$
(
document
);
var
_doc
=
$
(
document
);
console
.
log
(
user_info_obj
);
console
.
log
(
user_info_obj
);
console
.
log
(
order_info_obj
);
console
.
log
(
order_info_obj
);
var
isOffice
=
getUrlParam
(
'type'
);
var
urlOffice
=
''
;
var
vm
=
new
Vue
({
var
vm
=
new
Vue
({
el
:
'#app'
,
el
:
'#app'
,
data
:
{
data
:
{
...
@@ -286,10 +288,14 @@ require(['vue', 'css!style/submit_report_pc.css', 'jquery0325', 'common'], funct
...
@@ -286,10 +288,14 @@ require(['vue', 'css!style/submit_report_pc.css', 'jquery0325', 'common'], funct
return
false
;
return
false
;
};
};
_data
[
'commission_arr'
]
=
JSON
.
stringify
(
_dataArr
);
_data
[
'commission_arr'
]
=
JSON
.
stringify
(
_dataArr
);
if
(
isOffice
==
2
){
//type=2 办公楼
urlOffice
=
"/office/bargain"
;
}
else
{
urlOffice
=
"/broker/bargain"
;
}
$
.
ajax
({
$
.
ajax
({
type
:
'POST'
,
type
:
'POST'
,
url
:
'/broker/bargain'
,
//约带看记录 对接接口
url
:
urlOffice
,
//约带看记录 对接接口
data
:
_data
,
data
:
_data
,
timeout
:
30000
,
timeout
:
30000
,
dataType
:
'json'
,
dataType
:
'json'
,
...
...
public/resource/js/inspectionRecordAllOffice.js
View file @
cd9030e2
...
@@ -90,7 +90,7 @@ define(['doT', 'text!temp/inspectionRecordAllOffice_list_template_tpl.html', 'cs
...
@@ -90,7 +90,7 @@ define(['doT', 'text!temp/inspectionRecordAllOffice_list_template_tpl.html', 'cs
var
_packdata
=
$
(
this
).
closest
(
'tr'
).
attr
(
'data-data'
);
var
_packdata
=
$
(
this
).
closest
(
'tr'
).
attr
(
'data-data'
);
e
.
preventDefault
();
e
.
preventDefault
();
e
.
stopPropagation
();
e
.
stopPropagation
();
$
(
'.iframe-submit-report'
).
attr
(
'src'
,
'/app_broker/submit_report_pc?packdata='
+
_packdata
);
$
(
'.iframe-submit-report'
).
attr
(
'src'
,
'/app_broker/submit_report_pc?packdata='
+
_packdata
+
'&type=2'
);
});
});
$
(
"#search"
).
click
(
function
()
{
//搜索
$
(
"#search"
).
click
(
function
()
{
//搜索
record
.
getList
(
1
);
record
.
getList
(
1
);
...
@@ -386,7 +386,7 @@ define(['doT', 'text!temp/inspectionRecordAllOffice_list_template_tpl.html', 'cs
...
@@ -386,7 +386,7 @@ define(['doT', 'text!temp/inspectionRecordAllOffice_list_template_tpl.html', 'cs
}
}
$
.
ajax
({
$
.
ajax
({
'type'
:
'POST'
,
'type'
:
'POST'
,
'url'
:
'/
broker
/collectingBill'
,
'url'
:
'/
office_index
/collectingBill'
,
data
:
params
,
data
:
params
,
dataType
:
"json"
,
dataType
:
"json"
,
success
:
function
(
data
)
{
success
:
function
(
data
)
{
...
@@ -404,7 +404,7 @@ define(['doT', 'text!temp/inspectionRecordAllOffice_list_template_tpl.html', 'cs
...
@@ -404,7 +404,7 @@ define(['doT', 'text!temp/inspectionRecordAllOffice_list_template_tpl.html', 'cs
getNum
:
function
(
fn
)
{
getNum
:
function
(
fn
)
{
var
userObj
=
JSON
.
parse
(
decodeURIComponent
(
localStorage
.
getItem
(
'pcUserInfo'
)));
var
userObj
=
JSON
.
parse
(
decodeURIComponent
(
localStorage
.
getItem
(
'pcUserInfo'
)));
$
.
ajax
({
$
.
ajax
({
url
:
'/
broker
/getBeForNum'
,
url
:
'/
office_index
/getBeForNum'
,
type
:
'GET'
,
type
:
'GET'
,
async
:
true
,
async
:
true
,
data
:
{
data
:
{
...
...
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