zcy hace 4 años
padre
commit
a6e43cbe80
Se han modificado 2 ficheros con 11 adiciones y 8 borrados
  1. 10 7
      src/views/sys/dept/CheckAndEditModel.vue
  2. 1 1
      src/views/sys/log/index.vue

+ 10 - 7
src/views/sys/dept/CheckAndEditModel.vue

@@ -14,24 +14,26 @@
       <a-form-model-item label="上级部门" prop="parentId">
         <a-tree-select
           v-model="model.parentId"
+          :show-search="true"
           allow-clear
           tree-default-expand-all
           style="width: 100%"
           :tree-data="treeData"
+          tree-node-filter-prop="label"
           :replace-fields="{children:'children', title:'label', key:'id', value: 'id' }"
         />
       </a-form-model-item>
-      <a-form-model-item label="主管人员" prop="leader">
-        <sys-list-select-tag
-          v-model="model.userId"
-          dict-code="user"
-        />
-      </a-form-model-item>
+      <!--      <a-form-model-item label="主管人员" prop="leader">-->
+      <!--        <sys-list-select-tag-->
+      <!--          v-model="model.userId"-->
+      <!--          dict-code="user"-->
+      <!--        />-->
+      <!--      </a-form-model-item>-->
       <a-form-model-item label="部门描述">
         <a-textarea v-model="model.remark" placeholder="请输入" :rows="4" />
       </a-form-model-item>
       <a-form-model-item label="排序">
-        <a-input-number style="width: 100%" v-model="model.orderNum" :min="0" :max="100000"/>
+        <a-input-number v-model="model.orderNum" style="width: 100%" :min="0" :max="100000" />
       </a-form-model-item>
     </a-form-model>
   </j-modal>
@@ -39,6 +41,7 @@
 <script>
 import { getAction, httpAction } from '@/api/request'
 import JModal from '@/components/JModal'
+
 export default {
   name: 'CheckAndEditModel',
   components: {

+ 1 - 1
src/views/sys/log/index.vue

@@ -71,7 +71,7 @@
         ref="table"
         size="middle"
         bordered
-        row-key="id"
+        row-key="operId"
         :columns="columns"
         :data-source="dataSource"
         :pagination="ipagination"