Tcsm
2023-09-25 e103f6c980d575765eb7aa7aaee9426749c30e9e
ruoyi-ui/src/views/clean/index.vue
@@ -6,7 +6,10 @@
            v-model="queryParams.kind"
            placeholder="所有类型"
            clearable
            style="width: 240px"
            style="width: 200px;
                   height: 35px;
                   border-radius: 16px 16px 16px 16px;
                   opacity: 0.5;"
          >
            <el-option
              v-for="dict in typeOptions"
@@ -20,7 +23,10 @@
              v-model="queryParams.suitable"
              placeholder="请输入适用人"
              clearable
              style="width: 240px"
              style="width: 200px;
                   height: 35px;
                   border-radius: 16px 16px 16px 16px;
                   opacity: 0.5;"
              @keyup.enter.native="handleQuery"
            />
          </el-form-item>
@@ -29,7 +35,10 @@
              v-model="queryParams.type"
              placeholder="请输入类别"
              clearable
              style="width: 240px"
              style="width: 200px;
                   height: 35px;
                   border-radius: 16px 16px 16px 16px;
                   opacity: 0.5;"
              @keyup.enter.native="handleQuery"
            />
          </el-form-item>
@@ -38,7 +47,10 @@
              v-model="queryParams.method"
              placeholder="请输入保洁方法"
              clearable
              style="width: 240px"
              style="width: 200px;
                   height: 35px;
                   border-radius: 16px 16px 16px 16px;
                   opacity: 0.5;"
              @keyup.enter.native="handleQuery"
            />
          </el-form-item>
@@ -132,6 +144,9 @@
          <template slot-scope="scope">{{scope.row.happenTime? scope.row.happenTime: '————'}}</template>
        </el-table-column>
        <el-table-column label="备注" prop="remark" sortable width="100" />
        <el-table-column label="是否是本家庭记录" prop="ownData" sortable width="150px" >
          <template slot-scope="scope">{{scope.row.ownData === 0 ? '否': '是'}}</template>
        </el-table-column>
        <el-table-column label="电子文件" prop="url" width="180" align="center">
          <template slot-scope="scope" >
@@ -647,7 +662,7 @@
      /** 删除按钮操作 */
      handleDelete(row) {
        const Ids = row.id || this.ids;
        this.$modal.confirm('是否确认删除资产编号为"' + Ids + '"的数据项?').then(function() {
        this.$modal.confirm('是否确认删除所选数据项?').then(function() {
          return delClean(Ids);
        }).then(() => {
          this.getList();