wuhongyu пре 4 година
родитељ
комит
b4adac9fb5

+ 3 - 10
src/views/adminCenter/statisInfo/parts/achievements.vue

@@ -5,7 +5,7 @@
         <el-col :span="24" class="list">
           <template>
             <el-col :span="24" class="search">
-              <el-col :span="12">
+              <el-col :span="5">
                 <el-select v-model="field" placeholder="请选择所属领域" @change="change">
                   <el-option label="先进制造" value="0"></el-option>
                   <el-option label="新材料" value="1"></el-option>
@@ -16,8 +16,8 @@
               </el-col>
               <el-col :span="12">
                 <el-radio-group v-model="radio1" @change="submits">
-                  <el-radio label="0">是我处支持范围</el-radio>
-                  <el-radio label="1">不是我处支持范围</el-radio>
+                  <el-radio label="0" border>是我处支持范围</el-radio>
+                  <el-radio label="1" border>不是我处支持范围</el-radio>
                 </el-radio-group>
                 >
               </el-col>
@@ -85,39 +85,32 @@ export default {
   methods: {
     ...product({ productQuery: 'query' }),
     async search({ skip = 0, limit = 10, ...info } = {}) {
-      console.log(this.field);
       if (this.field) {
         if (this.radio1) {
           let res = await this.productQuery({ skip, totaltype: 1, field: this.field, radio1: this.radio1, limit, ...info });
-          console.log(res.data);
           this.$set(this, `list`, res.data);
           this.$set(this, `total`, res.total);
         } else {
           let res = await this.productQuery({ skip, totaltype: 1, field: this.field, limit, ...info });
-          console.log(res.data);
           this.$set(this, `list`, res.data);
           this.$set(this, `total`, res.total);
         }
       } else if (this.radio1) {
         if (this.field) {
           let res = await this.productQuery({ skip, totaltype: 1, field: this.field, radio1: this.radio1, limit, ...info });
-          console.log(res.data);
           this.$set(this, `list`, res.data);
           this.$set(this, `total`, res.total);
         } else {
           let res = await this.productQuery({ skip, totaltype: 1, radio1: this.radio1, limit, ...info });
-          console.log(res.data);
           this.$set(this, `list`, res.data);
           this.$set(this, `total`, res.total);
         }
       } else {
         let res = await this.productQuery({ skip, totaltype: 1, limit, ...info });
-        console.log(res.data);
         this.$set(this, `list`, res.data);
         this.$set(this, `total`, res.total);
       }
     },
-
     async change(value) {
       this.$set(this, `field`, value);
       this.search();

+ 2 - 7
src/views/adminCenter/statisInfo/parts/technology.vue

@@ -5,7 +5,7 @@
         <el-col :span="24" class="list">
           <template>
             <el-col :span="24" class="search">
-              <el-col :span="12">
+              <el-col :span="5">
                 <el-select v-model="field" placeholder="请选择所属领域" @change="change">
                   <el-option label="先进制造" value="0"></el-option>
                   <el-option label="新材料" value="1"></el-option>
@@ -83,34 +83,29 @@ export default {
   methods: {
     ...product({ productQuery: 'query' }),
     async search({ skip = 0, limit = 10, ...info } = {}) {
-      console.log(this.field);
       if (this.field) {
         if (this.radio1) {
           let res = await this.productQuery({ skip, totaltype: 0, field: this.field, radio1: this.radio1, limit, ...info });
-          console.log(res.data);
           this.$set(this, `list`, res.data);
           this.$set(this, `total`, res.total);
         } else {
           let res = await this.productQuery({ skip, totaltype: 0, field: this.field, limit, ...info });
-          console.log(res.data);
           this.$set(this, `list`, res.data);
           this.$set(this, `total`, res.total);
         }
       } else if (this.radio1) {
         if (this.field) {
           let res = await this.productQuery({ skip, totaltype: 0, field: this.field, radio1: this.radio1, limit, ...info });
-          console.log(res.data);
+
           this.$set(this, `list`, res.data);
           this.$set(this, `total`, res.total);
         } else {
           let res = await this.productQuery({ skip, totaltype: 0, radio1: this.radio1, limit, ...info });
-          console.log(res.data);
           this.$set(this, `list`, res.data);
           this.$set(this, `total`, res.total);
         }
       } else {
         let res = await this.productQuery({ skip, totaltype: 0, limit, ...info });
-        console.log(res.data);
         this.$set(this, `list`, res.data);
         this.$set(this, `total`, res.total);
       }