d8b894b8 by lihua

修改字段长度限制

1 parent cb84831e
...@@ -420,7 +420,7 @@ const dictFormItems: any = ref([ ...@@ -420,7 +420,7 @@ const dictFormItems: any = ref([
420 // }, 420 // },
421 421
422 { 422 {
423 label: '上级分类', 423 label: '上级目录',
424 type: 'tree-select', 424 type: 'tree-select',
425 placeholder: '请选择', 425 placeholder: '请选择',
426 field: 'parentGuid', 426 field: 'parentGuid',
...@@ -432,13 +432,14 @@ const dictFormItems: any = ref([ ...@@ -432,13 +432,14 @@ const dictFormItems: any = ref([
432 label: "dicName", 432 label: "dicName",
433 value: "guid", 433 value: "guid",
434 children: 'childList', 434 children: 'childList',
435 disabled: 'disabled',
435 checkStrictly: true, 436 checkStrictly: true,
436 emitPath: false 437 emitPath: false
437 }, 438 },
438 filterable: true, 439 filterable: true,
439 clearable: true, 440 clearable: true,
440 default: '', 441 default: '',
441 required: true 442 required: false
442 }, 443 },
443 444
444 { 445 {
...@@ -466,7 +467,7 @@ const dictFormItems: any = ref([ ...@@ -466,7 +467,7 @@ const dictFormItems: any = ref([
466 { 467 {
467 label: '界面排序', 468 label: '界面排序',
468 type: 'input', 469 type: 'input',
469 maxlength: 50, 470 maxlength: 10,
470 placeholder: "请输入,不填写自动生成", 471 placeholder: "请输入,不填写自动生成",
471 field: 'orderNum', 472 field: 'orderNum',
472 regexp: /[^\d]/g, 473 regexp: /[^\d]/g,
...@@ -487,7 +488,7 @@ const dictFormItems: any = ref([ ...@@ -487,7 +488,7 @@ const dictFormItems: any = ref([
487 }, 488 },
488 { 489 {
489 label: '描述', 490 label: '描述',
490 placeholder: '输入', 491 placeholder: '输入',
491 field: 'remarks', 492 field: 'remarks',
492 type: 'textarea', 493 type: 'textarea',
493 default: '', 494 default: '',
......
...@@ -420,6 +420,7 @@ const baseInfoFormItems = ref([ ...@@ -420,6 +420,7 @@ const baseInfoFormItems = ref([
420 default: '', 420 default: '',
421 clearable: true, 421 clearable: true,
422 required: true, 422 required: true,
423 maxlength: 500,
423 block: true, 424 block: true,
424 example: '示例:该数据资源应用场景是数字化市场营销,基于LBS、销售数据、人力数据等各类的数据,结合AI算法为客户提供精准营销模型,提高营销人员精准服务客户的能力,优化公司的成本及效率。', 425 example: '示例:该数据资源应用场景是数字化市场营销,基于LBS、销售数据、人力数据等各类的数据,结合AI算法为客户提供精准营销模型,提高营销人员精准服务客户的能力,优化公司的成本及效率。',
425 // col: 'col2 mr8' 426 // col: 'col2 mr8'
...@@ -433,6 +434,7 @@ const baseInfoFormItems = ref([ ...@@ -433,6 +434,7 @@ const baseInfoFormItems = ref([
433 clearable: true, 434 clearable: true,
434 required: true, 435 required: true,
435 block: true, 436 block: true,
437 maxlength: 500,
436 exampleBtns: [{ 438 exampleBtns: [{
437 value: '无限制', 439 value: '无限制',
438 label: '无限制' 440 label: '无限制'
......
...@@ -64,6 +64,7 @@ const searchItemList = ref([ ...@@ -64,6 +64,7 @@ const searchItemList = ref([
64 field: "databaseNameZh", 64 field: "databaseNameZh",
65 default: "", 65 default: "",
66 placeholder: "数据源名称", 66 placeholder: "数据源名称",
67 maxlength: 50,
67 clearable: true, 68 clearable: true,
68 }, 69 },
69 { 70 {
...@@ -72,6 +73,7 @@ const searchItemList = ref([ ...@@ -72,6 +73,7 @@ const searchItemList = ref([
72 field: "databaseNameEn", 73 field: "databaseNameEn",
73 default: "", 74 default: "",
74 placeholder: "数据库名", 75 placeholder: "数据库名",
76 maxlength: 50,
75 clearable: true, 77 clearable: true,
76 }, 78 },
77 ]); 79 ]);
...@@ -176,6 +178,7 @@ const contents: any = ref({ ...@@ -176,6 +178,7 @@ const contents: any = ref({
176 field: "databaseNameZh", 178 field: "databaseNameZh",
177 default: "", 179 default: "",
178 clearable: true, 180 clearable: true,
181 maxlength: 50,
179 required: true, 182 required: true,
180 }, 183 },
181 { 184 {
...@@ -238,6 +241,7 @@ const contents: any = ref({ ...@@ -238,6 +241,7 @@ const contents: any = ref({
238 default: "", 241 default: "",
239 clearable: true, 242 clearable: true,
240 required: true, 243 required: true,
244 maxlength: 200,
241 block: true, 245 block: true,
242 }, 246 },
243 { 247 {
...@@ -245,6 +249,7 @@ const contents: any = ref({ ...@@ -245,6 +249,7 @@ const contents: any = ref({
245 type: "textarea", 249 type: "textarea",
246 placeholder: "请输入", 250 placeholder: "请输入",
247 field: "beLoadUrl", 251 field: "beLoadUrl",
252 maxlength: 200,
248 default: "", 253 default: "",
249 clearable: true, 254 clearable: true,
250 required: true, 255 required: true,
...@@ -255,6 +260,7 @@ const contents: any = ref({ ...@@ -255,6 +260,7 @@ const contents: any = ref({
255 type: "textarea", 260 type: "textarea",
256 placeholder: "请输入", 261 placeholder: "请输入",
257 field: "dorisJdbcUrl", 262 field: "dorisJdbcUrl",
263 maxlength: 200,
258 default: "", 264 default: "",
259 clearable: true, 265 clearable: true,
260 required: true, 266 required: true,
...@@ -270,6 +276,7 @@ const contents: any = ref({ ...@@ -270,6 +276,7 @@ const contents: any = ref({
270 placeholder: "请输入", 276 placeholder: "请输入",
271 field: "host", 277 field: "host",
272 default: "", 278 default: "",
279 maxlength: 50,
273 clearable: true, 280 clearable: true,
274 required: true, 281 required: true,
275 }, 282 },
...@@ -279,6 +286,7 @@ const contents: any = ref({ ...@@ -279,6 +286,7 @@ const contents: any = ref({
279 placeholder: "请输入", 286 placeholder: "请输入",
280 field: "port", 287 field: "port",
281 default: "", 288 default: "",
289 maxlength: 5,
282 clearable: true, 290 clearable: true,
283 required: true, 291 required: true,
284 }, 292 },
...@@ -288,6 +296,7 @@ const contents: any = ref({ ...@@ -288,6 +296,7 @@ const contents: any = ref({
288 placeholder: "请输入", 296 placeholder: "请输入",
289 field: "logonUser", 297 field: "logonUser",
290 default: "", 298 default: "",
299 maxlength: 50,
291 clearable: true, 300 clearable: true,
292 required: true, 301 required: true,
293 autocompleteSetting: { 302 autocompleteSetting: {
...@@ -300,6 +309,7 @@ const contents: any = ref({ ...@@ -300,6 +309,7 @@ const contents: any = ref({
300 type: "password", 309 type: "password",
301 placeholder: "请输入", 310 placeholder: "请输入",
302 field: "password", 311 field: "password",
312 maxlength: 50,
303 default: "", 313 default: "",
304 clearable: true, 314 clearable: true,
305 required: true, 315 required: true,
...@@ -313,6 +323,7 @@ const contents: any = ref({ ...@@ -313,6 +323,7 @@ const contents: any = ref({
313 type: "input", 323 type: "input",
314 placeholder: "请输入", 324 placeholder: "请输入",
315 field: "databaseNameEn", 325 field: "databaseNameEn",
326 maxlength: 50,
316 default: "", 327 default: "",
317 clearable: true, 328 clearable: true,
318 required: true, 329 required: true,
...@@ -322,6 +333,7 @@ const contents: any = ref({ ...@@ -322,6 +333,7 @@ const contents: any = ref({
322 type: "textarea-tips", 333 type: "textarea-tips",
323 placeholder: "请输入", 334 placeholder: "请输入",
324 field: "linkage", 335 field: "linkage",
336 maxlength: 500,
325 default: "", 337 default: "",
326 tips: { 338 tips: {
327 type: "table", 339 type: "table",
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!