农村经营主体综合供求信息网
diff --git a/newBusinessEntities/release.html b/newBusinessEntities/release.html
index 761648c..4ee00a9 100644
--- a/newBusinessEntities/release.html
+++ b/newBusinessEntities/release.html
@@ -22,17 +22,18 @@
diff --git a/newBusinessEntities/static/js/api/index.js b/newBusinessEntities/static/js/api/index.js
index 738865d..da07090 100644
--- a/newBusinessEntities/static/js/api/index.js
+++ b/newBusinessEntities/static/js/api/index.js
@@ -62,4 +62,8 @@ var depositInformation = '/webSite/operators/depositInformation' //供求信息
var productCategories = '/webSite/operators/productCategories' //产品分类
+var supplyChainAgent = '/webSite/operators/supplyChainAgent' //经纪人列表
+
+var supplyChainPurchaser = '/webSite/operators/supplyChainPurchaser' //采购商列表
+
var dictType = '/webSite/operators/data/type' //首页-字典查询
diff --git a/newBusinessEntities/static/js/project/supplyChain/index.js b/newBusinessEntities/static/js/project/supplyChain/index.js
index 22acb01..a0b53c9 100644
--- a/newBusinessEntities/static/js/project/supplyChain/index.js
+++ b/newBusinessEntities/static/js/project/supplyChain/index.js
@@ -20,6 +20,23 @@ define(['jquery', "template", "Tools", 'LeftNav', 'dateTime'], function ($, temp
tools.doGet(dictType + '/Industrial_classification_type', {}, module.dictType , true);
+ var tabs = $('.tab').find('li');
+ var informationBox = $("#listBox > div");
+ tabs.on('click', function (e) {
+
+ e.preventDefault();//防止打开链接
+
+ var index = $(this).data('id');
+
+ tabs.removeClass('active');
+
+ informationBox.css("display",'none');
+
+ $(this).addClass('active');
+
+ $('#'+index).css("display",'block')
+
+ });
// $("#signStartTimeStr").datetime({
// type: "date",
// value: [new Date().getFullYear(),new Date().getMonth()+1,new Date().getDate()],
@@ -51,6 +68,8 @@ define(['jquery', "template", "Tools", 'LeftNav', 'dateTime'], function ($, temp
module.dictType = function (data) {
module.data.industryClassOptions = data.data;
tools.doPost(entityMain, {}, module.entityMain , true);
+ tools.doPost(supplyChainAgent, {}, module.supplyChainAgent , true);
+ tools.doPost(supplyChainPurchaser, {}, module.supplyChainPurchaser , true);
}
//经营主体
@@ -78,6 +97,56 @@ define(['jquery', "template", "Tools", 'LeftNav', 'dateTime'], function ($, temp
}
}
+ //经营主体
+ module.supplyChainAgent = function (data) {
+ if (data.code == 200) {
+ var content = data.data;
+
+ // for ( var i = 0 ; i < content.length ; i++ ){
+ // if (content[i].industryClassificationType != null){
+ // var industryClassificationType = content[i].industryClassificationType.split(",");
+ // var secondArray = "";
+ // for (var j = 0 ; j < industryClassificationType.length ; j++){
+ // secondArray += module.selectDictLabel(module.data.industryClassOptions,industryClassificationType[j]);
+ // }
+ // content[i].industryClassificationType = secondArray;
+ // }
+ // console.log(content[i].industryClassificationType)
+ // content[i].masterMap = serverApi + content[i].masterMap ;
+ //
+ // }
+
+ module.data.agentList = content;
+ var agentData = template('agentData', module.data);
+ $("#agentContent").html(agentData);
+ }
+ }
+
+ //经营主体
+ module.supplyChainPurchaser = function (data) {
+ if (data.code == 200) {
+ var content = data.data;
+
+ // for ( var i = 0 ; i < content.length ; i++ ){
+ // if (content[i].industryClassificationType != null){
+ // var industryClassificationType = content[i].industryClassificationType.split(",");
+ // var secondArray = "";
+ // for (var j = 0 ; j < industryClassificationType.length ; j++){
+ // secondArray += module.selectDictLabel(module.data.industryClassOptions,industryClassificationType[j]);
+ // }
+ // content[i].industryClassificationType = secondArray;
+ // }
+ // console.log(content[i].industryClassificationType)
+ // content[i].masterMap = serverApi + content[i].masterMap ;
+ //
+ // }
+
+ module.data.purchaserList = content;
+ var purchaserData = template('purchaserData', module.data);
+ $("#purchaserContent").html(purchaserData);
+ }
+ }
+
module.selectDictLabel = function (datas, value) {
var actions = [];
Object.keys(datas).some((key) => {
diff --git a/newBusinessEntities/user/detail.html b/newBusinessEntities/user/detail.html
index f7276cb..6f2687f 100644
--- a/newBusinessEntities/user/detail.html
+++ b/newBusinessEntities/user/detail.html
@@ -32,7 +32,7 @@
diff --git a/newBusinessEntities/view/directories/declare.html b/newBusinessEntities/view/directories/declare.html
index 5b0301d..c81ac3b 100644
--- a/newBusinessEntities/view/directories/declare.html
+++ b/newBusinessEntities/view/directories/declare.html
@@ -30,7 +30,7 @@
-
+
diff --git a/newBusinessEntities/view/directories/detail.html b/newBusinessEntities/view/directories/detail.html
index d238473..6181f6b 100644
--- a/newBusinessEntities/view/directories/detail.html
+++ b/newBusinessEntities/view/directories/detail.html
@@ -18,7 +18,7 @@
-
+
diff --git a/newBusinessEntities/view/directories/index.html b/newBusinessEntities/view/directories/index.html
index e540937..d504d28 100644
--- a/newBusinessEntities/view/directories/index.html
+++ b/newBusinessEntities/view/directories/index.html
@@ -56,7 +56,7 @@
-
+
diff --git a/newBusinessEntities/view/finance/detail.html b/newBusinessEntities/view/finance/detail.html
index b5391b1..32e1cdc 100644
--- a/newBusinessEntities/view/finance/detail.html
+++ b/newBusinessEntities/view/finance/detail.html
@@ -45,7 +45,7 @@
-
+
diff --git a/newBusinessEntities/view/finance/index.html b/newBusinessEntities/view/finance/index.html
index 314cb07..e38c5df 100644
--- a/newBusinessEntities/view/finance/index.html
+++ b/newBusinessEntities/view/finance/index.html
@@ -67,7 +67,7 @@
-
+
diff --git a/newBusinessEntities/view/finance/index2.html b/newBusinessEntities/view/finance/index2.html
index 6ea8452..84685e7 100644
--- a/newBusinessEntities/view/finance/index2.html
+++ b/newBusinessEntities/view/finance/index2.html
@@ -45,7 +45,7 @@
-
+
diff --git a/newBusinessEntities/view/finance/productDetail.html b/newBusinessEntities/view/finance/productDetail.html
index 7aee16a..beca289 100644
--- a/newBusinessEntities/view/finance/productDetail.html
+++ b/newBusinessEntities/view/finance/productDetail.html
@@ -18,7 +18,7 @@
-
+
diff --git a/newBusinessEntities/view/map/index.html b/newBusinessEntities/view/map/index.html
index b1d575f..27ad745 100644
--- a/newBusinessEntities/view/map/index.html
+++ b/newBusinessEntities/view/map/index.html
@@ -76,7 +76,7 @@
-
+
diff --git a/newBusinessEntities/view/price/index.html b/newBusinessEntities/view/price/index.html
index 1184eb6..81c3a19 100644
--- a/newBusinessEntities/view/price/index.html
+++ b/newBusinessEntities/view/price/index.html
@@ -46,7 +46,7 @@
-
+
diff --git a/newBusinessEntities/view/record/information.html b/newBusinessEntities/view/record/information.html
index 65538d2..5e81b1a 100644
--- a/newBusinessEntities/view/record/information.html
+++ b/newBusinessEntities/view/record/information.html
@@ -105,7 +105,7 @@
-
+
diff --git a/newBusinessEntities/view/record/projectDetail.html b/newBusinessEntities/view/record/projectDetail.html
index e559696..b7a3ae9 100644
--- a/newBusinessEntities/view/record/projectDetail.html
+++ b/newBusinessEntities/view/record/projectDetail.html
@@ -18,7 +18,7 @@
-
+
diff --git a/newBusinessEntities/view/record/projectList.html b/newBusinessEntities/view/record/projectList.html
index 43c2640..80a7778 100644
--- a/newBusinessEntities/view/record/projectList.html
+++ b/newBusinessEntities/view/record/projectList.html
@@ -19,7 +19,7 @@
-
+
diff --git a/newBusinessEntities/view/record/supplyList.html b/newBusinessEntities/view/record/supplyList.html
index 62d947b..f9ac345 100644
--- a/newBusinessEntities/view/record/supplyList.html
+++ b/newBusinessEntities/view/record/supplyList.html
@@ -54,7 +54,7 @@
-
+
diff --git a/newBusinessEntities/view/record/trainList.html b/newBusinessEntities/view/record/trainList.html
index 1f1997a..20249df 100644
--- a/newBusinessEntities/view/record/trainList.html
+++ b/newBusinessEntities/view/record/trainList.html
@@ -30,9 +30,9 @@
diff --git a/newBusinessEntities/view/record/updatePassword.html b/newBusinessEntities/view/record/updatePassword.html
index 097452d..1e744bd 100644
--- a/newBusinessEntities/view/record/updatePassword.html
+++ b/newBusinessEntities/view/record/updatePassword.html
@@ -29,7 +29,7 @@
-
+
diff --git a/newBusinessEntities/view/resources/detail.html b/newBusinessEntities/view/resources/detail.html
index b749eee..5f06692 100644
--- a/newBusinessEntities/view/resources/detail.html
+++ b/newBusinessEntities/view/resources/detail.html
@@ -18,7 +18,7 @@
-
+
diff --git a/newBusinessEntities/view/resources/index.html b/newBusinessEntities/view/resources/index.html
index 7a71dc3..db41e6a 100644
--- a/newBusinessEntities/view/resources/index.html
+++ b/newBusinessEntities/view/resources/index.html
@@ -36,7 +36,7 @@
-
+
diff --git a/newBusinessEntities/view/supply/detail.html b/newBusinessEntities/view/supply/detail.html
index 08e8bbb..168961f 100644
--- a/newBusinessEntities/view/supply/detail.html
+++ b/newBusinessEntities/view/supply/detail.html
@@ -18,7 +18,7 @@
-
+
diff --git a/newBusinessEntities/view/supply/index.html b/newBusinessEntities/view/supply/index.html
index c0f66dc..434584f 100644
--- a/newBusinessEntities/view/supply/index.html
+++ b/newBusinessEntities/view/supply/index.html
@@ -12,13 +12,25 @@
+
-
+
@@ -45,6 +57,7 @@
供应信息
求购信息
农业服务
+
发布
diff --git a/newBusinessEntities/view/supplyChain/brokerApplication.html b/newBusinessEntities/view/supplyChain/brokerApplication.html
index 9127ad9..c458053 100644
--- a/newBusinessEntities/view/supplyChain/brokerApplication.html
+++ b/newBusinessEntities/view/supplyChain/brokerApplication.html
@@ -23,7 +23,7 @@
-
+
diff --git a/newBusinessEntities/view/supplyChain/detail.html b/newBusinessEntities/view/supplyChain/detail.html
index 7f57657..76b63e4 100644
--- a/newBusinessEntities/view/supplyChain/detail.html
+++ b/newBusinessEntities/view/supplyChain/detail.html
@@ -18,7 +18,7 @@
-
+
diff --git a/newBusinessEntities/view/supplyChain/index.html b/newBusinessEntities/view/supplyChain/index.html
index 76e5b7b..a24fc4e 100644
--- a/newBusinessEntities/view/supplyChain/index.html
+++ b/newBusinessEntities/view/supplyChain/index.html
@@ -23,7 +23,7 @@
-
+
@@ -47,9 +47,9 @@
首页 > 供应链
- - 主体名录
- - 经纪人
- - 采购商
+ - 主体名录
+ - 经纪人
+ - 采购商
@@ -62,82 +62,235 @@
现代化庄园
-
-
-
查询
-
-
-
-
地区
-
-
-
查询
+
+
+
+
查询
+
+
+
+
地区
+
+
+
查询
+
+
+
+
+
+
-
-
-
-
LIST
-
主体列表
+
+
+
查询
+
+
+
+
地区
+
+
+
查询
+
+
+
-
申请
-
-
-
+
+
+
+
+
+
+
查询
+
+
+
+
地区
+
+
+
查询
+
+
+
+
+
+
+
diff --git a/newBusinessEntities/view/train/detail.html b/newBusinessEntities/view/train/detail.html
index 60102f2..f537bba 100644
--- a/newBusinessEntities/view/train/detail.html
+++ b/newBusinessEntities/view/train/detail.html
@@ -111,7 +111,7 @@
-
+
diff --git a/newBusinessEntities/view/train/index.html b/newBusinessEntities/view/train/index.html
index 3f34c79..7fd6f75 100644
--- a/newBusinessEntities/view/train/index.html
+++ b/newBusinessEntities/view/train/index.html
@@ -46,7 +46,7 @@
-
+
diff --git a/newBusinessEntities/view/train/severDetail.html b/newBusinessEntities/view/train/severDetail.html
index bb3fa61..dff7816 100644
--- a/newBusinessEntities/view/train/severDetail.html
+++ b/newBusinessEntities/view/train/severDetail.html
@@ -111,7 +111,7 @@