liuyg
2021-07-16 06f3288fe2add882234fe4ac904f885280c0699b
任务追踪和树形背景
2 files modified
55 ■■■■ changed files
src/styles/element-ui.scss 2 ●●● patch | view | raw | blame | history
src/views/policeTracking/policeTracking.vue 53 ●●●● patch | view | raw | blame | history
src/styles/element-ui.scss
@@ -171,7 +171,7 @@
  color: $fontColor !important;
}
.el-tree {
  background-color: $inputB !important;
  background-color: $mainB !important;
  color: $fontColor !important;
}
.el-table th {
src/views/policeTracking/policeTracking.vue
@@ -30,7 +30,6 @@
              class="policeForm"
              label-width="100px"
              style="
                background: #fff;
                margin-top: 20px;
                margin-left: 10px;
                margin-right: 10px;
@@ -61,10 +60,7 @@
              <el-row>
                <el-col span="24">
                  <el-form-item label="备注">
                    <el-input
                      v-model="form.bz"
                      autocomplete="off"
                    ></el-input>
                    <el-input v-model="form.bz" autocomplete="off"></el-input>
                  </el-form-item>
                </el-col>
              </el-row>
@@ -85,7 +81,10 @@
              </el-row>
              <el-row>
                <el-col span="12">
                  <avue-form :option="securityArritem" v-model="form"></avue-form>
                  <avue-form
                    :option="securityArritem"
                    v-model="form"
                  ></avue-form>
                </el-col>
<!--                <el-col span="12">-->
<!--                  <el-form-item label="派发人">-->
@@ -99,10 +98,12 @@
              </el-row>
            </el-form>
            <div class="grid-content bg-purple-light" style="text-align: center">
            <div
              class="grid-content bg-purple-light"
              style="text-align: center"
            >
              <el-button @click="onSubmit()" type="primary">派发</el-button>
            </div>
          </el-card>
          <div
@@ -131,7 +132,6 @@
              size="mini"
              label-width="100px"
              style="
                background: #fff;
                margin-top: 20px;
                margin-left: 10px;
                margin-right: 10px;
@@ -365,7 +365,8 @@
              className: "cityClassSelect",
            },
          ],
        }, securityArritem: {
      },
      securityArritem: {
          menuBtn: false,
          column: [
            {
@@ -377,13 +378,15 @@
              span: 24,
              dicUrl: "/api/catalogs/catalogs/getBigTree",
              props: {
                label: "title"
              label: "title",
              },
              rules: [{
            rules: [
              {
                required: true,
                message: "请选择处警员",
                trigger: "blur"
              }],
                trigger: "blur",
              },
            ],
            },
          ],
        },
@@ -573,31 +576,25 @@
          }
          axios({
            url: '/api/alarm/alarm/submit',
            method: 'post',
            data: that.form
          url: "/api/alarm/alarm/submit",
          method: "post",
          data: that.form,
          }).then((resdata) => {
            that.$message({
              message: '派遣完成',
              type: 'success'
            message: "派遣完成",
            type: "success",
            });
          });
        }else {
          that.$message({
            message: '未选择保安,请重试',
            type: 'warning'
          message: "未选择保安,请重试",
          type: "warning",
          });
        }
      },
      getReceivingAlarm() {
        axios
          .get(`/api/operation/list?jid=${this.form.id}`)
          .then((res) => {
      axios.get(`/api/operation/list?jid=${this.form.id}`).then((res) => {
            this.receivingList = res.data.data.records;
          });
      },