zengh
2021-06-10 d98349d2d7d0564d45ad09dc3d1a495eaa6b3f9c
样式修改
2 files modified
53 ■■■■■ changed files
src/views/policeTracking/policeTracking.vue 43 ●●●●● patch | view | raw | blame | history
src/views/realTimePolice/real.vue 10 ●●●● patch | view | raw | blame | history
src/views/policeTracking/policeTracking.vue
@@ -548,24 +548,37 @@
      },
      onSubmit() {
        var that = this;
        if (typeof that.form.securityArr != "string"){
          var security = "";
          that.form.securityArr.forEach((item) => {
            security = security + item + ",";
        if (that.form.securityArr != null && that.form.securityArr != ""){
          that.form.jtype = "1";
          if (typeof that.form.securityArr != "string"){
            var security = "";
            that.form.securityArr.forEach((item) => {
              security = security + item + ",";
            });
            that.form.securityArr = security.substring(0, security.length - 1);
          }
          axios({
            url: '/api/blade-jfpts/alarm/alarm/submit',
            method: 'post',
            data: that.form
          }).then((resdata) => {
            that.$message({
              message: '派遣完成',
              type: 'success'
            });
          });
          that.form.securityArr = security.substring(0, security.length - 1);
        }else {
          that.$message({
            message: '未选择保安,请重试',
            type: 'warning'
          });
        }
        axios({
          url: '/api/blade-jfpts/alarm/alarm/submit',
          method: 'post',
          data: that.form
        }).then((resdata) => {
          that.$message({
            message: '派遣完成',
            type: 'success'
          });
        });
      },
      getReceivingAlarm() {
src/views/realTimePolice/real.vue
@@ -169,7 +169,7 @@
          column: [
            {
              label: "警情类型",
              prop: "waringType",
              prop: "alarmType",
              search: false,
              searchSpan: 3,
              width: 85,
@@ -343,10 +343,10 @@
                  label: "未派发",
                  value: "0",
                },
                {
                  label: "处理中",
                  value: "1",
                },
                // {
                //   label: "处理中",
                //   value: "1",
                // },
                {
                  label: "已处理",
                  value: "2",