教师详情核对字段

This commit is contained in:
LAPTOP-S9RBPPM6\bjxask-2201
2022-06-01 18:56:11 +08:00
parent 952de67751
commit 772dc20093
2 changed files with 73 additions and 62 deletions

View File

@@ -159,7 +159,7 @@
:close-on-click-modal="false"
:visible.sync="showTeacherDetails"
width="800px">
<teacher-details v-if="teacherDetailsId != ''" :id="teacherDetailsId"></teacher-details>
<teacher-details v-if="teacherDetailsId != ''" :id="teacherDetailsId" :newId="teacherDetailId"></teacher-details>
<span slot="footer" class="dialog-footer">
<el-button @click="handleCloseOne()"> </el-button>
<!-- <el-button type="primary" @click="showTeacherDetails = false"> </el-button> -->
@@ -180,7 +180,8 @@
components:{imageUpload,teacherDetails},
data(){
return {
teacherDetailsId: '',
teacherDetailId:'',//新数据id
teacherDetailsId: '',// sid
showTeacherDetails:false,
tSystemData:{},
tLevelData:{},
@@ -261,8 +262,9 @@
},
handleName(row) {
this.showTeacherDetails = true;
// this.teacherDetailsId = row.sysId;
this.teacherDetailsId = '13BEBDBD-3D28-244D-648D-0CBD6796717C'
this.teacherDetailsId = row.sysId;
this.teacherDetailId = row.id;
// this.teacherDetailsId = '13BEBDBD-3D28-244D-648D-0CBD6796717C'
},
getTeachersystem() {
teacherBoeApi.teacherSystem(this.userInfo.sysId).then(res=>{