From 44e1af726286025948903d8caa6afceae3c8f8f1 Mon Sep 17 00:00:00 2001 From: zhouxueli <2841188632@qq.com> Date: Mon, 22 Dec 2025 13:08:10 +0800 Subject: [PATCH] =?UTF-8?q?CRM=5F25-12-23#story#7473,=E6=9C=8D=E5=8A=A1?= =?UTF-8?q?=E5=95=86=E7=B3=BB=E7=BB=9F=E3=80=81=E8=B0=83=E5=BA=A6APP?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=9C=8D=E5=8A=A1=E5=95=86=E4=BA=BA=E5=91=98?= =?UTF-8?q?=E7=A1=AE=E8=AE=A4=E7=9A=84=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/mine/personList.vue | 45 +++++++++++++++++------------------ 1 file changed, 22 insertions(+), 23 deletions(-) diff --git a/src/views/mine/personList.vue b/src/views/mine/personList.vue index 58ae079b..ba3ac544 100644 --- a/src/views/mine/personList.vue +++ b/src/views/mine/personList.vue @@ -11,12 +11,6 @@ @click-left="goBack" /> -
@@ -114,7 +108,9 @@ export default {
// console.log('isWebFunc()',this.isWebFunc())
const urlParams = new URLSearchParams(window.location.search);
this.id=this.$route.query.id || urlParams.get('id');
- this.supplierId=this.$route.query.supplierId || urlParams.get('supplierId');
+ // this.supplierId=1128 && this.$route.query.supplierId || urlParams.get('supplierId');
+ this.supplierId=1128
+ console.log('1111',this.supplierId)
await this.getPersonList()
},
methods:{
@@ -200,9 +196,15 @@ export default {
}
await submitConfirm({supplierId:this.supplierId,infos:this.personList})
this.$toast('操作成功')
- setTimeout(()=>{
- this.goBack();
- },2000)
+ if(this.isWebFunc()){
+ setTimeout(()=>{
+ this.closeParentDialog()
+ },1500)
+ }else{
+ setTimeout(()=>{
+ this.goBack()
+ },1500)
+ }
},
async reviseHandle(){//修改
this.type=2
@@ -216,19 +218,16 @@ export default {
}).then(async() => {
// console.log('确认无误')
await confirm({supplierId:this.supplierId})
- setTimeout(() => {
- this.goBack()
- }, 1500)
- }).catch(() => {
- });
- },
- handle(){
- Dialog.alert({
- message:'message',
- confirmButtonText:this.isWebFunc() ? '确定' : '拨打电话',
- showCancelButton:true,
- }).then(async() => {
-
+ this.$toast('操作成功')
+ if(this.isWebFunc()){
+ setTimeout(()=>{
+ this.closeParentDialog()
+ },1500)
+ }else{
+ setTimeout(()=>{
+ this.goBack()
+ },1500)
+ }
}).catch(() => {
});
},