武田小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

87 lines
1.5 KiB

6 months ago
const _app = getApp<IAppOption>();
// pages/story/a.ts
Component({
/**
*
*/
6 months ago
properties: {
userInfo: Object,
DoctorTitleType: Object,
hospitalClassification: Object,
hospitalLevel: Object,
},
/**
*
*/
6 months ago
data: {
take: {},
case: {},
doctorCount: {},
},
6 months ago
lifetimes: {
attached() {
this.getTake();
this.getCase();
this.getManageDoctor();
},
},
/**
*
*/
methods: {
6 months ago
getTake() {
wx.ajax({
method: "GET",
url: "?r=takeda/doctor/todo",
data: {},
}).then((res) => {
this.setData({
take: res,
});
});
},
getCase() {
wx.ajax({
method: "GET",
url: "?r=takeda/doctor/case",
data: {},
}).then((res) => {
this.setData({
case: res,
});
});
},
getManageDoctor() {
wx.ajax({
method: "GET",
url: "?r=takeda/doctor/manage-doctor-count",
data: {},
}).then((res) => {
this.setData({
doctorCount: res.count,
});
});
},
handleInvite() {
wx.navigateTo({
url: "/module1/pages/invite/index",
});
},
handleOrg() {
wx.navigateTo({
6 months ago
url: "/module1/pages/org3/index",
});
},
handleEntryCase() {
wx.navigateTo({
url: "/module1/pages/entryCases/index",
});
},
},
6 months ago
});
export {};