From 964f1b08764038a3dee91ab0c553eddf14c52bf7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=9C=E8=B4=A4=E9=87=91?= <1960116313@qq.com> Date: Wed, 14 Sep 2022 14:47:26 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E6=94=B9=E5=8D=A1=E5=9F=BA?= =?UTF-8?q?=E7=A1=80=EF=BC=8C=E5=8D=A1=E5=87=BA=E5=BA=93=20=20=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E5=AD=97=E6=AE=B5=E5=AE=BD=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../basiccard/basiccard.vue | 103 +++++++++--------- .../communicationmanage/outbound/outbound.vue | 4 +- src/views/util/test.vue | 97 +---------------- 3 files changed, 61 insertions(+), 143 deletions(-) diff --git a/src/views/communicationmanage/basiccard/basiccard.vue b/src/views/communicationmanage/basiccard/basiccard.vue index e18c4d5..460bc79 100644 --- a/src/views/communicationmanage/basiccard/basiccard.vue +++ b/src/views/communicationmanage/basiccard/basiccard.vue @@ -427,7 +427,7 @@ export default { dialogDrag: true, //表单窗口拖拽 addBtn: true, viewBtn: true, - searchIcon: true, + searchIcon: false, delBtn: true, excelBtn: false, columnBtn: false, @@ -446,6 +446,51 @@ export default { editDisplay: false, width: 170, }, + { + label: "iccid", + prop: "iccid", + width: 170, + span: 12, + labelWidth: 130, + search: true, + rules: [ + { + required: true, + message: "请输入iccid", + trigger: "blur", + }, + ], + }, + { + label: "imsi", + prop: "imsi", + span: 12, + width: 150, + labelWidth: 130, + search: true, + rules: [ + { + required: true, + message: "请输入imsi", + trigger: "blur", + }, + ], + }, + { + label: "msisdn", + prop: "msisdn", + span: 12, + labelWidth: 130, + width: 110, + search: true, + rules: [ + { + required: true, + message: "请输入msisdn", + trigger: "blur", + }, + ], + }, { label: "通道名称", prop: "channelId", @@ -474,9 +519,9 @@ export default { type: "select", dataType: "String", span: 12, - labelWidth: 130, + labelWidth: 150, + width: 145, searchLabelWidth: 110, - width: 110, search: true, display: true, dicUrl: "/api/iot-sim/flowpool/fillData?isSource=" + 1, @@ -510,6 +555,7 @@ export default { }, dataType: "String", span: 12, + width: 145, labelWidth: 130, searchLabelWidth: 110, search: true, @@ -527,7 +573,7 @@ export default { span: 12, labelWidth: 130, search: true, - width: 115, + width: 145, addDisplay: false, rules: [ { @@ -537,51 +583,7 @@ export default { }, ], }, - { - label: "iccid", - prop: "iccid", - width: 150, - span: 12, - labelWidth: 130, - search: true, - rules: [ - { - required: true, - message: "请输入iccid", - trigger: "blur", - }, - ], - }, - { - label: "imsi", - prop: "imsi", - span: 12, - width: 150, - labelWidth: 130, - search: true, - rules: [ - { - required: true, - message: "请输入imsi", - trigger: "blur", - }, - ], - }, - { - label: "msisdn", - prop: "msisdn", - span: 12, - labelWidth: 130, - width: 110, - search: true, - rules: [ - { - required: true, - message: "请输入msisdn", - trigger: "blur", - }, - ], - }, + { label: "卡类型", prop: "cardType", @@ -593,6 +595,7 @@ export default { }, dataType: "number", span: 12, + width: 110, labelWidth: 130, search: true, rules: [ @@ -613,7 +616,7 @@ export default { labelWidth: 130, addDisplay: false, editDisplay: false, - width: 70, + width: 80, search: true, rules: [ { required: true, message: "请选择是否出库", trigger: "change" }, diff --git a/src/views/communicationmanage/outbound/outbound.vue b/src/views/communicationmanage/outbound/outbound.vue index 55c5945..69f1d90 100644 --- a/src/views/communicationmanage/outbound/outbound.vue +++ b/src/views/communicationmanage/outbound/outbound.vue @@ -328,7 +328,7 @@ export default { searchMenuSpan: 6, border: true, index: true, - searchIcon: true, + searchIcon: false, addBtn: true, viewBtn: true, delBtn: true, @@ -376,7 +376,7 @@ export default { { label: "iccid", prop: "iccid", - width: 150, + width: 160, span: 12, labelWidth: 130, search: true, diff --git a/src/views/util/test.vue b/src/views/util/test.vue index 3e8f498..639ac72 100644 --- a/src/views/util/test.vue +++ b/src/views/util/test.vue @@ -64,6 +64,7 @@ export default { searchMenuSpan: 6, //搜索按钮的占位大小 searchType: "menu", tip: true, //提示 + rowKey: "xx", //搜索字段为id 可清空 border: true, //边框 headerAlign: "center", //表头居中 align: "center", //内容居中 @@ -102,6 +103,8 @@ export default { type: "input", size: "mini", search: true, + slot: true, //表格自定义显示 + formslot: true, //弹窗自定义显示 span: 12, formatter: (val, value, label) => { if (value == "") { @@ -129,12 +132,7 @@ export default { } }, }, - { - label: "年龄", - prop: "age", - search: true, - span: 12, - }, + { label: "地区", type: "select", @@ -170,7 +168,8 @@ export default { label: "switch", prop: "switch", type: "switch", - slot: true, + slot: true, //表格自定义显示 + formslot: true, //弹窗自定义显示 search: true, span: 12, }, @@ -182,90 +181,6 @@ export default { formslot: true, span: 12, }, - { - label: "年龄", - prop: "age", - type: "input", - search: true, - span: 12, - }, - { - label: "年龄", - prop: "age", - type: "input", - search: true, - span: 12, - }, - { - label: "年龄", - prop: "age", - type: "input", - search: true, - span: 12, - }, - { - label: "年龄", - prop: "age", - type: "input", - search: true, - span: 12, - }, - { - label: "年龄", - prop: "age", - type: "input", - search: true, - span: 12, - }, - { - label: "年龄", - prop: "age", - type: "input", - search: true, - span: 12, - }, - { - label: "年龄", - prop: "age", - type: "input", - search: true, - span: 12, - }, - { - label: "年龄", - prop: "age", - type: "input", - search: true, - span: 12, - }, - { - label: "年龄", - prop: "age", - type: "input", - search: true, - span: 12, - }, - { - label: "年龄", - prop: "age", - type: "input", - search: true, - span: 12, - }, - { - label: "年龄", - prop: "age", - type: "input", - search: true, - span: 12, - }, - // { - // label: "时间", - // prop: "time", - // type: "timerange", - // search: true, - // span: 24, - // }, ], }, data: [],