Преглед на файлове

根据之前做好的页面模板,改造名单管理、管理页管理

林倩 преди 3 години
родител
ревизия
dd3e6ccbab
променени са 1 файла, в които са добавени 54 реда и са изтрити 0 реда
  1. 54 0
      src/pages/admin-manage/DataConfig.js

+ 54 - 0
src/pages/admin-manage/DataConfig.js

@@ -0,0 +1,54 @@
+const conditionForm = [
+  {
+    label: '姓名',
+    name: 'name',
+    op: 'like',
+    value: '',
+    component: 'ElInput',
+    attr: {
+      placeholder: '请输入姓名'
+    }
+  },
+  {
+    label: '警号',
+    name: 'policeNumber',
+    op: 'like',
+    value: '',
+    component: 'ElInput',
+    attr: {
+      placeholder: '请输入警号'
+    }
+  },
+  {
+    label: '身份证号码',
+    name: 'idcard',
+    op: 'like',
+    value: '',
+    component: 'ElInput',
+    attr: {
+      placeholder: '请输入身份证号码'
+    }
+  },
+  {
+    label: '单位名称',
+    name: 'orgId',
+    op: '=',
+    value: '',
+    apiName: 'getTree',
+    nodeKey: 'id',
+    type: 'APP',
+    component: 'SelectOrgTree',
+    placeholder: '请选择单位名称',
+    filterable: false
+  }
+];
+const tableHeader = [
+  { label: '单位名称', prop: 'orgName' },
+  { label: '姓名', prop: 'name' },
+  { label: '警号', prop: 'policeNumber' },
+  { label: '身份证', prop: 'idcard' },
+  { label: '警种', prop: 'policeCategory', code: 'T_MD_POLICE_TYPE' },
+  { label: '用户类型', prop: 'userType', enum: 'UserTypeEnum' }
+];
+
+export { conditionForm, tableHeader }