bding преди 4 месеца
родител
ревизия
336b3b933c

+ 1 - 0
src/views/custom_manage/points/AddNewEntries.vue

@@ -200,6 +200,7 @@ export default {
     },
     // 输入框的限制
     restrictInput(item) {
+      if (this.tabsPitchon == 1) return;
       if (item.Proportion) if (item.Proportion > 100) return (item.Proportion = 100);
       if (item.Proportion < -100) return (item.Proportion = -100);
     },

+ 12 - 1
src/views/custom_manage/points/EntryRecords.vue

@@ -27,7 +27,7 @@
       </el-cascader>
       <el-button type="primary" @click="$router.push('AddNewEntries')"> 新增</el-button>
       <a :href="exportUser" download>
-        <el-button type="primary" style="width: 80px;margin-left:15px">导出</el-button>
+        <el-button type="primary" style="width: 80px; margin-left: 15px">导出</el-button>
       </a>
     </div>
 
@@ -61,12 +61,17 @@
           </template>
         </el-table-column>
       </el-table>
+      <!-- 分页 -->
+      <el-col :span="24" class="toolbar">
+        <m-page :total="total" :page_no="page_no" :pageSize="pageSize" @handleCurrentChange="handleCurrentChange" />
+      </el-col>
     </div>
   </div>
 </template>
 
 <script>
 import { customInterence, xClassCustomApi } from "@/api/api.js";
+import mPage from "@/components/mPage.vue";
 export default {
   name: "EntryRecords",
   props: {
@@ -75,6 +80,7 @@ export default {
       default: "",
     },
   },
+  components: { mPage },
   computed: {
     exportUser() {
       let baseUrl = process.env.API_ROOT + "/cygx/enterScore/list";
@@ -222,6 +228,11 @@ export default {
       this.page_no = 1;
       this.getDataList();
     },
+    //分页
+    handleCurrentChange(page) {
+      this.page_no = page;
+      this.getDataList();
+    },
   },
 };
 </script>

+ 0 - 1
src/views/rai_manage/components/addSummary.vue

@@ -134,7 +134,6 @@
 import { raiInterface } from "@/api/api.js";
 import VueFroala from "vue-froala-wysiwyg";
 import Clipboard from "clipboard";
-import chartDialogVue from "../../dataEntry_manage/components/chartDialog.vue";
 import AddIndustryMark from "../components/addIndustryMark.vue";
 import RichTextMixins from "./reportComponents/RichTextMixins";
 export default {