树形结构暂时改为下拉框结构

master
Gitea 2 years ago
parent 12f87a784a
commit ce5383d68d
  1. 10
      ant-design-vue-jeecg/src/views/team/modules/GroupxModal.vue
  2. 8
      ant-design-vue-jeecg/src/views/team/modules/StationModal.vue

@ -11,14 +11,14 @@
<a-spin :spinning="confirmLoading"> <a-spin :spinning="confirmLoading">
<a-form-model ref="form" :model="model" :rules="validatorRules"> <a-form-model ref="form" :model="model" :rules="validatorRules">
<a-form-model-item :labelCol="labelCol" :wrapperCol="wrapperCol" prop="departId" label="部门"> <a-form-model-item :labelCol="labelCol" :wrapperCol="wrapperCol" prop="departId" label="车间名称">
<!-- <a-input placeholder="请输入部门编号" v-model="model.departId"/>--> <!-- <a-input placeholder="请输入部门编号" v-model="model.departId"/>-->
<!-- <j-select-depart placeholder="请选择部门" v-model="model.departId"/>--> <!-- <j-select-depart placeholder="请选择部门" v-model="model.departId"/>-->
<!-- <j-dict-select-tag type="list" v-model="model.departId" dictCode="sys_depart,depart_name,id,org_category='2'"--> <!-- <j-dict-select-tag type="list" v-model="model.departId" dictCode="sys_depart,depart_name,id,org_category='2'"-->
<!-- @change="getEnterprisesManagerValChange()"--> <!-- @change="getEnterprisesManagerValChange()"-->
<!-- placeholder="请选择部门"/>--> <!-- placeholder="请选择部门"/>-->
<j-tree-select v-model="model.departId" <!-- <j-tree-select v-model="model.departId"
dict="sys_depart,depart_name,id" dict="sys_depart,depart_name,id"
pidField="parent_id" pidField="parent_id"
placeholder="请选择车间" placeholder="请选择车间"
@ -26,7 +26,11 @@
hasChildField="1" hasChildField="1"
@change="getEnterprisesManagerValChange()" @change="getEnterprisesManagerValChange()"
> >
</j-tree-select> </j-tree-select>-->
<j-dict-select-tag type="list" v-model="model.departId"
dictCode="sys_depart,depart_name,id,org_category='2'"
placeholder="请选择车间"/>
</a-form-model-item> </a-form-model-item>
<a-form-model-item :labelCol="labelCol" :wrapperCol="wrapperCol" prop="groupName" label="班组名称"> <a-form-model-item :labelCol="labelCol" :wrapperCol="wrapperCol" prop="groupName" label="班组名称">

@ -16,14 +16,18 @@
<a-form-model-item :labelCol="labelCol" :wrapperCol="wrapperCol" prop="departId" label="车间名称"> <a-form-model-item :labelCol="labelCol" :wrapperCol="wrapperCol" prop="departId" label="车间名称">
<!-- <j-dict-select-tag type="list" v-model="model.departId" dictCode="sys_depart,depart_name,id,org_category='2'" placeholder="请选择车间" />--> <!-- <j-dict-select-tag type="list" v-model="model.departId" dictCode="sys_depart,depart_name,id,org_category='2'" placeholder="请选择车间" />-->
<j-tree-select v-model="model.departId" <!-- <j-tree-select v-model="model.departId"
dict="sys_depart,depart_name,id" dict="sys_depart,depart_name,id"
pidField="parent_id" pidField="parent_id"
placeholder="请选择车间" placeholder="请选择车间"
condition='{"org_category":"2"}' condition='{"org_category":"2"}'
hasChildField="1" hasChildField="1"
> >
</j-tree-select> </j-tree-select>-->
<j-dict-select-tag type="list" v-model="model.departId"
dictCode="sys_depart,depart_name,id,org_category='2'"
placeholder="请选择车间"/>
</a-form-model-item> </a-form-model-item>
<a-form-model-item :labelCol="labelCol" :wrapperCol="wrapperCol" prop="stationName" label="工位名称"> <a-form-model-item :labelCol="labelCol" :wrapperCol="wrapperCol" prop="stationName" label="工位名称">

Loading…
Cancel
Save