任务管理 问题修改 6.20

master
zhc077 1 year ago
parent cc41bcc9e9
commit 0c87c1beb6
  1. 29
      ant-design-vue-jeecg/src/views/task/modules/TaskForm.vue

@ -12,19 +12,18 @@
</a-col>
<a-col :span="24">
<a-form-model-item label="任务层级" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="level">
<j-dict-select-tag v-model="model.level" placeholder="请选择任务层级"
dict-code="task_type_level" style="width: 100%">
</j-dict-select-tag>
<!-- <j-dict-select-tag v-model="model.level" type="radio" style="width: 100%" dictCode="task_type_level"/>-->
<!-- <j-dict-select-tag v-model="model.level" placeholder="请选择任务层级"-->
<!-- dict-code="task_type_level" style="width: 100%">-->
<!-- </j-dict-select-tag>-->
<j-dict-select-tag v-model="model.level" type="radio" style="width: 100%" dictCode="task_type_level"/>
</a-form-model-item>
</a-col>
<a-col :span="24">
<a-form-model-item label="任务类型" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="typeId">
<j-dict-select-tag v-model="model.typeId" placeholder="请选择任务类型"
dict-code="task_type,type_name,id" :disabled="model.level==null"
>
</j-dict-select-tag>
<!-- <j-dict-select-tag v-model="model.typeId" placeholder="请选择任务类型"-->
<!-- dict-code="task_type,type_name,id" :disabled="model.level==null">-->
<!-- </j-dict-select-tag>-->
<j-dict-select-tag v-model="model.typeId" type="radio" style="width: 100%" dict-code="task_type,type_name,id"/>
</a-form-model-item>
</a-col>
<a-col :span="24">
@ -75,7 +74,7 @@
<a-col :span="24">
<a-form-model-item label="任务等级" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="workLevel">
<!-- <a-input-number :min="1" :max="16" v-model="model.workLevel" placeholder="请输入任务等级" style="width: 100%" />-->
<j-dict-select-tag v-model="model.workLevel" placeholder="请选择任务等级"
<j-dict-select-tag v-model="model.workLevel" type="radio" placeholder="请选择任务等级"
dict-code="workLevel" style="width: 100%">
</j-dict-select-tag>
</a-form-model-item>
@ -84,7 +83,7 @@
<a-col :span="24">
<a-form-model-item label="任务状态" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="workStatus">
<!-- <a-input-number :min="1" :max="16" v-model="model.workStatus" placeholder="请输入任务状态" style="width: 100%" />-->
<j-dict-select-tag v-model="model.workStatus" dict-code="task_work_status"
<j-dict-select-tag v-model="model.workStatus" type="radio" dict-code="task_work_status"
placeholder="请选择任务状态" style="width: 100%"/>
</a-form-model-item>
</a-col>
@ -126,13 +125,13 @@
<j-image-upload bizPath="scott/pic" v-model="model.taskPic"></j-image-upload>
</a-form-model-item>
</a-col>
</a-row>
<a-row>
<a-col :span="24">
<a-form-model-item label="任务描述" style="width: 700px" prop="taskDescribe">
<a-input type="textarea" v-model="model.taskDescribe" :rows="5"/>
<!-- <a-input type="textarea" v-model="form.reason" :rows="4" />-->
<a-input type="textarea" v-model="model.taskDescribe" :rows="2"/>
</a-form-model-item>
</a-col>
</a-col>
</a-row>
</a-form-model>
</j-form-container>

Loading…
Cancel
Save