Commit b1120d2a authored by zhengke's avatar zhengke

修改

parent 0360d9d1
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
</div> </div>
<q-space /> <q-space />
<div class="page-option"> <div class="page-option">
<q-btn color="accent" size="sm" class="q-mr-md" @click="isShowClassForm=true" label="全部重排" /> <q-btn color="accent" size="sm" class="q-mr-md" @click="rePaiAll" label="全部重排" />
<q-select filled stack-label style="display:inline-block;width:150px;" option-value="Id" <q-select filled stack-label style="display:inline-block;width:150px;" option-value="Id"
option-label="Name" v-model="postMsg.ChangeType" :options="changeTypeList" label="变更类型" :dense="false" option-label="Name" v-model="postMsg.ChangeType" :options="changeTypeList" label="变更类型" :dense="false"
class="col-6" emit-value map-options /> class="col-6" emit-value map-options />
...@@ -365,6 +365,11 @@ ...@@ -365,6 +365,11 @@
this.getList(); this.getList();
}, },
methods: { methods: {
//点击全部重排
rePaiAll(){
console.log('进入');
this.$emit('getzk');
},
//点击新增上课时间段 //点击新增上课时间段
addStepOne(item) { addStepOne(item) {
var obj = { var obj = {
...@@ -467,10 +472,6 @@ ...@@ -467,10 +472,6 @@
}) })
}, },
//关闭弹窗
closeClassSaveForm() {
this.isShowClassForm = false;
},
//刷新页面 //刷新页面
refreshPage() { refreshPage() {
this.isShowClassForm = false; this.isShowClassForm = false;
......
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
@success="refreshPage"> @success="refreshPage">
</othercourseForm> </othercourseForm>
<classconflict-form :ClassId="ClassId" v-if="isShowConflict" @close="closeClassConflictForm" <classconflict-form :ClassId="ClassId" v-if="isShowConflict" @close="closeClassConflictForm"
@success="refreshPage"></classconflict-form> @getzk="getzk" @success="refreshPage"></classconflict-form>
</div> </div>
</div> </div>
</template> </template>
...@@ -238,6 +238,12 @@ ...@@ -238,6 +238,12 @@
this.isShowConflict = true; this.isShowConflict = true;
this.ClassId = ClassId; this.ClassId = ClassId;
}, },
//点击全部重排
getzk(){
console.log('进入2');
this.isShowConflict = false;
this.isShowClassForm = true;
},
//删除班级 //删除班级
removeClass(item, status) { removeClass(item, status) {
let delMsg = { let delMsg = {
......
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