|
|
|
@ -7,6 +7,10 @@ Page({
@@ -7,6 +7,10 @@ Page({
|
|
|
|
|
popupParams: {}, |
|
|
|
|
|
|
|
|
|
showPatient: false, |
|
|
|
|
applyWord: { |
|
|
|
|
ApplyButtonWordOne: '', |
|
|
|
|
ApplyButtonWordTwo: '', |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
onShow() { |
|
|
|
|
app.waitLogin({ type: 0 }).then(() => { |
|
|
|
@ -18,6 +22,7 @@ Page({
@@ -18,6 +22,7 @@ Page({
|
|
|
|
|
}) |
|
|
|
|
}) |
|
|
|
|
this.getGeneConfig() |
|
|
|
|
this.getApplyWord() |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
getGeneConfig() { |
|
|
|
@ -28,6 +33,18 @@ Page({
@@ -28,6 +33,18 @@ Page({
|
|
|
|
|
}).then((res) => { |
|
|
|
|
this.setData({ |
|
|
|
|
showPatient: res === '1', |
|
|
|
|
|
|
|
|
|
this.getApplyWord() |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
getApplyWord() { |
|
|
|
|
wx.ajax({ |
|
|
|
|
method: 'GET', |
|
|
|
|
url: '?r=wtx/common/get-apply-word', |
|
|
|
|
data: {}, |
|
|
|
|
}).then((res) => { |
|
|
|
|
this.setData({ |
|
|
|
|
applyWord: res, |
|
|
|
|
}) |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|