|
@@ -77,7 +77,19 @@
|
|
|
</van-tab>
|
|
|
<van-tab title="申请评分">
|
|
|
<van-col :span="24">
|
|
|
- <van-field v-model="isxf" name="isxf" left-icon="star-o" label="学分" type="number" placeholder="请填写需要授予学分" />
|
|
|
+ <van-field v-model="form.hosname" left-icon="wap-home-o" name="hosname" label="单位" placeholder="请填写单位名称" />
|
|
|
+ </van-col>
|
|
|
+ <van-col :span="24">
|
|
|
+ <van-field v-model="form.deptname" left-icon="apps-o" name="deptname" label="科室" placeholder="请填写科室名称" />
|
|
|
+ </van-col>
|
|
|
+ <van-col :span="24">
|
|
|
+ <van-field v-model="form.level" left-icon="gem-o" name="level" label="职称" placeholder="请填写职称" />
|
|
|
+ </van-col>
|
|
|
+ <van-col :span="24">
|
|
|
+ <van-field v-model="form.major" left-icon="user-o" name="major" label="专业" placeholder="请填写专业" />
|
|
|
+ </van-col>
|
|
|
+ <van-col :span="24">
|
|
|
+ <van-field v-model="form.isxf" name="isxf" left-icon="star-o" label="学分" type="number" placeholder="请填写需要授予学分" />
|
|
|
</van-col>
|
|
|
<van-col :span="24" style="text-align:center">
|
|
|
<van-button icon="star-o" type="primary" @click="sqClick">
|
|
@@ -164,7 +176,7 @@ export default {
|
|
|
lvideoid_: '',
|
|
|
rvideoid_: '',
|
|
|
userList: [],
|
|
|
- isxf: '',
|
|
|
+ form: {},
|
|
|
showQuest: false,
|
|
|
queid: '',
|
|
|
questInfo: {},
|
|
@@ -278,11 +290,9 @@ export default {
|
|
|
const res = await this.lookrecord(data);
|
|
|
},
|
|
|
async sqClick() {
|
|
|
- let data = {};
|
|
|
- data.roomid = this.id;
|
|
|
- data.isxf = this.isxf;
|
|
|
- data.userid = this.user.uid;
|
|
|
- const res = await this.lookupdate(data);
|
|
|
+ this.form.roomid = this.id;
|
|
|
+ this.form.userid = this.user.uid;
|
|
|
+ const res = await this.lookupdate(this.form);
|
|
|
if (this.$checkRes(res)) {
|
|
|
console.log(res.data);
|
|
|
this.$message({
|
|
@@ -523,7 +533,6 @@ export default {
|
|
|
if (result.data.switchzjr) {
|
|
|
this.swichzjrid = result.data.switchzjr;
|
|
|
this.swichzjrstatus = true;
|
|
|
- this.swichzjrVideo(result.data.switchzjr);
|
|
|
}
|
|
|
// 根据房间信息判断是否回答问卷
|
|
|
if (result.data.isque === '1') {
|
|
@@ -635,6 +644,9 @@ export default {
|
|
|
this.rvideoid_ = 'video_' + remoteStream.getId();
|
|
|
const newdata_ = { strem: remoteStream, type: 'other', switchzjrid: userid_zs };
|
|
|
this.stremOtherlist.push(newdata_);
|
|
|
+ if (this.swichzjrid) {
|
|
|
+ this.swichzjrVideo(userid_zs);
|
|
|
+ }
|
|
|
} else if (useridsplit_ === 'meetu') {
|
|
|
console.log('333');
|
|
|
console.log('公众号进入画面' + this.index_);
|