luobisheng
2022-12-07 42421d3620b27c2e2d0759f638f223a6c0c2edaa
src/views/operate/images/index.vue
@@ -78,12 +78,12 @@
                <span @click="handleUpdateImageResource(scope.row, 'view')"
                  >查看</span
                >
                <span v-if="mystatus === 2" class="line">|</span>
                <span v-if="mystatus === 2" @click="handleUpdateImageResource(scope.row, 'update')"
                <span v-if="mystatus === 3" class="line">|</span>
                <span v-if="mystatus === 3" @click="handleUpdateImageResource(scope.row, 'update')"
                  >修改</span
                >
                <span v-if="mystatus === 2"  class="line">|</span>
                <span v-if="mystatus === 2"  @click="handleDelete(scope.row)">删除</span>
                <span v-if="mystatus === 3"  class="line">|</span>
                <span v-if="mystatus === 3"  @click="handleDelete(scope.row)">删除</span>
              </div>
            </template>
          </el-table-column>
@@ -216,7 +216,7 @@
      typeList: [
        {
          name: "摄像头推送",
          value: null,
          value: "01",
          checked: true,
        },
        {
@@ -324,7 +324,7 @@
        item.checked = data.name === item.name;
      })
      const checkedType = this.typeList.find(item => item.checked);
      this.mystatus = checkedType.value ? 2 : 1;
      this.mystatus = +checkedType.value;
      this.size = checkedType.value;
      this.getImageResourceList();
    },