소스 검색

Merge branch 'hezhihong_bug修复'

# Conflicts:
#	src/views/AttendMeeting/index.vue
hezhihong 1 년 전
부모
커밋
0c513af629
3개의 변경된 파일17개의 추가작업 그리고 13개의 파일을 삭제
  1. 5 5
      src/views/AttendMeeting/index.vue
  2. 10 6
      src/views/GATHER/index.vue
  3. 2 2
      src/views/JOINTCONFERENCE/index.vue

+ 5 - 5
src/views/AttendMeeting/index.vue

@@ -125,22 +125,22 @@
             size="mini"
             type="text"
             @click="goDetail(scope.row)"
-            v-hasPermi="['business:JOINTCONFERENCE:edit']"
+            v-hasPermi="['business:JOINTCONFERENCE:query']"
             >会议详情</el-button
           >
           <el-button
             size="mini"
             type="text"
             @click="handleUnit(scope.row)"
-            v-hasPermi="['business:JOINTCONFERENCE:edit']"
+            v-hasPermi="['business:JOINTCONFERENCE:query']"
             >单位指派</el-button
           >
           <el-button
             size="mini"
             type="text"
-            @click="handleReply(scope.row)"
-            v-hasPermi="['business:JOINTCONFERENCE:edit']"
-            >回复会议</el-button
+            @click="handleUnit(scope.row)"
+            v-hasPermi="['business:JOINTCONFERENCE:query']"
+            >会议回复</el-button
           >
         </template>
       </el-table-column>

+ 10 - 6
src/views/GATHER/index.vue

@@ -370,9 +370,11 @@ export default {
         callback(new Error('请输入数字和正确格式的数字'));
       } else if (value.split('.').length > 2) {
         callback(new Error('请输入正确格式的数字')); //防止输入多个小数点
-      } else if (value.indexOf('.') != -1 && value.split('.')[1].length > 2) {
-        callback(new Error('最多只能输入两位小数')); //小数点后两位
-      } else {
+      }
+      // else if (value.indexOf('.') != -1 && value.split('.')[1].length > 2) {
+      //   callback(new Error('最多只能输入两位小数')); //小数点后两位
+      // }
+      else {
         callback();
       }
     },
@@ -382,9 +384,11 @@ export default {
         callback(new Error('请输入正数和正确格式的数字'));
       } else if (value.split('.').length > 2) {
         callback(new Error('请输入正确格式的数字')); //防止输入多个小数点
-      } else if (value.indexOf('.') != -1 && value.split('.')[1].length > 2) {
-        callback(new Error('最多只能输入两位小数')); //小数点后两位
-      } else {
+      }
+      // else if (value.indexOf('.') != -1 && value.split('.')[1].length > 2) {
+      //   callback(new Error('最多只能输入两位小数')); //小数点后两位
+      // }
+      else {
         callback();
       }
     },

+ 2 - 2
src/views/JOINTCONFERENCE/index.vue

@@ -125,14 +125,14 @@
             size="mini"
             type="text"
             @click="goDetail(scope.row)"
-            v-hasPermi="['business:JOINTCONFERENCE:edit']"
+            v-hasPermi="['business:JOINTCONFERENCE:query']"
             >会议详情</el-button
           >
           <el-button
             size="mini"
             type="text"
             @click="handleUnit(scope.row)"
-            v-hasPermi="['business:JOINTCONFERENCE:edit']"
+            v-hasPermi="['business:JOINTCONFERENCE:query']"
             >单位指派</el-button
           >
         </template>