转审修改

This commit is contained in:
zhaofang
2022-06-10 18:19:02 +08:00
parent c0e88ada5c
commit 0bd7396fe6
2 changed files with 11 additions and 13 deletions

View File

@@ -170,12 +170,12 @@
</div> </div>
</div> </div>
<div style="border-top: 1px solid #eee; background-color: #eee; padding: 10px 20px;margin-top: 10px;"> <div style="border-top: 1px solid #eee; background-color: #eee; padding: 10px 20px;margin-top: 10px;">
<div v-for="item in examin.audit" :key="item.id" style="line-height: 36px;"> <div style="line-height: 36px;">
<div style="display:flex;"> <div style="display:flex;">
<div style="flex:1;"><span class="audit-text">转审人</span>{{item.sysCreateBy}}</div> <div style="flex:1;"><span class="audit-text">转审人</span>{{audit.sysCreateBy}}</div>
<div style="flex:1;"><span class="audit-text">转审时间</span>{{item.sysCreateTime}}</div> <div style="flex:1;"><span class="audit-text">转审时间</span>{{audit.sysCreateTime}}</div>
</div> </div>
<p><span class="audit-text">转审说明</span>{{item.auditRemark}}</p> <p><span class="audit-text">转审说明</span>{{audit.auditRemark}}</p>
</div> </div>
</div> </div>
<span slot="footer" class="dialog-footer"> <span slot="footer" class="dialog-footer">
@@ -221,11 +221,11 @@ export default {
sysTypeListMap:[], sysTypeListMap:[],
resOwnerListMap:[], resOwnerListMap:[],
showDetails:false, showDetails:false,
audit:{},
examin:{ examin:{
detailType: '', detailType: '',
examineId: '', examineId: '',
examineName: '', examineName: '',
audit:[],
}, },
paperJson:{items:[]}, paperJson:{items:[]},
courseType: courseType, courseType: courseType,
@@ -423,7 +423,7 @@ export default {
window.open(this.webBaseUrl+routeData.href, '_blank'); window.open(this.webBaseUrl+routeData.href, '_blank');
}, },
toExamine(row) { toExamine(row) {
console.log(row,'row'); this.audit = {};
this.examin.detailType = row.type; this.examin.detailType = row.type;
this.examin.examineId = row.id; this.examin.examineId = row.id;
this.examin.examineName = row.name; this.examin.examineName = row.name;
@@ -431,7 +431,7 @@ export default {
this.dialogVisible = true; this.dialogVisible = true;
apiCourse.getAuditInfo({courseId:row.id}).then(res=>{ apiCourse.getAuditInfo({courseId:row.id}).then(res=>{
if(res.status == 200) { if(res.status == 200) {
this.examin.audit = res.result; this.audit = res.result[0];
} else { } else {
this.$message.error(res.message); this.$message.error(res.message);
} }

View File

@@ -192,16 +192,14 @@
</el-input> </el-input>
</el-form-item> </el-form-item>
</el-form> </el-form>
<div style="padding: 0px 20px;height:60px;overflow-y: auto;margin-bottom: 20px;"> <div style="padding: 0px 20px 0 100px;height:60px;overflow-y: auto;margin-bottom: 20px;">
<!-- <el-checkbox-group v-model="selectedTeacher"> <el-radio-group v-model="selectedTeacher" v-if="teacherInfo.list.length > 0">
<el-checkbox v-for="(u,uidx) in teacherInfo.list" :key="uidx" :label="u.aid">{{u.name+'('+u.code+')'}}</el-checkbox>
</el-checkbox-group> -->
<el-radio-group v-model="selectedTeacher">
<el-radio v-for="(u,uidx) in teacherInfo.list" :key="uidx" :label="u.aid">{{u.name+'('+u.code+')'}}</el-radio> <el-radio v-for="(u,uidx) in teacherInfo.list" :key="uidx" :label="u.aid">{{u.name+'('+u.code+')'}}</el-radio>
</el-radio-group> </el-radio-group>
<span v-else>请先搜索教师,再选择</span>
</div> </div>
<div style="padding-left: 20px;display:flex;"> <div style="padding-left: 20px;display:flex;">
<div style="width:100px;font-size: 14px;color: #606266;font-weight: 700;">说明</div> <div style="width:84px;font-size: 14px;color: #606266;font-weight: 700;text-align: right;margin-right: 12px;margin-top: 10px;">说明</div>
<el-input type="textarea" :rows="2" placeholder="请输入内容" v-model="referralData.remark" maxlength="200" show-word-limit></el-input> <el-input type="textarea" :rows="2" placeholder="请输入内容" v-model="referralData.remark" maxlength="200" show-word-limit></el-input>
</div> </div>
</div> </div>