From 9399bee519403e183dd07cb9efe48c947b9aa158 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=BA=9E=E4=B8=9C=E6=97=AD?= <850374051@qq.com>
Date: Mon, 19 Dec 2022 10:28:05 +0800
Subject: [PATCH 01/12] =?UTF-8?q?=E5=A4=A7=E6=89=98=E7=AE=A1?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/agriculturalTrusteeship/index.js | 23 ++
.../agriculturalTrusteeship/buyer/allBill.vue | 46 ++-
.../buyer/billDetail.vue | 76 +++--
.../buyer/billDetail2.vue | 20 +-
.../buyer/billDetail3.vue | 31 +-
.../buyer/billDetail4.vue | 74 +++--
.../agriculturalTrusteeship/buyer/index.vue | 99 +++---
.../buyer/waitBill.vue | 19 +-
src/views/agriculturalTrusteeship/index.vue | 6 +-
.../insurance/insuranceList.vue | 12 +-
.../insurance/insuranceProjectList.vue | 1 +
src/views/agriculturalTrusteeship/login.vue | 8 +-
.../socialization/bill.vue | 28 +-
.../socialization/billDetail.vue | 22 +-
.../socialization/index.vue | 8 +-
.../socialization/user.vue | 52 +++-
.../socialization/userEdit.vue | 281 ++++++++++++++++--
17 files changed, 607 insertions(+), 199 deletions(-)
diff --git a/src/api/agriculturalTrusteeship/index.js b/src/api/agriculturalTrusteeship/index.js
index 75a7865d..f2a29509 100644
--- a/src/api/agriculturalTrusteeship/index.js
+++ b/src/api/agriculturalTrusteeship/index.js
@@ -326,6 +326,17 @@ export function supplyorderGet(id) {
})
}
+//服务组织详情
+export function entityGet(id) {
+ return request({
+ url: '/depositm/entity/get/'+id,
+ headers: {
+ "ACCESS-SESSION-ID": Cookies.get('ACCESS-SESSION-ID')
+ },
+ method: 'get',
+ })
+}
+
//服务合同
export function fwhtList(query) {
return request({
@@ -349,3 +360,15 @@ export function placeOrder(data) {
data: data
})
}
+
+//下单
+export function entityEdit(data) {
+ return request({
+ url: '/depositm/entity/edit',
+ headers: {
+ "ACCESS-SESSION-ID": Cookies.get('ACCESS-SESSION-ID')
+ },
+ method: 'post',
+ data: data
+ })
+}
diff --git a/src/views/agriculturalTrusteeship/buyer/allBill.vue b/src/views/agriculturalTrusteeship/buyer/allBill.vue
index 8f26e2c9..18442fe4 100644
--- a/src/views/agriculturalTrusteeship/buyer/allBill.vue
+++ b/src/views/agriculturalTrusteeship/buyer/allBill.vue
@@ -4,8 +4,8 @@
@@ -35,8 +35,8 @@
/>
-
全部
-
{{item.dictLabel}}
+
全部
+
{{item.dictLabel}}
@@ -59,11 +59,12 @@
-

+
![]()
+
-
{{item.contractionName}}
+
{{item.demandName}}
-
¥{{item.realityServiceMoney}}.00
+
¥{{item.unitPrice}}.00/{{item.unit}}
数量:{{item.serviceNum}}
@@ -71,9 +72,9 @@
-
-
-
+
+
+
@@ -172,12 +173,13 @@
startOrderAt:this.format(new Date(),'yyyy-MM'),
endOrderAt:this.format(new Date(),'yyyy-MM'),
},
- content:''
+ content:'',
+ searchInput:''
};
},
created() {
let query = {
- parentId : 0,
+ parentId : null,
tree:true
}
productTypes(query).then(response => {
@@ -194,6 +196,11 @@
getList(){
supplyorderList(this.query).then(response => {
response.rows.map(res=>{
+ // console.log(res.supplyDemand.supplyMasterMap)
+ if (res.supplyDemand!=null){
+ let supplyMasterMap = res.supplyDemand.supplyMasterMap.split( "," )
+ res.supplyDemand.supplyMasterMap = '/api'+supplyMasterMap[0]
+ }
res.cropType = this.selectDictLabel(this.cropTypeOptions, res.cropType);
res.orderStatus = this.selectDictLabel(this.orderStatusOptions, res.orderStatus);
res.productType = this.productList.filter(function (e) { return e.id == res.productType; })[0].dictName;
@@ -209,6 +216,7 @@
});
},
onConfirmStar(data){
+ this.supplyDemandList=[];
this.params.startOrderAt = this.format(data,'yyyy-mm');
this.query.startOrderAt = this.format(data,'yyyy-mm');
this.startOrderAt = this.format(data,'yyyy年MM月');
@@ -219,6 +227,7 @@
this.getList();
},
onConfirmEnd(data){
+ this.supplyDemandList=[];
this.params.endOrderAt = this.format(data,'yyyy-mm');
this.query.endOrderAt = this.format(data,'yyyy-mm');
this.endOrderAt = this.format(data,'yyyy年MM月');
@@ -238,6 +247,19 @@
if (type == '已拒单'){
this.$router.push({name:'agriculturalTrusteeshipBillDetail4',query:{id:id}})
}
+ if (type == '已下单'){
+ this.$router.push({name:'agriculturalTrusteeshipBillDetail',query:{id:id}})
+ }
+ },
+ tabChange(val){
+ this.query.orderStatus = val;
+ this.supplyDemandList=[];
+ this.getList();
+ },
+ goSearch(){
+ this.supplyDemandList = [];
+ this.query.demandName = this.searchInput;
+ this.getList();
},
openDialog(val){
this.showDialog = val
diff --git a/src/views/agriculturalTrusteeship/buyer/billDetail.vue b/src/views/agriculturalTrusteeship/buyer/billDetail.vue
index 51e414f3..c8aa3304 100644
--- a/src/views/agriculturalTrusteeship/buyer/billDetail.vue
+++ b/src/views/agriculturalTrusteeship/buyer/billDetail.vue
@@ -16,22 +16,27 @@
商品信息
-
灌溉
+
{{supplyDemand.productType}}
服务
-

+
+
+
+
+
-
如果只有一行就空着啊啊啊啊啊啊啊啊啊啊啊啊
+
{{supplyDemand.demandName}}
-
¥165,836,365.00/亩
+
¥{{supplyDemand.unitPrice}}.00/{{supplyDemand.unit}}
-
-
-
+
+
+
+
-
-
-
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
@@ -65,6 +71,7 @@
diff --git a/src/views/agriculturalTrusteeship/buyer/billDetail2.vue b/src/views/agriculturalTrusteeship/buyer/billDetail2.vue
index 10730703..f62ed216 100644
--- a/src/views/agriculturalTrusteeship/buyer/billDetail2.vue
+++ b/src/views/agriculturalTrusteeship/buyer/billDetail2.vue
@@ -21,7 +21,11 @@
-

+
+
+
+
+
{{supplyDemand.contractionName}}
@@ -90,7 +94,7 @@
},
created() {
let query = {
- parentId : 0,
+ parentId : null,
tree:true
}
productTypes(query).then(response => {
@@ -110,13 +114,11 @@
response.data.cropType = this.selectDictLabel(this.cropTypeOptions, response.data.cropType);
response.data.orderStatus = this.selectDictLabel(this.orderStatusOptions, response.data.orderStatus);
response.data.productType = this.productList.filter(function (e) { return e.id == response.data.productType; })[0].dictName;
- if (response.data.supplyMasterMap){
- response.data.supplyMasterMapList = [];
- var attachement = response.data.supplyMasterMap.split( "," );
- this.supplyMasterMapArr = response.data.supplyMasterMap.split( "," );
- attachement.forEach(responseAttach=>{
- response.data.supplyMasterMapList.push('/api' + responseAttach);
- })
+ if (response.data.supplyDemand!=null){
+ if (response.data.supplyDemand.supplyMasterMap){
+ var attachement = response.data.supplyDemand.supplyMasterMap.split( "," );
+ response.data.supplyDemand.supplyMasterMap = '/api' + attachement[0];
+ }
}
this.supplyDemand = response.data;
});
diff --git a/src/views/agriculturalTrusteeship/buyer/billDetail3.vue b/src/views/agriculturalTrusteeship/buyer/billDetail3.vue
index 61ff8ffd..b72e0d5e 100644
--- a/src/views/agriculturalTrusteeship/buyer/billDetail3.vue
+++ b/src/views/agriculturalTrusteeship/buyer/billDetail3.vue
@@ -13,7 +13,7 @@
-
已评分评分时间:{{supplyDemand.updateTime.substr(0,10)}}
+
已评分评分时间:{{supplyDemand.updateTime}}
-

+
+
+
+
+
-
{{supplyDemand.contractionName}}
+
{{supplyDemand.demandName}}
¥{{supplyDemand.unitPrice}}.00/{{supplyDemand.unit}}
-
-
-
+
+
+
@@ -98,7 +102,7 @@
},
created() {
let query = {
- parentId : 0,
+ parentId : null,
tree:true
}
productTypes(query).then(response => {
@@ -118,13 +122,12 @@
response.data.cropType = this.selectDictLabel(this.cropTypeOptions, response.data.cropType);
response.data.orderStatus = this.selectDictLabel(this.orderStatusOptions, response.data.orderStatus);
response.data.productType = this.productList.filter(function (e) { return e.id == response.data.productType; })[0].dictName;
- if (response.data.supplyMasterMap){
- response.data.supplyMasterMapList = [];
- var attachement = response.data.supplyMasterMap.split( "," );
- this.supplyMasterMapArr = response.data.supplyMasterMap.split( "," );
- attachement.forEach(responseAttach=>{
- response.data.supplyMasterMapList.push('/api' + responseAttach);
- })
+ response.data.updateTime = response.data.updateTime.substr(0,10);
+ if (response.data.supplyDemand!=null){
+ if (response.data.supplyDemand.supplyMasterMap){
+ var attachement = response.data.supplyDemand.supplyMasterMap.split( "," );
+ response.data.supplyDemand.supplyMasterMap = '/api' + attachement[0];
+ }
}
this.supplyDemand = response.data;
});
diff --git a/src/views/agriculturalTrusteeship/buyer/billDetail4.vue b/src/views/agriculturalTrusteeship/buyer/billDetail4.vue
index 101be4f3..e9b40920 100644
--- a/src/views/agriculturalTrusteeship/buyer/billDetail4.vue
+++ b/src/views/agriculturalTrusteeship/buyer/billDetail4.vue
@@ -17,22 +17,26 @@
商品信息
-
灌溉
+
{supplyDemand.productType}}
服务
-

+
+
+
+
+
-
如果只有一行就空着啊啊啊啊啊啊啊啊啊啊啊啊
+
{{supplyDemand.demandName}}
-
¥165,836,365.00/亩
+
¥{{supplyDemand.unitPrice}}.00/{{supplyDemand.unit}}
-
-
-
+
+
+
-
-
-
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
@@ -66,6 +70,7 @@
diff --git a/src/views/agriculturalTrusteeship/buyer/index.vue b/src/views/agriculturalTrusteeship/buyer/index.vue
index e98d34da..4d3425b7 100644
--- a/src/views/agriculturalTrusteeship/buyer/index.vue
+++ b/src/views/agriculturalTrusteeship/buyer/index.vue
@@ -1,54 +1,56 @@
-
-
-
查看更多
-
收起列表
+
查看更多
+
收起列表
上传附件
diff --git a/src/views/sunVillage_info/bankAgriculture/paymentApproval/approvalDetail12.vue b/src/views/sunVillage_info/bankAgriculture/paymentApproval/approvalDetail12.vue
index ea8f1090..7218a084 100644
--- a/src/views/sunVillage_info/bankAgriculture/paymentApproval/approvalDetail12.vue
+++ b/src/views/sunVillage_info/bankAgriculture/paymentApproval/approvalDetail12.vue
@@ -116,8 +116,8 @@
-
查看更多
-
收起列表
+
查看更多
+
收起列表
diff --git a/src/views/sunVillage_info/bankAgriculture/paymentApproval/approvalDetail2.vue b/src/views/sunVillage_info/bankAgriculture/paymentApproval/approvalDetail2.vue
index 6851ed3d..8afddfc9 100644
--- a/src/views/sunVillage_info/bankAgriculture/paymentApproval/approvalDetail2.vue
+++ b/src/views/sunVillage_info/bankAgriculture/paymentApproval/approvalDetail2.vue
@@ -69,8 +69,8 @@
- 查看更多
- 收起列表
+ 查看更多
+ 收起列表
上传附件
diff --git a/src/views/sunVillage_info/bankAgriculture/paymentApproval/approvalDetail3.vue b/src/views/sunVillage_info/bankAgriculture/paymentApproval/approvalDetail3.vue
index 9247a86a..8aee54bd 100644
--- a/src/views/sunVillage_info/bankAgriculture/paymentApproval/approvalDetail3.vue
+++ b/src/views/sunVillage_info/bankAgriculture/paymentApproval/approvalDetail3.vue
@@ -56,8 +56,8 @@
- 查看更多
- 收起列表
+ 查看更多
+ 收起列表
上传附件
diff --git a/src/views/sunVillage_info/bankAgriculture/paymentApproval/approvalModify.vue b/src/views/sunVillage_info/bankAgriculture/paymentApproval/approvalModify.vue
index 1bccbd2e..55402962 100644
--- a/src/views/sunVillage_info/bankAgriculture/paymentApproval/approvalModify.vue
+++ b/src/views/sunVillage_info/bankAgriculture/paymentApproval/approvalModify.vue
@@ -288,7 +288,7 @@
- 上传附件
+ 上传附件(若申请单未变动可不必点击底部的保存按钮)
@@ -303,7 +303,7 @@
保存
- 保存并提交
+ 提交
diff --git a/src/views/yinnong/bankAgriculture/paymentApproval/approvalAdd.vue b/src/views/yinnong/bankAgriculture/paymentApproval/approvalAdd.vue
index 1b75a5ed..7772e862 100644
--- a/src/views/yinnong/bankAgriculture/paymentApproval/approvalAdd.vue
+++ b/src/views/yinnong/bankAgriculture/paymentApproval/approvalAdd.vue
@@ -289,7 +289,7 @@
-->
- 上传附件
+ 上传附件(若申请单未变动可不必点击底部的修改按钮)
@@ -307,7 +307,7 @@
- 保存修改
+ 修改
保存并提交
@@ -373,7 +373,7 @@
fileList1:[],
fileList2:[],
fileList3:[],
- capitalExpenditureType:'',
+ capitalExpenditureType:'结算类',
payee:'',
bankType:'',
diff --git a/src/views/yinnong/bankAgriculture/paymentApproval/approvalDetail.vue b/src/views/yinnong/bankAgriculture/paymentApproval/approvalDetail.vue
index 52b542e0..08ee0d72 100644
--- a/src/views/yinnong/bankAgriculture/paymentApproval/approvalDetail.vue
+++ b/src/views/yinnong/bankAgriculture/paymentApproval/approvalDetail.vue
@@ -72,8 +72,8 @@
- 查看更多
- 收起列表
+ 查看更多
+ 收起列表
上传附件
diff --git a/src/views/yinnong/bankAgriculture/paymentApproval/approvalDetail11.vue b/src/views/yinnong/bankAgriculture/paymentApproval/approvalDetail11.vue
index 96329060..28f4dc36 100644
--- a/src/views/yinnong/bankAgriculture/paymentApproval/approvalDetail11.vue
+++ b/src/views/yinnong/bankAgriculture/paymentApproval/approvalDetail11.vue
@@ -64,8 +64,8 @@
- 查看更多
- 收起列表
+ 查看更多
+ 收起列表
上传附件
diff --git a/src/views/yinnong/bankAgriculture/paymentApproval/approvalDetail12.vue b/src/views/yinnong/bankAgriculture/paymentApproval/approvalDetail12.vue
index 7bfab55f..69264bdd 100644
--- a/src/views/yinnong/bankAgriculture/paymentApproval/approvalDetail12.vue
+++ b/src/views/yinnong/bankAgriculture/paymentApproval/approvalDetail12.vue
@@ -116,8 +116,8 @@
- 查看更多
- 收起列表
+ 查看更多
+ 收起列表
diff --git a/src/views/yinnong/bankAgriculture/paymentApproval/approvalDetail2.vue b/src/views/yinnong/bankAgriculture/paymentApproval/approvalDetail2.vue
index 9d1e7f89..86371c7c 100644
--- a/src/views/yinnong/bankAgriculture/paymentApproval/approvalDetail2.vue
+++ b/src/views/yinnong/bankAgriculture/paymentApproval/approvalDetail2.vue
@@ -69,8 +69,8 @@
- 查看更多
- 收起列表
+ 查看更多
+ 收起列表
上传附件
diff --git a/src/views/yinnong/bankAgriculture/paymentApproval/approvalDetail3.vue b/src/views/yinnong/bankAgriculture/paymentApproval/approvalDetail3.vue
index 662c2e0e..8aed358f 100644
--- a/src/views/yinnong/bankAgriculture/paymentApproval/approvalDetail3.vue
+++ b/src/views/yinnong/bankAgriculture/paymentApproval/approvalDetail3.vue
@@ -56,8 +56,8 @@
- 查看更多
- 收起列表
+ 查看更多
+ 收起列表
上传附件
diff --git a/src/views/yinnong/bankAgriculture/paymentApproval/approvalModify.vue b/src/views/yinnong/bankAgriculture/paymentApproval/approvalModify.vue
index 054bfc00..e6e3da4b 100644
--- a/src/views/yinnong/bankAgriculture/paymentApproval/approvalModify.vue
+++ b/src/views/yinnong/bankAgriculture/paymentApproval/approvalModify.vue
@@ -288,7 +288,7 @@
- 上传附件
+ 上传附件(若申请单未变动可不必点击底部的保存按钮)
@@ -303,7 +303,7 @@
保存
- 保存并提交
+ 提交
@@ -445,7 +445,7 @@
this.payerOptions[index].value = res.id;
})
});
- this.getFileList();
+ this.getDictionaries();
},
methods: {
From 7ef904bea41e513c2e01271ff85cf92f07e8f720 Mon Sep 17 00:00:00 2001
From: yangfuda <945208611@qq.com>
Date: Mon, 19 Dec 2022 17:01:18 +0800
Subject: [PATCH 03/12] =?UTF-8?q?=E5=AE=8C=E5=96=84=E9=93=B6=E5=86=9C?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../yinnong/bankAgriculture/paymentApproval/approvalAdd.vue | 2 +-
.../yinnong/bankAgriculture/paymentApproval/approvalModify.vue | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/views/yinnong/bankAgriculture/paymentApproval/approvalAdd.vue b/src/views/yinnong/bankAgriculture/paymentApproval/approvalAdd.vue
index 7772e862..9c15f21e 100644
--- a/src/views/yinnong/bankAgriculture/paymentApproval/approvalAdd.vue
+++ b/src/views/yinnong/bankAgriculture/paymentApproval/approvalAdd.vue
@@ -310,7 +310,7 @@
修改
- 保存并提交
+ 提交
diff --git a/src/views/yinnong/bankAgriculture/paymentApproval/approvalModify.vue b/src/views/yinnong/bankAgriculture/paymentApproval/approvalModify.vue
index e6e3da4b..4f487096 100644
--- a/src/views/yinnong/bankAgriculture/paymentApproval/approvalModify.vue
+++ b/src/views/yinnong/bankAgriculture/paymentApproval/approvalModify.vue
@@ -288,7 +288,7 @@
- 上传附件(若申请单未变动可不必点击底部的保存按钮)
+ 上传附件(若申请单未变动可不必点击底部的保存按钮)
From 63d154add75d0fe6638b371bf63554cebb74770a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=BA=9E=E4=B8=9C=E6=97=AD?= <850374051@qq.com>
Date: Mon, 19 Dec 2022 17:31:37 +0800
Subject: [PATCH 04/12] =?UTF-8?q?=E5=A4=A7=E6=89=98=E7=AE=A1?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/utils/request.js | 5 +-
.../agriculturalTrusteeship/buyer/allBill.vue | 2 +-
.../agriculturalTrusteeship/buyer/index.vue | 2 +-
src/views/agriculturalTrusteeship/index.vue | 17 ++++--
.../insurance/insuranceList.vue | 2 +-
.../insurance/insuranceProjectList.vue | 2 +-
src/views/agriculturalTrusteeship/login.vue | 54 ++++++++++++-------
.../shop/serviceEdit.vue | 2 +-
.../agriculturalTrusteeship/shop/shopAdd.vue | 47 ++++++----------
.../shop/shopDetail.vue | 2 +-
.../agriculturalTrusteeship/shop/shopEdit.vue | 31 +++--------
.../agriculturalTrusteeship/shop/shopList.vue | 13 ++---
.../socialization/bill.vue | 14 ++---
.../socialization/billOrder.vue | 2 +-
.../socialization/projectDetail.vue | 6 ++-
.../socialization/projectEdit.vue | 24 ++++++---
.../society/societyList.vue | 4 +-
.../society/societyProjectDetail.vue | 13 +++--
.../society/societyProjectList.vue | 2 +-
19 files changed, 129 insertions(+), 115 deletions(-)
diff --git a/src/utils/request.js b/src/utils/request.js
index 593730ee..af3daf43 100644
--- a/src/utils/request.js
+++ b/src/utils/request.js
@@ -95,11 +95,12 @@ service.interceptors.response.use(res => {
window.location.href = '/sunVillage/login';
} else if (window.location.href.indexOf('/homestead/') != -1) {
window.location.href = '/homestead/login';
- } else {
+ } else if (window.location.href.indexOf('yinnong') != -1){
window.location.href = '/yinnongLogin';
//window.location.href = '/zjdLogin';
-
/*window.location.href = '/index';*/
+ } else {
+ window.location.href = '/agriculturalTrusteeship/login';
}
})
})
diff --git a/src/views/agriculturalTrusteeship/buyer/allBill.vue b/src/views/agriculturalTrusteeship/buyer/allBill.vue
index 18442fe4..d9fb1ef9 100644
--- a/src/views/agriculturalTrusteeship/buyer/allBill.vue
+++ b/src/views/agriculturalTrusteeship/buyer/allBill.vue
@@ -64,7 +64,7 @@
{{item.demandName}}
-
¥{{item.unitPrice}}.00/{{item.unit}}
+
¥{{item.realityServiceMoney}}.00
数量:{{item.serviceNum}}
diff --git a/src/views/agriculturalTrusteeship/buyer/index.vue b/src/views/agriculturalTrusteeship/buyer/index.vue
index 4d3425b7..95c0eb1d 100644
--- a/src/views/agriculturalTrusteeship/buyer/index.vue
+++ b/src/views/agriculturalTrusteeship/buyer/index.vue
@@ -89,7 +89,7 @@
@load="getList"
>
-
+
diff --git a/src/views/agriculturalTrusteeship/index.vue b/src/views/agriculturalTrusteeship/index.vue
index 8c40c8bd..6d3fa497 100644
--- a/src/views/agriculturalTrusteeship/index.vue
+++ b/src/views/agriculturalTrusteeship/index.vue
@@ -76,7 +76,7 @@
-
{{item.dictName}}
+
{{item.dictName}}
@@ -345,13 +350,19 @@
}
.main_content_right_nav{
display: flex;
- justify-content: space-between;
+ flex-wrap: wrap;
margin-top: 2vh;
p{
padding: 5PX 10PX;
background: #F5F5F5;
color: #8F8F8F;
border-radius: 4PX;
+ margin-right: 10PX;
+ margin-bottom: 10PX;
+ &.active{
+ background: #E2E9FD;
+ color: #1B5DEA;
+ }
}
}
.main_content_right_list{
diff --git a/src/views/agriculturalTrusteeship/insurance/insuranceList.vue b/src/views/agriculturalTrusteeship/insurance/insuranceList.vue
index 753c67ce..4f3180fd 100644
--- a/src/views/agriculturalTrusteeship/insurance/insuranceList.vue
+++ b/src/views/agriculturalTrusteeship/insurance/insuranceList.vue
@@ -61,7 +61,7 @@
@load="getList"
>
-
+
diff --git a/src/views/agriculturalTrusteeship/insurance/insuranceProjectList.vue b/src/views/agriculturalTrusteeship/insurance/insuranceProjectList.vue
index 6d5d4e66..76a811e4 100644
--- a/src/views/agriculturalTrusteeship/insurance/insuranceProjectList.vue
+++ b/src/views/agriculturalTrusteeship/insurance/insuranceProjectList.vue
@@ -24,7 +24,7 @@
@load="getList"
>
-
+
diff --git a/src/views/agriculturalTrusteeship/login.vue b/src/views/agriculturalTrusteeship/login.vue
index b857adbb..a29834bc 100644
--- a/src/views/agriculturalTrusteeship/login.vue
+++ b/src/views/agriculturalTrusteeship/login.vue
@@ -95,25 +95,25 @@
-
登录1
+
登录
登录
-
+
-
+
-
+
@@ -125,37 +125,37 @@
-
+
-
+
-
+
-
+
-
+
-
+
@@ -166,7 +166,7 @@
-
+
@@ -274,7 +274,7 @@
/>
-
+
@@ -307,31 +307,31 @@
/>
-
+
-
+
-
+
-
+
-
+
@@ -455,7 +455,7 @@
this.formData.username = encrypt(this.username);
this.formData.password = encrypt(this.password);
- this.formData.financialType = '2';
+ this.formData.financialType = this.financialType;
serviceLogin(this.formData).then(response => {
Cookies.set("ACCESS-SESSION-ID", response.data.id);
Cookies.set("ServiceInformation", response.data);
@@ -476,7 +476,16 @@
}
},
tabsChange(name){
- console.log(name)
+ this.serviceForm = {};
+ this.entityForm = {};
+ this.statisticsTypeId = '';
+ this.industryClassificationType = '';
+ this.modelSocietyType = '';
+ this.deptName = '';
+ this.mainImgArr = [];
+ this.mainImgArrEntity = [];
+ this.mainImgUploader = [];
+ this.mainImgUploader2 = [];
if ( name == 'register' ){
this.position = 'relative';
this.top = '40px';
@@ -901,4 +910,11 @@
border-radius: 50PX;
}
}
+ /deep/ .van-cell--required::before{
+ left: 20PX;
+ color: rgb(30, 103, 255);
+ }
+ /deep/ .van-cell__value{
+ padding-left: 10PX;
+ }
diff --git a/src/views/agriculturalTrusteeship/shop/serviceEdit.vue b/src/views/agriculturalTrusteeship/shop/serviceEdit.vue
index ec6ecb06..3b732c99 100644
--- a/src/views/agriculturalTrusteeship/shop/serviceEdit.vue
+++ b/src/views/agriculturalTrusteeship/shop/serviceEdit.vue
@@ -2,7 +2,7 @@
-
-
diff --git a/src/views/agriculturalTrusteeship/shop/shopDetail.vue b/src/views/agriculturalTrusteeship/shop/shopDetail.vue
index e6c0246e..8fe4e38a 100644
--- a/src/views/agriculturalTrusteeship/shop/shopDetail.vue
+++ b/src/views/agriculturalTrusteeship/shop/shopDetail.vue
@@ -2,7 +2,7 @@
-
-
-
-
-
-
+
+
+
+
+
+
diff --git a/src/views/agriculturalTrusteeship/shop/shopList.vue b/src/views/agriculturalTrusteeship/shop/shopList.vue
index 828e3d67..090c16f3 100644
--- a/src/views/agriculturalTrusteeship/shop/shopList.vue
+++ b/src/views/agriculturalTrusteeship/shop/shopList.vue
@@ -17,26 +17,26 @@
公司信息
-
+
-
+ />
+
+
+
{{serviceForm.auditStatus == '1'?'待审核':serviceForm.auditStatus == '3'?'已通过':serviceForm.auditStatus == '2'?'驳回':''}}
{{serviceForm.financialName}}
-
+
{
this.productList = response.data;
});
let query2 = {
parentId : null,
- tree:false
+ tree:true
}
productTypes(query2).then(response => {
response.data.map(res=>{
- res.children.map(rr=>{
- rr.active = false;
- })
+ console.log(res.children)
+ // res.children.map(rr=>{
+ // rr.active = false;
+ // })
+ this.productList2.push(response.data);
})
- this.productList2 = response.data;
+ // this.productList2 = response.data;
});
this.getDicts("crop_type").then(response => {
this.cropTypeOptions = response.data;
diff --git a/src/views/agriculturalTrusteeship/socialization/billOrder.vue b/src/views/agriculturalTrusteeship/socialization/billOrder.vue
index a8fa0452..f56a9472 100644
--- a/src/views/agriculturalTrusteeship/socialization/billOrder.vue
+++ b/src/views/agriculturalTrusteeship/socialization/billOrder.vue
@@ -130,7 +130,7 @@
},
clickNo(){
supplyorderReject(this.$route.query.id).then(response => {
- this.$notify({ type: 'success', message: '接单成功' });
+ this.$notify({ type: 'success', message: '拒单成功' });
setTimeout(function(){
history.back(-1);
},2000)
diff --git a/src/views/agriculturalTrusteeship/socialization/projectDetail.vue b/src/views/agriculturalTrusteeship/socialization/projectDetail.vue
index 39ffb827..b79cfd5c 100644
--- a/src/views/agriculturalTrusteeship/socialization/projectDetail.vue
+++ b/src/views/agriculturalTrusteeship/socialization/projectDetail.vue
@@ -82,10 +82,12 @@
},
created() {
let query = {
- parentId : ''
+ parentId : null,
+ tree:true
}
let query1 = {
- tree : true
+ parentId : null,
+ tree : false
}
productTypes(query).then(response => {
this.productList = response.data;
diff --git a/src/views/agriculturalTrusteeship/socialization/projectEdit.vue b/src/views/agriculturalTrusteeship/socialization/projectEdit.vue
index 38a69b17..e046ea34 100644
--- a/src/views/agriculturalTrusteeship/socialization/projectEdit.vue
+++ b/src/views/agriculturalTrusteeship/socialization/projectEdit.vue
@@ -70,11 +70,10 @@
-
-
+
@@ -88,15 +87,21 @@
diff --git a/src/views/agriculturalTrusteeship/buyer/placeOrder.vue b/src/views/agriculturalTrusteeship/buyer/placeOrder.vue
index a5c6fa17..2725c8eb 100644
--- a/src/views/agriculturalTrusteeship/buyer/placeOrder.vue
+++ b/src/views/agriculturalTrusteeship/buyer/placeOrder.vue
@@ -188,17 +188,12 @@
});
});
let query = {
- parentId : ''
- }
- let query1 = {
- tree : true
+ parentId : null,
+ tree : false
}
productTypes(query).then(response => {
this.productList = response.data;
});
- productTypes(query1).then(response => {
- this.productList1 = response.data;
- });
this.getDicts("newBusinessEntity_statistics_project").then(response => {
for (var i = 0; i < response.data.length; i++) {
this.projectTypeOptions.push({text: response.data[i].dictLabel, value: response.data[i].dictValue});
@@ -214,7 +209,7 @@
getDetail(){
supplyDemandGet(this.$route.query.id).then(response => {
response.data.bodyType = this.selectDictLabel(this.bodyTypeOptions, response.data.bodyType);
- this.productType = this.productList1.filter(function (e) { return e.id == response.data.productType; })[0].dictName;
+ this.productType = this.productList.filter(function (e) { return e.id == response.data.productType; })[0].dictName;
if (response.data.supplyMasterMap){
var attachement = response.data.supplyMasterMap.split( "," );
response.data.supplyMasterMap = '/api' + attachement[0];
@@ -250,7 +245,7 @@
this.supplyDemand.serviceAddress = this.user.deptName
placeOrder(this.supplyDemand).then(response => {
if(response.code=="200"){
- this.$notify({ type: 'success', message: '发布成功' });
+ this.$notify({ type: 'success', message: '下单成功' });
setTimeout(function(){
history.back(-1);
},2000)
diff --git a/src/views/agriculturalTrusteeship/insurance/insuranceList.vue b/src/views/agriculturalTrusteeship/insurance/insuranceList.vue
index 9d605ac9..18f0e124 100644
--- a/src/views/agriculturalTrusteeship/insurance/insuranceList.vue
+++ b/src/views/agriculturalTrusteeship/insurance/insuranceList.vue
@@ -6,7 +6,18 @@
{{tt}}服务
-
+
+
+
+
@@ -84,7 +95,7 @@
diff --git a/src/views/agriculturalTrusteeship/shop/shopList.vue b/src/views/agriculturalTrusteeship/shop/shopList.vue
index 090c16f3..03673199 100644
--- a/src/views/agriculturalTrusteeship/shop/shopList.vue
+++ b/src/views/agriculturalTrusteeship/shop/shopList.vue
@@ -6,7 +6,18 @@
退出登录
-
+
+
+
+
@@ -126,7 +137,7 @@
diff --git a/src/views/agriculturalTrusteeship/socialization/projectEdit.vue b/src/views/agriculturalTrusteeship/socialization/projectEdit.vue
index c516b7c4..3a4c9dcb 100644
--- a/src/views/agriculturalTrusteeship/socialization/projectEdit.vue
+++ b/src/views/agriculturalTrusteeship/socialization/projectEdit.vue
@@ -14,7 +14,7 @@
-
+
-
+
@@ -66,15 +66,15 @@
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
@@ -206,7 +206,7 @@
this.supplyDemand.publishStatus = this.publishStatus;
supplyDemandEdit(this.supplyDemand).then((res) => {
if(res.code=="200"){
- if (publishStatus == '3'){
+ if (this.publishStatus == '3'){
this.$notify({ type: 'success', message: '发布成功' });
}else{
this.$notify({ type: 'success', message: '存稿成功' });
diff --git a/src/views/agriculturalTrusteeship/socialization/release.vue b/src/views/agriculturalTrusteeship/socialization/release.vue
index d12969c0..a0a934d2 100644
--- a/src/views/agriculturalTrusteeship/socialization/release.vue
+++ b/src/views/agriculturalTrusteeship/socialization/release.vue
@@ -189,7 +189,7 @@
this.supplyDemand.publishStatus = this.publishStatus;
supplyDemandAdd(this.supplyDemand).then((res) => {
if(res.code=="200"){
- if (publishStatus == '3'){
+ if (this.publishStatus == '3'){
this.$notify({ type: 'success', message: '发布成功' });
}else{
this.$notify({ type: 'success', message: '存稿成功' });
diff --git a/src/views/agriculturalTrusteeship/society/societyList.vue b/src/views/agriculturalTrusteeship/society/societyList.vue
index 329480fd..ddcc1d18 100644
--- a/src/views/agriculturalTrusteeship/society/societyList.vue
+++ b/src/views/agriculturalTrusteeship/society/societyList.vue
@@ -6,7 +6,18 @@
社会化服务组织
-
+
+
+
+
@@ -119,7 +130,7 @@
From ece47b931b83eb3c679f23e43d845fe707d5c229 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=BA=9E=E4=B8=9C=E6=97=AD?= <850374051@qq.com>
Date: Thu, 29 Dec 2022 08:59:34 +0800
Subject: [PATCH 11/12] =?UTF-8?q?=E5=A4=A7=E6=89=98=E7=AE=A1=E9=97=AE?=
=?UTF-8?q?=E9=A2=98=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/agriculturalTrusteeship/login.vue | 4 +-
.../agriculturalTrusteeship/shop/shopList.vue | 32 +++++-----
.../socialization/projectEdit.vue | 9 +--
.../socialization/release.vue | 59 ++++++++++++++++---
4 files changed, 75 insertions(+), 29 deletions(-)
diff --git a/src/views/agriculturalTrusteeship/login.vue b/src/views/agriculturalTrusteeship/login.vue
index 40171e56..052a5e77 100644
--- a/src/views/agriculturalTrusteeship/login.vue
+++ b/src/views/agriculturalTrusteeship/login.vue
@@ -150,13 +150,13 @@
-
+
-
+
diff --git a/src/views/agriculturalTrusteeship/shop/shopList.vue b/src/views/agriculturalTrusteeship/shop/shopList.vue
index 03673199..b6b69daf 100644
--- a/src/views/agriculturalTrusteeship/shop/shopList.vue
+++ b/src/views/agriculturalTrusteeship/shop/shopList.vue
@@ -6,18 +6,18 @@
退出登录
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
@@ -28,7 +28,8 @@
公司信息
-
+
+
@@ -151,9 +152,8 @@
productListNo:[],
query:{
financialServiceId:Cookies.get('ACCESS-SESSION-ID'),
- serviceDeptId:'187',
pageNum:1,
- pageSize:'10'
+ pageSize:'10',
},
serviceForm:{},
deptOptions:[],
@@ -219,7 +219,7 @@
},
//选择案件属地
onConfirmDept({ selectedOptions }){
- this.query.serviceDeptId = selectedOptions[selectedOptions.length-1].value;
+ this.query.deptId = selectedOptions[selectedOptions.length-1].value;
this.deptName = selectedOptions[selectedOptions.length-1].label;
this.showDeptId = false
this.productListYes = [];
diff --git a/src/views/agriculturalTrusteeship/socialization/projectEdit.vue b/src/views/agriculturalTrusteeship/socialization/projectEdit.vue
index 3a4c9dcb..61245012 100644
--- a/src/views/agriculturalTrusteeship/socialization/projectEdit.vue
+++ b/src/views/agriculturalTrusteeship/socialization/projectEdit.vue
@@ -42,7 +42,7 @@
-
+
@@ -67,14 +67,15 @@
+
-
+
-
+
-
+
diff --git a/src/views/agriculturalTrusteeship/socialization/release.vue b/src/views/agriculturalTrusteeship/socialization/release.vue
index a0a934d2..0459f3bb 100644
--- a/src/views/agriculturalTrusteeship/socialization/release.vue
+++ b/src/views/agriculturalTrusteeship/socialization/release.vue
@@ -42,7 +42,7 @@
-
+
@@ -69,14 +69,39 @@
-
+
-
-
+
+
+
+
+
+
+
-
+
@@ -100,7 +125,7 @@
From 2159ccc8faabe22d66ee313963d52aad26ba5b22 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=BA=9E=E4=B8=9C=E6=97=AD?= <850374051@qq.com>
Date: Thu, 29 Dec 2022 16:41:31 +0800
Subject: [PATCH 12/12] =?UTF-8?q?=E5=A4=A7=E6=89=98=E7=AE=A1=E9=97=AE?=
=?UTF-8?q?=E9=A2=98=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/agriculturalTrusteeship/login.vue | 12 ++--
.../socialization/projectEdit.vue | 39 +++++++++++--
.../socialization/release.vue | 58 +++++++++++--------
3 files changed, 73 insertions(+), 36 deletions(-)
diff --git a/src/views/agriculturalTrusteeship/login.vue b/src/views/agriculturalTrusteeship/login.vue
index 052a5e77..9680e2fd 100644
--- a/src/views/agriculturalTrusteeship/login.vue
+++ b/src/views/agriculturalTrusteeship/login.vue
@@ -3,15 +3,15 @@