Commit dc0e7495 authored by zhengke's avatar zhengke

修改

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