|
@@ -7,10 +7,10 @@
|
|
|
<div class="container normal-panel normal-margin">
|
|
|
<div style="display:flex;justify-content: space-between;">
|
|
|
<p class="normal-title normal-margin" style="line-height:32px">课程设置</p>
|
|
|
- <div v-if="!store.state.pageOnlyRead">
|
|
|
+<!-- <div v-if="!store.state.pageOnlyRead">
|
|
|
<el-button type="warning" size="small" icon="el-icon-s-claim" @click="onSubmit((res)=>tool.showMessage(res))"
|
|
|
:loading="store.state.loading">保 存</el-button>
|
|
|
- </div>
|
|
|
+ </div>-->
|
|
|
</div>
|
|
|
<el-row :gutter="20">
|
|
|
<el-form :model="form" :rules="rules" ref="form" size="small" status-icon label-position="right"
|
|
@@ -84,6 +84,15 @@
|
|
|
@onChecked="onChecked"></scopeOfauth>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
+ <div class="fixed__btn__panel">
|
|
|
+ <el-button @click="onBack" v-if="$route.query.type === '1'" class="normal-btn-width" size="small">取 消</el-button>
|
|
|
+ <el-button size="small" v-if="$route.query.type !== '1'" @click="$store.dispatch('DrawerShowChange',false)" class="normal-btn-width">取 消</el-button>
|
|
|
+<!-- <el-button size="small" type="primary" @click="onSubmit" class="normal-btn-width">确 定</el-button>-->
|
|
|
+<!-- <el-button type="primary" size="small" icon="el-icon-s-claim" @click="onSubmit((res)=>tool.showMessage(res))"
|
|
|
+ :loading="store.state.loading">确 定</el-button>-->
|
|
|
+ <el-button type="primary" size="small" class="normal-btn-width" @click="onSubmit((res)=>tool.showMessage(res))"
|
|
|
+ :loading="store.state.loading">确 定</el-button>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -238,6 +247,10 @@ export default {
|
|
|
})
|
|
|
this.defaultData = res.data
|
|
|
},
|
|
|
+ onBack(){
|
|
|
+ window.sessionStorage.setItem('newMaterial', JSON.stringify(this.detailData))
|
|
|
+ this.$router.push({path:'/archives_scdetails',query:{id:this.$route.query.id}})
|
|
|
+ }
|
|
|
},
|
|
|
created() {
|
|
|
this.tool.checkAuth(this.$route.name, 'data_analysis') ? '' : this.$router.go(-1);
|