任务类型管理 问题修改

master
zhc077 2 years ago
parent 824bc551aa
commit db7b6df422
  1. 15
      ant-design-vue-jeecg/src/views/cms/admin/modules/CmsArticleForm.vue
  2. 3
      ant-design-vue-jeecg/src/views/task/modules/TaskForm.vue
  3. 3
      jeecg-boot/jeecg-boot-module-cms/src/main/java/org/jeecg/modules/cms/admin/controller/CmsColumnController.java

@ -26,9 +26,18 @@
</a-col>
<a-col :span="24">
<a-form-model-item label="内容" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="content">
<j-editor style='width: 100%;' v-model="model.content" />
</a-form-model-item>
<!-- <a-form-model-item label="内容" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="content">-->
<!-- <j-editor style='width: 100%;' v-model="model.content" />-->
<!-- </a-form-model-item>-->
<el-input
:rows="8"
type="textarea"
placeholder="请输入内容"
v-model="content"
maxlength="300"
show-word-limit
style="width: 200%">
</el-input>
</a-col>
</a-row>
</a-form-model>

@ -133,10 +133,9 @@
<!-- <a-form-model-item label="任务描述" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="taskDescribe">-->
<!-- <j-editor style='width: 100%;' v-model="model.taskDescribe" />-->
<!-- </a-form-model-item>-->
<a-form-item label="课程简介" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-form-item label="任务描述" :labelCol="labelCol" :wrapperCol="wrapperCol">
<!-- <j-editor style="width: 200%" v-decorator="['synopsis', { trigger: 'input' }]" /> -->
<!-- 修改 -->
<el-input
:rows="8"
type="textarea"

@ -199,7 +199,8 @@ public class CmsColumnController extends JeecgController<CmsColumn, ICmsColumnSe
if (count > 0) {
throw new JeecgBootException("存在子栏目暂不可删除");
}
cmsColumnService.deleteCmsColumn(id);
// cmsColumnService.deleteCmsColumn(id);
cmsColumnService.removeById(id);
return Result.OK("删除成功!");
}

Loading…
Cancel
Save