Commit 68c90527 authored by xishifeng's avatar xishifeng

0328暂存

parent 85114b72
......@@ -42,5 +42,14 @@
<arguments>1.0-name-matches-false-false-node_modules</arguments>
</matcher>
</filter>
<filter>
<id>1522052779116</id>
<name></name>
<type>26</type>
<matcher>
<id>org.eclipse.ui.ide.multiFilter</id>
<arguments>1.0-name-matches-false-false-node_modules</arguments>
</matcher>
</filter>
</filteredResources>
</projectDescription>
......@@ -29,6 +29,11 @@ class Index
{
return view('index/achieve_ac');
}
public function cs_0328()
{
return view('index/cs_0328');
}
public function weekly()
{
......
......@@ -20,7 +20,7 @@
<div class="oh fl">
<a class="fl" :href="linkAchieveYwy">个人业绩</a>
</div>
<div class="oh fl">
<div class="oh fl" v-if="">
<a class="fl" :href="linkAchieveMd">门店业绩</a>
</div>
</footer>
......
......@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<title>福居好房</title>
<title>同联商业</title>
<meta http-equiv="X-UA-Compatible" content="IE=10" />
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" />
<meta name="Keywords" content="" />
......
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<title>同联商业</title>
<meta http-equiv="X-UA-Compatible" content="IE=10" />
<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">
<ul>
<li v-for="(item, index) in dataMain" :key="item.App_version.id" :data-index="index" :data-id="item.App_version.id" :data="item" @click="changeSt($event,item.App_version.version,item.App_version.id, index,)">
<div>{{item.App_version.version+','+item.App_version.id+','+index}}</div>
<div>{{item.App_version.content}}</div>
</li>
</ul>
</div>
<script src="/app/js/libs/require.min.js" data-js="/app/js/cs_0328.js" data-main="/app/js/main" defer async="true"></script>
</body>
</html>
\ No newline at end of file
......@@ -32,6 +32,7 @@ Route::group('app_broker',[
'achieve_ywy' => [ 'app_broker/index/achieve_ywy', [ 'method' => 'get' ] ],
'achieve_md' => [ 'app_broker/index/achieve_md', [ 'method' => 'get' ] ],
'achieve_ac' => [ 'app_broker/index/achieve_ac', [ 'method' => 'get' ] ],
'cs_0328' => [ 'app_broker/index/cs_0328', [ 'method' => 'get' ] ],
'weekly' => [ 'app_broker/index/weekly', [ 'method' => 'get' ] ],
'weekly_my' => [ 'app_broker/index/weekly_my', [ 'method' => 'get' ] ],
'weekly_achieve_dz' => [ 'app_broker/index/weekly_achieve_dz', [ 'method' => 'get' ] ],
......
@charset "utf-8";
ul{
background-color: white;
padding: .2rem .3rem 0;
}
ul>li{
font-size: .3rem;
}
ul>li>div:nth-of-type(1){
border-bottom: 1px solid #333;
line-height: .8rem;
}
ul>li>div:nth-of-type(2){
background-color: #eee;
min-height: 1rem;
}
......@@ -109,13 +109,13 @@ require(['vue', 'css!style/achieve_tonglian_ac.css', 'jquery0325', 'common'], fu
ajaxMainNum: function() {
var _this = this;
$.ajax({
type: 'POST',
type: 'GET',
url: ServerHostTempC + '/broker/agentPerformanceBySearch',
data: {
'start_time': _this.startDate,
'end_time': _this.endDate,
'agent_id': _this.userid,
'is_case': _this.initTabNumSub + 1
'is_case': _this.initTabNumMain
},
timeout: 30000,
dataType: 'json',
......@@ -123,7 +123,7 @@ require(['vue', 'css!style/achieve_tonglian_ac.css', 'jquery0325', 'common'], fu
success: function(_data) {
if(typeof _data === 'object') {
if(_data['code'] == '200') {
} else {
layerTipsX(_data['msg']);
}
......
/***
*
* event.target返回触发事件的元素
* event.currentTarget返回绑定事件的元素
*
* **/
'use strict';
require(['vue', 'css!style/cs_0328.css', 'jquery0325', 'common'], function(Vue) {
var _token = localStorage.getItem('token');
var vm = new Vue({
el: '#app',
data: {
dataMain: []
},
created: function() {
var _this = this;
document.body.style.display = 'block';
_this.loadMain();
},
methods: {
changeSt(e, h, f, g) {
console.log(h + ', ' + f + ', ' + g);
console.log(e.currentTarget);
console.log(e.currentTarget.getAttribute('data'));
console.log(e.currentTarget.getAttribute('data-index'));
console.log(e.currentTarget.getAttribute('data-id'));
console.log(e.currentTarget.dataset['index']);
console.log(e.currentTarget.dataset.id);
},
loadMain: function() {
var _this = this;
for(var i = 0; i < cs_obj['list'].length; i++) {
_this.dataMain.push(Object.assign(cs_obj['list'][i], {
'isSp': false
}));
};
console.log(_this.dataMain);
}
}
});
});
var cs_obj = {
"list": [{
"App_version": {
"id": "13",
"title": "no bb",
"version": "4.3.8",
"content": "1.\u5565\u66f4\u65b0\u6ca1\u6709\r\n2.\u8868\u4e86\u4e2a\u6001\r\n2.\u6740\u4e86\u4e2a\u5b89\u5353\u796d\u5929",
"app_type": "0",
"type": "0",
"apk_url": "bb",
"app_path": null,
"is_del": "0",
"created": "2018-03-28 14:45:03",
"modified": "2018-03-28 14:45:03",
"version_pic": null,
"is_force": "0",
"operator": "fuju"
}
}, {
"App_version": {
"id": "10",
"title": "\u4f60\u8fbe\u7279\u7684",
"version": "4.3.7",
"content": "1\u3001\u5475\u5475\u54d2\uff1b\r\n2\u3001\u54c8\u54c8\u54d2\uff1b\r\n3\u3001\u95ea\u95ea\u54d2\u3002",
"app_type": "0",
"type": "0",
"apk_url": "http:ddd",
"app_path": null,
"is_del": "0",
"created": "2018-03-28 11:41:12",
"modified": "2018-03-28 11:41:12",
"version_pic": null,
"is_force": "0",
"operator": "fuju"
}
}, {
"App_version": {
"id": "9",
"title": "\u5927\u8428\u8fbe",
"version": "4.3.5",
"content": "1\u3001\u4f60\u59b9\uff1b\\n\r\n2\u3001\u4f60\u5927\u7237\uff1b\\n\r\n3\u3001\u4f60\u4e8c\u5927\u7237\u7684\u3002",
"app_type": "0",
"type": "0",
"apk_url": "hhttp",
"app_path": null,
"is_del": "0",
"created": "2018-03-28 11:38:49",
"modified": "2018-03-28 11:38:49",
"version_pic": null,
"is_force": "0",
"operator": "fuju"
}
}, {
"App_version": {
"id": "7",
"title": "\u5bf9\u5bf9\u5bf9",
"version": "sb",
"content": "\u662f\u6253\u53d1\u7684\u53cd\u611f\u8bf4\u00b7",
"app_type": "0",
"type": "0",
"apk_url": "123123",
"app_path": null,
"is_del": "0",
"created": "2018-03-28 11:36:12",
"modified": "2018-03-28 11:36:12",
"version_pic": null,
"is_force": "0",
"operator": "fuju"
}
}, {
"App_version": {
"id": "6",
"title": "\u7535\u98ce\u6247\u00b71",
"version": "\u54c8\u54c8\u54c8",
"content": "\u963f\u65af\u987f\u53d1\u9001\u5230\u5206\u6563",
"app_type": "0",
"type": "0",
"apk_url": "123124123",
"app_path": null,
"is_del": "0",
"created": "2018-03-28 11:35:16",
"modified": "2018-03-28 11:35:16",
"version_pic": null,
"is_force": "0",
"operator": "fuju"
}
}, {
"App_version": {
"id": "4",
"title": "123",
"version": "123",
"content": "123",
"app_type": "0",
"type": "0",
"apk_url": "123",
"app_path": null,
"is_del": "0",
"created": "2018-03-28 11:25:29",
"modified": "2018-03-28 11:25:29",
"version_pic": null,
"is_force": "0",
"operator": "fuju"
}
}, {
"App_version": {
"id": "3",
"title": "123",
"version": "123",
"content": "123",
"app_type": "0",
"type": "0",
"apk_url": "123",
"app_path": null,
"is_del": "0",
"created": "2018-03-28 11:22:39",
"modified": "2018-03-28 11:22:39",
"version_pic": null,
"is_force": "0",
"operator": "fuju"
}
}, {
"App_version": {
"id": "1",
"title": "\u66f4\u65b0\u6709\u793c\u5305",
"version": "4.3.3",
"content": "\u66f4\u65b0\u798f\u5229",
"app_type": "0",
"type": "0",
"apk_url": "fuli.apk",
"app_path": "http:\/\/www.cangls.com\/",
"is_del": "0",
"created": "2018-03-27 10:42:52",
"modified": "2018-03-27 10:42:55",
"version_pic": "http:\/\/www.cangls.com\/",
"is_force": "0",
"operator": null
}
}],
"page": 1,
"count": 8
}
\ No newline at end of file
......@@ -90,7 +90,7 @@ require(['vue', 'css!style/customerinfo_sub_page.css', 'css!style/customer_gj.cs
_this.business_area = (_len===0)?'':data.data[0]['business_area'];
_this.other_area = (_len===0)?'':data.data[0]['other_area'];
_this.explain = (_len===0)?'':data.data[0]['explain'];
(_len>0) && _this.imgShowList.push({
(_len>0 && data.data[0]['explain_img']) && _this.imgShowList.push({
'name': data.data[0]['explain_img']
});
//区域自动获取,并赋值
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment