jiangping
2025-05-07 61d03721e35e66214937df9fab548b09fa11170b
admin/src/components/operation/HiddenDangerParam.vue
@@ -39,7 +39,7 @@
        </el-select>
      </el-form-item>
      <el-form-item label="处理人" prop="checkUserId">
        <el-select v-model="param.checkUserId" placeholder="请选择">
        <el-select v-model="param.checkUserId" filterable placeholder="请选择">
          <el-option
            v-for="item in memberList"
            :key="item.id"
@@ -151,7 +151,7 @@
    this.initData()
  },
  methods: {
    initData () {
      allList({ type: 1 }).then(res => { // 类型
        this.typeList = res || []
@@ -173,9 +173,12 @@
      const { companyId } = this.param
      this.$set(this.param, 'areaId', '')
      this.$set(this.param, 'checkUserId', '')
      allList({ type: 0,companyId }).then(res => { // 位置
        this.addrList = res || []
      })
      this.addrList = []
      if(companyId){
        allList({ type: 0,companyId }).then(res => { // 位置
          this.addrList = res || []
        })
      }
    },
    changeArea (e) {
      const item = this.addrList.find(i => i.id === e)