Browse Source

功能性问题修改

SunZehao 7 months ago
parent
commit
62da148efa
1 changed files with 9 additions and 32 deletions
  1. 9 32
      src/components/taskCenter/taskUnitRatingFrom.vue

+ 9 - 32
src/components/taskCenter/taskUnitRatingFrom.vue

@@ -53,22 +53,23 @@
                                 </el-option>
                             </el-select> -->
                         </div>
-                        <div class="tableBtn add" @click="unitRuleFn" v-if="tabName === 'first' || receiptMsg.stage !== '流程已结束'">
+                        <div class="tableBtn add" @click="unitRuleFn" v-if="tabName === 'first' || receiptMsg.stage !== '流程已结束' || userMes.deptId === '23031009'">
+                            <img :src="addIcon" alt="">
                             <span>评级</span>
                         </div>
-                        <div class="tableBtn add" @click="handleAdd" v-if="tabName === 'first' || receiptMsg.stage !== '流程已结束'">
+                        <!-- <div class="tableBtn add" @click="handleAdd" v-if="tabName === 'first' || receiptMsg.stage !== '流程已结束'">
                             <img :src="addIcon" alt="">
                             <span>新增</span>
-                        </div>
-                        <div class="tableBtn save" @click="saveInfoFn" v-if="tabName === 'first' || receiptMsg.stage !== '流程已结束'">
+                        </div> -->
+                        <div class="tableBtn save" @click="saveInfoFn" v-if="tabName === 'first' || receiptMsg.stage !== '流程已结束' || userMes.deptId === '23031009'">
                             <img :src="saveIcon" alt="">
                             <span>保存</span>
                         </div>
-                        <div class="tableBtn delete" @click="handleDelete" v-if="tabName === 'first' || receiptMsg.stage !== '流程已结束'">
+                        <!-- <div class="tableBtn delete" @click="handleDelete" v-if="tabName === 'first' || receiptMsg.stage !== '流程已结束'">
                             <img :src="deleteIcon" alt="">
                             <span>删除</span>
-                        </div>
-                        <div class="tableBtn import" @click="handleImport" v-if="tabName === 'first' || receiptMsg.stage !== '流程已结束'">
+                        </div> -->
+                        <div class="tableBtn import" @click="handleImport" v-if="tabName === 'first' || receiptMsg.stage !== '流程已结束' || userMes.deptId === '23031009'">
                             <img :src="importIcon" alt="">
                             <span>导入</span>
                         </div>
@@ -78,30 +79,6 @@
                         </div>
                     </div>
                     <div class="evaluationUnitRatingTableData">
-                        <!-- @row-click="rowClickToggle" -->
-                        <!-- <el-table :data="evaluationRatingDiaData" style="width: 100%" ref="tableSS" @select="rowClick"
-                            @select-all="rowClick">
-                            <el-table-column type="selection" label="操作" align="center"></el-table-column>
-                            <el-table-column type="index" label="序号" align="center"></el-table-column>
-                            <el-table-column label="考评单位" width="200">
-                                <template #default="scope">
-                                    <el-tooltip class="box-item" effect="customized"
-                                        :content="scope.row.organizationShortName" placement="right">
-                                        <span class="tooltipCC">{{scope.row.organizationShortName}}</span>
-                                    </el-tooltip>
-                                </template>
-                            </el-table-column>
-                            <el-table-column label="业务板块" prop="binSectionName" />
-                            <el-table-column label="考评年度" prop="year" />
-                            <el-table-column label="生成经营评级" prop="scjyRate" />
-                            <el-table-column label="前期评级" prop="qqRate" />
-                            <el-table-column label="基建评级" prop="jjRate" />
-                            <el-table-column label="年度评级" prop="yearRate" />
-                        </el-table>
-                        <el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange"
-                            :current-page="page.currentPage" :page-size="page.pagesize"
-                            layout="total, prev, pager, next, jumper" :total="page.total">
-                        </el-pagination> -->
                         <div class="tableMain">
                             <el-table :data="evaluationRatingDiaData" style="width: 100%" ref="tableSS"
                                 @select="rowClick" @select-all="rowClick">
@@ -438,7 +415,7 @@
                     if (datas && datas.data) {
                         let item = datas.data
                         that.receiptMsg = {
-                            code: item.yearRatingCode,
+                            code: item.organizationEvaluationCode,
                             des: item.des,
                             stage: item.stage,
                             createName: item.createName,