|
@@ -10,6 +10,7 @@
|
|
|
</div>
|
|
|
<div>
|
|
|
<p class="mb10">
|
|
|
+ <el-button type="primary" @click="dialogVisible = true">整体报告</el-button>
|
|
|
<el-button type="primary" @click="toSign">完成选科签字</el-button>
|
|
|
<el-button type="primary" @click="showDispatchInfo">查看分班信息</el-button>
|
|
|
</p>
|
|
@@ -30,17 +31,31 @@
|
|
|
</div>
|
|
|
</el-card>
|
|
|
<evaluation-empty v-else shadow title="暂无数据"></evaluation-empty>
|
|
|
+ <el-dialog
|
|
|
+ title="整体报告"
|
|
|
+ :visible.sync="dialogVisible"
|
|
|
+ width="80%"
|
|
|
+ >
|
|
|
+ <report :generation="generation" :dispatchInfo="rows[0]" :optional-majors="optionalMajors"></report>
|
|
|
+ <span slot="footer" class="dialog-footer">
|
|
|
+ <el-button type="primary" @click="dialogVisible = false">确 定</el-button>
|
|
|
+ </span>
|
|
|
+ </el-dialog>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
import { classesResult, getRound } from '@/api/webApi/elective/dispatch'
|
|
|
import MxCondition from '@/components/MxCondition/mx-condition'
|
|
|
+import RoundSelect from '@/views/system/user/profile/round-select'
|
|
|
+import Report from './report'
|
|
|
import { mapGetters } from 'vuex'
|
|
|
export default {
|
|
|
- components:{MxCondition},
|
|
|
+ components:{MxCondition,Report},
|
|
|
+ mixins:[RoundSelect],
|
|
|
data(){
|
|
|
return{
|
|
|
+ dialogVisible:false,
|
|
|
isShow:false,
|
|
|
rows: [],
|
|
|
requireFields: ['year', 'roundId'],
|
|
@@ -48,6 +63,7 @@ import { mapGetters } from 'vuex'
|
|
|
year: '',
|
|
|
roundId: ''
|
|
|
},
|
|
|
+ activeStep:'forceAdjust',
|
|
|
round: {},
|
|
|
propsDefines: {
|
|
|
year: {
|
|
@@ -73,6 +89,9 @@ import { mapGetters } from 'vuex'
|
|
|
}
|
|
|
},
|
|
|
computed:{
|
|
|
+ apply(){
|
|
|
+ return this.appliedModel.selectedList.map(item => item.groupName)
|
|
|
+ },
|
|
|
...mapGetters(['school','nickName']),
|
|
|
title(){
|
|
|
const store = this.$store.getters
|