Commit a99e2d9d authored by 黄奎's avatar 黄奎

页面修改

parent 8c5cf525
......@@ -221,7 +221,9 @@
</template>
<script>
import {
getStudentPage
getStudentPage,
saveStudent,
getStudentInfo,
} from "../../api/school";
import {
getGuestBasicsEnumList
......@@ -335,7 +337,6 @@
isShowEdit: true, //是否显示编辑按钮【默认显示】
},
rules: { //表单必填验证
Name: [{
required: true,
......@@ -414,7 +415,6 @@
return false;
}
});
},
//初始化权限信息
initAuth() {
......
......@@ -67,6 +67,10 @@
<div class="StuCom_Left">反馈</div>
<div class="StuCom_Inner">{{tItem.Feedback}} </div>
</div>
<div class="StuCom_Remark">
<div class="StuCom_Left">是否到访</div>
<div class="StuCom_Inner">{{tItem.IsVisitStr}} </div>
</div>
</div>
<div style="display:flex;margin-top:10px;">
<div @click="delVisit(tItem.Id)" class="visit_delete text-negative">删除</div>
......@@ -79,6 +83,10 @@
class="col-12 q-pb-lg" label="反馈">
</q-input>
</div>
<div class="row wrap" style="margin-top:10px;width:300px;">
<q-radio v-model="feedBackMsg.IsVisit" :val="0" label="未到访" />
<q-radio v-model="feedBackMsg.IsVisit" :val="1" label="已到访" />
</div>
<div class="row wrap" style="float:right;margin-bottom:10px;">
<q-btn label="保存" color="accent" size="sm" @click="SetFeedBack()" />
</div>
......@@ -157,6 +165,7 @@
//反馈信息
feedBackMsg: {
Id: 0, //编号
IsVisit: 0, //到访状态(1-已到访,0-未到访)
Feedback: '' //反馈
}
}
......@@ -191,6 +200,7 @@
this.getList();
this.feedBackMsg.Id = 0;
this.feedBackMsg.Feedback = "";
this.feedBackMsg.IsVisit = 0;
this.isShowEdit = false;
}
});
......@@ -296,5 +306,4 @@
}
},
}
</script>
</script>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment