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
2b304c21
Commit
2b304c21
authored
Oct 18, 2018
by
xishifeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
0e52fb8c
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
328 additions
and
6 deletions
+328
-6
Index.php
application/app_broker/controller/Index.php
+5
-0
submit_report_pc.html
application/app_broker/view/index/submit_report_pc.html
+98
-0
edit.html
application/index/view/houses/edit.html
+4
-0
route.php
application/route.php
+1
-0
common.css
public/app/css/common.css
+17
-0
submit_report_pc.css
public/app/css/submit_report_pc.css
+36
-0
submit_report_pc.js
public/app/js/submit_report_pc.js
+85
-0
public.css
public/appnew/src/assets/css/public.css
+10
-0
achieveFork.vue
public/appnew/src/components/achieveMain/achieveFork.vue
+8
-6
citySelect.vue
public/appnew/src/components/achieveMain/citySelect.vue
+49
-0
shop_edit.js
public/resource/js/shop_edit.js
+15
-0
No files found.
application/app_broker/controller/Index.php
View file @
2b304c21
...
@@ -178,6 +178,11 @@ class Index
...
@@ -178,6 +178,11 @@ class Index
return
view
(
'index/bargaininfo_detail_pc'
);
return
view
(
'index/bargaininfo_detail_pc'
);
}
}
public
function
submit_report_pc
()
{
return
view
(
'index/submit_report_pc'
);
}
public
function
shop_detail_pc
()
public
function
shop_detail_pc
()
{
{
return
view
(
'index/shop_detail_pc'
);
return
view
(
'index/shop_detail_pc'
);
...
...
application/app_broker/view/index/submit_report_pc.html
0 → 100644
View file @
2b304c21
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title>
同联商业
</title>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge,chrome=1"
/>
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0"
/>
<meta
name=
"Keywords"
content=
""
/>
<meta
name=
"Description"
content=
""
/>
</head>
<body
style=
"display: none;"
>
<div
id=
"app"
>
<main>
<section
class=
"list-area1 oh"
>
<ul>
<li>
<div>
客户姓名:
</div>
<div>
QQQQ
</div>
</li>
<li>
<div>
商铺类型:
</div>
<div>
商场
</div>
</li>
<li>
<div>
商铺号:
</div>
<div
class=
"flex-center"
>
<input
type=
"number"
/>
</div>
</li>
<li>
<div>
业态品牌:
</div>
<div
class=
"flex-center"
>
<input
type=
"text"
/>
</div>
</li>
<li>
<div>
成交价:
</div>
<div
class=
"flex-center"
>
<input
type=
"number"
/>
</div>
<div>
元/月
</div>
</li>
<li>
<div>
预计收款时间:
</div>
<div
class=
"flex-center"
>
<input
type=
"date"
/>
</div>
</li>
</ul>
<ul>
<li>
<div>
客户电话:
</div>
<div>
QQQQ
</div>
</li>
<li>
<div>
商铺地址:
</div>
<div>
bbbb
</div>
</li>
<li>
<div>
是否开业:
</div>
<div
class=
"arrow-select-pc flex-center"
>
<select>
<option
value=
""
>
请选择
</option>
<option
value=
""
>
是
</option>
<option
value=
""
>
否
</option>
</select>
</div>
</li>
<li>
<div>
成交类型:
</div>
<div
class=
"arrow-select-pc flex-center"
>
<select>
<option
value=
""
>
请选择
</option>
<option
value=
""
>
出租
</option>
<option
value=
""
>
增佣
</option>
<option
value=
""
>
代理
</option>
<option
value=
""
>
好处费
</option>
</select>
</div>
</li>
<li>
<div>
应收佣金:
</div>
<div
class=
"flex-center"
>
<input
type=
"number"
/>
</div>
<div>
元
</div>
</li>
</ul>
</section>
</main>
</div>
<script
src=
"/app/js/libs/require.min.js"
data-js=
"/app/js/submit_report_pc.js"
data-main=
"/app/js/main"
data-norem=
"yes"
defer
async=
"true"
></script>
</body>
</html>
\ No newline at end of file
application/index/view/houses/edit.html
View file @
2b304c21
...
@@ -320,6 +320,10 @@
...
@@ -320,6 +320,10 @@
<label
for=
"internalName"
>
对内商铺名称
</label>
<label
for=
"internalName"
>
对内商铺名称
</label>
<input
type=
"text"
class=
"form-control"
placeholder=
"请输入"
name=
"internalName"
id=
"internalName"
data-alert=
"请填写对内商铺名称!"
>
<input
type=
"text"
class=
"form-control"
placeholder=
"请输入"
name=
"internalName"
id=
"internalName"
data-alert=
"请填写对内商铺名称!"
>
</div>
</div>
<div
class=
"form-group shangchang-show-part"
>
<label
for=
"projectName"
>
项目(大厦)名称
</label>
<input
type=
"text"
class=
"form-control"
placeholder=
"请输入"
name=
"projectName"
id=
"projectName"
data-alert=
"请填写项目(大厦)名称!"
>
</div>
<!--<div class="form-group show-c-part">
<!--<div class="form-group show-c-part">
<label for="foreignName">对商户显示的商铺名称</label>
<label for="foreignName">对商户显示的商铺名称</label>
<input type="text" class="form-control" placeholder="请输入" name="foreignName" id="foreignName" data-alert="请填写对外商铺名称!">
<input type="text" class="form-control" placeholder="请输入" name="foreignName" id="foreignName" data-alert="请填写对外商铺名称!">
...
...
application/route.php
View file @
2b304c21
...
@@ -46,6 +46,7 @@ Route::group('app_broker', [
...
@@ -46,6 +46,7 @@ Route::group('app_broker', [
'customerinfo_genjin'
=>
[
'app_broker/index/customerinfo_genjin'
,
[
'method'
=>
'get'
]
],
'customerinfo_genjin'
=>
[
'app_broker/index/customerinfo_genjin'
,
[
'method'
=>
'get'
]
],
'timeline_pc'
=>
[
'app_broker/index/timeline_pc'
,
[
'method'
=>
'get'
]
],
'timeline_pc'
=>
[
'app_broker/index/timeline_pc'
,
[
'method'
=>
'get'
]
],
'shop_detail_pc'
=>
[
'app_broker/index/shop_detail_pc'
,
[
'method'
=>
'get'
]
],
'shop_detail_pc'
=>
[
'app_broker/index/shop_detail_pc'
,
[
'method'
=>
'get'
]
],
'submit_report_pc'
=>
[
'app_broker/index/submit_report_pc'
,
[
'method'
=>
'get'
]
],
'customer_genjin_detail_pc'
=>
[
'app_broker/index/customer_genjin_detail_pc'
,
[
'method'
=>
'get'
]
],
'customer_genjin_detail_pc'
=>
[
'app_broker/index/customer_genjin_detail_pc'
,
[
'method'
=>
'get'
]
],
'bargaininfo_detail_pc'
=>
[
'app_broker/index/bargaininfo_detail_pc'
,
[
'method'
=>
'get'
]
],
'bargaininfo_detail_pc'
=>
[
'app_broker/index/bargaininfo_detail_pc'
,
[
'method'
=>
'get'
]
],
'customerinfo_customer_add'
=>
[
'app_broker/index/customerinfo_customer_add'
,
[
'method'
=>
'get'
]
],
'customerinfo_customer_add'
=>
[
'app_broker/index/customerinfo_customer_add'
,
[
'method'
=>
'get'
]
],
...
...
public/app/css/common.css
View file @
2b304c21
...
@@ -326,3 +326,20 @@ display: none;}*/
...
@@ -326,3 +326,20 @@ display: none;}*/
width
:
0.36rem
;
width
:
0.36rem
;
margin
:
0.3rem
;
margin
:
0.3rem
;
}
}
/*带下拉箭头的select选择框,pc端用*/
.arrow-select-pc
{
position
:
relative
;
}
.arrow-select-pc
::after
{
content
:
''
;
width
:
0
;
height
:
0
;
border-left
:
4px
solid
transparent
;
border-right
:
4px
solid
transparent
;
border-top
:
8px
solid
#999
;
position
:
absolute
;
top
:
16px
;
right
:
10px
;
}
public/app/css/submit_report_pc.css
0 → 100644
View file @
2b304c21
@charset
"utf-8"
;
body
{
background-color
:
white
;
font-size
:
14px
;
padding
:
20px
;
}
.list-area1
{}
.list-area1
>
ul
{
width
:
50%
;
float
:
left
;
}
.list-area1
>
ul
>
li
{
overflow
:
hidden
;
height
:
40px
;
line-height
:
40px
;
}
.list-area1
>
ul
>
li
>
div
{
float
:
left
;
height
:
100%
;
}
.list-area1
>
ul
>
li
>
div
:nth-of-type
(
1
)
{
width
:
100px
;
}
.list-area1
>
ul
>
li
>
div
:nth-of-type
(
2
)
{
width
:
140px
;
}
.list-area1
>
ul
>
li
>
div
:nth-of-type
(
2
)>
input
,
.list-area1
>
ul
>
li
>
div
:nth-of-type
(
2
)>
select
{
display
:
block
;
width
:
100%
;
height
:
28px
;
border
:
1px
solid
#e0e0e0
;
}
.list-area1
>
ul
>
li
>
div
:nth-of-type
(
3
)
{
padding-left
:
10px
;
}
public/app/js/submit_report_pc.js
0 → 100644
View file @
2b304c21
'use strict'
;
require
([
'vue'
,
'css!style/submit_report_pc.css'
,
'jquery0325'
,
'common'
],
function
(
Vue
,
VConsole
)
{
var
shop_id
=
getUrlParam
(
'shop_id'
);
var
user_info_obj
=
JSON
.
parse
(
decodeURIComponent
(
localStorage
.
getItem
(
'pcUserInfo'
)));
//读取缓存
console
.
log
(
user_info_obj
);
var
vm
=
new
Vue
({
el
:
'#app'
,
data
:
{
user_info_obj
,
d
:
{}
},
created
:
function
()
{
var
_this
=
this
;
document
.
body
.
style
.
display
=
'block'
;
},
mounted
:
function
()
{
var
_thisV
=
this
;
_thisV
.
$nextTick
(
function
(){
});
},
methods
:
{
hidePhone
(
t
)
{
return
hideTel
(
t
);
},
refreshHouseDetails
(){
//是否对客户公开 保存后 刷新商铺详情页面
var
_this
=
this
;
$
.
ajax
({
type
:
'get'
,
url
:
'/broker/getShopDetail'
,
data
:
{
'id'
:
shop_id
,
'site_area'
:
4
,
//pc后台固定传4
'AuthToken'
:
_this
.
user_info_obj
.
AuthToken
},
timeout
:
30000
,
dataType
:
'json'
,
beforeSend
:
function
()
{},
success
:
function
(
_data
)
{
if
(
typeof
_data
===
'object'
)
{
_this
.
dataCode
=
_data
[
'code'
];
if
(
_data
[
'code'
]
==
'200'
)
{
_this
.
select_public
=
_data
.
data
.
is_show
;
_this
.
select_public_var
=
_data
.
data
.
is_show
;
_this
.
d
=
_data
.
data
;
}
else
{
layerTipsX
(
_data
[
'msg'
]);
}
}
else
{
layerTipsX
(
'数据错误'
);
};
},
error
:
function
()
{
layerTipsX
(
'enter error'
);
},
complete
:
function
(
xhr
,
textStatus
)
{
if
(
textStatus
===
'timeout'
)
{
//处理超时的逻辑
layerTipsX
(
'请求超时,请重试'
);
};
}
});
},
clickPublicUser
(
t
){
//判断有权限的人 才能点击 c端公开
return
check_auth
(
t
);
}
},
computed
:
{
dealPrice
:
function
()
{
let
_this
=
this
;
if
(
_this
.
d
.
rent_type
==
'1'
)
{
return
'租金均价 :'
+
_this
.
d
.
rent_price
+
'元/月'
;
}
else
if
(
_this
.
d
.
rent_type
==
'2'
)
{
return
'营业额扣点 :'
+
_this
.
d
.
rent_price
+
'%'
;
}
else
if
(
_this
.
d
.
rent_type
==
'3'
)
{
return
'租金均价 :'
+
_this
.
d
.
rent_price
+
'元/天/m²'
;
}
else
{
return
'租金均价 :'
+
_this
.
d
.
rent_price
+
'元/年'
;
}
}
}
});
});
\ No newline at end of file
public/appnew/src/assets/css/public.css
View file @
2b304c21
...
@@ -111,3 +111,13 @@ body {
...
@@ -111,3 +111,13 @@ body {
line-height
:
.5rem
;
line-height
:
.5rem
;
padding-bottom
:
.5rem
;
padding-bottom
:
.5rem
;
}
}
/*业绩里顶部城市选择区域*/
.top-city-select-area
{
position
:
fixed
;
top
:
0
;
right
:
0
;
z-index
:
101
;
height
:
.88rem
;
padding-right
:
.3rem
;
}
public/appnew/src/components/achieveMain/achieveFork.vue
View file @
2b304c21
...
@@ -2,11 +2,8 @@
...
@@ -2,11 +2,8 @@
<div>
<div>
<header-pulic
:data=
"headerData"
></header-pulic>
<header-pulic
:data=
"headerData"
></header-pulic>
<div>
<div
class=
"top-city-select-area flex-center"
>
<select>
<city-select
:data=
"cityData"
></city-select>
<option
value=
"上海"
>
上海
</option>
<option
value=
"杭州"
>
杭州
</option>
</select>
</div>
</div>
<!--时间搜索区域-->
<!--时间搜索区域-->
<nav>
<nav>
...
@@ -76,11 +73,13 @@
...
@@ -76,11 +73,13 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
citySelect
from
'@/components/achieveMain/citySelect'
;
import
achieveForkLi
from
'@/components/achieveMain/achieveForkLi'
;
import
achieveForkLi
from
'@/components/achieveMain/achieveForkLi'
;
import
'@/assets/js/layer041002.js'
;
import
'@/assets/js/layer041002.js'
;
export
default
{
export
default
{
components
:
{
components
:
{
'achieve-fork-li'
:
achieveForkLi
'city-select'
:
citySelect
,
'achieve-fork-li'
:
achieveForkLi
,
},
},
data
:
()
=>
({
data
:
()
=>
({
headerData
:
{
headerData
:
{
...
@@ -88,6 +87,9 @@
...
@@ -88,6 +87,9 @@
'noborder'
:
true
,
'noborder'
:
true
,
'isBack'
:
false
'isBack'
:
false
},
},
cityData
:
{
'cityname'
:
'上海'
},
startDate
:
''
,
startDate
:
''
,
endDate
:
''
,
endDate
:
''
,
token
:
''
,
token
:
''
,
...
...
public/appnew/src/components/achieveMain/citySelect.vue
0 → 100644
View file @
2b304c21
<
template
>
<select>
<option
v-for=
"(item, index) in cityList"
:data=
"item"
:value=
"item.cityvalue"
:selected=
"item.cityvalue==data.cityname"
>
{{
item
.
cityname
}}
</option>
</select>
</
template
>
<
script
>
export
default
{
name
:
''
,
props
:
{
data
:
{
type
:
Object
,
default
:
()
=>
({
cityname
:
'上海'
})
}
},
components
:
{
},
data
:
()
=>
({
'cityList'
:
[{
'cityname'
:
'上海'
,
'cityvalue'
:
'上海'
,
},{
'cityname'
:
'杭州'
,
'cityvalue'
:
'杭州'
,
}]
}),
created
()
{
let
_this
=
this
;
},
methods
:
{
},
computed
:
{
}
}
</
script
>
<
style
scoped
>
select
{
color
:
#333
;
font-size
:
.28rem
;
}
</
style
>
\ No newline at end of file
public/resource/js/shop_edit.js
View file @
2b304c21
...
@@ -37,6 +37,7 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
...
@@ -37,6 +37,7 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
_roomTagObj
,
//商铺标签,初始化
_roomTagObj
,
//商铺标签,初始化
_landlordPhoneObj
=
$
(
'.li_landlord_phone input'
),
//房东手机号
_landlordPhoneObj
=
$
(
'.li_landlord_phone input'
),
//房东手机号
_internalNameObj
=
$
(
'#internalName'
),
//对内商铺名称
_internalNameObj
=
$
(
'#internalName'
),
//对内商铺名称
_projectNameObj
=
$
(
'#projectName'
),
//项目(大厦)名称
_zujinTypeObj
=
$
(
'#zujinType'
),
//租金模式
_zujinTypeObj
=
$
(
'#zujinType'
),
//租金模式
_moonPriceObj
=
$
(
'#moonPrice'
),
//月租均价
_moonPriceObj
=
$
(
'#moonPrice'
),
//月租均价
_wuyePriceObj
=
$
(
'#wuyePrice'
),
//物业管理费
_wuyePriceObj
=
$
(
'#wuyePrice'
),
//物业管理费
...
@@ -185,6 +186,7 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
...
@@ -185,6 +186,7 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
if
(
_data
[
'shop_type'
]
==
'0'
)
{
if
(
_data
[
'shop_type'
]
==
'0'
)
{
//如果是商场
//如果是商场
_roomArea2Obj
.
val
(
_data
[
'shop_area_end'
]);
//商铺面积范围上限值
_roomArea2Obj
.
val
(
_data
[
'shop_area_end'
]);
//商铺面积范围上限值
_projectNameObj
.
val
(
_data
[
'project_name'
]);
//项目(大厦)名称
};
};
if
(
_data
[
'shop_type'
]
==
'1'
){
if
(
_data
[
'shop_type'
]
==
'1'
){
//如果是街铺,且对商户公开
//如果是街铺,且对商户公开
...
@@ -970,6 +972,7 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
...
@@ -970,6 +972,7 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
_roomAllNumObj
,
//总铺数
_roomAllNumObj
,
//总铺数
_roomArea1Obj
,
//商铺面积起始值
_roomArea1Obj
,
//商铺面积起始值
_roomArea2Obj
,
//商铺面积结束值
_roomArea2Obj
,
//商铺面积结束值
_projectNameObj
,
//项目(大厦)名称
_businessAreaObj
,
//商业面积
_businessAreaObj
,
//商业面积
_addressInternalObj
,
//对内地址详细地址
_addressInternalObj
,
//对内地址详细地址
_longitudeObj
,
//经度
_longitudeObj
,
//经度
...
@@ -1014,6 +1017,17 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
...
@@ -1014,6 +1017,17 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
}
else
{
}
else
{
console
.
log
(
'所选为街铺时,商铺面积上限值不需要验证'
);
console
.
log
(
'所选为街铺时,商铺面积上限值不需要验证'
);
}
}
}
else
if
(
item
===
_projectNameObj
)
{
if
(
_shangpuTypeObj
.
val
()
==
'0'
)
{
//0为商场
if
(
_projectNameObj
.
val
()
==
''
)
{
alert
(
item
.
data
(
'alert'
));
_isBreakFlag
=
true
;
return
false
;
};
}
else
{
console
.
log
(
'所选为街铺时,项目(大厦)名不需要验证'
);
}
}
else
if
(
item
===
_qianyueNianxian2Obj
)
{
}
else
if
(
item
===
_qianyueNianxian2Obj
)
{
if
(
_qianyueNianxian2Obj
.
val
()
==
''
)
{
if
(
_qianyueNianxian2Obj
.
val
()
==
''
)
{
alert
(
item
.
data
(
'alert'
));
alert
(
item
.
data
(
'alert'
));
...
@@ -1169,6 +1183,7 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
...
@@ -1169,6 +1183,7 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
};
};
if
(
_shangpuTypeObj
.
val
()
==
'0'
)
{
if
(
_shangpuTypeObj
.
val
()
==
'0'
)
{
_data
[
'shop_area_end'
]
=
_roomArea2Obj
.
val
();
_data
[
'shop_area_end'
]
=
_roomArea2Obj
.
val
();
_data
[
'project_name'
]
=
$
.
trim
(
_projectNameObj
.
val
());
};
};
//_data['external_item_advantage'] = $.trim(_foreignYoushiObj.val());
//_data['external_item_advantage'] = $.trim(_foreignYoushiObj.val());
_data
[
'rim_mating'
]
=
$
.
trim
(
_foreignYoushiObj
.
val
());
_data
[
'rim_mating'
]
=
$
.
trim
(
_foreignYoushiObj
.
val
());
...
...
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