Browse Source

活动bug处理

main
kola-web 4 months ago
parent
commit
35e28b195b
  1. 16
      src/echart/components/homeLevel4/index.ts
  2. 1
      src/module1/pages/auditDoctorDetail/index.scss
  3. 8
      src/module1/pages/auditDoctorDetail/index.ts
  4. 2
      src/module1/pages/setDoctor/index.ts
  5. 2
      src/pages/chatRoomList/index.wxml

16
src/echart/components/homeLevel4/index.ts

@ -288,10 +288,10 @@ Component({ @@ -288,10 +288,10 @@ Component({
devicePixelRatio: dpr, // new
});
canvas.setChart(chart);
const x: string[] = ["2024-09", "2024-10"];
const y1: string[] = ["10", "30"];
const y2: string[] = ["10", "30"];
const y3: string[] = ["20", "60"];
const x: string[] = [];
const y1: string[] = [];
const y2: string[] = [];
const y3: string[] = [];
list.forEach((item) => {
x.push(item.YearMonth);
y1.push(item.DoctorLevel1TotalCases);
@ -448,10 +448,10 @@ Component({ @@ -448,10 +448,10 @@ Component({
devicePixelRatio: dpr, // new
});
canvas.setChart(chart);
const x: string[] = ["2024-09", "2024-10"];
const y1: string[] = ["10", "30"];
const y2: string[] = ["10", "30"];
const y3: string[] = ["20", "60"];
const x: string[] = [];
const y1: string[] = [];
const y2: string[] = [];
const y3: string[] = [];
list.forEach((item) => {
x.push(item.YearMonth);
y1.push(item.DoctorLevel1MonthCases);

1
src/module1/pages/auditDoctorDetail/index.scss

@ -106,6 +106,7 @@ page { @@ -106,6 +106,7 @@ page {
font-size: 32rpx;
color: rgba(20, 21, 21, 1);
font-weight: bold;
text-align: center;
}
.btn1 {
margin-top: 32rpx;

8
src/module1/pages/auditDoctorDetail/index.ts

@ -82,6 +82,9 @@ Page({ @@ -82,6 +82,9 @@ Page({
},
handleSubmit() {
const { detail } = this.data;
this.setData({
show: false,
});
wx.ajax({
method: "POST",
url: "?r=takeda/doctor/audit-pass",
@ -95,7 +98,10 @@ Page({ @@ -95,7 +98,10 @@ Page({
},
handleSetDoctor() {
const { detail } = this.data;
wx.navigateTo({
this.setData({
show: false,
});
wx.redirectTo({
url: `/module1/pages/setDoctor/index?id=${detail.AuditId}`,
});
},

2
src/module1/pages/setDoctor/index.ts

@ -226,7 +226,7 @@ Page({ @@ -226,7 +226,7 @@ Page({
const { DoctorId } = this.data;
if (!DoctorId) {
wx.showToast({
title: "请选择指派医生",
title: "请选择医生",
icon: "none",
});
return;

2
src/pages/chatRoomList/index.wxml

@ -283,7 +283,7 @@ @@ -283,7 +283,7 @@
</view>
</van-popup>
<van-popup show="{{ showArea }}" round position="bottom">
<van-popup show="{{ showArea }}" round position="bottom" z-index="100000">
<van-cascader
value="{{ cascaderValue }}"
title="请选择所在地区"

Loading…
Cancel
Save