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 1/2] =?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 @@