南昌市物联网技防平台-前端
shuishen
2021-03-24 e93a0172d69e539dde4fec663c65ca97f1d7a67f
部分做调整,逻辑还在考虑
1 files modified
13 ■■■■■ changed files
src/views/policeTracking/policeTracking.vue 13 ●●●●● patch | view | raw | blame | history
src/views/policeTracking/policeTracking.vue
@@ -174,6 +174,7 @@
                <i class="el-icon-document avue-group__icon"></i>
                <h1 class="avue-group__title">人员信息</h1>
                <el-button
                  @click="onSubmit('通知保安')"
                  type="danger"
                  size="small"
                  style="position: absolute; right: 0"
@@ -192,7 +193,7 @@
              @selection-change="handleSelectionChange"
              max-height="240"
            >
              <el-table-column type="selection" width="55" align="center">
              <el-table-column v-if="false" type="selection" width="55" align="center">
              </el-table-column>
              <el-table-column
@@ -462,7 +463,7 @@
          <el-row :align="center" style="margin-top: 40px">
            <el-col :offset="10">
              <el-button
                @click="onSubmit"
                @click="onSubmit('处理完成')"
                :disabled="form.jtype == 2 ? true : false"
                :type="form.jtype == 2 ? 'info' : 'danger'"
                >处理完成</el-button
@@ -568,12 +569,13 @@
  created() {
    this.form = this.$route.query;
    this.getReceivingAlarm();
  },
  mounted() {
    this.getList();
  },
  updated() {
    var arr = [];
    this.tableData.forEach((item) => {
      if (item.roleName == "管理员") {
@@ -691,7 +693,7 @@
          currenS,
      };
    },
    onSubmit() {
    onSubmit(zc) {
      var that = this;
      axios
        .post(
@@ -705,7 +707,7 @@
              bz: this.form.bz,
              snumber: this.form.alarmId,
              sname: this.form.alarmPeople,
              zc: "处理完成",
              zc: zc,
              zctime: this.getDate().current,
            },
          }
@@ -721,6 +723,7 @@
            that.$store.state.tags.tagList = arr;
            that.$router.go(-1);
          }
          that.getReceivingAlarm();
        });
    },