From 2131951aee0dfcdb9914074dcbcd1b91379d7d26 Mon Sep 17 00:00:00 2001
From: weipengfei <2187978347@qq.com>
Date: Tue, 5 Sep 2023 16:40:33 +0800
Subject: [PATCH 01/11] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=96=87=E5=AD=97?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
components/newArchives/breeding.vue | 4 ++--
components/newArchives/plant.vue | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/components/newArchives/breeding.vue b/components/newArchives/breeding.vue
index 7345791..ec676af 100644
--- a/components/newArchives/breeding.vue
+++ b/components/newArchives/breeding.vue
@@ -54,9 +54,9 @@
-
-
diff --git a/components/newArchives/plant.vue b/components/newArchives/plant.vue
index 068c0e9..9a65e33 100644
--- a/components/newArchives/plant.vue
+++ b/components/newArchives/plant.vue
@@ -68,9 +68,9 @@
-
-
From f8bb35182f9322fba08dc1add9abbc76b23d3d83 Mon Sep 17 00:00:00 2001
From: weipengfei <2187978347@qq.com>
Date: Wed, 6 Sep 2023 11:36:38 +0800
Subject: [PATCH 02/11] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
App.vue | 1 +
manifest.json | 3 ++-
pages/oaHome/oaHome.vue | 4 +++-
subpkg/buyShare/buyShare.vue | 2 +-
subpkg/topUp/topUp.vue | 46 ++++++++++++++++++++----------------
5 files changed, 33 insertions(+), 23 deletions(-)
diff --git a/App.vue b/App.vue
index 77ceb18..3362217 100644
--- a/App.vue
+++ b/App.vue
@@ -37,6 +37,7 @@
data
} = await userInfo();
this.$store.commit('setUserInfo', data);
+ uni.$emit('home_initUserInfo', data);
}catch(e){
console.log(e);
}
diff --git a/manifest.json b/manifest.json
index f67ad1e..4a6d424 100644
--- a/manifest.json
+++ b/manifest.json
@@ -60,7 +60,8 @@
"payment" : {
"weixin" : {
"__platform__" : [ "ios", "android" ],
- "appid" : "wx4789d9f1b50390ba",
+ // "appid" : "wx4789d9f1b50390ba",
+ "appid" : "wx9d68c92b550ddd1e", // 商城
"UniversalLinks" : "https://worker-task.lihaink.cn/"
}
},
diff --git a/pages/oaHome/oaHome.vue b/pages/oaHome/oaHome.vue
index 1ca1f39..6672e47 100644
--- a/pages/oaHome/oaHome.vue
+++ b/pages/oaHome/oaHome.vue
@@ -262,6 +262,7 @@
this.showToask();
// this.initOaHomeDada();
this.getOrderList();
+ uni.$on('home_initUserInfo',this.initUserInfo);
//#ifdef APP-PLUS
this.noticeFn();
// #endif
@@ -324,7 +325,8 @@
url: "/pages/logistics/index",
});
},
- initUserInfo() {
+ initUserInfo(data=null) {
+ if(data) return this.myOaInfo = data;
this.$store.state.app.userInfo ?
(this.myOaInfo = this.$store.state.app.userInfo) :
(this.myOaInfo.avatar = "");
diff --git a/subpkg/buyShare/buyShare.vue b/subpkg/buyShare/buyShare.vue
index 9d14fc4..624e488 100644
--- a/subpkg/buyShare/buyShare.vue
+++ b/subpkg/buyShare/buyShare.vue
@@ -9,7 +9,7 @@
任务描述
- {{task.content}}
+ {{task.content||'暂无任务描述'}}
事件记录
diff --git a/subpkg/topUp/topUp.vue b/subpkg/topUp/topUp.vue
index da2ac07..a8b9d59 100644
--- a/subpkg/topUp/topUp.vue
+++ b/subpkg/topUp/topUp.vue
@@ -42,6 +42,8 @@
payMoney: {
money: ''
},
+ // 微信支付信息
+ payData: null,
payTimer: null,
timeCount: 5,
task_id: -1, //任务id,当为任务时,不可自选充值金额
@@ -62,7 +64,28 @@
this.loadTask();
}
},
- onShow() {},
+ onShow() {
+ if(this.payData){
+ payStatus({
+ order_id: payData.order_id,
+ from: payData.from,
+ }).then((status)=>{
+ uni.showToast({
+ icon: status.data.pay_status?'success':'none',
+ title: status.data.pay_status?'支付成功':'支付失败'
+ })
+ if(this.task_id>0){
+ uni.$emit('upBuyShare');
+ uni.navigateBack();
+ }
+ else{
+ userInfo().then(user=>{
+ this.$store.commit('setUserInfo', user.data);
+ })
+ }
+ })
+ }
+ },
methods: {
changePrice(index){
if(this.changeMoney == index)this.changeMoney = -1;
@@ -112,6 +135,7 @@
queryData.task_id = this.task_id;
}
let { data } = await recharge(queryData);
+ this.payData = data;
let res = await payWay({
order_id: data.order_id,
from: data.from,
@@ -147,24 +171,6 @@
success: (e) => {
// console.log('成功', e);
uni.hideLoading();
- payStatus({
- order_id: data.order_id,
- from: data.from,
- }).then((status)=>{
- uni.showToast({
- icon: status.data.pay_status?'success':'none',
- title: status.data.pay_status?'支付成功':'支付失败'
- })
- if(this.task_id>0){
- uni.$emit('upBuyShare');
- uni.navigateBack();
- }
- else{
- userInfo().then(user=>{
- this.$store.commit('setUserInfo', user.data);
- })
- }
- })
},
fail: (e) => {
console.log(e);
@@ -175,7 +181,7 @@
})
},
complete: () => {
- this.payMoney.money = '';
+ if(this.task_id<=0)this.payMoney.money = '';
},
});
}
From 229fa86c07dd07d45c90749e1933e4953dea4094 Mon Sep 17 00:00:00 2001
From: weipengfei <2187978347@qq.com>
Date: Wed, 6 Sep 2023 15:55:17 +0800
Subject: [PATCH 03/11] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=BA=86=E4=BF=A1?=
=?UTF-8?q?=E6=81=AF=E6=9B=B4=E6=96=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
components/newArchives/banquetBirthday.vue | 337 +++----
components/newArchives/banquetFullMoon.vue | 337 +++----
components/newArchives/banquetFuneral.vue | 363 ++++----
components/newArchives/banquetMarry.vue | 353 ++++----
components/newArchives/banquetOther.vue | 17 +-
components/newArchives/breeding.vue | 610 +++++++------
components/newArchives/deepProcessing.vue | 581 ++++++------
components/newArchives/houseDecoration.vue | 318 ++++---
components/newArchives/houseRenovate.vue | 295 +++---
components/newArchives/houseRepair.vue | 244 +++--
components/newArchives/houseTransaction.vue | 187 ++--
components/newArchives/residents.vue | 647 +++++++-------
components/newArchives/thickProcessing.vue | 549 ++++++------
subpkg/archivesDetail/archivesDetail.vue | 944 ++++++++++----------
subpkg/topUp/topUp.vue | 45 +-
subpkg/updateArchives/updateArchives.vue | 21 +-
16 files changed, 3065 insertions(+), 2783 deletions(-)
diff --git a/components/newArchives/banquetBirthday.vue b/components/newArchives/banquetBirthday.vue
index 6f40702..ce594bf 100644
--- a/components/newArchives/banquetBirthday.vue
+++ b/components/newArchives/banquetBirthday.vue
@@ -1,163 +1,176 @@
-
-
-
- 寿宴
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/components/newArchives/banquetFullMoon.vue b/components/newArchives/banquetFullMoon.vue
index 23caefe..0a5ecba 100644
--- a/components/newArchives/banquetFullMoon.vue
+++ b/components/newArchives/banquetFullMoon.vue
@@ -1,163 +1,176 @@
-
-
-
- 满月酒
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/components/newArchives/banquetFuneral.vue b/components/newArchives/banquetFuneral.vue
index 384474f..202d78b 100644
--- a/components/newArchives/banquetFuneral.vue
+++ b/components/newArchives/banquetFuneral.vue
@@ -1,176 +1,189 @@
-
-
-
- 白事
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/components/newArchives/banquetMarry.vue b/components/newArchives/banquetMarry.vue
index 784f562..93724fb 100644
--- a/components/newArchives/banquetMarry.vue
+++ b/components/newArchives/banquetMarry.vue
@@ -1,171 +1,184 @@
-
-
-
- 婚宴
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/components/newArchives/banquetOther.vue b/components/newArchives/banquetOther.vue
index e7caddc..5344698 100644
--- a/components/newArchives/banquetOther.vue
+++ b/components/newArchives/banquetOther.vue
@@ -117,11 +117,24 @@
\ No newline at end of file
diff --git a/components/newArchives/deepProcessing.vue b/components/newArchives/deepProcessing.vue
index aabf1e7..4502ce8 100644
--- a/components/newArchives/deepProcessing.vue
+++ b/components/newArchives/deepProcessing.vue
@@ -1,285 +1,298 @@
-
-
-
- 深加工
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/components/newArchives/houseDecoration.vue b/components/newArchives/houseDecoration.vue
index 7dd9a89..67ee412 100644
--- a/components/newArchives/houseDecoration.vue
+++ b/components/newArchives/houseDecoration.vue
@@ -1,143 +1,177 @@
-
-
- 装房
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/components/newArchives/houseRenovate.vue b/components/newArchives/houseRenovate.vue
index 4d74f45..2609004 100644
--- a/components/newArchives/houseRenovate.vue
+++ b/components/newArchives/houseRenovate.vue
@@ -1,133 +1,164 @@
-
-
- 翻新
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/components/newArchives/houseRepair.vue b/components/newArchives/houseRepair.vue
index 7ed750e..b7178f1 100644
--- a/components/newArchives/houseRepair.vue
+++ b/components/newArchives/houseRepair.vue
@@ -1,66 +1,103 @@
-
- 修房
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+ 更新时间: {{update_time}}
+ 修房
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 上传照片
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/components/newArchives/houseTransaction.vue b/components/newArchives/houseTransaction.vue
index 789f666..003c79e 100644
--- a/components/newArchives/houseTransaction.vue
+++ b/components/newArchives/houseTransaction.vue
@@ -1,57 +1,84 @@
-
- 买卖房
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+ 更新时间: {{update_time}}
+ 买卖房
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/components/newArchives/thickProcessing.vue b/components/newArchives/thickProcessing.vue
index 874880a..d947dae 100644
--- a/components/newArchives/thickProcessing.vue
+++ b/components/newArchives/thickProcessing.vue
@@ -1,269 +1,282 @@
-
-
-
- 粗加工
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/subpkg/archivesDetail/archivesDetail.vue b/subpkg/archivesDetail/archivesDetail.vue
index a4d982f..b07ff3e 100644
--- a/subpkg/archivesDetail/archivesDetail.vue
+++ b/subpkg/archivesDetail/archivesDetail.vue
@@ -1,18 +1,18 @@
-
-
-
-
-
-
-
+
+
+
+
+
-
-
-
-
- 人员姓名: {{formData.name}}
-
-
-
-
- 性别 :
- {{formData.sex==1?'男':'女'}}
-
-
- 年龄 :
- {{formData.age+'岁'}}
-
-
- 联系方式 :
- {{formData.phone}}
-
-
- 身份证号 :
- {{formData.id_card}}
-
-
-
-
- 居住地址 :
- {{nowAddress}}
-
-
- 详细地址 :
- {{formData.address}}
-
-
- 汽车是否到家 :
-
-
-
-
-
-
- 是否使用智能手机 :
-
-
-
-
-
-
+
+
+
+ 人员姓名: {{formData.name}}
+
+
+
+
+ 性别 :
+ {{formData.sex==1?'男':'女'}}
+
+
+ 年龄 :
+ {{formData.age+'岁'}}
+
+
+ 联系方式 :
+ {{formData.phone}}
+
+
+ 身份证号 :
+ {{formData.id_card}}
+
+
+
+
+ 居住地址 :
+ {{nowAddress}}
+
+
+ 详细地址 :
+ {{formData.address}}
+
+
+ 汽车是否到家 :
+
+
+
+
+
+
+ 是否使用智能手机 :
+
+
+
+
+
+
-
+
-
+
-
-
- 常住人口
-
-
-
-
- 姓名 :
- {{item.name}}
-
-
- 出生日期 :
- {{item.birth_time}}
-
-
- 就业情况 :
- {{ situationList[item.situation] }}
-
-
- 技能特长 :
- {{item.skills}}
-
-
- 是否存在学生、婴幼儿 :
-
-
-
-
-
+
+
+ 常住人口
+
+
+
+
+ 姓名 :
+ {{item.name}}
+
+
+ 出生日期 :
+ {{item.birth_time}}
+
+
+ 就业情况 :
+ {{ situationList[item.situation] }}
+
+
+ 技能特长 :
+ {{item.skills}}
+
+
+ 是否存在学生、婴幼儿 :
+
+
+
+
+
-
+
-
-
+
+
-
-
- 婴幼儿信息
-
-
-
-
- 年龄 :
- {{item.age + '岁'}}
-
-
- 年级 :
- {{item.grade}}
-
-
- 是否补课 :
-
-
-
-
-
-
- 补课内容 :
- {{item.lessons}}
-
-
- 备注 :
- {{item.notes}}
-
-
-
-
-
-
- 年龄 :
- {{item.age + '岁'}}
-
+
+
+ 婴幼儿信息
+
+
+
+
+ 年龄 :
+ {{item.age + '岁'}}
+
+
+ 年级 :
+ {{item.grade}}
+
+
+ 是否补课 :
+
+
+
+
+
+
+ 补课内容 :
+ {{item.lessons}}
+
+
+ 备注 :
+ {{item.notes}}
+
+
+
+
+
+
+ 年龄 :
+ {{item.age + '岁'}}
+
-
- 喂养方式 :
-
-
-
-
-
-
- 备注 :
- {{item.notes}}
-
-
-
-
+
+ 喂养方式 :
+
+
+
+
+
+
+ 备注 :
+ {{item.notes}}
+
+
+
+
-
+
-
-
-
-
-
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/subpkg/topUp/topUp.vue b/subpkg/topUp/topUp.vue
index a8b9d59..2c028ae 100644
--- a/subpkg/topUp/topUp.vue
+++ b/subpkg/topUp/topUp.vue
@@ -42,8 +42,6 @@
payMoney: {
money: ''
},
- // 微信支付信息
- payData: null,
payTimer: null,
timeCount: 5,
task_id: -1, //任务id,当为任务时,不可自选充值金额
@@ -64,28 +62,6 @@
this.loadTask();
}
},
- onShow() {
- if(this.payData){
- payStatus({
- order_id: payData.order_id,
- from: payData.from,
- }).then((status)=>{
- uni.showToast({
- icon: status.data.pay_status?'success':'none',
- title: status.data.pay_status?'支付成功':'支付失败'
- })
- if(this.task_id>0){
- uni.$emit('upBuyShare');
- uni.navigateBack();
- }
- else{
- userInfo().then(user=>{
- this.$store.commit('setUserInfo', user.data);
- })
- }
- })
- }
- },
methods: {
changePrice(index){
if(this.changeMoney == index)this.changeMoney = -1;
@@ -110,7 +86,7 @@
pay(){
if(!this.payMoney.money)return Toast('请先填写充值金额!')
if(this.payMoney.money<=0)return Toast('充值金额不能小于0!')
- if(!this.payTimer){
+ if(this.payTimer==null){
this.goRecharge();
this.payTimer = setInterval(()=>{
this.timeCount--;
@@ -135,7 +111,6 @@
queryData.task_id = this.task_id;
}
let { data } = await recharge(queryData);
- this.payData = data;
let res = await payWay({
order_id: data.order_id,
from: data.from,
@@ -171,6 +146,24 @@
success: (e) => {
// console.log('成功', e);
uni.hideLoading();
+ payStatus({
+ order_id: data.order_id,
+ from: data.from,
+ }).then((status)=>{
+ uni.showToast({
+ icon: status.data.pay_status?'success':'none',
+ title: status.data.pay_status?'支付成功':'支付失败'
+ })
+ if(this.task_id>0){
+ uni.$emit('upBuyShare');
+ uni.navigateBack();
+ }
+ else{
+ userInfo().then(user=>{
+ this.$store.commit('setUserInfo', user.data);
+ })
+ }
+ })
},
fail: (e) => {
console.log(e);
diff --git a/subpkg/updateArchives/updateArchives.vue b/subpkg/updateArchives/updateArchives.vue
index 8ae0506..dcfdf37 100644
--- a/subpkg/updateArchives/updateArchives.vue
+++ b/subpkg/updateArchives/updateArchives.vue
@@ -55,7 +55,7 @@
keyName="name" @change="changeHandler" @cancel="demandShow = false" @confirm="changeDemand">
-
+
@@ -105,7 +105,6 @@
},
data() {
return {
- listMap: new Map(),
demandShow: false,
demandLoading: false,
demandList: [], //更多需求
@@ -135,15 +134,9 @@
this.task_id = +options.task_id || 0;
this.initInformationDetails({ id: options.id });
this.initCategoryBusinessList();
- this.initMap();
},
onShow() {},
methods: {
- initMap() {
- comonentList.forEach(item => {
- this.listMap.set(item.id, item.name);
- })
- },
async initInformationDetails(id) {
let res = await informationDetails(id);
this.formData = res.data;
@@ -153,6 +146,7 @@
if (this.showDemandList.length == 0) return Toast('请先添加需求!');
let refsDatas = await this.loadRefsDatas();
if (!this.updateFlag) return;
+ // return ;
uni.showLoading({
title: '正在更新...',
mask: true
@@ -201,10 +195,13 @@
// 初始化商机分类
async initCategoryBusinessList() {
let res = await categoryBusinessList();
- // this.demandList = res.data;
- this.demandList = res.data.filter(item => item.id == 6);
- this.demandList[0].children = this.demandList[0].children.filter(item => item.id == 7 || item.id == 8 || item
- .id == 32);
+ res.data = res.data.filter((item)=>{
+ return item.status!=0;
+ })
+ this.demandList = res.data;
+ // this.demandList = res.data.filter(item => item.id == 6);
+ // this.demandList[0].children = this.demandList[0].children.filter(item => item.id == 7 || item.id == 8 || item
+ // .id == 32);
this.demandListChild = this.demandList[0].children;
},
// 选择更多需求
From ea2e79af4421fdf8c905cb2e3fa0caba2942d653 Mon Sep 17 00:00:00 2001
From: weipengfei <2187978347@qq.com>
Date: Wed, 6 Sep 2023 16:54:16 +0800
Subject: [PATCH 04/11] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=96=87=E5=AD=97?=
=?UTF-8?q?=E6=8F=8F=E8=BF=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
components/companyFinance/companyFinance.vue | 2 +-
subpkg/finance/finance.vue | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/components/companyFinance/companyFinance.vue b/components/companyFinance/companyFinance.vue
index b6666ad..3d0382d 100644
--- a/components/companyFinance/companyFinance.vue
+++ b/components/companyFinance/companyFinance.vue
@@ -2,7 +2,7 @@
- 履约保证总金额(元)
+ 押金(元)
{{cCount(+company.deposit)}}
0.00
diff --git a/subpkg/finance/finance.vue b/subpkg/finance/finance.vue
index 752ab30..a15515c 100644
--- a/subpkg/finance/finance.vue
+++ b/subpkg/finance/finance.vue
@@ -54,7 +54,7 @@
- 履约保证金额(元)
+ 押金(元)
{{
userInfo.deposit || 0.0
}}
@@ -444,6 +444,7 @@ page {
align-items: center;
.item {
+ flex: 1;
text-align: center;
font-size: 25rpx;
font-weight: 400;
From 8f362931c480945842493d90167d1a40c0e932f8 Mon Sep 17 00:00:00 2001
From: weipengfei <2187978347@qq.com>
Date: Thu, 7 Sep 2023 09:06:21 +0800
Subject: [PATCH 05/11] =?UTF-8?q?=E6=9B=B4=E6=96=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
config/app.js | 8 ++++----
subpkg/buyShare/buyShare.vue | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/config/app.js b/config/app.js
index 7b60c06..18a6061 100644
--- a/config/app.js
+++ b/config/app.js
@@ -2,14 +2,14 @@ let httpApiThree;
let httpApi;
// 正式使用的域名
-// httpApi = 'https://ceshi-worker-task.lihaink.cn' //测试
+httpApi = 'https://ceshi-worker-task.lihaink.cn' //测试
// httpApi = 'https://preview-worker-task.lihaink.cn' //预上线
-httpApi = 'https://worker-task.lihaink.cn' //正式
+// httpApi = 'https://worker-task.lihaink.cn' //正式
-// httpApiThree = 'https://ceshi-worker-task.lihaink.cn' //测试
+httpApiThree = 'https://ceshi-worker-task.lihaink.cn' //测试
// httpApiThree = 'https://preview-worker-task.lihaink.cn' //预上线
-httpApiThree = 'https://worker-task.lihaink.cn' //正式
+// httpApiThree = 'https://worker-task.lihaink.cn' //正式
// #ifdef H5
// httpApiThree = 'baseUrlTest' //生产
// #endif
diff --git a/subpkg/buyShare/buyShare.vue b/subpkg/buyShare/buyShare.vue
index 624e488..ecb4349 100644
--- a/subpkg/buyShare/buyShare.vue
+++ b/subpkg/buyShare/buyShare.vue
@@ -1,5 +1,5 @@
-
+
任务名称: {{task.title}}
From dbbf9e789e30e27cd2e26b3d1394e1d4487acbaa Mon Sep 17 00:00:00 2001
From: weipengfei <2187978347@qq.com>
Date: Thu, 7 Sep 2023 10:31:06 +0800
Subject: [PATCH 06/11] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug,=E8=B0=83=E6=95=B4?=
=?UTF-8?q?=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
api/oaUser.js | 6 +++++-
components/companyFinance/companyFinance.vue | 9 +++++----
.../districtSelector/districtSelectorTow.vue | 20 +++++++++++++++++--
subpkg/companyInfo/companyInfo.vue | 4 +++-
subpkg/newPersonnel/newPersonnel.vue | 4 ++--
subpkg/orderDetail/orderDetail.vue | 2 +-
subpkg/personnel/personnel.vue | 1 +
subpkg/withdrawDeposit/withdrawDeposit.vue | 12 ++++++++---
8 files changed, 44 insertions(+), 14 deletions(-)
diff --git a/api/oaUser.js b/api/oaUser.js
index d685271..e594548 100644
--- a/api/oaUser.js
+++ b/api/oaUser.js
@@ -25,6 +25,11 @@ export const userInfo = (data) => oahttp.get('/user/info', data)
*/
export const changePassword = (data) => oahttp.post('/user/changePassword', data)
+/**
+ * 获取当前公司已创建的小队
+ */
+export const userCompanyBrigade = (data) => oahttp.get('/user/company_brigade', data)
+
/**
* 新增人员
*/
@@ -35,7 +40,6 @@ export const loginAdd = (data) => oahttp.post('/login/add', data)
*/
export const userSetInfo = (data) => oahttp.post('/user/setInfo', data)
-
/**
* 设置是否为队长
*/
diff --git a/components/companyFinance/companyFinance.vue b/components/companyFinance/companyFinance.vue
index 3d0382d..33b3bdc 100644
--- a/components/companyFinance/companyFinance.vue
+++ b/components/companyFinance/companyFinance.vue
@@ -115,8 +115,9 @@
});
uni.navigateTo({
url: url,
- success() {
- uni.hideLoading()
+ success:(res)=> {
+ uni.hideLoading();
+ res.eventChannel.emit('company_money', { company_money: this.company.company_money })
}
})
}else Toast('暂未开放')
@@ -125,9 +126,9 @@
this.loadConfig.page = 1;
this.loadConfig.status = "loadmore";
this.list = [];
- this.initList();
+ this.loadList();
},
- async initList() {
+ async loadList() {
if (this.loadConfig.status == "nomore") return;
this.loadConfig.status = "loading";
let res;
diff --git a/components/districtSelector/districtSelectorTow.vue b/components/districtSelector/districtSelectorTow.vue
index 8218591..915fbb0 100644
--- a/components/districtSelector/districtSelectorTow.vue
+++ b/components/districtSelector/districtSelectorTow.vue
@@ -18,7 +18,7 @@
-
+
@@ -36,6 +36,9 @@
commonVillage,
commonBrigade
} from "@/api/oaPbulic.js"
+ import {
+ userCompanyBrigade
+ } from "@/api/oaUser.js"
import {
Toast
} from "../../libs/uniApi"
@@ -163,7 +166,10 @@
changeCity(type, toast=false) {
if(toast) return Toast('不可修改该区域')
if (this.$props.readonly) return ;
- if (this[type + 'List'].length == 0) return Toast('请先选择上一级地区');
+ if (this[type + 'List'].length == 0) {
+ if(type=='brigade') return Toast('小队已经建立完毕');
+ return Toast('请先选择上一级地区');
+ }
this.changeType = type;
this.showProvince = true;
},
@@ -229,10 +235,20 @@
commonBrigade({
brigade: code
}).then(res => {
+ // 过滤掉不能选择的小队,只能选择本公司负责的小队
let f_arr = this.$store.state.app.userInfo.company?.responsible_area?.split(',')||[];
this.brigadeList = res.data.filter(item=>{
return f_arr.find(t=>item.id==t);
});
+ // 过滤掉公司已经创建的小队
+ userCompanyBrigade().then((e)=>{
+ this.brigadeList = this.brigadeList.filter(item=>{
+ return !e.data.find(t=>t==item.id);
+ })
+ this.formData.brigade = '';
+ this.formDataRead.brigade = '';
+ this.formDataText.brigade = '';
+ })
})
},
}
diff --git a/subpkg/companyInfo/companyInfo.vue b/subpkg/companyInfo/companyInfo.vue
index 261b4e5..cfca9fb 100644
--- a/subpkg/companyInfo/companyInfo.vue
+++ b/subpkg/companyInfo/companyInfo.vue
@@ -93,7 +93,7 @@
-
+
@@ -153,6 +153,7 @@
},
onReachBottom() {
if (this.current == 1) this.loadCompanyList();
+ else if (this.current == 2) this.$refs.financeRef.loadList();
else if (this.current == 3) this.$refs.taskRef.loadList();
},
methods: {
@@ -212,6 +213,7 @@
},
onPullDownRefresh() {
if (this.current == 1) this.initLoad();
+ else if (this.current == 2) this.$refs.financeRef.initLoad();
else if (this.current == 3) this.$refs.taskRef.initLoadConfig();
this.$u.sleep(500).then(() => {
uni.stopPullDownRefresh()
diff --git a/subpkg/newPersonnel/newPersonnel.vue b/subpkg/newPersonnel/newPersonnel.vue
index 8188f72..8913172 100644
--- a/subpkg/newPersonnel/newPersonnel.vue
+++ b/subpkg/newPersonnel/newPersonnel.vue
@@ -296,8 +296,8 @@
upLoadImage
} from "@/api/file.js"
import {
- loginAdd
- } from "@/api/oaUser.js"
+ loginAdd,
+ } from "@/api/oaUser.js"
import districtSelector from "@/components/districtSelector/districtSelector.vue" //地区选择器
import districtSelectorTow from "@/components/districtSelector/districtSelectorTow.vue" //地区选择器
import { Toast } from "../../libs/uniApi"
diff --git a/subpkg/orderDetail/orderDetail.vue b/subpkg/orderDetail/orderDetail.vue
index dbb75b1..dcda432 100644
--- a/subpkg/orderDetail/orderDetail.vue
+++ b/subpkg/orderDetail/orderDetail.vue
@@ -75,7 +75,7 @@
},
loadConfig:{
page: 1,
- limit: 25,
+ limit: 15,
loadingText: '努力加载中',
loadmoreText: '轻轻上拉',
nomoreText: '没有更多账单了~~',
diff --git a/subpkg/personnel/personnel.vue b/subpkg/personnel/personnel.vue
index cc06a34..619b262 100644
--- a/subpkg/personnel/personnel.vue
+++ b/subpkg/personnel/personnel.vue
@@ -203,6 +203,7 @@
\ No newline at end of file
diff --git a/components/newArchives/banquetFullMoon.vue b/components/newArchives/banquetFullMoon.vue
index 0a5ecba..cae75cb 100644
--- a/components/newArchives/banquetFullMoon.vue
+++ b/components/newArchives/banquetFullMoon.vue
@@ -1,176 +1,246 @@
-
-
-
- 满月酒
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/components/newArchives/banquetFuneral.vue b/components/newArchives/banquetFuneral.vue
index 202d78b..734c229 100644
--- a/components/newArchives/banquetFuneral.vue
+++ b/components/newArchives/banquetFuneral.vue
@@ -1,189 +1,256 @@
-
-
-
- 白事
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/components/newArchives/banquetMarry.vue b/components/newArchives/banquetMarry.vue
index 93724fb..5aae8af 100644
--- a/components/newArchives/banquetMarry.vue
+++ b/components/newArchives/banquetMarry.vue
@@ -1,184 +1,254 @@
-
-
-
- 婚宴
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/components/newArchives/banquetOther.vue b/components/newArchives/banquetOther.vue
index 5344698..b7df11c 100644
--- a/components/newArchives/banquetOther.vue
+++ b/components/newArchives/banquetOther.vue
@@ -1,64 +1,93 @@
-
-
- 其他庆祝宴
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+ 更新时间: {{update_time}}
+ 其他庆祝宴
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
\ No newline at end of file
diff --git a/components/newArchives/store.vue b/components/newArchives/store.vue
index 036ad10..839343c 100644
--- a/components/newArchives/store.vue
+++ b/components/newArchives/store.vue
@@ -1,15 +1,9 @@
-
-
-
更新时间: {{update_time}}
开设店铺
-
-
-
diff --git a/components/newArchives/thickProcessing.vue b/components/newArchives/thickProcessing.vue
index d947dae..3a25bcc 100644
--- a/components/newArchives/thickProcessing.vue
+++ b/components/newArchives/thickProcessing.vue
@@ -1,282 +1,338 @@
-
-
-
- 粗加工
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/subpkg/updateArchives/updateArchives.vue b/subpkg/updateArchives/updateArchives.vue
index 086344c..1bd9b7c 100644
--- a/subpkg/updateArchives/updateArchives.vue
+++ b/subpkg/updateArchives/updateArchives.vue
@@ -151,7 +151,7 @@
if (this.showDemandList.length == 0) return Toast('请先添加需求!');
let refsDatas = await this.loadRefsDatas();
if (!this.updateFlag) return;
- // return ;
+ return ;
uni.showLoading({
title: '正在更新...',
mask: true
From 3ac290329c0dcbcc421b2b06e314e47d293bf7da Mon Sep 17 00:00:00 2001
From: weipengfei <2187978347@qq.com>
Date: Thu, 7 Sep 2023 17:53:52 +0800
Subject: [PATCH 10/11] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
components/newArchives/banquetFuneral.vue | 4 ++--
components/newArchives/deepProcessing.vue | 7 +++++--
components/newArchives/thickProcessing.vue | 9 ++++++---
subpkg/updateArchives/updateArchives.vue | 2 +-
4 files changed, 14 insertions(+), 8 deletions(-)
diff --git a/components/newArchives/banquetFuneral.vue b/components/newArchives/banquetFuneral.vue
index 734c229..8b24d4a 100644
--- a/components/newArchives/banquetFuneral.vue
+++ b/components/newArchives/banquetFuneral.vue
@@ -52,8 +52,8 @@
-
-
+
+
diff --git a/components/newArchives/deepProcessing.vue b/components/newArchives/deepProcessing.vue
index cb57068..b07e573 100644
--- a/components/newArchives/deepProcessing.vue
+++ b/components/newArchives/deepProcessing.vue
@@ -73,7 +73,7 @@
-
+
@@ -149,7 +149,7 @@
-
+
@@ -232,6 +232,9 @@
// 初始化校验
initRules() {
let arr = Object.keys(this.formData);
+ arr = arr.filter(item=>{
+ return item!="business_appeal"
+ })
arr.forEach(key => {
this.rules[key] = {
validator: (rule, value, callback) => {
diff --git a/components/newArchives/thickProcessing.vue b/components/newArchives/thickProcessing.vue
index 3a25bcc..a14068a 100644
--- a/components/newArchives/thickProcessing.vue
+++ b/components/newArchives/thickProcessing.vue
@@ -73,7 +73,7 @@
-
+
@@ -98,7 +98,7 @@
-
+
@@ -149,7 +149,7 @@
-
+
@@ -232,6 +232,9 @@
// 初始化校验
initRules() {
let arr = Object.keys(this.formData);
+ arr = arr.filter(item=>{
+ return item!="business_appeal"
+ })
arr.forEach(key => {
this.rules[key] = {
validator: (rule, value, callback) => {
diff --git a/subpkg/updateArchives/updateArchives.vue b/subpkg/updateArchives/updateArchives.vue
index 1bd9b7c..086344c 100644
--- a/subpkg/updateArchives/updateArchives.vue
+++ b/subpkg/updateArchives/updateArchives.vue
@@ -151,7 +151,7 @@
if (this.showDemandList.length == 0) return Toast('请先添加需求!');
let refsDatas = await this.loadRefsDatas();
if (!this.updateFlag) return;
- return ;
+ // return ;
uni.showLoading({
title: '正在更新...',
mask: true
From bfb3c5fd222aee159b265c993ab1ae69d96c0f4a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=97=9C=E8=A1=80=E9=BE=99=E5=B8=85?= <1493694146@qq.com>
Date: Thu, 7 Sep 2023 23:24:42 +0800
Subject: [PATCH 11/11] =?UTF-8?q?=E7=89=A9=E6=B5=81=E7=8E=AF=E5=A2=83?=
=?UTF-8?q?=E9=85=8D=E7=BD=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
config/app.js | 14 ++++++++++----
utils/logistics.js | 17 ++++++++++-------
2 files changed, 20 insertions(+), 11 deletions(-)
diff --git a/config/app.js b/config/app.js
index 18a6061..888baa8 100644
--- a/config/app.js
+++ b/config/app.js
@@ -1,15 +1,20 @@
let httpApiThree;
let httpApi;
+let httpApiTwo;
// 正式使用的域名
-httpApi = 'https://ceshi-worker-task.lihaink.cn' //测试
+// httpApi = 'https://ceshi-worker-task.lihaink.cn' //测试
// httpApi = 'https://preview-worker-task.lihaink.cn' //预上线
-// httpApi = 'https://worker-task.lihaink.cn' //正式
+httpApi = 'https://worker-task.lihaink.cn' //正式
+
+// 物流
+httpApiTwo = 'https://logistics.lihaink.cn' //正式环境
+// httpApiTwo = 'https://ceshi-logistics.lihaink.cn' //测试环境
-httpApiThree = 'https://ceshi-worker-task.lihaink.cn' //测试
+// httpApiThree = 'https://ceshi-worker-task.lihaink.cn' //测试
// httpApiThree = 'https://preview-worker-task.lihaink.cn' //预上线
-// httpApiThree = 'https://worker-task.lihaink.cn' //正式
+httpApiThree = 'https://worker-task.lihaink.cn' //正式
// #ifdef H5
// httpApiThree = 'baseUrlTest' //生产
// #endif
@@ -33,6 +38,7 @@ module.exports = {
// 请求域名 格式: https://您的域名
HTTP_REQUEST_URL: httpApi,
HTTP_REQUEST_URL_THREE: httpApiThree,
+ HTTP_REQUEST_URL_TWO: httpApiTwo,
// #ifdef H5
//H5接口是浏览器地址
diff --git a/utils/logistics.js b/utils/logistics.js
index 4e7c4ff..e94a501 100644
--- a/utils/logistics.js
+++ b/utils/logistics.js
@@ -1,5 +1,5 @@
import {
- HTTP_REQUEST_URL_THREE,
+ HTTP_REQUEST_URL_TWO,
HEADER,
TOKENNAME,
} from '@/config/app';
@@ -21,8 +21,7 @@ function baseRequestTwo(url, method, data, {
noAuth = false,
noVerify = false
}) {
- // let Url = "https://logistics.lihaink.cn", //正式环境
- let Url = "https://ceshi-logistics.lihaink.cn", //测试环境
+ let Url = HTTP_REQUEST_URL_TWO,
header = HEADER;
if (!noAuth) {
// 已经未登录了,禁止请求
@@ -41,6 +40,7 @@ function baseRequestTwo(url, method, data, {
// if (store.state.app.token) header[TOKENNAME] = 'Bearer ' + store.state.app.token;
if (store.state.app.token) header[TOKENNAME] = store.state.app.token;
+
// header[TOKENNAME] = 'Bearer sdjflidshjgfkbdasgjmasbgvhauuiavhkesvndkaesbvkjsdbv';
return new Promise((reslove, reject) => {
// uni.showLoading({
@@ -52,6 +52,7 @@ function baseRequestTwo(url, method, data, {
method: method || 'GET',
header: {
...header
+
},
data: method != 'GET' ? data || {} : {},
params: method == 'GET' ? data : {},
@@ -66,10 +67,12 @@ function baseRequestTwo(url, method, data, {
reject(res.data);
} else if (res.data.code == 0) {
// uni.hideLoading();
- uni.showToast({
- title: res.data.msg || '请检查网络',
- icon: 'none'
- })
+ if (res.data.show != 1 && res.data.msg != '无登录信息') {
+ uni.showToast({
+ title: res.data.msg || '请检查网络',
+ icon: 'none',
+ })
+ }
reject(res.data);
} else if (res.data.code == 1) {
store.commit("SET_REQUEST");