|
@@ -361,6 +361,12 @@
|
|
</el-tooltip>
|
|
</el-tooltip>
|
|
</div>
|
|
</div>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
|
+ <el-form-item v-if="maskForm.school" label="教学点">
|
|
|
|
+ {{ maskForm.school.name }}
|
|
|
|
+ <el-tooltip content="查看教学点" :open-delay=".5">
|
|
|
|
+ <i @click="openLocation(maskForm.school)" class="el-icon-map-location" style="cursor: pointer;"></i>
|
|
|
|
+ </el-tooltip>
|
|
|
|
+ </el-form-item>
|
|
|
|
|
|
</el-form>
|
|
</el-form>
|
|
<!-- v-if="maskForm.status != 'NOT_START'" -->
|
|
<!-- v-if="maskForm.status != 'NOT_START'" -->
|
|
@@ -420,6 +426,9 @@
|
|
@getList='getList'
|
|
@getList='getList'
|
|
:id='id' />
|
|
:id='id' />
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
|
+ <el-dialog title="查看教学点" :visible.sync="locationVisible">
|
|
|
|
+ <school-location v-if="maskForm.school" :longitudeLatitude="maskForm.school.longitudeLatitude" :address="maskForm.school.address"/>
|
|
|
|
+ </el-dialog>
|
|
<addCompound :compoundList='compoundList' v-if="permission('courseSchedule/courseMerge')"
|
|
<addCompound :compoundList='compoundList' v-if="permission('courseSchedule/courseMerge')"
|
|
@clearCom='clearCom'
|
|
@clearCom='clearCom'
|
|
@getList='getList'
|
|
@getList='getList'
|
|
@@ -448,6 +457,7 @@ import { permission } from "@/utils/directivePage";
|
|
import axios from "axios";
|
|
import axios from "axios";
|
|
import { getToken } from "@/utils/auth";
|
|
import { getToken } from "@/utils/auth";
|
|
import load from "@/utils/loading";
|
|
import load from "@/utils/loading";
|
|
|
|
+import SchoolLocation from './components/modals/school-location'
|
|
import resetClass from './componentCourse/resetClass'
|
|
import resetClass from './componentCourse/resetClass'
|
|
import teacherList from './componentCourse/teacherList'
|
|
import teacherList from './componentCourse/teacherList'
|
|
import addCompound from './componentCourse/addCompound'
|
|
import addCompound from './componentCourse/addCompound'
|
|
@@ -481,6 +491,7 @@ export default {
|
|
classVisible: false,
|
|
classVisible: false,
|
|
timerVisible: false,
|
|
timerVisible: false,
|
|
courseVisible: false,
|
|
courseVisible: false,
|
|
|
|
+ locationVisible: false,
|
|
courseType: courseType,
|
|
courseType: courseType,
|
|
mergeCourseType,
|
|
mergeCourseType,
|
|
courseListType: courseListType,
|
|
courseListType: courseListType,
|
|
@@ -513,7 +524,8 @@ export default {
|
|
resetClass,
|
|
resetClass,
|
|
teacherList,
|
|
teacherList,
|
|
addCompound,
|
|
addCompound,
|
|
- infoMsg
|
|
|
|
|
|
+ infoMsg,
|
|
|
|
+ SchoolLocation
|
|
},
|
|
},
|
|
activated () {
|
|
activated () {
|
|
this.init();
|
|
this.init();
|
|
@@ -587,6 +599,9 @@ export default {
|
|
...getTimes(timer, ['startTime', 'endTime']),
|
|
...getTimes(timer, ['startTime', 'endTime']),
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
+ openLocation(school) {
|
|
|
|
+ this.locationVisible = true
|
|
|
|
+ },
|
|
onCourseExport () {
|
|
onCourseExport () {
|
|
// 课表导出
|
|
// 课表导出
|
|
let url = "/api-web/export/superFindCourseSchedules";
|
|
let url = "/api-web/export/superFindCourseSchedules";
|