|
@@ -84,43 +84,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <el-table :data="monthQuarterYearData" style="width: 100%" ref="monthQuarterYearTT"
|
|
|
- v-if="activeName === 'ZDZX' || activeName === 'GLSX'"
|
|
|
- :row-class-name="tableRowClassName" :border="true" >
|
|
|
- <el-table-column type="index" label="排名" align="center"></el-table-column>
|
|
|
- <el-table-column label="考评单位" prop="organizationShortName" width="300">
|
|
|
- <template #default="scope">
|
|
|
- <el-select v-model="scope.row.organizationShortName" placeholder="请选择审核状态">
|
|
|
- <el-option
|
|
|
- v-for="item in organizationData"
|
|
|
- :key="item.organizationId"
|
|
|
- :label="item.organizationShortName"
|
|
|
- :value="item.organizationId">
|
|
|
- </el-option>
|
|
|
- </el-select>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column v-for="(it, index) in monthQuarterYearHeader" :key="index"
|
|
|
- :label="it.name" align="center">
|
|
|
- <el-table-column v-for="(iv, index) in it.children" :key="index" :label="iv.key"
|
|
|
- align="center" width="150" sortable :sort-method="(a,b)=>sortMethods(a,b,iv.code)">
|
|
|
- <template #default="scope">
|
|
|
- <el-select v-model="scope.row[iv.code]" class="selectSty" placeholder="请选择审核状态" v-if="scope.row['IS_LH_'+iv.code] === '3'">
|
|
|
- <el-option
|
|
|
- v-for="item in statusData"
|
|
|
- :key="item.id"
|
|
|
- :label="item.name"
|
|
|
- :value="item.id">
|
|
|
- </el-option>
|
|
|
- </el-select>
|
|
|
- <span class="inputSty" v-else>{{scope.row[iv.code]}}</span>
|
|
|
- <span class="indicitem" v-if="iv.code === 'operation'" @click="changeDetail(scope.row)">详情</span>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- </el-table-column>
|
|
|
- </el-table>
|
|
|
<el-table :data="monthQuarterYearData" style="width: 100%" ref="monthQuarterYearTT"
|
|
|
- v-else
|
|
|
:row-class-name="tableRowClassName" :border="true" >
|
|
|
<el-table-column type="index" label="排名" align="center"></el-table-column>
|
|
|
<el-table-column label="考评单位" prop="organizationShortName" width="300">
|
|
@@ -140,16 +104,30 @@
|
|
|
<el-table-column v-for="(iv, index) in it.children" :key="index" :label="iv.key"
|
|
|
align="center" width="150" sortable :sort-method="(a,b)=>sortMethods(a,b,iv.code)">
|
|
|
<template #default="scope">
|
|
|
- <el-select v-model="scope.row[iv.code]" class="selectSty" placeholder="请选择审核状态" v-if="scope.row['IS_LH_'+iv.code] === '3'">
|
|
|
- <el-option
|
|
|
- v-for="item in statusData"
|
|
|
- :key="item.id"
|
|
|
- :label="item.name"
|
|
|
- :value="item.id">
|
|
|
- </el-option>
|
|
|
- </el-select>
|
|
|
- <el-input v-model="scope.row[iv.code]" class="inputSty" v-else-if="scope.row['IS_LH_'+iv.code] === '2'"></el-input>
|
|
|
- <el-input-number v-model="scope.row[iv.code]" class="numberSty" :precision="2" :step="0.1" v-else />
|
|
|
+ <template v-if="!scope.row['operation']">
|
|
|
+ <el-select v-model="scope.row[iv.code]" class="selectSty" placeholder="请选择审核状态" v-if="scope.row['IS_LH_'+iv.code] === '3'">
|
|
|
+ <el-option
|
|
|
+ v-for="item in statusData"
|
|
|
+ :key="item.id"
|
|
|
+ :label="item.name"
|
|
|
+ :value="item.id">
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
+ <el-input v-model="scope.row[iv.code]" class="inputSty" v-else-if="scope.row['IS_LH_'+iv.code] === '2'"></el-input>
|
|
|
+ <el-input-number v-model="scope.row[iv.code]" class="numberSty" :precision="2" :step="0.1" v-else />
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <el-select v-model="scope.row[iv.code]" class="selectSty" placeholder="请选择审核状态" v-if="scope.row['IS_LH_'+iv.code] === '3'">
|
|
|
+ <el-option
|
|
|
+ v-for="item in statusData"
|
|
|
+ :key="item.id"
|
|
|
+ :label="item.name"
|
|
|
+ :value="item.id">
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
+ <span class="indicitem" v-if="iv.code === 'operation'" @click="changeDetail(scope.row)">详情</span>
|
|
|
+ <span class="inputSty" v-else>{{scope.row[iv.code]}}</span>
|
|
|
+ </template>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table-column>
|