庞东旭 3 лет назад
Родитель
Сommit
383efadda7
12 измененных файлов: 83 добавлений и 83 удалений
  1. +3
    -3
      static/js/project/announcementList/announcementDetail.js
  2. +4
    -4
      static/js/project/announcementList/announcementList.js
  3. +2
    -2
      static/js/project/announcementList/attestation.js
  4. +3
    -3
      static/js/project/announcementList/warrantDetail.js
  5. +3
    -3
      static/js/project/demand/demandDetail.js
  6. +23
    -23
      static/js/project/index.js
  7. +6
    -6
      static/js/project/interact/interact.js
  8. +14
    -14
      static/js/project/listingItems/itemsList.js
  9. +2
    -2
      static/js/project/new/new.js
  10. +3
    -3
      static/js/project/new/newDetail.js
  11. +19
    -19
      static/js/project/user/index.js
  12. +1
    -1
      static/js/project/user/register.js

+ 3
- 3
static/js/project/announcementList/announcementDetail.js Просмотреть файл

@@ -21,7 +21,7 @@ define(['jquery', "template", "Tools", "announApi", "paging"], function ($, temp
module.bottomFriendsLinks = function (data) {
if (data.code == 200) {
var content = data.data;
console.log(content)
//console.log(content)
module.data.friendsLinksList = content;
var friendsLinksData = template('friendsLinksData', module.data);
$("#friendsLinksContent").html(friendsLinksData);
@@ -41,7 +41,7 @@ define(['jquery', "template", "Tools", "announApi", "paging"], function ($, temp
//项目公告数据
module.announInformation = function (data) {
if (data.code == 200) {
console.log(data)
//console.log(data)
var content = data.data;
module.data.announcementInformationDetail = content;
var announcementInformationData = template('announcementInformationData', module.data);
@@ -72,7 +72,7 @@ define(['jquery', "template", "Tools", "announApi", "paging"], function ($, temp
module.transactionDictionaries = function (data) {
if (data.code == 200) {
var content = data.data;
console.log(content)
//console.log(content)
var dealType = content[(module.data.announcementInformationDetail.dealType-1)].dictLabel;
module.data.announcementInformationDetail.dealType = dealType;
var announcementInformationData = template('announcementInformationData', module.data);


+ 4
- 4
static/js/project/announcementList/announcementList.js Просмотреть файл

@@ -31,11 +31,11 @@ define(['jquery', "template", "Tools", "announApi", "paging"], function ($, temp
var type = getQueryVariable('type');
var keyWord = getQueryVariable('searchKeyWord');
if(type != undefined && type != ''){
console.log('搜索进入')
//console.log('搜索进入')
tabList(type);
tools.doGet(jzsSearch, {deptId:100, jzsNum:keyWord,pageNum:module.data.pageNum,pageSize:module.data.pageSize}, module.attestationInformation,true);
}else{
console.log('正常进入')
//console.log('正常进入')
//鉴证公告
tools.doGet(attestationList, {deptId:100,pageNum:module.data.pageNum,pageSize:module.data.pageSize}, module.attestationInformation,true);
}
@@ -46,7 +46,7 @@ define(['jquery', "template", "Tools", "announApi", "paging"], function ($, temp
module.bottomFriendsLinks = function (data) {
if (data.code == 200) {
var content = data.data;
console.log(content)
//console.log(content)
module.data.friendsLinksList = content;
var friendsLinksData = template('friendsLinksData', module.data);
$("#friendsLinksContent").html(friendsLinksData);
@@ -118,7 +118,7 @@ define(['jquery', "template", "Tools", "announApi", "paging"], function ($, temp
}

tabList = function(type){
console.log(type)
//console.log(type)
document.getElementById('attestationInformationContent').style.display = 'none';
document.getElementById('announcementInformationContent').style.display = 'none';
document.getElementById(type+'InformationContent').style.display = 'block';


+ 2
- 2
static/js/project/announcementList/attestation.js Просмотреть файл

@@ -33,7 +33,7 @@ define(['jquery', "template", "Tools", "announApi", "paging"], function ($, temp
module.bottomFriendsLinks = function (data) {
if (data.code == 200) {
var content = data.data;
console.log(content)
//console.log(content)
module.data.friendsLinksList = content;
var friendsLinksData = template('friendsLinksData', module.data);
$("#friendsLinksContent").html(friendsLinksData);
@@ -43,7 +43,7 @@ define(['jquery', "template", "Tools", "announApi", "paging"], function ($, temp
//项目公告数据
module.announInformation = function (data) {
if (data.code == 200) {
console.log(data)
//console.log(data)
var content = data.data;
module.data.announcementInformationDetail = content;
var announcementInformationData = template('announcementInformationData', module.data);


+ 3
- 3
static/js/project/announcementList/warrantDetail.js Просмотреть файл

@@ -33,14 +33,14 @@ define(['jquery', "template", "Tools", "announApi", "paging"], function ($, temp
module.bottomFriendsLinks = function (data) {
if (data.code == 200) {
var content = data.data;
console.log(content)
//console.log(content)
module.data.friendsLinksList = content;
var friendsLinksData = template('friendsLinksData', module.data);
$("#friendsLinksContent").html(friendsLinksData);
}
}
module.announDetail = function(data){
console.log(data)
//console.log(data)
module.data.jyqzNumOne = data.rows[0].jyqzNumOne
module.data.jyqzNumTwo = data.rows[0].jyqzNumTwo
tools.doGet(announDetail+'/'+data.rows[0].publicityId, {}, module.announInformation,true);
@@ -78,7 +78,7 @@ define(['jquery', "template", "Tools", "announApi", "paging"], function ($, temp
module.transactionDictionaries = function (data) {
if (data.code == 200) {
var content = data.data;
console.log(content)
//console.log(content)
var dealType = content[(module.data.announcementInformationDetail.dealType-1)].dictLabel;
module.data.announcementInformationDetail.dealType = dealType;
var announcementInformationData = template('announcementInformationData', module.data);


+ 3
- 3
static/js/project/demand/demandDetail.js Просмотреть файл

@@ -48,7 +48,7 @@ define(['jquery', "template", "Tools", "demandApi", "paging","user"], function (
module.demandDetail = function(data){
if (data.code == 200) {
var content = data.data;
console.log(content)
//console.log(content)
module.data.demandInformationDetail = content;
tools.doGet(demandImageList+'/'+getQueryVariable('id'), {}, module.demandImageDetail,true);
}
@@ -57,7 +57,7 @@ define(['jquery', "template", "Tools", "demandApi", "paging","user"], function (
module.bottomFriendsLinks = function (data) {
if (data.code == 200) {
var content = data.data;
console.log(content)
//console.log(content)
module.data.friendsLinksList = content;
var friendsLinksData = template('friendsLinksData', module.data);
$("#friendsLinksContent").html(friendsLinksData);
@@ -65,7 +65,7 @@ define(['jquery', "template", "Tools", "demandApi", "paging","user"], function (
}

module.demandImageDetail = function(data){
console.log(data)
//console.log(data)
if (data.code == 200){
var content = data.data;
var fileUrlList = [];


+ 23
- 23
static/js/project/index.js Просмотреть файл

@@ -164,7 +164,7 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa
tools.doGet(supplyDemand + '/100/2/5', {}, module.supplyDemand2, true);

//互动交流
tools.doGet(communicateList + '/100/5', {}, module.communicateList, true);
tools.doGet(communicateList + '/100/5/notnull', {}, module.communicateList, true);

//土地挂牌价格走势统计图
tools.doGet(statistics, {deptId: 100}, module.statisticsContent, true);
@@ -202,7 +202,7 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa
focusList.push({img:imgStrs[0],title:title,id:id})
}
}
console.log(focusList)
//console.log(focusList)
module.data.focusList = focusList;
var bannerFocusData = template('bannerFocusData', module.data);
$("#bannerFocusContent").html(bannerFocusData);
@@ -215,8 +215,8 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa
}

module.statisticsContent = function(data){
console.log(module.option)
console.log(data)
//console.log(module.option)
//console.log(data)
module.data.nowPriceAvg = data.nowPriceAvg;
module.data.priceRate = data.priceRate;
var statisticsData = template('statisticsData', module.data);
@@ -234,7 +234,7 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa
//互动交流
module.communicateList = function (data) {
if (data.code == 200) {
console.log(data.data)
//console.log(data.data)
var content = data.data;
module.data.communicateList = content;
var communicateData = template('communicateData', module.data);
@@ -246,7 +246,7 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa
module.NewsInformation = function (data) {
if (data.code == 200) {
var content = data.data;
console.log(content)
//console.log(content)
module.data.newsInformationList = content;
var NewsInformationData = template('NewsInformationData', module.data);
$("#NewsInformationContent").html(NewsInformationData);
@@ -285,7 +285,7 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa

//标的物所在地
module.deptLocation = function (data) {
console.log(data)
//console.log(data)
if (data.code == 200) {
var content = data.data ;
var contentList = [];
@@ -315,7 +315,7 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa
module.webConfigInformation = function (data) {
if (data.code == 200) {
var content = data.data;
console.log(content)
//console.log(content)
$("#webConfigName").html(content[0].configValue);
$("#webConfigRecord").html(content[1].configValue + content[2].configValue);
$("#webConfigAddress").html(content[0].configValue+' '+content[3].configValue);
@@ -336,7 +336,7 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa
module.bottomFriendsLinks = function (data) {
if (data.code == 200) {
var content = data.data;
console.log(content)
//console.log(content)
module.data.friendsLinksList = content;
var friendsLinksData = template('friendsLinksData', module.data);
$("#friendsLinksContent").html(friendsLinksData);
@@ -411,7 +411,7 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa
module.biddingHallList = function (data) {
if (data.code == 200) {
var content = data.data;
console.log(content)
//console.log(content)

module.data.biddingHallListList = content;
for(var i = 0 ; i < content.length ; i++){
@@ -425,23 +425,23 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa
var nowTime = Date.parse(new Date());
var leftTime = Date.parse(biddingStopTime)-nowTime;
var rightTime = Date.parse(biddingStartTime)-nowTime;
console.log(biddingStopTime)
console.log(leftTime)
//console.log(biddingStopTime)
//console.log(leftTime)

if(leftTime>0){
console.log('进行中')
//console.log('进行中')
content[i].timeType = '进行中'
}
if(leftTime<0){
console.log('已结束')
//console.log('已结束')
content[i].timeType = '已结束'
}
if(rightTime>0){
console.log('未开始')
//console.log('未开始')
content[i].timeType = '未开始'
}
}
console.log(content)
//console.log(content)
var biddingHallListData = template('biddingHallListData', module.data);
$("#biddingHallListContent").html(biddingHallListData);
}
@@ -464,7 +464,7 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa
//个人供求
module.supplyDemand = function (data) {
if (data.code == 200) {
console.log(data)
//console.log(data)
var content = data.data;
module.data.supplyDemandList = content;
var supplyDemandData = template('supplyDemandData', module.data);
@@ -475,7 +475,7 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa
//个人供求
module.supplyDemand2 = function (data) {
if (data.code == 200) {
console.log(data)
//console.log(data)
var content = data.data;
module.data.supplyDemand2List = content;
var supplyDemand2Data = template('supplyDemand2Data', module.data);
@@ -492,7 +492,7 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa
focusListNext.push({img:serverApi+imgStrs,title:data.data[i].projectName})
}
}
console.log(focusListNext)
//console.log(focusListNext)
module.data.focusListNext = focusListNext;
var bannerFocusBottomData = template('bannerFocusBottomData', module.data);
$("#bannerFocusNextContent").html(bannerFocusBottomData);
@@ -503,7 +503,7 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa

module.supplyImages = function(){
var focusListNext = module.data.focusListNext;
console.log(module.data.supplyDemandList)
//console.log(module.data.supplyDemandList)
for (var i = 0; i < module.data.supplyDemandList.length; i++) {
var imgStrs = module.data.supplyDemandList[i].projectContent.match(/<img.*?>/g)
var title = module.data.supplyDemandList[i].projectName
@@ -543,8 +543,8 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa
goSearchKeyWord = function(){
var type = $('input[name="transaction"]:checked').val();
var searchKeyWord = $('#searchKeyWord').val();
console.log($('#searchKeyWord').val())
console.log(type)
//console.log($('#searchKeyWord').val())
//console.log(type)
if($('#searchKeyWord').val() == '' && type== 'warrant'){
tools.initDialog('提示', '经营权证编号不可为空', function () {
return;
@@ -569,7 +569,7 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa
//标的物类型
module.deptTypeSelect = function (data) {
if (data.code == 200) {
console.log(data);
//console.log(data);
var content = data.data ;
module.data.deptTypeSelectList = content;
var deptTypeSelectData = template('deptTypeSelectData', module.data);


+ 6
- 6
static/js/project/interact/interact.js Просмотреть файл

@@ -65,15 +65,15 @@ define(['jquery', "template", "Tools", "interactApi", "paging"], function ($, te
//新闻资讯数据
module.interactInformation = function (data) {
if (data.code == 200) {
console.log(data)
//console.log(data)
var content = data.rows;
var pageCount = (data.total/module.data.pageSize).toFixed(0);
if (pageCount < 1){
pageCount = 1;
}
console.log(module.data.interactInformationList)
//console.log(module.data.interactInformationList)
if(module.data.interactInformationList == ''){
console.log('aaa')
//console.log('aaa')
// 初始化 分页器
var page_s1=createPage('.page_s1');
// 设置分页
@@ -95,7 +95,7 @@ define(['jquery', "template", "Tools", "interactApi", "paging"], function ($, te
module.bottomFriendsLinks = function (data) {
if (data.code == 200) {
var content = data.data;
console.log(content)
//console.log(content)
module.data.friendsLinksList = content;
var friendsLinksData = template('friendsLinksData', module.data);
$("#friendsLinksContent").html(friendsLinksData);
@@ -147,9 +147,9 @@ define(['jquery', "template", "Tools", "interactApi", "paging"], function ($, te
module.data.pageNum = pageNum ;
if (module.data.searchType == 'YES'){
module.data.turnPage = 'YES';
tools.doGet(interactSearch, {deptId:100,title:module.data.searchTitle,content:module.data.searchContent,pageNum:pageNum,pageSize:module.data.pageSize}, module.searchInteractInformation,true)
tools.doGet(interactSearch, {deptId:100,title:module.data.searchTitle,content:module.data.searchContent,pageNum:pageNum,pageSize:module.data.pageSize,reply:'notnull'}, module.searchInteractInformation,true)
}else{
tools.doGet(interactList, {deptId:100,pageNum:pageNum,pageSize:module.data.pageSize}, module.interactInformation,true);
tools.doGet(interactList, {deptId:100,pageNum:pageNum,pageSize:module.data.pageSize,reply:'notnull'}, module.interactInformation,true);
}
}



+ 14
- 14
static/js/project/listingItems/itemsList.js Просмотреть файл

@@ -43,7 +43,7 @@ define(['jquery', "template", "Tools", "itemsApi", "paging", 'dateTime'], functi
//竞价结束时间
biddingStopTime: '',
form: {
deptId: '',
deptId: 100,
projectNumber: '',
projectShowStatus: '',
signupStartTime: '',
@@ -51,7 +51,7 @@ define(['jquery', "template", "Tools", "itemsApi", "paging", 'dateTime'], functi
biddingStartTime: '',
biddingStopTime: '',
pageNum: 1,
pageSize: 1,
pageSize: 20,
}
},
};
@@ -61,7 +61,7 @@ define(['jquery', "template", "Tools", "itemsApi", "paging", 'dateTime'], functi
//底部友情链接
tools.doGet(friendsLinks, {}, module.bottomFriendsLinks, true);
if (getQueryVariable('projectCode') || getQueryVariable('projectName') || getQueryVariable('projectNumber')) {
console.log('首页进入')
//console.log('首页进入')
tools.doGet(itemsList, {
deptId: 100,
pageNum: module.data.pageNum,
@@ -100,7 +100,7 @@ define(['jquery', "template", "Tools", "itemsApi", "paging", 'dateTime'], functi
type: "date",
value: [new Date().getFullYear(),new Date().getMonth()+1,new Date().getDate()],
success: function (res) {
console.log(res)
//console.log(res)
}
})

@@ -108,7 +108,7 @@ define(['jquery', "template", "Tools", "itemsApi", "paging", 'dateTime'], functi
type: "date",
value: [new Date().getFullYear(),new Date().getMonth()+1,new Date().getDate()],
success: function (res) {
console.log(res)
//console.log(res)
}
})

@@ -116,7 +116,7 @@ define(['jquery', "template", "Tools", "itemsApi", "paging", 'dateTime'], functi
type: "date",
value: [new Date().getFullYear(),new Date().getMonth()+1,new Date().getDate()],
success: function (res) {
console.log(res)
//console.log(res)
}
})

@@ -124,7 +124,7 @@ define(['jquery', "template", "Tools", "itemsApi", "paging", 'dateTime'], functi
type: "date",
value: [new Date().getFullYear(),new Date().getMonth()+1,new Date().getDate()],
success: function (res) {
console.log(res)
//console.log(res)
}
})

@@ -145,7 +145,7 @@ define(['jquery', "template", "Tools", "itemsApi", "paging", 'dateTime'], functi
//挂牌项目列表
module.itemList = function (data) {
if (data.code == 200) {
console.log(data)
//console.log(data)
module.data.serverApi = serverApi;
var content = data.rows;
var pageCount = (data.total / module.data.pageSize).toFixed(0);
@@ -177,7 +177,7 @@ define(['jquery', "template", "Tools", "itemsApi", "paging", 'dateTime'], functi

//标的物类型
module.deptType = function (data) {
console.log(data)
//console.log(data)
if (data.code == 200) {
var content = data.data;
module.data.deptTypeList = content;
@@ -205,12 +205,12 @@ define(['jquery', "template", "Tools", "itemsApi", "paging", 'dateTime'], functi
document.getElementById('secondDept').style.display = 'block';
}
if (data.code == 200) {
console.log(data)
//console.log(data)
var content = data.data;
module.data.deptSecondLocationList = content;
var deptSecondLocationData = template('deptSecondLocationData', module.data);
$("#secondDept").html(deptSecondLocationData);
console.log(module.data.deptId)
//console.log(module.data.deptId)
}
}

@@ -256,7 +256,7 @@ define(['jquery', "template", "Tools", "itemsApi", "paging", 'dateTime'], functi
module.bottomFriendsLinks = function (data) {
if (data.code == 200) {
var content = data.data;
console.log(content)
//console.log(content)
module.data.friendsLinksList = content;
var friendsLinksData = template('friendsLinksData', module.data);
$("#friendsLinksContent").html(friendsLinksData);
@@ -275,7 +275,7 @@ define(['jquery', "template", "Tools", "itemsApi", "paging", 'dateTime'], functi
projectNumber = "";
}
module.data.projectNumber = projectNumber;//标的物类型ID
console.log(id+'----------------'+projectNumber)
//console.log(id+'----------------'+projectNumber)
document.getElementById('standardTypeAll').className = 'auction_hall_table_tab';
if (id == '') {
id = 'All';
@@ -312,7 +312,7 @@ define(['jquery', "template", "Tools", "itemsApi", "paging", 'dateTime'], functi
module.data.form.pageNum = module.data.pageNum;
module.data.form.pageSize = module.data.pageSize;

console.log(module.data.form)
//console.log(module.data.form)

tools.doGet(itemsList, module.data.form, module.itemList, true);
}


+ 2
- 2
static/js/project/new/new.js Просмотреть файл

@@ -23,7 +23,7 @@ define(['jquery', "template", "Tools", "newApi", "paging"], function ($, templat
//底部友情链接
tools.doGet(friendsLinks, {}, module.bottomFriendsLinks, true);
if(getQueryVariable('title') ){
console.log('搜索进入')
//console.log('搜索进入')
//新闻资讯
tools.doGet(newList, {deptId:100,pageNum:module.data.pageNum,pageSize:module.data.pageSize,title:getQueryVariable('title')}, module.NewsInformation,true);
}else{
@@ -48,7 +48,7 @@ define(['jquery', "template", "Tools", "newApi", "paging"], function ($, templat
module.bottomFriendsLinks = function (data) {
if (data.code == 200) {
var content = data.data;
console.log(content)
//console.log(content)
module.data.friendsLinksList = content;
var friendsLinksData = template('friendsLinksData', module.data);
$("#friendsLinksContent").html(friendsLinksData);


+ 3
- 3
static/js/project/new/newDetail.js Просмотреть файл

@@ -13,7 +13,7 @@ define(['jquery', "template", "Tools", "newApi"], function ($, template, Tools )
module.init = function (page) {
//底部友情链接
tools.doGet(friendsLinks, {}, module.bottomFriendsLinks, true);
console.log(getQueryVariable('id'))
//console.log(getQueryVariable('id'))
//新闻资讯
tools.doGet(newDetail + '/'+getQueryVariable('id'), {}, module.NewsInformation,true);

@@ -24,7 +24,7 @@ define(['jquery', "template", "Tools", "newApi"], function ($, template, Tools )
module.bottomFriendsLinks = function (data) {
if (data.code == 200) {
var content = data.data;
console.log(content)
//console.log(content)
module.data.friendsLinksList = content;
var friendsLinksData = template('friendsLinksData', module.data);
$("#friendsLinksContent").html(friendsLinksData);
@@ -44,7 +44,7 @@ define(['jquery', "template", "Tools", "newApi"], function ($, template, Tools )

//新闻资讯数据
module.NewsInformation = function (data) {
console.log(data)
//console.log(data)
if (data.code == 200) {
var content = data.data;
$("#newTitle").html(content.title);


+ 19
- 19
static/js/project/user/index.js Просмотреть файл

@@ -49,7 +49,7 @@ define(['jquery', "template", "Tools", "user", "paging","cupload","kindeditor"],

window.KindEditor.create('#editor_id')

console.log(tools.getParam('type'))
//console.log(tools.getParam('type'))

var type = tools.getParam('type');

@@ -75,7 +75,7 @@ define(['jquery', "template", "Tools", "user", "paging","cupload","kindeditor"],
module.bottomFriendsLinks = function (data) {
if (data.code == 200) {
var content = data.data;
console.log(content)
//console.log(content)
module.data.friendsLinksList = content;
var friendsLinksData = template('friendsLinksData', module.data);
$("#friendsLinksContent").html(friendsLinksData);
@@ -110,7 +110,7 @@ define(['jquery', "template", "Tools", "user", "paging","cupload","kindeditor"],
module.userData = function(data){
if (data.code == 200) {
var content = data.user;
console.log(content)
//console.log(content)
module.data.userId = content.userId;
tools.doGet(userMember + '/' + content.userId, {}, module.userMember);//memberType 1个人 2单位
}
@@ -120,7 +120,7 @@ define(['jquery', "template", "Tools", "user", "paging","cupload","kindeditor"],
module.userMember = function(data){
if (data.code == 200) {
var content = data.data;
console.log(data)
//console.log(data)
module.data.userInformationDetail = content;
module.data.memberType = content.memberType;

@@ -142,7 +142,7 @@ define(['jquery', "template", "Tools", "user", "paging","cupload","kindeditor"],
document.getElementById('phone').innerHTML = content.phone;

module.data.memberId = content.id;
console.log(module.data.userId)
//console.log(module.data.userId)

//用户图片
tools.doGet(showUserImg+'/'+module.data.memberId, {}, module.showUserImage);
@@ -164,7 +164,7 @@ define(['jquery', "template", "Tools", "user", "paging","cupload","kindeditor"],
}

module.showUserImage = function(data){
console.log(data)
//console.log(data)
if (data.code == 200) {
var content = data.data;
var fileUrlList = [];
@@ -176,7 +176,7 @@ define(['jquery', "template", "Tools", "user", "paging","cupload","kindeditor"],
if (fileUrlList.length == 0){
fileUrlList = '';
}
console.log(fileUrlList)
//console.log(fileUrlList)
module.data.fileNum = fileNum;
if(module.data.memberType == '1'){
var cupload2 = new Cupload ({
@@ -195,7 +195,7 @@ define(['jquery', "template", "Tools", "user", "paging","cupload","kindeditor"],
}

module.showSupplyImage = function(data){
console.log(data)
//console.log(data)
if (data.code == 200) {
var content = data.data;
var fileUrlList = [];
@@ -207,7 +207,7 @@ define(['jquery', "template", "Tools", "user", "paging","cupload","kindeditor"],
if (fileUrlList.length == 0){
fileUrlList = '';
}
console.log(fileUrlList)
//console.log(fileUrlList)
document.getElementById('cupload-1').innerHTML = '';
module.data.fileNum = fileNum;
var cupload1 = new Cupload ({
@@ -219,7 +219,7 @@ define(['jquery', "template", "Tools", "user", "paging","cupload","kindeditor"],
}

deleteList = function(){
console.log(module.data.fileNum[deleteNum])
//console.log(module.data.fileNum[deleteNum])
tools.doGet(deleteUserImg+'/'+module.data.fileNum[deleteNum], {}, module.Tips);
}

@@ -229,7 +229,7 @@ define(['jquery', "template", "Tools", "user", "paging","cupload","kindeditor"],

//获取上传图片list
upLoadAction = function(type){
console.log(type)
//console.log(type)
var upLoadList = [];
var data = {};
if(type == 'user'){
@@ -288,10 +288,10 @@ define(['jquery', "template", "Tools", "user", "paging","cupload","kindeditor"],

//个人中心我的供求
module.userSupply = function(data){
console.log(data)
//console.log(data)
if (data.code == 200) {
var content = data.rows;
console.log(data)
//console.log(data)
var pageCount = (data.total/10).toFixed(0);
if (pageCount < 1){
pageCount = 1;
@@ -320,7 +320,7 @@ define(['jquery', "template", "Tools", "user", "paging","cupload","kindeditor"],
module.consulting = function(data){
if (data.code == 200) {
var content = data.rows;
console.log(data )
//console.log(data )
var pageCount = (data.total/module.data.pageSize).toFixed(0);
if (pageCount < 1){
pageCount = 1;
@@ -346,7 +346,7 @@ define(['jquery', "template", "Tools", "user", "paging","cupload","kindeditor"],
module.bidding = function(data){
if (data.code == 200) {
var content = data.rows;
console.log(content)
//console.log(content)
var pageCount = (data.total/module.data.pageSize).toFixed(0);
if (pageCount < 1){
pageCount = 1;
@@ -375,7 +375,7 @@ define(['jquery', "template", "Tools", "user", "paging","cupload","kindeditor"],
document.getElementById('passWord').className = '';
document.getElementById(type).className = 'active';

console.log(type)
//console.log(type)
document.getElementById('userInformationContent').style.display = 'none';
document.getElementById('companyInformationContent').style.display = 'none';
document.getElementById('bankInformationContent').style.display = 'none';
@@ -604,7 +604,7 @@ define(['jquery', "template", "Tools", "user", "paging","cupload","kindeditor"],
var projectContent = $('#projectContent').val();
var logintime = tools.getNowFormatDate();

console.log(demandType);
//console.log(demandType);
data['projectName'] = projectName;
data['location'] = location;
data['realname'] = projectRealName;
@@ -809,14 +809,14 @@ define(['jquery', "template", "Tools", "user", "paging","cupload","kindeditor"],
goSearch = function () {
var searchTitle = $('#searchTitle').val();
var searchContent = $('#searchContent').val();
console.log(searchTitle)
//console.log(searchTitle)
module.data.searchType = 'YES';
tools.doGet(userConsulting,{title:searchTitle,content:searchContent,memberId:module.data.memberId,pageNum:module.data.pageNum,pageSize:module.data.pageSize},module.consulting);
}

selectUserSupply = function(ids) {
module.data.supplyType = 'edit'
console.log('点击修改')
//console.log('点击修改')
tools.doGet(selectSupply + '/' + ids, {}, module.selectSupplyDetail);//memberType 1个人 2单位
}
module.selectSupplyDetail = function(data){


+ 1
- 1
static/js/project/user/register.js Просмотреть файл

@@ -44,7 +44,7 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa
module.bottomFriendsLinks = function (data) {
if (data.code == 200) {
var content = data.data;
console.log(content)
//console.log(content)
module.data.friendsLinksList = content;
var friendsLinksData = template('friendsLinksData', module.data);
$("#friendsLinksContent").html(friendsLinksData);


Загрузка…
Отмена
Сохранить