|
@@ -3,12 +3,36 @@
|
|
|
<basic-container>
|
|
|
<div class="container" style="height: 400px;">
|
|
|
<div class="container-items">
|
|
|
- <but-card iconName="el-icon-edit-outline" name="小学部工资" />
|
|
|
- <but-card iconName="el-icon-edit-outline" name="初中部工资" />
|
|
|
- <but-card iconName="el-icon-edit-outline" name="高中部工资" />
|
|
|
- <but-card iconName="el-icon-edit-outline" name="后勤工资" />
|
|
|
- <but-card iconName="el-icon-edit-outline" name="添加教师" />
|
|
|
- <but-card iconName="el-icon-edit-outline" name="添加后勤" />
|
|
|
+ <but-card
|
|
|
+ iconName="el-icon-edit-outline"
|
|
|
+ name="小学部工资"
|
|
|
+ @click.native="inPage(1)"
|
|
|
+ />
|
|
|
+ <but-card
|
|
|
+ iconName="el-icon-edit-outline"
|
|
|
+ name="初中部工资"
|
|
|
+ @click.native="inPage(2)"
|
|
|
+ />
|
|
|
+ <but-card
|
|
|
+ iconName="el-icon-edit-outline"
|
|
|
+ name="高中部工资"
|
|
|
+ @click.native="inPage(3)"
|
|
|
+ />
|
|
|
+ <but-card
|
|
|
+ iconName="el-icon-edit-outline"
|
|
|
+ name="后勤部工资"
|
|
|
+ @click.native="inPage(4)"
|
|
|
+ />
|
|
|
+ <but-card
|
|
|
+ iconName="el-icon-edit-outline"
|
|
|
+ name="添加教师"
|
|
|
+ @click.native="inPage(5)"
|
|
|
+ />
|
|
|
+ <but-card
|
|
|
+ iconName="el-icon-edit-outline"
|
|
|
+ name="添加后勤"
|
|
|
+ @click.native="inPage(6)"
|
|
|
+ />
|
|
|
</div>
|
|
|
<index-card title="教师工资总体数据" iconName="el-icon-view">
|
|
|
<div slot="select">
|
|
@@ -102,6 +126,22 @@
|
|
|
<el-select
|
|
|
slot="content"
|
|
|
size="mini"
|
|
|
+ v-model="salaryType3"
|
|
|
+ placeholder="请选择"
|
|
|
+ style="margin-right:10px"
|
|
|
+ @change="getsalaryDataChain"
|
|
|
+ >
|
|
|
+ <el-option
|
|
|
+ v-for="item in options"
|
|
|
+ :key="item.value"
|
|
|
+ :label="item.label"
|
|
|
+ :value="item.value"
|
|
|
+ >
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
+ <el-select
|
|
|
+ slot="content"
|
|
|
+ size="mini"
|
|
|
v-model="moon"
|
|
|
placeholder="请选择月份"
|
|
|
@change="moonChange"
|
|
@@ -132,21 +172,6 @@
|
|
|
>
|
|
|
</el-option>
|
|
|
</el-select>
|
|
|
- <el-select
|
|
|
- slot="content"
|
|
|
- size="mini"
|
|
|
- v-model="salaryType3"
|
|
|
- placeholder="请选择"
|
|
|
- @change="getsalaryDataChain"
|
|
|
- >
|
|
|
- <el-option
|
|
|
- v-for="item in options"
|
|
|
- :key="item.value"
|
|
|
- :label="item.label"
|
|
|
- :value="item.value"
|
|
|
- >
|
|
|
- </el-option>
|
|
|
- </el-select>
|
|
|
</div>
|
|
|
|
|
|
<div slot="content" style="height:450px" id="commoDity2"></div>
|
|
@@ -157,11 +182,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import {
|
|
|
- salaryStatistics,
|
|
|
- salaryData,
|
|
|
- salaryDataChain
|
|
|
-} from "@/api/wel";
|
|
|
+import { salaryStatistics, salaryData, salaryDataChain } from "@/api/wel";
|
|
|
import { mapGetters } from "vuex";
|
|
|
import indexCard from "../components/card.vue";
|
|
|
import butCard from "../components/butCard.vue";
|
|
@@ -184,7 +205,7 @@ export default {
|
|
|
annual3: "2022",
|
|
|
salaryType: "",
|
|
|
salaryType2: "",
|
|
|
- salaryType3:"",
|
|
|
+ salaryType3: "",
|
|
|
isHeight: {},
|
|
|
options: [
|
|
|
{
|
|
@@ -331,6 +352,28 @@ export default {
|
|
|
...mapGetters(["userInfo"])
|
|
|
},
|
|
|
methods: {
|
|
|
+ inPage(type) {
|
|
|
+ switch (type) {
|
|
|
+ case 1:
|
|
|
+ this.$router.push("/salaryManagement/primarySchool/index");
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ this.$router.push("/salaryManagement/juniorhighSchool/index");
|
|
|
+ break;
|
|
|
+ case 3:
|
|
|
+ this.$router.push("/salaryManagement/highSchool/index");
|
|
|
+ break;
|
|
|
+ case 4:
|
|
|
+ this.$router.push("/salaryManagement/logisticsDepartment/index");
|
|
|
+ break;
|
|
|
+ case 5:
|
|
|
+ this.$router.push("/basicData/facultyManagement/index");
|
|
|
+ break;
|
|
|
+ case 6:
|
|
|
+ this.$message.error("暂无此页面");
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ },
|
|
|
getsalaryStatistics() {
|
|
|
this.fsalaryList = [];
|
|
|
this.studentNumberList = [];
|
|
@@ -364,7 +407,7 @@ export default {
|
|
|
annual: this.annual3,
|
|
|
moon: this.moon,
|
|
|
semester: this.semester,
|
|
|
- salaryType:this.salaryType3
|
|
|
+ salaryType: this.salaryType3
|
|
|
})
|
|
|
.then(res => {
|
|
|
let data = res.data.data;
|