大件运输联网系统前端代码
guoshilong
2023-01-02 05b50dfb9565a874ea611c3149959cd9f7163623
src/const/application/application.js
@@ -21,6 +21,7 @@
  editBtn:false,
  selection: true,
  dialogClickModal: false,
  menu:false,
  group: [
    {
      label: '基本信息',
@@ -33,6 +34,7 @@
          prop: "name",
          type: "input",
          labelWidth:labelWidth,
          disabled:false,
          rules: [{required: true, message: "请输入经办人姓名", trigger: ['blur','change']}]
        },
        {
@@ -40,6 +42,7 @@
          prop: "idCard",
          type: "input",
          labelWidth:labelWidth,
          disabled:false,
          rules: [{required: true, trigger: ['blur','change'],validator:idCardValidate}]
        },
        {
@@ -49,47 +52,73 @@
          span:12,
          row:true,
          labelWidth:labelWidth,
          disabled:false,
          rules: [{required: true, trigger: ['blur','change'],validator:mobileValidate}]
        },
        // {
        //   label: "通行开始时间",
        //   prop: "startPassTime",
        //   type: "date",
        //   format:'yyyy-MM-dd',
        //   valueFormat:'yyyy-MM-dd',
        //   labelWidth:labelWidth,
        //   disabled:false,
        //   pickerOptions: {
        //     disabledDate(time) {
        //       return time.getTime() < Date.now();
        //     },
        //   }
        // },
        // {
        //   label: "通行结束时间",
        //   prop: "endPassTime",
        //   type: "date",
        //   format:'yyyy-MM-dd',
        //   valueFormat:'yyyy-MM-dd',
        //   labelWidth:labelWidth,
        //   disabled:false,
        // },
        {
          label: "通行开始时间",
          prop: "startTime",
          type: "date",
          label: "通行时间段",
          prop: "passTime",
          type: "daterange",
          format:'yyyy-MM-dd',
          valueFormat:'yyyy-MM-dd',
          labelWidth:labelWidth
        },
        {
          label: "通行结束时间",
          prop: "endTime",
          type: "date",
          format:'yyyy-MM-dd',
          valueFormat:'yyyy-MM-dd',
          labelWidth:labelWidth
          labelWidth:labelWidth,
          disabled:false,
          pickerOptions: {
            disabledDate(time) {
              return time.getTime() < Date.now();
            },
          }
        },
        {
          label: "起运机构",
          prop: "transportDept",
          type: "input",
          labelWidth:labelWidth
          labelWidth:labelWidth,
          disabled:false,
        },
        {
          label: "途径省份",
          prop: "passProvince",
          type: "input",
          labelWidth:labelWidth
          labelWidth:labelWidth,
          disabled:false,
        },
        {
          label: "出发地",
          prop: "departure",
          type: "input",
          labelWidth:labelWidth
          labelWidth:labelWidth,
          disabled:false,
        },
        {
          label: "目的地",
          prop: "destination",
          type: "input",
          labelWidth:labelWidth
          labelWidth:labelWidth,
          disabled:false,
        },
        {
          label: "通行路线",
@@ -97,7 +126,8 @@
          type: "textarea",
          row:true,
          minRows:2,
          labelWidth:labelWidth
          labelWidth:labelWidth,
          disabled:false,
        },
        {
          label: "通行桥涵",
@@ -105,7 +135,8 @@
          type: "textarea",
          row:true,
          minRows:2,
          labelWidth:labelWidth
          labelWidth:labelWidth,
          disabled:false,
        },
      ]
    },
@@ -121,6 +152,7 @@
          type: 'upload',
          loadText: '附件上传中,请稍等',
          span: 24,
          disabled:false,
          propsHttp:propsHttp,
          action: uploadUrl
        },
@@ -130,6 +162,7 @@
          type: 'upload',
          loadText: '附件上传中,请稍等',
          span: 24,
          disabled:false,
          propsHttp:propsHttp,
          action: uploadUrl
        },
@@ -145,12 +178,14 @@
          label: "货物信息",
          prop: "goodsName",
          labelWidth:labelWidth,
          disabled:false,
          type: "input",
        },
        {
          label: "货物分类",
          prop: "goodsCategory",
          labelWidth:labelWidth,
          disabled:false,
          type: "select",
          dicUrl: "/api/blade-system/dict-biz/dictionary?code=goods_category",
          props:{
@@ -162,6 +197,7 @@
          label: "货物类别",
          prop: "goodsType",
          labelWidth:labelWidth,
          disabled:false,
          type: "select",
          dicUrl: "/api/blade-system/dict-biz/dictionary?code=goods_type",
          props:{
@@ -173,12 +209,14 @@
          label: "轴荷分布",
          prop: "axialLoad",
          labelWidth:labelWidth,
          disabled:false,
          type: "input",
          append:'轴',
        },
        {
          label: "货物重量",
          labelWidth:labelWidth,
          disabled:false,
          prop: "weight",
          type: "input",
          append:'吨',
@@ -186,6 +224,7 @@
        {
          label: "车货总重量",
          labelWidth:labelWidth,
          disabled:false,
          prop: "allWeight",
          type: "input",
          append:'吨',
@@ -193,6 +232,7 @@
        {
          label: "货物最大长度",
          labelWidth:labelWidth,
          disabled:false,
          prop: "length",
          type: "input",
          append:'米',
@@ -200,6 +240,7 @@
        {
          label: "货物最大宽度",
          labelWidth:labelWidth,
          disabled:false,
          prop: "width",
          type: "input",
          append:'米',
@@ -207,6 +248,7 @@
        {
          label: "货物最大高度",
          labelWidth:labelWidth,
          disabled:false,
          prop: "height",
          type: "input",
          append:'米',
@@ -216,6 +258,7 @@
        {
          label: "车货最大长度",
          labelWidth:labelWidth,
          disabled:false,
          prop: "allLength",
          type: "input",
          append:'米',
@@ -223,6 +266,7 @@
        {
          label: "车货最大宽度",
          labelWidth:labelWidth,
          disabled:false,
          prop: "allWidth",
          type: "input",
          append:'米',
@@ -230,6 +274,7 @@
        {
          label: "车货最大高度",
          labelWidth:labelWidth,
          disabled:false,
          prop: "allHeight",
          type: "input",
          append:'米',
@@ -241,6 +286,7 @@
          labelWidth:'10%',
          span: 24,
          minRows:2,
          disabled:false,
        },
      ]
    },