功能修改

main
王家东 7 months ago
parent d7750d996c
commit 579ae30886
  1. 11
      ant-design-vue-jeecg/src/config/router.config.js
  2. 4
      ant-design-vue-jeecg/src/views/course/SeChapter1List.vue
  3. 10
      ant-design-vue-jeecg/src/views/course/SeCourseList.vue
  4. 12
      ant-design-vue-jeecg/src/views/course/modules/SeCoursechapterPointModal.vue

@ -364,6 +364,17 @@ export const constantRouterMap = [
path: '/modules/SeCourseView',
component: () => import(/* webpackChunkName: "fail" */ '@/views/course/modules/SeCourseView')
},
{
path: '/modules/yjjk/courseGoal',
component: () => import(/* webpackChunkName: "fail" */ '@/views/course/modules/yjjk/courseGoal')
},
{
path: '/course/AddCourse',
component: () => import(/* webpackChunkName: "fail" */ '@/views/course/AddCourse')
},
{

@ -82,8 +82,8 @@
</template>
<span slot="action" slot-scope="text, record">
<!-- <a @click="handleShow(record)" v-if="record.pid!=0">知识点</a> <a-divider v-if="record.pid!=0" type="vertical"/>-->
<a @click="handleShow(record)" >知识点</a> <a-divider v-if="record.pid!=0" type="vertical"/>
<a @click="handleShow(record)" v-if="record.pid!=0">知识点</a> <a-divider v-if="record.pid!=0" type="vertical"/>
<!-- <a @click="handleShow(record)" >知识点</a> <a-divider v-if="record.pid!=0" type="vertical"/>-->
</a-popconfirm> <a-divider type="vertical"/>
<!-- {{record}} -->
<a @click="handleAddObj1(record)" v-if="record.pid==0">修改</a>

@ -106,8 +106,8 @@
</template>
<span slot="action" slot-scope="text, record">
<a @click="tojk(record)">建课</a>
<a-divider type="vertical" />
<!-- <a @click="tojk(record)">建课</a>
<a-divider type="vertical" />-->
<a @click="handleEdit1(record)">编辑</a>
<a-divider type="vertical" />
<!-- 修改 -->
@ -440,7 +440,7 @@ export default {
},
showkcbz(record) {
this.$router.push({
path:'/src/view/course/SeCourseView',
path:'/modules/SeCourseView',
query:record
})
// this.$refs.course.edit(record);
@ -453,7 +453,7 @@ export default {
this.$set(record,"showButton",true)
this.pagedOld.title = '编辑'
this.$router.push({
path: '/src/views/course/AddCourse',
path: '/course/AddCourse',
})
// this.$refs.modalForm.edit(record)
// this.$refs.modalForm.title = ''
@ -505,7 +505,7 @@ export default {
majorid_dictText: r.majorid_dictText,
name: r.name,
programid_dictText: r.programid_dictText })
this.$router.push({ path: '/src/views/course/modules/yjjk/courseGoal', query: r })
this.$router.push({ path: '/modules/yjjk/courseGoal', query: r })
},
show(record) {

@ -18,7 +18,7 @@
dest-fields="know,knowid"
:field="getPopupField('know,knowid')"
:multi="false"/>
<el-button style="margin:10px" type="primary" @click="addZjKnow">添加</el-button>
<a-button style="margin:10px" type="primary" @click="addZjKnow()">添加</a-button>
<a-table
ref="table"
size="middle"
@ -38,6 +38,8 @@
</a-table>
</j-modal>
</template>
<script>
@ -135,9 +137,9 @@ import { JeecgListMixin } from '@/mixins/JeecgListMixin'
});
console.log(111111)
console.log(this.model)
/*this.$nextTick(() => {
this.$nextTick(() => {
this.form.setFieldsValue(pick(this.model, 'img', 'depid', 'majorid', 'category', 'nature', 'programid', 'name', 'code', 'semester', 'credit', 'classhours', 'theoryhours', 'practicehours', 'experimenthours', 'otherhours', 'weeks', 'assessmenttype', 'assessmentway', 'advancedplacement', 'teacher', 'maker', 'writer', 'teachingandoffice', 'verifier', 'teacherway', 'teachermethod', 'assessmentrules', 'contentdistribution', 'achievement'))
})*/
})
},
close() {
this.$emit('close');
@ -191,8 +193,8 @@ import { JeecgListMixin } from '@/mixins/JeecgListMixin'
},
// addZjKnow
addZjKnow(){
console.log(this.model); // queryParam
console.log(queryParam);
}
}

Loading…
Cancel
Save