@newview/permission-service 1.2.4 → 1.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -24202,25 +24202,28 @@ class GeneralConfigurationInstance extends BaseInstance {
|
|
|
24202
24202
|
colType: "ro",
|
|
24203
24203
|
field: "label",
|
|
24204
24204
|
title: "标签文本",
|
|
24205
|
-
align: "left"
|
|
24205
|
+
align: "left",
|
|
24206
|
+
minWidth: 250
|
|
24206
24207
|
},
|
|
24207
24208
|
{
|
|
24208
24209
|
colType: "ro",
|
|
24209
24210
|
field: "prop",
|
|
24210
24211
|
title: "属性字段",
|
|
24211
|
-
align: "left"
|
|
24212
|
+
align: "left",
|
|
24213
|
+
minWidth: 250
|
|
24212
24214
|
},
|
|
24213
24215
|
{
|
|
24214
24216
|
colType: "ro",
|
|
24215
24217
|
field: "model",
|
|
24216
24218
|
title: "表单字段",
|
|
24217
|
-
align: "left"
|
|
24219
|
+
align: "left",
|
|
24220
|
+
minWidth: 250
|
|
24218
24221
|
},
|
|
24219
24222
|
{
|
|
24220
24223
|
colType: "select",
|
|
24221
24224
|
field: "seltype",
|
|
24222
24225
|
title: "类型",
|
|
24223
|
-
|
|
24226
|
+
minWidth: 240,
|
|
24224
24227
|
align: "center",
|
|
24225
24228
|
select: {
|
|
24226
24229
|
data: [
|
|
@@ -24277,7 +24280,7 @@ class GeneralConfigurationInstance extends BaseInstance {
|
|
|
24277
24280
|
colType: "ed",
|
|
24278
24281
|
field: "append",
|
|
24279
24282
|
title: "输入框单位",
|
|
24280
|
-
|
|
24283
|
+
minWidth: 120,
|
|
24281
24284
|
align: "center",
|
|
24282
24285
|
change: (row) => {
|
|
24283
24286
|
if (row.append && row.seltype == "Input") {
|
|
@@ -24296,7 +24299,7 @@ class GeneralConfigurationInstance extends BaseInstance {
|
|
|
24296
24299
|
colType: "select",
|
|
24297
24300
|
field: "span",
|
|
24298
24301
|
title: "占位格数",
|
|
24299
|
-
|
|
24302
|
+
minWidth: 120,
|
|
24300
24303
|
align: "right",
|
|
24301
24304
|
select: {
|
|
24302
24305
|
data: [
|
|
@@ -24308,9 +24311,9 @@ class GeneralConfigurationInstance extends BaseInstance {
|
|
|
24308
24311
|
},
|
|
24309
24312
|
{
|
|
24310
24313
|
colType: "select",
|
|
24311
|
-
field: "
|
|
24314
|
+
field: "requiredd",
|
|
24312
24315
|
title: "必填项",
|
|
24313
|
-
|
|
24316
|
+
minWidth: 120,
|
|
24314
24317
|
align: "center",
|
|
24315
24318
|
select: {
|
|
24316
24319
|
data: [
|
|
@@ -24319,7 +24322,7 @@ class GeneralConfigurationInstance extends BaseInstance {
|
|
|
24319
24322
|
]
|
|
24320
24323
|
},
|
|
24321
24324
|
change: (row) => {
|
|
24322
|
-
if (row.
|
|
24325
|
+
if (row.requiredd == 1) {
|
|
24323
24326
|
row.rules = [
|
|
24324
24327
|
{ required: true, message: row.message, trigger: "blur" }
|
|
24325
24328
|
];
|
|
@@ -24332,7 +24335,7 @@ class GeneralConfigurationInstance extends BaseInstance {
|
|
|
24332
24335
|
colType: "ed",
|
|
24333
24336
|
field: "message",
|
|
24334
24337
|
title: "提示信息",
|
|
24335
|
-
minWidth:
|
|
24338
|
+
minWidth: 200,
|
|
24336
24339
|
align: "left",
|
|
24337
24340
|
change: (row) => {
|
|
24338
24341
|
if (row.message) {
|
|
@@ -24348,7 +24351,7 @@ class GeneralConfigurationInstance extends BaseInstance {
|
|
|
24348
24351
|
colType: "num",
|
|
24349
24352
|
field: "orderNum",
|
|
24350
24353
|
title: "排序号",
|
|
24351
|
-
|
|
24354
|
+
minWidth: 80,
|
|
24352
24355
|
align: "right"
|
|
24353
24356
|
}
|
|
24354
24357
|
],
|
|
@@ -24545,7 +24548,7 @@ class GeneralConfigurationInstance extends BaseInstance {
|
|
|
24545
24548
|
span: 8,
|
|
24546
24549
|
orderNum: i,
|
|
24547
24550
|
// 排序号
|
|
24548
|
-
|
|
24551
|
+
requiredd: 1,
|
|
24549
24552
|
// 1 必填 0 可空
|
|
24550
24553
|
message: x.DetailInfor + "不能为空",
|
|
24551
24554
|
rules: [{ required: true, message: x.DetailInfor + "不能为空", trigger: "blur" }]
|