Commit dc0e7495 authored by zhengke's avatar zhengke

修改

parent cc2f0c68
......@@ -273,7 +273,7 @@
this.refreshPage();
},
refreshPage() {
this.$emit('refreshPage');
this.$emit('success');
},
//点击编辑 跳转
goExameEdit(item) {
......
......@@ -54,7 +54,9 @@
initObj() {
if (this.saveObj) {
this.objOption.PaperIds.push(this.saveObj.PaperId);
this.objOption.IsOpen=this.saveObj.IsOpen;
if(this.saveObj.IsOpen>0){
this.objOption.IsOpen=this.saveObj.IsOpen;
}
}
this.optionTitle = "修改试卷开放权限"
},
......
This diff is collapsed.
......@@ -103,7 +103,7 @@
<span v-if="index!=navList.length-1" :key="index">></span>
</template>
</div>
<examPaperForm :dataList="dataList" ref="examPaper" :msg="msg" :loading="loading" @refreshPage="refreshPage"></examPaperForm>
<examPaperForm :dataList="dataList" ref="examPaper" :msg="msg" :loading="loading" @success="refreshPage"></examPaperForm>
<q-pagination class="full-width justify-end" v-model="msg.pageIndex" color="primary" :max="pageCount"
:input="true" @input="changePage" />
</div>
......
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