Commit da25d061 authored by 吴春's avatar 吴春

优化问卷调查

parent f99cd315
......@@ -98,9 +98,17 @@
methods: {
delSurveyOptions(index){
this.objOption.SurveyOptionsList.splice(index, 1);
if(this.objOption&&this.objOption.SurveyOptionsList&&this.objOption.SurveyOptionsList.length>0){
this.objOption.SurveyOptionsList.forEach((item,index) => {
item.Sort=index+1;
});
}
},
addSurveyOptions(){
this.objOption.SurveyOptionsList.push(JSON.parse(JSON.stringify(this.SurveyOptionsItem)));
this.objOption.SurveyOptionsList.forEach((item,index) => {
item.Sort=index+1;
});
},
//获取类型列表
......
......@@ -26,7 +26,7 @@
<div class="col-2 q-table__title">问卷调查信息</div>
<q-space />
<div class="page-option">
<q-btn push flat color="accent" class="q-mr-md bg-accent text-white" icon="edit" label="问卷调查" size="sm" @click="getStudentSurveyImg()">
<q-btn push flat color="accent" class="q-mr-md bg-accent text-white" icon="edit" label="问卷调查二维码" size="sm" @click="getStudentSurveyImg()">
<q-popup-proxy>
<div style="width:185px;padding:10px;border-radius:8px">
......
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