| 123456789101112 |
- {
- "searchJson": "[\n {\n \"isSearch\": \"true\",\n \"action\": \"and\",\n \"field\": \"ENTERPRISE_NAME\",\n \"el\": \"eq\",\n \"model\": \"enterpriseName\",\n \"name\": \"企业名称\",\n \"type\": \"input\"\n },\n {\n \"isSearch\": \"true\",\n \"action\": \"and\",\n \"field\": \"ENTERPRISE_TYPE\",\n \"el\": \"eq\",\n \"model\": \"enterpriseType\",\n \"name\": \"企业类型\",\n \"key\": \"dictValue\",\n \"title\": \"dictLabel\",\n \"type\": \"select\",\n \"multiple\": \"false\"\n \n}, {\n \"isSearch\": \"true\",\n \"action\": \"and\",\n \"field\": \"ENTERPRISE_CONTACT\",\n \"el\": \"eq\",\n \"model\": \"enterpriseContact\",\n \"name\": \"联系人\",\n \"type\": \"input\"\n },\n {\n \"isSearch\": \"\",\n \"action\": \"and\",\n \"field\": \"ENTERPRISE_TEL\",\n \"el\": \"eq\",\n \"model\": \"enterpriseTel\",\n \"name\": \"联系电话\",\n \"type\": \"input\"\n },\n {\n \"isSearch\": \"\",\n \"action\": \"and\",\n \"field\": \"ENTERPRISE_ADDRESS\",\n \"el\": \"eq\",\n \"model\": \"enterpriseAddress\",\n \"name\": \"企业地址\",\n \"type\": \"input\"\n },\n {\n \"isSearch\": \"\",\n \"action\": \"and\",\n \"field\": \"ENTERPRISE_ENTRY_TIME\",\n \"el\": \"eq\",\n \"model\": \"enterpriseEntryTime\",\n \"name\": \"入驻时间\",\n \"type\": \"input\"\n },\n {\n \"isSearch\": \"true\",\n \"action\": \"and\",\n \"field\": \"ENTERPRISE_OPERATING_STATUS\",\n \"el\": \"eq\",\n \"model\": \"enterpriseOperatingStatus\",\n \"name\": \"经营状态\",\n \"key\": \"dictValue\",\n \"title\": \"dictLabel\",\n \"type\": \"select\",\n \"multiple\": \"false\"\n \n}, {\n \"action\":\"and\",\n \"field\": \"ENTERPRISE_LOGO\",\n \"el\": \"empty\",\n \"model\": \"enterpriseLogo\",\n \"name\": \"LOGO\",\n \"type\": \"imgupload\"\n },\n]\n",
- "field": "[\n \n {\n \"model\":\"enterpriseName\",\n \"key\":\"ENTERPRISE_NAME\",\n \"field\":\"ENTERPRISE_NAME\",\n \"javaType\":\"String\",\n \"jdbcType\":\"VARCHAR\",\n \"name\":\"企业名称\",\n \"type\":\"input\",\n \"length\":\"255\",\n \"isShow\":true,\n \"isNoRepeat\":false,\n \"isSearch\":true,\n \"isRequired\":true\n }\n ,\n {\n \"model\":\"enterpriseType\",\n \"key\":\"ENTERPRISE_TYPE\",\n \"field\":\"ENTERPRISE_TYPE\",\n \"javaType\":\"String\",\n \"jdbcType\":\"VARCHAR\",\n \"name\":\"企业类型\",\n \"type\":\"select\",\n \"length\":\"255\",\n \"isShow\":true,\n \"isNoRepeat\":false,\n \"isSearch\":true,\n \"isRequired\":false\n }\n ,\n {\n \"model\":\"enterpriseContact\",\n \"key\":\"ENTERPRISE_CONTACT\",\n \"field\":\"ENTERPRISE_CONTACT\",\n \"javaType\":\"String\",\n \"jdbcType\":\"VARCHAR\",\n \"name\":\"联系人\",\n \"type\":\"input\",\n \"length\":\"255\",\n \"isShow\":true,\n \"isNoRepeat\":false,\n \"isSearch\":true,\n \"isRequired\":false\n }\n ,\n {\n \"model\":\"enterpriseTel\",\n \"key\":\"ENTERPRISE_TEL\",\n \"field\":\"ENTERPRISE_TEL\",\n \"javaType\":\"String\",\n \"jdbcType\":\"VARCHAR\",\n \"name\":\"联系电话\",\n \"type\":\"input\",\n \"length\":\"255\",\n \"isShow\":true,\n \"isNoRepeat\":false,\n \"isSearch\":false,\n \"isRequired\":false\n }\n ,{\n \"model\":\"enterpriseAddress\",\n \"key\":\"ENTERPRISE_ADDRESS\",\n \"field\":\"ENTERPRISE_ADDRESS\",\n \"javaType\":\"String\",\n \"jdbcType\":\"VARCHAR\",\n \"name\":\"企业地址\",\n \"type\":\"input\",\n \"length\":\"255\",\n \"isShow\":true,\n \"isNoRepeat\":false,\n \"isSearch\":false,\n \"isRequired\":false\n }\n ,\n {\n \"model\":\"enterpriseEntryTime\",\n \"key\":\"ENTERPRISE_ENTRY_TIME\",\n \"field\":\"ENTERPRISE_ENTRY_TIME\",\n \"javaType\":\"String\",\n \"jdbcType\":\"VARCHAR\",\n \"name\":\"入驻时间\",\n \"type\":\"input\",\n \"length\":\"255\",\n \"isShow\":true,\n \"isNoRepeat\":false,\n \"isSearch\":false,\n \"isRequired\":false\n }\n ,\n {\n \"model\":\"enterpriseOperatingStatus\",\n \"key\":\"ENTERPRISE_OPERATING_STATUS\",\n \"field\":\"ENTERPRISE_OPERATING_STATUS\",\n \"javaType\":\"String\",\n \"jdbcType\":\"VARCHAR\",\n \"name\":\"经营状态\",\n \"type\":\"select\",\n \"length\":\"255\",\n \"isShow\":true,\n \"isNoRepeat\":false,\n \"isSearch\":true,\n \"isRequired\":false\n }\n ,{\n \"model\":\"enterpriseIntroduction\",\n \"key\":\"ENTERPRISE_INTRODUCTION\",\n \"field\":\"ENTERPRISE_INTRODUCTION\",\n \"javaType\":\"String\",\n \"jdbcType\":\"TEXT\",\n \"name\":\"企业简介\",\n \"type\":\"textarea\",\n \"length\":\"255\",\n \"isShow\":false,\n \"isNoRepeat\":false,\n \"isSearch\":false,\n \"isRequired\":false\n }\n ,{\n \"model\":\"enterpriseLogo\",\n \"key\":\"ENTERPRISE_LOGO\",\n \"field\":\"ENTERPRISE_LOGO\",\n \"javaType\":\"String\",\n \"jdbcType\":\"VARCHAR\",\n \"name\":\"LOGO\",\n \"type\":\"imgupload\",\n \"length\":\"1000\",\n \"isShow\":true,\n \"isNoRepeat\":false,\n \"isSearch\":false,\n \"isRequired\":false\n }\n]\n\n",
- "html": "\n<template id=\"custom-model\">\n <el-form ref=\"form\" :model=\"form\" :rules=\"rules\" label-width=\"120px\" label-position=\"right\" size=\"default\" :disabled=\"disabled\" v-loading=\"loading\">\n <el-row\n :gutter=\"0\"\n justify=\"start\" align=\"top\">\n <el-col :span=\"12\">\n <!--企业名称-->\n\n\t <el-form-item label=\"企业名称\" prop=\"enterpriseName\">\n\t <el-input\n v-model=\"form.enterpriseName\"\n :disabled=\"false\"\n :readonly=\"false\"\n :style=\"{width: '100%'}\"\n :clearable=\"true\"\n placeholder=\"请输入企业名称\">\n </el-input>\n\t </el-form-item> \n </el-col>\n <el-col :span=\"12\">\n<!--企业类型-->\n\n <el-form-item label=\"企业类型\" prop=\"enterpriseType\">\n <ms-dict v-model=\"form.enterpriseType\"\n :style=\"{width: '100%'}\"\n dict-type=\"企业管理-企业类型\"\n :filterable=\"false\"\n :disabled=\"false\"\n :multiple=\"false\" :clearable=\"true\"\n placeholder=\"请选择企业类型\">\n </ms-dict>\n </el-form-item>\n\n </el-col>\n </el-row>\n <el-row\n :gutter=\"0\"\n justify=\"start\" align=\"top\">\n <el-col :span=\"12\">\n <!--联系人-->\n\n\t <el-form-item label=\"联系人\" prop=\"enterpriseContact\">\n\t <el-input\n v-model=\"form.enterpriseContact\"\n :disabled=\"false\"\n :readonly=\"false\"\n :style=\"{width: '100%'}\"\n :clearable=\"true\"\n placeholder=\"请输入联系人\">\n </el-input>\n\t </el-form-item> \n </el-col>\n <el-col :span=\"12\">\n <!--联系电话-->\n\n\t <el-form-item label=\"联系电话\" prop=\"enterpriseTel\">\n\t <el-input\n v-model=\"form.enterpriseTel\"\n :disabled=\"false\"\n :readonly=\"false\"\n :style=\"{width: '100%'}\"\n :clearable=\"true\"\n placeholder=\"请输入联系电话\">\n </el-input>\n\t </el-form-item> \n </el-col>\n </el-row>\n <!--企业地址-->\n\n\t <el-form-item label=\"企业地址\" prop=\"enterpriseAddress\">\n\t <el-input\n v-model=\"form.enterpriseAddress\"\n :disabled=\"false\"\n :readonly=\"false\"\n :style=\"{width: '100%'}\"\n :clearable=\"true\"\n placeholder=\"请输入企业地址\">\n </el-input>\n\t </el-form-item> \n <el-row\n :gutter=\"0\"\n justify=\"start\" align=\"top\">\n <el-col :span=\"12\">\n <!--入驻时间-->\n\n\t <el-form-item label=\"入驻时间\" prop=\"enterpriseEntryTime\">\n\t <el-input\n v-model=\"form.enterpriseEntryTime\"\n :disabled=\"false\"\n :readonly=\"false\"\n :style=\"{width: '100%'}\"\n :clearable=\"true\"\n placeholder=\"请输入入驻时间\">\n </el-input>\n\t </el-form-item> \n </el-col>\n <el-col :span=\"12\">\n<!--经营状态-->\n\n <el-form-item label=\"经营状态\" prop=\"enterpriseOperatingStatus\">\n <ms-dict v-model=\"form.enterpriseOperatingStatus\"\n :style=\"{width: '100%'}\"\n dict-type=\"企业管理-经营状态\"\n :filterable=\"false\"\n :disabled=\"false\"\n :multiple=\"false\" :clearable=\"true\"\n placeholder=\"请选择经营状态\">\n </ms-dict>\n </el-form-item>\n\n </el-col>\n </el-row>\n <!--企业简介-->\t\n\t <el-form-item label=\"企业简介\" prop=\"enterpriseIntroduction\">\n\t <el-input\n type=\"textarea\" :rows=\"5\"\n :disabled=\"false\"\n v-model=\"form.enterpriseIntroduction\"\n :style=\"{width: '100%'}\"\n placeholder=\"请输入企业简介\">\n </el-input>\n\t </el-form-item>\n\t \n <!--LOGO-->\n \n <el-form-item label=\"LOGO\" prop=\"enterpriseLogo\">\n <el-upload\n :file-list=\"form.enterpriseLogo\"\n :action=\"ms.manager+'/file/upload.do'\"\n :limit=\"1\"\n multiple\n :disabled=\"false\"\n :data=\"{uploadPath:'/tf/','isRename':true,'appId':true}\"\n :on-remove=\"enterpriseLogoHandleRemove\"\n :on-exceed=\"enterpriseLogoHandleExceed\"\n :on-preview=\"enterpriseLogoHandlePreview\"\n :before-upload=\"enterpriseLogoBeforeUpload\" \n :on-success=\"enterpriseLogoSuccess\"\n :on-error=\"enterpriseLogoError\"\n accept=\"image/*\"\n list-type=\"picture-card\">\n <i class=\"el-icon-plus\"></i>\n <template #tip>\n <div class=\"el-upload__tip\">最多上传1张图片</div>\n </template>\n </el-upload>\n </el-form-item>\n \n </el-form>\n</template>\n",
- "title": "企业管理",
- "script": "var custom_model = Vue.component(\"custom-model\",{\n el: '#custom-model',\n data:function() {\n return {\n\t\t\tloading:false,\n disabled:false,\n modelId:0,\n modelName: \"企业管理\",\n // 企业类型\n enterpriseTypeOptions:[],\n // 经营状态\n enterpriseOperatingStatusOptions:[],\n //表单数据\n form: {\n linkId:0,\n // 企业名称\n enterpriseName:'',\n \t\t\t\t// 企业类型\n \t\t\t\tenterpriseType:\"\",\n // 联系人\n enterpriseContact:'',\n // 联系电话\n enterpriseTel:'',\n // 企业地址\n enterpriseAddress:'',\n // 入驻时间\n enterpriseEntryTime:'',\n \t\t\t\t// 经营状态\n \t\t\t\tenterpriseOperatingStatus:\"\",\n // 企业简介 \n enterpriseIntroduction:'',\n // LOGO\n enterpriseLogo: [],\n },\n\n rules:{\n // 企业名称\n enterpriseName: [{\"type\":\"string\",\"message\":\"企业名称格式不正确\"},{\"required\":true,\"message\":\"企业名称不能为空\"},{\"min\":0,\"max\":255,\"message\":\"企业名称长度必须为0-255\"}],\n // 联系人\n enterpriseContact: [{\"min\":0,\"max\":255,\"message\":\"联系人长度必须为0-255\"}],\n // 联系电话\n enterpriseTel: [{\"min\":0,\"max\":255,\"message\":\"联系电话长度必须为0-255\"}],\n // 企业地址\n enterpriseAddress: [{\"min\":0,\"max\":255,\"message\":\"企业地址长度必须为0-255\"}],\n // 入驻时间\n enterpriseEntryTime: [{\"min\":0,\"max\":255,\"message\":\"入驻时间长度必须为0-255\"}],\n },\n }\n },\n watch:{\n },\n components:{\n },\n computed:{\n },\n methods: {\n \tlink:function(e,field,binds){\n \t\tlet that = this;\n binds.forEach(function(item){\n \t\t\t\tms.http.post(ms.manager+'/project/form/link.do', {id:that.modelId,field:item.field,value:e}).then(function (res) {\n if(res.result && res.data) {\n that.form[ms.util.camelCaseString(item.field)]=res.data[0][item.target];\n }else{\n that.$notify({\n title: '失败',\n message: res.msg,\n type: 'warning'\n });\n }\n })\n\n });\n \t},\n //企业类型 列表格式化\n enterpriseTypeFormat:function(row, column, cellValue, index){\n var value=\"\";\n\n if(cellValue){\n var data = this.enterpriseTypeOptions.find(function(value){\n return value.dictValue==cellValue;\n })\n if(data&&data.dictLabel){\n value = data.dictLabel;\n }\n }\n\n return value;\n },\n\n//获取enterpriseType数据源\n enterpriseTypeOptionsGet:function() {\n var that = this;\n ms.http.get(ms.base+'/mdiy/dict/list.do', {dictType:'企业管理-企业类型',pageSize:99999}).then(function (res) {\n that.enterpriseTypeOptions = res.data.rows;\n }).catch(function (err) {\n console.log(err);\n });\n },\n //经营状态 列表格式化\n enterpriseOperatingStatusFormat:function(row, column, cellValue, index){\n var value=\"\";\n\n if(cellValue){\n var data = this.enterpriseOperatingStatusOptions.find(function(value){\n return value.dictValue==cellValue;\n })\n if(data&&data.dictLabel){\n value = data.dictLabel;\n }\n }\n\n return value;\n },\n\n//获取enterpriseOperatingStatus数据源\n enterpriseOperatingStatusOptionsGet:function() {\n var that = this;\n ms.http.get(ms.base+'/mdiy/dict/list.do', {dictType:'企业管理-经营状态',pageSize:99999}).then(function (res) {\n that.enterpriseOperatingStatusOptions = res.data.rows;\n }).catch(function (err) {\n console.log(err);\n });\n },\n // enterpriseLogo删除\n enterpriseLogoHandleRemove: function (file, files) {\n \tvar index = -1;\n \tindex = this.form.enterpriseLogo.findIndex(function (text) {\n \t\treturn text.uid == file.uid;\n \t});\n \tif (index != -1) {\n \t\tthis.form.enterpriseLogo.splice(index, 1);\n \t}\n },\n //enterpriseLogo上传超过限制\n enterpriseLogoHandleExceed: function (files, fileList) {\n \tthis.$notify({\n \t\ttitle: '失败',\n \t\tmessage: '当前最多上传1个文件',\n \t\ttype: 'warning'\n \t});\n },\n //enterpriseLogo预览\n enterpriseLogoHandlePreview: function (file){\n\t\t\t\twindow.open(file.url);\n },\n\t\t//enterpriseLogo上传前\n\t\tenterpriseLogoBeforeUpload: function (file) {\n\t\t\tvar type = file.type;\n if (type) {\n var isImage = type.startsWith('image/');\n if (!isImage) {\n this.$notify({\n title: '提示',\n message: '请上传图片类型文件',\n type: 'warning'\n });\n }\n return isImage;\n }\n return false;\n\t\t},\n //enterpriseLogo上传成功\n enterpriseLogoSuccess: function (response, file, fileList) {\n \tif (response.result) {\n\t\t\t\tif(!response.data.startsWith(\"http://\") && !response.data.startsWith(\"https://\")) {\n\t\t\t\t\tfile.url = ms.contextpath + response.data;\n\t\t\t\t}else{\n\t\t\t\t\tfile.url = response.data;\n\t\t\t\t}\n \t\tthis.form.enterpriseLogo.push({\n \t\t\turl: response.data,\n \t\t\tname: file.name,\n \t\t\tuid: file.uid\n \t\t});\n \t} else {\n\t\t\t\t// 移除上传图片\n\t\t\t\tvar index = fileList.indexOf(file);\n\t\t\t\tif (index > -1) {\n\t\t\t\t\tfileList.splice(index, 1);\n\t\t\t\t}\n \t\tthis.$notify({\n \t\t\ttitle: '失败',\n \t\t\tmessage: response.msg,\n \t\t\ttype: 'warning'\n \t\t});\n \t}\n },\n //enterpriseLogo上传失败\n enterpriseLogoError: function (response, file, fileList) {\n \tresponse = JSON.parse(response.message);\n \tthis.$notify({\n \t\ttitle: '失败',\n \t\tmessage: response.msg,\n \t\ttype: 'warning'\n \t});\n }, validate:function(){\n var b = false\n this.$refs.form.validate(function(valid){\n b = valid;\n });\n return b;\n },\n getFormData() {\n var that = this;\n var form = JSON.parse(JSON.stringify(that.form));\n\t\t\t\t\t\t\t\t\t\t\t\tif (form.enterpriseLogo.length>0) {\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\tform.enterpriseLogo.forEach(function (value) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tvalue.url = value.url.replace(new RegExp('^'+ms.contextpath), \"\");\n\t\t\t\t\t\t\t\t\t\t\t\t\t}); \n\t\t\t\t\t\t\t\t\t\t\t\t\tform.enterpriseLogo = JSON.stringify(form.enterpriseLogo);\n\t\t\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\t\t\tform.enterpriseLogo = '';\n\t\t\t\t\t\t\t\t\t\t\t\t}\n form.modelId = that.modelId;\n return form;\n },\n save:function(callback) {\n var that = this;\n var url = this.formURL.save.url;\n if (that.form.id > 0) {\n url = this.formURL.update.url;\n }\n this.$refs.form.validate(function(valid) {\n if (valid) {\n var form = JSON.parse(JSON.stringify(that.form));\n\t\t\t\t\t\t\t\t\t\t\t\tif (form.enterpriseLogo.length>0) {\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\tform.enterpriseLogo.forEach(function (value) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tvalue.url = value.url.replace(new RegExp('^'+ms.contextpath), \"\");\n\t\t\t\t\t\t\t\t\t\t\t\t\t}); \n\t\t\t\t\t\t\t\t\t\t\t\t\tform.enterpriseLogo = JSON.stringify(form.enterpriseLogo);\n\t\t\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\t\t\tform.enterpriseLogo = '';\n\t\t\t\t\t\t\t\t\t\t\t\t}\n form.modelId = that.modelId;\n ms.http.post(url, form).then(function (res) {\n if(callback) {\n callback(res);\n }\n }).catch(function(err){\n callback(err.response.data);\n });\n } else{\n callback({\n result:false,msg:'请检查表单输入项'\n });\n }\n })\n },\n //获取当前企业管理\n get:function(id) {\n var that = this;\n that.loading = true;\n ms.http.get(this.formURL.get.url, Object.assign({\"modelId\":that.modelId},this.formURL.get.params)).then(function (res) {\n if(res.result&&res.data){\n if (res.data.enterpriseLogo) {\n res.data.enterpriseLogo = JSON.parse(res.data.enterpriseLogo);\n res.data.enterpriseLogo.forEach(function (value) {\n if(!value.url.startsWith(\"http://\") && !value.url.startsWith(\"https://\")){\n\t\t\t\t\t\t\t\tvalue.url = ms.contextpath + value.url;\n\t\t\t\t\t\t\t }\n });\n } else {\n res.data.enterpriseLogo = [];\n }\n that.form = res.data;\n that.loading = false;\n } else {\n that.loading = false;\n }\n }).catch(function (err) {\n console.log(err);\n that.loading = false;\n });\n },\n\n },\n created:function() {\n var that = this;\n //渲染create\n \n //加载企业类型 数据\n this.enterpriseTypeOptionsGet();\n \n //加载经营状态 数据\n this.enterpriseOperatingStatusOptionsGet();\n\t\tthat.get(); \n }\n});",
- "sql": "\n-- ENTERPRISE\nCREATE TABLE `{model}ENTERPRISE` (\n `id` BIGINT(19) UNSIGNED NOT NULL AUTO_INCREMENT,\n `ENTERPRISE_NAME` VARCHAR(255) DEFAULT NULL COMMENT '企业名称',\n `ENTERPRISE_TYPE` VARCHAR(255) DEFAULT NULL COMMENT '企业类型',\n `ENTERPRISE_CONTACT` VARCHAR(255) DEFAULT NULL COMMENT '联系人',\n `ENTERPRISE_TEL` VARCHAR(255) DEFAULT NULL COMMENT '联系电话',\n `ENTERPRISE_ADDRESS` VARCHAR(255) DEFAULT NULL COMMENT '企业地址',\n `ENTERPRISE_ENTRY_TIME` VARCHAR(255) DEFAULT NULL COMMENT '入驻时间',\n `ENTERPRISE_OPERATING_STATUS` VARCHAR(255) DEFAULT NULL COMMENT '经营状态',\n `ENTERPRISE_INTRODUCTION` TEXT DEFAULT NULL COMMENT '企业简介',\n `ENTERPRISE_LOGO` VARCHAR(1000) DEFAULT NULL COMMENT 'LOGO',\n `LINK_ID` VARCHAR(30) DEFAULT NULL,\n `CREATE_DATE` DATETIME DEFAULT NULL COMMENT '创建时间',\n `CREATE_BY` VARCHAR(50) DEFAULT NULL COMMENT '创建人',\n `UPDATE_DATE` DATETIME DEFAULT NULL COMMENT '修改时间',\n `UPDATE_BY` VARCHAR(50) DEFAULT NULL COMMENT '修改人',\n `DEL` INT(1) DEFAULT 0 COMMENT '删除标记',\n PRIMARY KEY (`ID`) USING BTREE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='企业管理';\n",
- "form": "[{\"type\":\"grid\",\"name\":\"栅格布局\",\"icon\":\"icon-zhagebuju\",\"children\":[{\"span\":12,\"children\":[{\"type\":\"input\",\"name\":\"企业名称\",\"icon\":\"icon-danhangwenben\",\"pmofAllowUpdate\":1,\"pmofAllowGenerater\":1,\"pmofAllowRepet\":1,\"pmofAllowValidator\":1,\"pmofAllowEmpty\":1,\"pmofLength\":255,\"pmofType\":\"VARCHAR\",\"pmofJavaType\":\"String\",\"pmofSort\":0,\"likeSearch\":true,\"help\":\"\",\"options\":{\"isShow\":true,\"isFk\":false,\"readonly\":false,\"width\":\"100%\",\"isNoRepeat\":false,\"defaultValue\":\"\",\"clearable\":true,\"isLength\":true,\"lengthConfig\":{\"min\":0,\"max\":255},\"required\":true,\"dataType\":\"string\",\"isPattern\":false,\"isDataType\":true,\"pattern\":\"\",\"placeholder\":\"请输入企业名称\",\"disabled\":false,\"table\":{\"search\":true,\"show\":true,\"align\":\"left\"}},\"key\":\"INPUT_ZHDNU\",\"model\":\"ENTERPRISE_NAME\",\"rules\":\"[{\\\"type\\\":\\\"string\\\",\\\"message\\\":\\\"企业名称格式不正确\\\"},{\\\"required\\\":true,\\\"message\\\":\\\"企业名称不能为空\\\"},{\\\"min\\\":0,\\\"max\\\":255,\\\"message\\\":\\\"企业名称长度必须为0-255\\\"}]\"}]},{\"span\":12,\"children\":[{\"type\":\"select\",\"name\":\"企业类型\",\"icon\":\"icon-xialaxuanze\",\"pmofAllowUpdate\":1,\"pmofAllowGenerater\":1,\"pmofAllowRepet\":1,\"pmofAllowValidator\":1,\"pmofAllowEmpty\":0,\"pmofLength\":255,\"pmofType\":\"VARCHAR\",\"pmofJavaType\":\"String\",\"likeSearch\":false,\"pmofSort\":0,\"help\":\"\",\"options\":{\"isShow\":true,\"defaultValue\":\"\",\"multiple\":false,\"disabled\":false,\"clearable\":true,\"placeholder\":\"请选择企业类型\",\"required\":false,\"showLabel\":true,\"width\":\"100%\",\"options\":[{\"value\":\"下拉框1\",\"label\":\"下拉框1\"},{\"value\":\"下拉框2\",\"label\":\"下拉框2\"},{\"value\":\"下拉框3\",\"label\":\"下拉框3\"}],\"props\":{\"value\":\"value\",\"label\":\"label\"},\"remoteType\":\"dict\",\"dictType\":\"企业管理-企业类型\",\"filterable\":false,\"remoteOptions\":[],\"remoteFunc\":\"\",\"remoteUrl\":\"\",\"quoteModelName\":\"\",\"quoteFieldLabel\":\"\",\"quoteFieldValue\":\"\",\"quoteDataMultiple\":false,\"quoteSqlWhere\":[],\"table\":{\"search\":true,\"show\":true,\"align\":\"left\"}},\"key\":\"SELECT_FAXGP\",\"model\":\"ENTERPRISE_TYPE\",\"rules\":\"[]\"}]}],\"options\":{\"gutter\":0,\"isShow\":true,\"justify\":\"start\",\"align\":\"top\",\"table\":{\"width\":80,\"align\":\"center\",\"sort\":0}},\"key\":\"GRID_AQCDH\",\"model\":\"GRID_AQCDH\"},{\"type\":\"grid\",\"name\":\"栅格布局\",\"icon\":\"icon-zhagebuju\",\"children\":[{\"span\":12,\"children\":[{\"type\":\"input\",\"name\":\"联系人\",\"icon\":\"icon-danhangwenben\",\"pmofAllowUpdate\":1,\"pmofAllowGenerater\":1,\"pmofAllowRepet\":1,\"pmofAllowValidator\":1,\"pmofAllowEmpty\":0,\"pmofLength\":255,\"pmofType\":\"VARCHAR\",\"pmofJavaType\":\"String\",\"pmofSort\":0,\"likeSearch\":true,\"help\":\"\",\"options\":{\"isShow\":true,\"isFk\":false,\"readonly\":false,\"width\":\"100%\",\"isNoRepeat\":false,\"defaultValue\":\"\",\"clearable\":true,\"isLength\":true,\"lengthConfig\":{\"min\":0,\"max\":255},\"required\":false,\"dataType\":\"string\",\"isPattern\":false,\"isDataType\":false,\"pattern\":\"\",\"placeholder\":\"请输入联系人\",\"disabled\":false,\"table\":{\"search\":true,\"show\":true,\"align\":\"left\"}},\"key\":\"INPUT_MIBNW\",\"model\":\"ENTERPRISE_CONTACT\",\"rules\":\"[{\\\"min\\\":0,\\\"max\\\":255,\\\"message\\\":\\\"联系人长度必须为0-255\\\"}]\"}]},{\"span\":12,\"children\":[{\"type\":\"input\",\"name\":\"联系电话\",\"icon\":\"icon-danhangwenben\",\"pmofAllowUpdate\":1,\"pmofAllowGenerater\":1,\"pmofAllowRepet\":1,\"pmofAllowValidator\":1,\"pmofAllowEmpty\":0,\"pmofLength\":255,\"pmofType\":\"VARCHAR\",\"pmofJavaType\":\"String\",\"pmofSort\":0,\"likeSearch\":true,\"help\":\"\",\"options\":{\"isShow\":true,\"isFk\":false,\"readonly\":false,\"width\":\"100%\",\"isNoRepeat\":false,\"defaultValue\":\"\",\"clearable\":true,\"isLength\":true,\"lengthConfig\":{\"min\":0,\"max\":255},\"required\":false,\"dataType\":\"string\",\"isPattern\":false,\"isDataType\":false,\"pattern\":\"\",\"placeholder\":\"请输入联系电话\",\"disabled\":false,\"table\":{\"search\":false,\"show\":true,\"align\":\"left\"}},\"key\":\"INPUT_QNXJT\",\"model\":\"ENTERPRISE_TEL\",\"rules\":\"[{\\\"min\\\":0,\\\"max\\\":255,\\\"message\\\":\\\"联系电话长度必须为0-255\\\"}]\"}]}],\"options\":{\"gutter\":0,\"isShow\":true,\"justify\":\"start\",\"align\":\"top\",\"table\":{\"width\":80,\"align\":\"center\",\"sort\":0}},\"key\":\"GRID_ZZTST\",\"model\":\"GRID_ZZTST\"},{\"type\":\"input\",\"name\":\"企业地址\",\"icon\":\"icon-danhangwenben\",\"pmofAllowUpdate\":1,\"pmofAllowGenerater\":1,\"pmofAllowRepet\":1,\"pmofAllowValidator\":1,\"pmofAllowEmpty\":0,\"pmofLength\":255,\"pmofType\":\"VARCHAR\",\"pmofJavaType\":\"String\",\"pmofSort\":0,\"likeSearch\":true,\"help\":\"\",\"options\":{\"isShow\":true,\"isFk\":false,\"readonly\":false,\"width\":\"100%\",\"isNoRepeat\":false,\"defaultValue\":\"\",\"clearable\":true,\"isLength\":true,\"lengthConfig\":{\"min\":0,\"max\":255},\"required\":false,\"dataType\":\"string\",\"isPattern\":false,\"isDataType\":false,\"pattern\":\"\",\"placeholder\":\"请输入企业地址\",\"disabled\":false,\"table\":{\"search\":false,\"show\":true,\"align\":\"left\"}},\"key\":\"INPUT_QFLCB\",\"model\":\"ENTERPRISE_ADDRESS\",\"rules\":\"[{\\\"min\\\":0,\\\"max\\\":255,\\\"message\\\":\\\"企业地址长度必须为0-255\\\"}]\"},{\"type\":\"grid\",\"name\":\"栅格布局\",\"icon\":\"icon-zhagebuju\",\"children\":[{\"span\":12,\"children\":[{\"type\":\"input\",\"name\":\"入驻时间\",\"icon\":\"icon-danhangwenben\",\"pmofAllowUpdate\":1,\"pmofAllowGenerater\":1,\"pmofAllowRepet\":1,\"pmofAllowValidator\":1,\"pmofAllowEmpty\":0,\"pmofLength\":255,\"pmofType\":\"VARCHAR\",\"pmofJavaType\":\"String\",\"pmofSort\":0,\"likeSearch\":true,\"help\":\"\",\"options\":{\"isShow\":true,\"isFk\":false,\"readonly\":false,\"width\":\"100%\",\"isNoRepeat\":false,\"defaultValue\":\"\",\"clearable\":true,\"isLength\":true,\"lengthConfig\":{\"min\":0,\"max\":255},\"required\":false,\"dataType\":\"string\",\"isPattern\":false,\"isDataType\":false,\"pattern\":\"\",\"placeholder\":\"请输入入驻时间\",\"disabled\":false,\"table\":{\"search\":false,\"show\":true,\"align\":\"left\"}},\"key\":\"INPUT_IODRM\",\"model\":\"ENTERPRISE_ENTRY_TIME\",\"rules\":\"[{\\\"min\\\":0,\\\"max\\\":255,\\\"message\\\":\\\"入驻时间长度必须为0-255\\\"}]\"}]},{\"span\":12,\"children\":[{\"type\":\"select\",\"name\":\"经营状态\",\"icon\":\"icon-xialaxuanze\",\"pmofAllowUpdate\":1,\"pmofAllowGenerater\":1,\"pmofAllowRepet\":1,\"pmofAllowValidator\":1,\"pmofAllowEmpty\":0,\"pmofLength\":255,\"pmofType\":\"VARCHAR\",\"pmofJavaType\":\"String\",\"likeSearch\":false,\"pmofSort\":0,\"help\":\"\",\"options\":{\"isShow\":true,\"defaultValue\":\"\",\"multiple\":false,\"disabled\":false,\"clearable\":true,\"placeholder\":\"请选择经营状态\",\"required\":false,\"showLabel\":true,\"width\":\"100%\",\"options\":[{\"value\":\"下拉框1\",\"label\":\"下拉框1\"},{\"value\":\"下拉框2\",\"label\":\"下拉框2\"},{\"value\":\"下拉框3\",\"label\":\"下拉框3\"}],\"props\":{\"value\":\"value\",\"label\":\"label\"},\"remoteType\":\"dict\",\"dictType\":\"企业管理-经营状态\",\"filterable\":false,\"remoteOptions\":[],\"remoteFunc\":\"\",\"remoteUrl\":\"\",\"quoteModelName\":\"\",\"quoteFieldLabel\":\"\",\"quoteFieldValue\":\"\",\"quoteDataMultiple\":false,\"quoteSqlWhere\":[],\"table\":{\"search\":true,\"show\":true,\"align\":\"left\"}},\"key\":\"SELECT_YOJEQ\",\"model\":\"ENTERPRISE_OPERATING_STATUS\",\"rules\":\"[]\"}]}],\"options\":{\"gutter\":0,\"isShow\":true,\"justify\":\"start\",\"align\":\"top\",\"table\":{\"width\":80,\"align\":\"center\",\"sort\":0}},\"key\":\"GRID_GKDTM\",\"model\":\"GRID_GKDTM\"},{\"type\":\"textarea\",\"name\":\"企业简介\",\"icon\":\"icon-duohangwenben2\",\"pmofAllowUpdate\":1,\"pmofAllowGenerater\":1,\"pmofAllowRepet\":1,\"pmofAllowValidator\":1,\"pmofAllowEmpty\":0,\"pmofLength\":255,\"pmofType\":\"TEXT\",\"pmofJavaType\":\"String\",\"pmofSort\":0,\"likeSearch\":false,\"help\":\"\",\"options\":{\"isShow\":true,\"readonly\":false,\"editorReadonly\":false,\"width\":\"100%\",\"defaultValue\":\"\",\"required\":false,\"disabled\":false,\"isPattern\":false,\"isLength\":false,\"pattern\":\"\",\"placeholder\":\"请输入企业简介\",\"lengthConfig\":{\"min\":0,\"max\":100},\"table\":{\"search\":false,\"align\":\"left\"}},\"key\":\"TEXTAREA_TBYGD\",\"model\":\"ENTERPRISE_INTRODUCTION\",\"rules\":\"[]\"},{\"type\":\"imgupload\",\"name\":\"LOGO\",\"icon\":\"icon-tupian2\",\"pmofAllowUpdate\":1,\"pmofAllowGenerater\":1,\"pmofAllowRepet\":1,\"pmofAllowValidator\":1,\"pmofAllowEmpty\":0,\"pmofLength\":1000,\"pmofType\":\"VARCHAR\",\"pmofJavaType\":\"String\",\"pmofSort\":0,\"likeSearch\":false,\"help\":\"\",\"options\":{\"isShow\":true,\"defaultValue\":[],\"required\":false,\"width\":\"\",\"tokenFunc\":\"funcGetToken\",\"token\":\"\",\"domain\":\"http://pfp81ptt6.bkt.clouddn.com/\",\"disabled\":false,\"limit\":1,\"multiple\":false,\"isQiniu\":false,\"action\":\"ms.manager+'/file/upload.do'\",\"table\":{\"show\":true,\"align\":\"left\"}},\"key\":\"IMGUPLOAD_OYDBG\",\"model\":\"ENTERPRISE_LOGO\",\"rules\":\"[]\"}]",
- "tableName": "ENTERPRISE",
- "id": 1
- }
|