|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
<div class="wrap">
|
|
|
- <m-header v-if="headerStatus">
|
|
|
+ <m-header v-if="headerStatus" :backUrl="backUrl">
|
|
|
<template slot="right">
|
|
|
<div @click="onAppealRecord">申诉记录</div>
|
|
|
</template>
|
|
@@ -28,7 +28,7 @@
|
|
|
<script>
|
|
|
import MHeader from "@/components/MHeader"
|
|
|
import MEmpty from "@/components/MEmpty"
|
|
|
-import { getSTD } from '@/common/common'
|
|
|
+import { getSTD, browser } from '@/common/common'
|
|
|
import { findTeacherYearSalarys } from '@/api/audition'
|
|
|
export default {
|
|
|
name: "teacherList",
|
|
@@ -44,7 +44,17 @@ export default {
|
|
|
],
|
|
|
dataShow: true,
|
|
|
dataList: [],
|
|
|
- totalSalary: 0
|
|
|
+ totalSalary: 0,
|
|
|
+ backUrl: {
|
|
|
+ callBack: () => {
|
|
|
+ if (browser().android) {
|
|
|
+ // eslint-disable-next-line
|
|
|
+ DAYA.postMessage(JSON.stringify({ api: 'back' }))
|
|
|
+ } else if (browser().iPhone) {
|
|
|
+ window.webkit.messageHandlers.DAYA.postMessage(JSON.stringify({ api: 'back' }))
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
};
|
|
|
},
|
|
|
mounted() {
|