绑定单位调整
This commit is contained in:
parent
0e5ebf2445
commit
dbc02056fb
@ -103,8 +103,12 @@ export default {
|
|||||||
this.$router.go(-1);
|
this.$router.go(-1);
|
||||||
},
|
},
|
||||||
handleGenerateQrCode(index, row) {
|
handleGenerateQrCode(index, row) {
|
||||||
|
let state = 2;
|
||||||
|
if (process.env.NODE_ENV === 'production') {
|
||||||
|
state = 1;
|
||||||
|
}
|
||||||
const param = {
|
const param = {
|
||||||
url: `companyName=${row.name}&&companyId=${row.id}`,
|
url: `https://joylink.club/oss/joylink/company?state=${state}_${row.id}`,
|
||||||
title: '单位二维码'
|
title: '单位二维码'
|
||||||
};
|
};
|
||||||
this.$refs.qrCode.doShow(param);
|
this.$refs.qrCode.doShow(param);
|
||||||
|
@ -50,7 +50,8 @@ export default {
|
|||||||
loading: false,
|
loading: false,
|
||||||
project: '',
|
project: '',
|
||||||
mapId: '',
|
mapId: '',
|
||||||
prdType: ''
|
prdType: '',
|
||||||
|
cityCode: ''
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
@ -84,6 +85,7 @@ export default {
|
|||||||
this.mapId = resp.data.mapId;
|
this.mapId = resp.data.mapId;
|
||||||
this.prdType = resp.data.prdType;
|
this.prdType = resp.data.prdType;
|
||||||
this.tableData = resp.data.lessonList;
|
this.tableData = resp.data.lessonList;
|
||||||
|
this.cityCode = resp.data.cityCode;
|
||||||
} else {
|
} else {
|
||||||
this.tableData = [];
|
this.tableData = [];
|
||||||
}
|
}
|
||||||
@ -129,7 +131,7 @@ export default {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
draftLessonManage() {
|
draftLessonManage() {
|
||||||
const query = {mapId: this.mapId, prdType: this.prdType, cityCode: this.$route.query.cityCode};
|
const query = {mapId: this.mapId, prdType: this.prdType, cityCode: this.cityCode};
|
||||||
this.$router.push({ path: `/trainingPlatform/draftTeach/${this.$route.params.subSystem}`, query: query });
|
this.$router.push({ path: `/trainingPlatform/draftTeach/${this.$route.params.subSystem}`, query: query });
|
||||||
},
|
},
|
||||||
handleDelete(row) {
|
handleDelete(row) {
|
||||||
|
@ -113,7 +113,7 @@ export default {
|
|||||||
break;
|
break;
|
||||||
case 'Lesson':
|
case 'Lesson':
|
||||||
this.setLocalRoute(`${UrlConfig.trainingPlatform.teachHome}/${obj.id}`);
|
this.setLocalRoute(`${UrlConfig.trainingPlatform.teachHome}/${obj.id}`);
|
||||||
router = { path: `${UrlConfig.trainingPlatform.teachHome}/${obj.id}?cityCode=${this.filterSelect}`};
|
router = { path: `${UrlConfig.trainingPlatform.teachHome}/${obj.id}`};
|
||||||
this.toNextPage(isReplace, router);
|
this.toNextPage(isReplace, router);
|
||||||
break;
|
break;
|
||||||
case 'Simulation':
|
case 'Simulation':
|
||||||
|
Loading…
Reference in New Issue
Block a user