zhouwx
2024-06-14 ea55fc721eae712a4e7d103ba9cc569518f096f1
src/views/safetyReview/projectManage/index.vue
@@ -69,13 +69,14 @@
    <el-table v-loading="loading" :data="dataList" :border="true" ref="tableRef" :height="tableHeight" style="width: 100%;">
      <el-table-column label="序号" width="80" align="center" type="index" ></el-table-column>
      <el-table-column label="项目名称" prop="name" align="center" :show-overflow-tooltip="true" width="180" />
      <el-table-column label="填报机构" prop="agencyName" align="center" :show-overflow-tooltip="true" width="180" />
      <el-table-column label="委托单位" prop="client" align="center"  :show-overflow-tooltip="true" width="180"/>
      <el-table-column label="所属地市" align="center"  width="250">
        <template #default="scope">
         {{scope.row.area}}
        </template>
      </el-table-column>
      <el-table-column label="评价类型" prop="estimateTypeName" align="center"  width="150"/>
      <el-table-column label="类型" prop="estimateTypeName" align="center"  width="150"/>
      <el-table-column label="业务范围" prop="businessName" align="center" :show-overflow-tooltip="true" width="150"/>
      <el-table-column label="项目负责人" prop="leaderName" align="center"  width="120" :show-overflow-tooltip="true"/>
      <el-table-column label="项目阶段" align="center"  width="200">
@@ -128,7 +129,7 @@
        <template #default="scope">
          <el-button link type="primary" @click="toProcess('view',scope.row)">查看</el-button>
          <el-button link type="primary" @click="toProcess('edit',scope.row)">编辑</el-button>
          <el-button link type="danger" @click="del(scope.row)">删除</el-button>
          <el-button link type="danger" v-if="(isAgency && scope.row.reportProgress !== 14) || !isAgency" @click="del(scope.row)">删除</el-button>
        </template>
      </el-table-column>
    </el-table>
@@ -185,7 +186,7 @@
              />
            </el-select>
          </el-form-item>
          <el-form-item  label="评价类型">
          <el-form-item  label="类型">
            <el-select v-model="search.queryParams.estimateType" class="m-2" size="large" placeholder="请选择" style="width: 100%" >
              <el-option
                  v-for="item in estimateTypeList"
@@ -286,9 +287,11 @@
const tableHeight = ref(0);
const dataList = ref([]);
const total = ref(0);
const isAgency = ref(false);
onMounted(() => {
  Cookies.remove('projectId')
  Cookies.remove('end')
  Cookies.remove('btn')
  getList();
  getStatistics();
  getArea();
@@ -299,6 +302,8 @@
  window.onresize = () => {
    tableHeight.value = window.innerHeight - tableRef.value.$el.offsetTop - 170;
  };
  const userInfo = JSON.parse(Cookies.get('userInfo'))
  isAgency.value = userInfo.identity === 1;
});
const chooseType = ref('');
@@ -466,7 +471,7 @@
  '项目名称':'name',
  '委托单位':'client',
  '所属地市': 'area',
  '评价类型': 'estimateTypeName',
  '类型': 'estimateTypeName',
  '业务范围': 'businessName',
  '项目负责人': 'leaderName',
  '项目阶段': {