|
@@ -185,7 +185,7 @@
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column label="操作"
|
|
<el-table-column label="操作"
|
|
fixed='right'
|
|
fixed='right'
|
|
- width="200"
|
|
|
|
|
|
+ width="240"
|
|
align='center'>
|
|
align='center'>
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<div>
|
|
<div>
|
|
@@ -216,6 +216,8 @@
|
|
<el-button type="text"
|
|
<el-button type="text"
|
|
v-if="permission('visit/add')"
|
|
v-if="permission('visit/add')"
|
|
@click="addVisit(scope.row)">新增回访</el-button>
|
|
@click="addVisit(scope.row)">新增回访</el-button>
|
|
|
|
+ <el-button type="text"
|
|
|
|
+ @click="openChangeVoice(scope.row)">更改声部</el-button>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
@@ -505,6 +507,15 @@
|
|
@click="submitAddVisit">确 定</el-button>
|
|
@click="submitAddVisit">确 定</el-button>
|
|
</span>
|
|
</span>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
|
+ <el-dialog
|
|
|
|
+ title="修改声部"
|
|
|
|
+ :visible.sync="changeVoiceVisible"
|
|
|
|
+ @close="closeChangeVoice"
|
|
|
|
+ destroy-on-close
|
|
|
|
+ width="500px"
|
|
|
|
+ >
|
|
|
|
+ <changeVoice @close="closeChangeVoice" @submited="closeChangeVoice" :detail="rowDetail"/>
|
|
|
|
+ </el-dialog>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
<script>
|
|
<script>
|
|
@@ -521,15 +532,19 @@ import load from '@/utils/loading'
|
|
import qs from 'qs'
|
|
import qs from 'qs'
|
|
import { permission } from "@/utils/directivePage";
|
|
import { permission } from "@/utils/directivePage";
|
|
import cleanDeep from 'clean-deep'
|
|
import cleanDeep from 'clean-deep'
|
|
|
|
+import changeVoice from './modals/change-voice'
|
|
export default {
|
|
export default {
|
|
name: 'signupList',
|
|
name: 'signupList',
|
|
components: {
|
|
components: {
|
|
- pagination
|
|
|
|
|
|
+ pagination,
|
|
|
|
+ changeVoice,
|
|
},
|
|
},
|
|
data () {
|
|
data () {
|
|
return {
|
|
return {
|
|
multipleSelection: [], //
|
|
multipleSelection: [], //
|
|
isEdit: false,
|
|
isEdit: false,
|
|
|
|
+ rowDetail: null,
|
|
|
|
+ changeVoiceVisible: false,
|
|
subjectVisible: false,
|
|
subjectVisible: false,
|
|
orderVisible: false,
|
|
orderVisible: false,
|
|
quitVisible: false,
|
|
quitVisible: false,
|
|
@@ -1084,6 +1099,14 @@ export default {
|
|
this.visitForm.studentId = row.studentId
|
|
this.visitForm.studentId = row.studentId
|
|
this.visitVisiable = true;
|
|
this.visitVisiable = true;
|
|
},
|
|
},
|
|
|
|
+ openChangeVoice(row) {
|
|
|
|
+ this.changeVoiceVisible = true
|
|
|
|
+ this.rowDetail = row
|
|
|
|
+ },
|
|
|
|
+ closeChangeVoice() {
|
|
|
|
+ this.changeVoiceVisible = false
|
|
|
|
+ this.rowDetail = null
|
|
|
|
+ },
|
|
handleChange (val) {
|
|
handleChange (val) {
|
|
this.visitForm.type = val[0]
|
|
this.visitForm.type = val[0]
|
|
this.visitForm.purpose = val[1]
|
|
this.visitForm.purpose = val[1]
|