|
@@ -8,9 +8,6 @@ $(function () {
|
|
|
const code = $(this).attr("code");
|
|
|
openNewWin(targetUrl + '?page=' + code, true);
|
|
|
})
|
|
|
- $("#goPush").on("click", function () {
|
|
|
- openNewWin(targetUrl + '?page=bztd', true);
|
|
|
- });
|
|
|
});
|
|
|
|
|
|
function renderConfig(config) {
|
|
@@ -37,7 +34,11 @@ function getTcmMr(mrId, config) {
|
|
|
let data = res.data.data || {}
|
|
|
const {tcmdisease, tcmsyndrome} = data;
|
|
|
if (res.data.code === '0') {
|
|
|
- getTcmData({tcmDiag: (tcmdisease || {}).uniqueName, tcmSyndrome: (tcmsyndrome || {}).uniqueName}, config)
|
|
|
+ const diag = (tcmdisease || {}).uniqueName;
|
|
|
+ $("#goPush").on("click", function () {
|
|
|
+ openNewWin(targetUrl + '?page=bztd&jibing='+diag, true);
|
|
|
+ });
|
|
|
+ getTcmData({tcmDiag: diag, tcmSyndrome: (tcmsyndrome || {}).uniqueName}, config)
|
|
|
} else {
|
|
|
|
|
|
}
|