소스 검색

2023-12-27

cmy 2 년 전
부모
커밋
2b3ea98b4e
1개의 변경된 파일19개의 추가작업 그리고 0개의 파일을 삭제
  1. 19 0
      src/pages/statistic/capital/index.vue

+ 19 - 0
src/pages/statistic/capital/index.vue

@@ -51,6 +51,8 @@
           ></Input>
           <Button type="primary" @click="search()">查询</Button>
         </FormItem>
+		
+		<Button type="primary" @click="tb('同步倍数')">同步倍数</Button>
       </Form>
     </Card>
 
@@ -236,6 +238,23 @@ export default {
     this.getList();
   },
   methods: {
+	  tb(tit) {
+		   let delfromData = {
+		     title: tit,
+		     url: `finance/integral/set_rate`,
+		     method: "post",
+		     ids: "",
+		   };
+		   this.$modalSure(delfromData)
+		     .then((res) => {
+		       this.$Message.success(res.msg);
+		      
+		       this.getList();
+		     })
+		     .catch((res) => {
+		       this.$Message.error(res.msg);
+		     });
+	  },
     getList() {
       this.loading = true;
       getFlowList(this.formValidate)