Browse Source

fix:修改bug

confidence
杜贤金 3 years ago
parent
commit
2e24d47f05
  1. 20
      src/views/communicationmanage/basiccard/basiccard.vue
  2. 2
      src/views/communicationmanage/device/device.vue
  3. 2
      src/views/communicationmanage/flowpool/flowpool.vue
  4. 8
      src/views/communicationmanage/outbound/outbound.vue
  5. 4
      src/views/original/targetpackagemanage/index.vue
  6. 4
      src/views/package/basicpackage/index.vue

20
src/views/communicationmanage/basiccard/basiccard.vue

@ -51,7 +51,13 @@
</template>
</avue-crud>
<!-- 导出 :upload-after="uploadAfter"-->
<el-dialog title="导入" append-to-body :visible.sync="excelBox" width="40%" :before-close="handleCloses">
<el-dialog
title="导入"
append-to-body
:visible.sync="excelBox"
width="40%"
:before-close="handleCloses"
>
<avue-form
:option="excelOption"
v-model="excelForm"
@ -158,6 +164,7 @@ import {
} from "@/api/communication/basiccard";
import { mapGetters } from "vuex";
import { getToken } from "@/util/auth";
import { log } from "mathjs";
export default {
data() {
var starts = (rule, value, callback) => {
@ -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();

2
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,

2
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",

8
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,

4
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,

4
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,

Loading…
Cancel
Save