فهرست منبع

update 编制部门

linweizeng 2 سال پیش
والد
کامیت
8baa65be6a

+ 1 - 1
src/components/ibps-query-builder/constants/index.js

@@ -67,7 +67,7 @@ QueryBuilder.OPERATORS = {
     is_not_empty: { type: 'is_not_empty', nb_inputs: 0, multiple: false, apply_to: ['string'] },
     is_null: { type: 'is_null', nb_inputs: 0, multiple: false, apply_to: ['string', 'number', 'datetime', 'boolean'] },
     is_not_null: { type: 'is_not_null', nb_inputs: 0, multiple: false, apply_to: ['string', 'number', 'datetime', 'boolean'] },
-    is_like: { type: 'is_like', nb_inputs: 1, multiple: false, apply_to: ['string', 'number', 'datetime', 'boolean'] }
+    find_in_set: { type: 'find_in_set', nb_inputs: 1, multiple: false, apply_to: ['string', 'number', 'datetime', 'boolean'] }
 }
 QueryBuilder.SOURCES = {
     'fixed': 'fixed',

+ 1 - 1
src/locales/en.json

@@ -180,7 +180,7 @@
 				"not_ends_with": "Do not end with",
 				"not_equal": "Not equal to",
 				"not_in": "Not In",
-				"is_like": "In it"
+				"find_in_set": "In it"
 			},
 			"remove_group": "Delete Group",
 			"remove_rule": "Delete",

+ 1 - 1
src/locales/ja.json

@@ -180,7 +180,7 @@
 				"not_ends_with": "で終わらないでください",
 				"not_equal": "等しくない",
 				"not_in": "ではない",
-				"is_like": "その中で"
+				"find_in_set": "その中で"
 			},
 			"remove_group": "グループを削除",
 			"remove_rule": "削除する",

+ 1 - 1
src/locales/zh-CN.json

@@ -180,7 +180,7 @@
 				"not_ends_with": "不以...结束",
 				"not_equal": "不等于",
 				"not_in": "不在...之內",
-				"is_like": "在其中"
+				"find_in_set": "在其中"
 			},
 			"remove_group": "删除组",
 			"remove_rule": "删除",

+ 1 - 1
src/locales/zh-TW.json

@@ -180,7 +180,7 @@
 				"not_ends_with": "不以...結束",
 				"not_equal": "不等於",
 				"not_in": "不在...之內",
-				"is_like": "在其中"
+				"find_in_set": "在其中"
 			},
 			"remove_group": "刪除組",
 			"remove_rule": "刪除",

+ 228 - 228
src/views/platform/bo/boDef/constants/index.js

@@ -1,264 +1,264 @@
 
-const uuid =()=>{
-  return  require('uuid').v1()
+const uuid = () => {
+    return require('uuid').v1()
 }
 
 export const boTypeOptions = [{
-  value: 'object',
-  label: '自建对象',
-  type: 'success'
+    value: 'object',
+    label: '自建对象',
+    type: 'success'
 },
 {
-  value: 'out',
-  label: '外部表',
-  type: 'danger'
+    value: 'out',
+    label: '外部表',
+    type: 'danger'
 }
 ]
 export const createTabelOptions = [
-  {
-    value: 'Y',
-    label: '是'
-  },
-  {
-    value: 'N',
-    label: '否',
-    type: 'danger'
-  }
+    {
+        value: 'Y',
+        label: '是'
+    },
+    {
+        value: 'N',
+        label: '否',
+        type: 'danger'
+    }
 ]
 export const statusOptions = [
-  {
-    value: 'actived',
-    label: '激活',
-    type: 'success'
-  }
+    {
+        value: 'actived',
+        label: '激活',
+        type: 'success'
+    }
 ]
 export const dataFormatOptions = [
-  {
-    value: 'json',
-    label: 'JSON'
-  }
+    {
+        value: 'json',
+        label: 'JSON'
+    }
 ]
 
 export const relationOptions = [
-  // {
-  //   value: 'one2one',
-  //   label: '一对一'
-  // },
-  {
-    value: 'one2many',
-    label: '一对多'
-  }
+    // {
+    //   value: 'one2one',
+    //   label: '一对一'
+    // },
+    {
+        value: 'one2many',
+        label: '一对多'
+    }
 ]
 export const typeOptions = [
-  {
-    value: 'varchar',
-    label: '字符串'
-  },
-  {
-    value: 'number',
-    label: '数字型'
-  },
-  {
-    value: 'date',
-    label: '日期型'
-  },
-  {
-    value: 'clob',
-    label: '大文本'
-  }
+    {
+        value: 'varchar',
+        label: '字符串'
+    },
+    {
+        value: 'number',
+        label: '数字型'
+    },
+    {
+        value: 'date',
+        label: '日期型'
+    },
+    {
+        value: 'clob',
+        label: '大文本'
+    }
 ]
 export const formatOptions = [
-  {
-    value: 'yyyy-MM-dd',
-    label: 'yyyy-MM-dd'
-  },
-  {
-    value: 'yyyy-MM-dd HH:mm:ss',
-    label: 'yyyy-MM-dd HH:mm:ss'
-  },
-  {
-    value: 'yyyyMMddHHmm',
-    label: 'yyyyMMddHHmm'
-  },
-  {
-    value: 'custom',
-    label: '自定义'
-  }
+    {
+        value: 'yyyy-MM-dd',
+        label: 'yyyy-MM-dd'
+    },
+    {
+        value: 'yyyy-MM-dd HH:mm:ss',
+        label: 'yyyy-MM-dd HH:mm:ss'
+    },
+    {
+        value: 'yyyyMMddHHmm',
+        label: 'yyyyMMddHHmm'
+    },
+    {
+        value: 'custom',
+        label: '自定义'
+    }
 ]
 export const struTypeOptions = [
-  {
-    value: 'list',
-    label: '列表'
-  },
-  {
-    value: 'tree',
-    label: '树型'
-  }
+    {
+        value: 'list',
+        label: '列表'
+    },
+    {
+        value: 'tree',
+        label: '树型'
+    }
 ]
 
 export const rootData = [
-  {
-    name: '业务对象根节点',
-    id: '0',
-    subBoDefs: []
-  }
+    {
+        name: '业务对象根节点',
+        id: '0',
+        subBoDefs: []
+    }
 ]
 export const subBoDefsAttrs = {
-  id: uuid(),
-  name: '外键',
-  code: 'parentId',
-  fieldName: 'PARENT_ID_',
-  dataType: 'varchar',
-  attrLength: 64,
-  precision: 0,
-  format: ''
-}
-export const masterAttrs = {
-  type: 'base',
-  updateBy: '',
-  sn: 1,
-  ip: '',
-  dataStatus: '',
-  updateTime: null,
-  defValue: '',
-  defId: '',
-  createOrgId: '',
-  createBy: '',
-  createTime: null,
-  isNull: 'Y',
-  dbtype: '',
-  tenantId: '',
-  pk: '',
-  desc: ''
-}
-
-export const defaultAttrs = [
-  {
-    id: uuid(),
-    name: '主键',
-    code: 'id',
-    fieldName: 'ID_',
-    dataType: 'varchar',
-    attrLength: 64,
-    precision: 0,
-    format: ''
-  }, {
-    id: uuid(),
-    name: '租户ID',
-    code: 'tenantId',
-    fieldName: 'TENANT_ID_',
-    dataType: 'varchar',
-    attrLength: 64,
-    precision: 0,
-    format: ''
-  }, {
-    id: uuid(),
-    name: 'IP地址',
-    code: 'ip',
-    fieldName: 'IP_',
-    dataType: 'varchar',
-    attrLength: 15,
-    precision: 0,
-    format: ''
-  }, {
-    id: uuid(),
-    name: '创建人',
-    code: 'createBy',
-    fieldName: 'CREATE_BY_',
-    dataType: 'varchar',
-    attrLength: 64,
-    precision: 0,
-    format: ''
-  }, {
-    id: uuid(),
-    name: '创建时间',
-    code: 'createTime',
-    fieldName: 'CREATE_TIME_',
-    dataType: 'date',
-    attrLength: 0,
-    precision: 0,
-    format: 'yyyy-MM-dd HH:mm:ss'
-  }, {
     id: uuid(),
-    name: '更新人',
-    code: 'updateBy',
-    fieldName: 'UPDATE_BY_',
+    name: '外键',
+    code: 'parentId',
+    fieldName: 'PARENT_ID_',
     dataType: 'varchar',
     attrLength: 64,
     precision: 0,
     format: ''
-  }, {
-    id: uuid(),
-    name: '更新时间',
-    code: 'updateTime',
-    fieldName: 'UPDATE_TIME_',
-    dataType: 'date',
-    attrLength: 0,
-    precision: 0,
-    format: 'yyyy-MM-dd HH:mm:ss'
-  }, {
-    id: uuid(),
-    name: '是否过审',
-    code: 'shiFouGuoShen',
-    fieldName: 'shi_fou_guo_shen_',
-     dataType: 'varchar',
-     attrLength: 16,
-     precision: 0,
-     format: ''
-  }, {
-    id: uuid(),
-    name: '编制人',
-    code: 'bianZhiRen',
-    fieldName: 'bian_zhi_ren_',
-    dataType: 'varchar',
-    attrLength: 32,
-    precision: 0,
-    format: ''
-  }, {
-    id: uuid(),
-    name: '编制部门',
-    code: 'bianZhiBuMen',
-    fieldName: 'bian_zhi_bu_men_',
-    dataType: 'varchar',
-    attrLength: 32,
-    precision: 0,
-    format: ''
-  }, {
-    id: uuid(),
-    name: '编制时间',
-    code: 'bianZhiShiJian',
-    fieldName: 'bian_zhi_shi_jian',
-    dataType: 'varchar',
-    attrLength: 32,
-    precision: 0,
-    format: ''
-  }
+}
+export const masterAttrs = {
+    type: 'base',
+    updateBy: '',
+    sn: 1,
+    ip: '',
+    dataStatus: '',
+    updateTime: null,
+    defValue: '',
+    defId: '',
+    createOrgId: '',
+    createBy: '',
+    createTime: null,
+    isNull: 'Y',
+    dbtype: '',
+    tenantId: '',
+    pk: '',
+    desc: ''
+}
+
+export const defaultAttrs = [
+    {
+        id: uuid(),
+        name: '主键',
+        code: 'id',
+        fieldName: 'ID_',
+        dataType: 'varchar',
+        attrLength: 64,
+        precision: 0,
+        format: ''
+    }, {
+        id: uuid(),
+        name: '租户ID',
+        code: 'tenantId',
+        fieldName: 'TENANT_ID_',
+        dataType: 'varchar',
+        attrLength: 64,
+        precision: 0,
+        format: ''
+    }, {
+        id: uuid(),
+        name: 'IP地址',
+        code: 'ip',
+        fieldName: 'IP_',
+        dataType: 'varchar',
+        attrLength: 15,
+        precision: 0,
+        format: ''
+    }, {
+        id: uuid(),
+        name: '创建人',
+        code: 'createBy',
+        fieldName: 'CREATE_BY_',
+        dataType: 'varchar',
+        attrLength: 64,
+        precision: 0,
+        format: ''
+    }, {
+        id: uuid(),
+        name: '创建时间',
+        code: 'createTime',
+        fieldName: 'CREATE_TIME_',
+        dataType: 'date',
+        attrLength: 0,
+        precision: 0,
+        format: 'yyyy-MM-dd HH:mm:ss'
+    }, {
+        id: uuid(),
+        name: '更新人',
+        code: 'updateBy',
+        fieldName: 'UPDATE_BY_',
+        dataType: 'varchar',
+        attrLength: 64,
+        precision: 0,
+        format: ''
+    }, {
+        id: uuid(),
+        name: '更新时间',
+        code: 'updateTime',
+        fieldName: 'UPDATE_TIME_',
+        dataType: 'date',
+        attrLength: 0,
+        precision: 0,
+        format: 'yyyy-MM-dd HH:mm:ss'
+    }, {
+        id: uuid(),
+        name: '是否过审',
+        code: 'shiFouGuoShen',
+        fieldName: 'shi_fou_guo_shen_',
+        dataType: 'varchar',
+        attrLength: 16,
+        precision: 0,
+        format: ''
+    }, {
+        id: uuid(),
+        name: '编制人',
+        code: 'bianZhiRen',
+        fieldName: 'bian_zhi_ren_',
+        dataType: 'varchar',
+        attrLength: 32,
+        precision: 0,
+        format: ''
+    }, {
+        id: uuid(),
+        name: '编制部门',
+        code: 'bianZhiBuMen',
+        fieldName: 'bian_zhi_bu_men_',
+        dataType: 'varchar',
+        attrLength: 200,
+        precision: 0,
+        format: ''
+    }, {
+        id: uuid(),
+        name: '编制时间',
+        code: 'bianZhiShiJian',
+        fieldName: 'bian_zhi_shi_jian',
+        dataType: 'varchar',
+        attrLength: 32,
+        precision: 0,
+        format: ''
+    }
 ]
 
 export const objectAttrRootData = {
-  id: '',
-  name: '',
-  code: '',
-  fieldName: '',
-  desc: '',
-  isNull: 'Y',
-  defValue: '',
-  dataType: 'varchar',
-  attrLength: '200',
-  precision: 0,
-  type: '',
-  updateBy: '',
-  sn: 7,
-  ip: '',
-  format: 'yyyy-MM-dd',
-  dataStatus: '',
-  updateTime: null,
-  defId: '',
-  createOrgId: '',
-  createBy: '',
-  createTime: null,
-  dbtype: '',
-  tenantId: '',
-  pk: '',
-  edit: true
+    id: '',
+    name: '',
+    code: '',
+    fieldName: '',
+    desc: '',
+    isNull: 'Y',
+    defValue: '',
+    dataType: 'varchar',
+    attrLength: '200',
+    precision: 0,
+    type: '',
+    updateBy: '',
+    sn: 7,
+    ip: '',
+    format: 'yyyy-MM-dd',
+    dataStatus: '',
+    updateTime: null,
+    defId: '',
+    createOrgId: '',
+    createBy: '',
+    createTime: null,
+    dbtype: '',
+    tenantId: '',
+    pk: '',
+    edit: true
 }