lsc 5 月之前
父节点
当前提交
cddc59d335

+ 1 - 1
dist/index.html

@@ -32,4 +32,4 @@
             background: #e6eaf0;
 						font-family: '黑体';
 						/* font-family: 'Source Han Sans SC', sans-serif; */
-        }</style><link href=./static/css/app.eb27472814c9d50ac0e7860e5f86cceb.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.2f61b77fba6c932585e1.js></script><script type=text/javascript src=./static/js/app.d5a86303478a502570a2.js></script></body></html><script>document.domain = document.domain.split(".").slice(-2).join(".");</script>
+        }</style><link href=./static/css/app.57b3426c962fcb4124b502efdc18adf6.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.2f61b77fba6c932585e1.js></script><script type=text/javascript src=./static/js/app.b0c65a443447c79b879d.js></script></body></html><script>document.domain = document.domain.split(".").slice(-2).join(".");</script>

文件差异内容过多而无法显示
+ 0 - 0
dist/static/css/app.57b3426c962fcb4124b502efdc18adf6.css


文件差异内容过多而无法显示
+ 0 - 0
dist/static/css/app.57b3426c962fcb4124b502efdc18adf6.css.map


文件差异内容过多而无法显示
+ 0 - 0
dist/static/js/app.b0c65a443447c79b879d.js


文件差异内容过多而无法显示
+ 0 - 0
dist/static/js/app.b0c65a443447c79b879d.js.map


文件差异内容过多而无法显示
+ 0 - 0
dist/static/js/app.d5a86303478a502570a2.js


文件差异内容过多而无法显示
+ 0 - 0
dist/static/js/app.d5a86303478a502570a2.js.map


文件差异内容过多而无法显示
+ 0 - 0
dist/static/js/manifest.3ad1d5771e9b13dbdad2.js.map


+ 2 - 1
src/components/pages/disAdmin/anliList.vue

@@ -92,6 +92,7 @@
                 width: a.score ? 'calc(100% / 4 - 15px)' : 'calc(100% / 3)',
               }"
               @click="openScore(a, 1)"
+              v-if="$store.state.userInfo.role == 1"
             >
               评分
             </div>
@@ -104,7 +105,7 @@
               推荐
             </div>
             <div
-              v-if="a.score"
+              v-if="a.score && $store.state.userInfo.role == 1"
               style="min-width: 80px"
               :style="{
                 width: a.score ? 'calc(100% / 4 - 15px)' : 'calc(100% / 3)',

+ 6 - 6
src/components/pages/disAdmin/score.vue

@@ -120,22 +120,22 @@
               <div>{{ scope.row.scoreName ? scope.row.scoreName : "-" }}</div>
             </template>
           </el-table-column> -->
-          <el-table-column label="评委1" min-width="10" align="center">
+          <el-table-column label="评委1" min-width="10" align="center" v-if="$store.state.userInfo.role == 1">
             <template slot-scope="scope">
               <div>{{ scope.row.firstPw ? scope.row.firstPw : "-" }}</div>
             </template>
           </el-table-column>
-           <el-table-column label="评委2" min-width="10" align="center">
+           <el-table-column label="评委2" min-width="10" align="center" v-if="$store.state.userInfo.role == 1">
             <template slot-scope="scope">
               <div>{{ scope.row.secondPw ? scope.row.secondPw : "-" }}</div>
             </template>
           </el-table-column>
-          <el-table-column label="评委3" min-width="10" align="center">
+          <el-table-column label="评委3" min-width="10" align="center" v-if="$store.state.userInfo.role == 1">
             <template slot-scope="scope">
               <div>{{ scope.row.thirdPw ? scope.row.thirdPw : "-" }}</div>
             </template>
           </el-table-column>
-          <el-table-column label="评分结果" min-width="10" align="center">
+          <el-table-column label="评分结果" min-width="10" align="center" v-if="$store.state.userInfo.role == 1">
             <template slot-scope="scope">
               <div>{{ scope.row.sum ? scope.row.sum : "-" }}</div>
             </template>
@@ -168,7 +168,7 @@
             <template slot-scope="scope">
               <div class="tableButton">
                 <div @click="lookDetail(scope.row.id)">案例详情</div>
-                <div @click="openScore(scope.row, 1)">立即评分</div>
+                <div @click="openScore(scope.row, 1)" v-if="$store.state.userInfo.role == 1">立即评分</div>
                 <!-- <div @click="openScore(scope.row, 2)">推荐</div> -->
               </div>
             </template>
@@ -840,7 +840,7 @@ export default {
             }
             acc[cur.rid].push(cur.score);
             return acc;
-          }, {});
+          }, {});suo
 
           // 计算每组的first、second和third的平均值,并将结果存储在新的数组b中
           var b = Object.keys(grouped).map(function (key) {

+ 1 - 1
src/components/pages/race/eventCenter/anliDetail.vue

@@ -2151,7 +2151,7 @@
             <div>{{ scoreDetail[0].uname }}</div>
           </div> -->
           <div class="psBox">
-            <div v-for="(item, index) in scoreList" :key="index" style="display: block;">
+            <div v-for="(item, index) in scoreList" :key="index" style="display: block;" v-if="$store.state.userInfo.role == 1 || $store.state.userInfo.userid == anliBox[0].userid">
               <div>
                 <span>评委 {{index+1}} 评分:</span><span>{{ item.score && item.score.first ? item.score.first : 0 }}分</span>
               </div>

部分文件因为文件数量过多而无法显示