diff --git a/src/views/communicationmanage/basiccard/basiccard.vue b/src/views/communicationmanage/basiccard/basiccard.vue index ced430e..db029f8 100644 --- a/src/views/communicationmanage/basiccard/basiccard.vue +++ b/src/views/communicationmanage/basiccard/basiccard.vue @@ -51,7 +51,13 @@ - + { @@ -193,6 +200,7 @@ export default { label: "通道名称", prop: "tenantId", type: "select", + dataType: "Number", span: 20, dicUrl: "/api/iot-sim/channel/fillData", props: { @@ -291,7 +299,7 @@ export default { border: true, index: true, indexWidth: 70, - dialogDrag:true,//表单窗口拖拽 + dialogDrag: true, //表单窗口拖拽 addBtn: true, viewBtn: true, delBtn: true, @@ -305,7 +313,7 @@ export default { label: "通道名称", prop: "channelId", type: "select", - dataType: "number", + dataType: "String", span: 12, labelWidth: 130, search: true, @@ -314,7 +322,6 @@ export default { label: "name", value: "id", }, - rules: [ { required: true, @@ -327,7 +334,7 @@ export default { label: "元流量池名称", prop: "flowPoolId", type: "select", - dataType: "number", + dataType: "String", span: 12, labelWidth: 130, searchLabelWidth: 110, @@ -533,6 +540,7 @@ export default { } }, "form.$channelId"() { + console.log(this.form.channelId, "channelId"); const columns = this.findObject(this.option.column, "flowPoolId"); if (this.form.$channelId != undefined) { if (this.form.$channelId.indexOf("电信") != -1) { @@ -694,7 +702,7 @@ export default { this.refreshChange(); done(); }, - //导入弹窗关闭 + //导入弹窗关闭 handleCloses() { this.excelBox = false; this.$refs.excelForm.resetFields(); diff --git a/src/views/communicationmanage/device/device.vue b/src/views/communicationmanage/device/device.vue index 3d32f05..7d2d513 100644 --- a/src/views/communicationmanage/device/device.vue +++ b/src/views/communicationmanage/device/device.vue @@ -106,7 +106,7 @@ export default { label: "tenantName", value: "tenantId", }, - dataType: "string", + dataType: "String", span: 12, labelWidth: 130, width: 140, diff --git a/src/views/communicationmanage/flowpool/flowpool.vue b/src/views/communicationmanage/flowpool/flowpool.vue index f73f8ad..4741834 100644 --- a/src/views/communicationmanage/flowpool/flowpool.vue +++ b/src/views/communicationmanage/flowpool/flowpool.vue @@ -80,7 +80,7 @@ export default { span: 12, labelWidth: 130, search: true, - dataType: "number", + dataType: "String", dicUrl: "/api/iot-sim/channel/fillData", props: { label: "name", diff --git a/src/views/communicationmanage/outbound/outbound.vue b/src/views/communicationmanage/outbound/outbound.vue index 5655177..b918175 100644 --- a/src/views/communicationmanage/outbound/outbound.vue +++ b/src/views/communicationmanage/outbound/outbound.vue @@ -77,7 +77,7 @@ export default { label: "tenantName", value: "tenantId", }, - dataType: "string", + dataType: "String", span: 12, labelWidth: 130, width: 140, @@ -95,7 +95,7 @@ export default { label: "account", value: "id", }, - dataType: "string", + dataType: "String", span: 12, labelWidth: 130, width: 70, @@ -113,7 +113,7 @@ export default { label: "name", value: "id", }, - dataType: "number", + dataType: "String", span: 12, labelWidth: 130, width: 100, @@ -126,7 +126,7 @@ export default { label: "流量池名称", prop: "flowPoolId", type: "select", - dataType: "number", + dataType: "String", span: 12, labelWidth: 130, searchLabelWidth: 110, diff --git a/src/views/original/targetpackagemanage/index.vue b/src/views/original/targetpackagemanage/index.vue index 0a16760..2c31002 100644 --- a/src/views/original/targetpackagemanage/index.vue +++ b/src/views/original/targetpackagemanage/index.vue @@ -81,7 +81,7 @@ export default { label: "tenantName", value: "tenantId", }, - dataType: "string", + dataType: "String", span: 12, labelWidth: 130, width: 140, @@ -103,7 +103,7 @@ export default { label: "name", value: "id", }, - dataType: "number", + dataType: "String", rules: [ { required: true, diff --git a/src/views/package/basicpackage/index.vue b/src/views/package/basicpackage/index.vue index 713a2f2..adf77a2 100644 --- a/src/views/package/basicpackage/index.vue +++ b/src/views/package/basicpackage/index.vue @@ -81,7 +81,7 @@ export default { label: "tenantName", value: "tenantId", }, - dataType: "string", + dataType: "String", span: 12, labelWidth: 130, width: 140, @@ -103,7 +103,7 @@ export default { label: "name", value: "id", }, - dataType: "number", + dataType: "String", rules: [ { required: true,