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