Commit a99e2d9d authored by 黄奎's avatar 黄奎

页面修改

parent 8c5cf525
...@@ -221,7 +221,9 @@ ...@@ -221,7 +221,9 @@
</template> </template>
<script> <script>
import { import {
getStudentPage getStudentPage,
saveStudent,
getStudentInfo,
} from "../../api/school"; } from "../../api/school";
import { import {
getGuestBasicsEnumList getGuestBasicsEnumList
...@@ -335,7 +337,6 @@ ...@@ -335,7 +337,6 @@
isShowEdit: true, //是否显示编辑按钮【默认显示】 isShowEdit: true, //是否显示编辑按钮【默认显示】
}, },
rules: { //表单必填验证 rules: { //表单必填验证
Name: [{ Name: [{
required: true, required: true,
...@@ -414,7 +415,6 @@ ...@@ -414,7 +415,6 @@
return false; return false;
} }
}); });
}, },
//初始化权限信息 //初始化权限信息
initAuth() { initAuth() {
......
...@@ -67,6 +67,10 @@ ...@@ -67,6 +67,10 @@
<div class="StuCom_Left">反馈</div> <div class="StuCom_Left">反馈</div>
<div class="StuCom_Inner">{{tItem.Feedback}} </div> <div class="StuCom_Inner">{{tItem.Feedback}} </div>
</div> </div>
<div class="StuCom_Remark">
<div class="StuCom_Left">是否到访</div>
<div class="StuCom_Inner">{{tItem.IsVisitStr}} </div>
</div>
</div> </div>
<div style="display:flex;margin-top:10px;"> <div style="display:flex;margin-top:10px;">
<div @click="delVisit(tItem.Id)" class="visit_delete text-negative">删除</div> <div @click="delVisit(tItem.Id)" class="visit_delete text-negative">删除</div>
...@@ -79,6 +83,10 @@ ...@@ -79,6 +83,10 @@
class="col-12 q-pb-lg" label="反馈"> class="col-12 q-pb-lg" label="反馈">
</q-input> </q-input>
</div> </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;"> <div class="row wrap" style="float:right;margin-bottom:10px;">
<q-btn label="保存" color="accent" size="sm" @click="SetFeedBack()" /> <q-btn label="保存" color="accent" size="sm" @click="SetFeedBack()" />
</div> </div>
...@@ -157,6 +165,7 @@ ...@@ -157,6 +165,7 @@
//反馈信息 //反馈信息
feedBackMsg: { feedBackMsg: {
Id: 0, //编号 Id: 0, //编号
IsVisit: 0, //到访状态(1-已到访,0-未到访)
Feedback: '' //反馈 Feedback: '' //反馈
} }
} }
...@@ -191,6 +200,7 @@ ...@@ -191,6 +200,7 @@
this.getList(); this.getList();
this.feedBackMsg.Id = 0; this.feedBackMsg.Id = 0;
this.feedBackMsg.Feedback = ""; this.feedBackMsg.Feedback = "";
this.feedBackMsg.IsVisit = 0;
this.isShowEdit = false; this.isShowEdit = false;
} }
}); });
...@@ -296,5 +306,4 @@ ...@@ -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