|
|
|
@ -29,9 +29,12 @@ |
|
|
|
|
</a-form-model-item> |
|
|
|
|
</a-col> |
|
|
|
|
<a-col :span="24"> |
|
|
|
|
<a-form-model-item label="责任人" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="managerUsers"> |
|
|
|
|
<j-multi-select-tag type="list_multi" v-model="model.managerUsers" dictCode="sys_user,realname,id" placeholder="请选择责任人"/> |
|
|
|
|
<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" type="radio" placeholder="请选择任务等级" dict-code="workLevel" style="width: 100%"> |
|
|
|
|
</j-dict-select-tag> |
|
|
|
|
</a-form-model-item> |
|
|
|
|
|
|
|
|
|
</a-col> |
|
|
|
|
</a-row> |
|
|
|
|
<a-row> |
|
|
|
@ -45,8 +48,8 @@ |
|
|
|
|
<a-col > |
|
|
|
|
<a-form-model-item label="任务类型" :labelCol="labelCol1" :wrapperCol="wrapperCol1" prop="typeId"> |
|
|
|
|
<!-- <j-dict-select-tag v-model="model.typeId" type="radio" style="width: 100%" dict-code="task_type,type_name,id"/> --> |
|
|
|
|
<div v-for="item in options" :key="item.id"> |
|
|
|
|
<span style="margin-right: 10px;">{{ item.type_Name }} </span> |
|
|
|
|
<div v-for="item in options" :key="item.id" > |
|
|
|
|
<span style="margin-right: 10px;" >{{ item.type_Name }} </span> |
|
|
|
|
<a-radio-group v-model="model.typeId" :key="`children-${item.id}`"> |
|
|
|
|
<a-radio v-for="child in item.children" :key="child.id" :value="child.id"> |
|
|
|
|
<span>{{ child.type_Name }}</span> |
|
|
|
@ -82,12 +85,17 @@ |
|
|
|
|
auto-size /> |
|
|
|
|
</a-form-model-item> |
|
|
|
|
</a-col> |
|
|
|
|
<a-col :span="24"> |
|
|
|
|
<a-form-model-item label="责任人" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="managerUsers"> |
|
|
|
|
<j-multi-select-tag type="list_multi" v-model="model.managerUsers" dictCode="sys_user,realname,id" placeholder="请选择责任人"/> |
|
|
|
|
</a-form-model-item> |
|
|
|
|
</a-col> |
|
|
|
|
<a-col :span="24"> |
|
|
|
|
<a-form-model-item label="模块" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="moduleId"> |
|
|
|
|
<!-- <a-input v-model="model.moduleId" placeholder="请输入模块" modulex,module_name,id></a-input>--> |
|
|
|
|
<j-dict-select-tag v-model="model.moduleId" placeholder="请选择模块" :dict-code="this.modulex" |
|
|
|
|
style="width: 100%" @change="fillModuleName()"></j-dict-select-tag> |
|
|
|
|
<a-button @click="handleAdd3" type="primary" icon="plus">新增模块</a-button> |
|
|
|
|
style="width: 80%" @change="fillModuleName()"></j-dict-select-tag> |
|
|
|
|
<a-button @click="handleAdd3" type="primary" icon="plus" style="width: 20%;"></a-button> |
|
|
|
|
</a-form-model-item> |
|
|
|
|
</a-col> |
|
|
|
|
<a-col :span="24"> |
|
|
|
@ -95,25 +103,17 @@ |
|
|
|
|
<!-- <a-input v-model="model.functionId" placeholder="请输入功能id" functionx,function_name,id></a-input>--> |
|
|
|
|
<j-dict-select-tag v-model="model.functionId" placeholder="请选择功能" |
|
|
|
|
:dict-code="functionx" |
|
|
|
|
style="width: 100%" @change="fillFunctionName()"></j-dict-select-tag> |
|
|
|
|
<a-button @click="handleAdd1" type="primary" icon="plus">新增功能</a-button> |
|
|
|
|
style="width: 80%" @change="fillFunctionName()"></j-dict-select-tag> |
|
|
|
|
<a-button @click="handleAdd1" type="primary" icon="plus" style="width: 20%;" ></a-button> |
|
|
|
|
</a-form-model-item> |
|
|
|
|
</a-col> |
|
|
|
|
<a-col :span="24"> |
|
|
|
|
<a-form-model-item label="规则" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="ruleId"> |
|
|
|
|
<!-- <a-input v-model="model.ruleId" placeholder="请输入规则id" rulex,rule_no,id></a-input>--> |
|
|
|
|
<j-dict-select-tag v-model="model.ruleId" placeholder="请选择规则" :dict-code="rulex" |
|
|
|
|
style="width: 100%"></j-dict-select-tag> |
|
|
|
|
<a-button @click="handleAdd2" type="primary" icon="plus">新增规则</a-button> |
|
|
|
|
</a-form-model-item> |
|
|
|
|
</a-col> |
|
|
|
|
<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" type="radio" placeholder="请选择任务等级" dict-code="workLevel" style="width: 100%"> |
|
|
|
|
</j-dict-select-tag> |
|
|
|
|
style="width: 80%"></j-dict-select-tag> |
|
|
|
|
<a-button @click="handleAdd2" type="primary" icon="plus" style="width: 20%;"></a-button> |
|
|
|
|
</a-form-model-item> |
|
|
|
|
|
|
|
|
|
</a-col> |
|
|
|
|
</a-row> |
|
|
|
|
<a-row> |
|
|
|
|