Bladeren bron

修改开关的关闭时颜色

zhuliu 1 jaar geleden
bovenliggende
commit
5eb0110d92

+ 1 - 1
src/views/components/dialog/menuDialog/annotation.vue

@@ -45,7 +45,7 @@
         <p>
           <span>使用权限:</span>
           <span>
-            <el-switch v-model="mark.isPublic" active-color="#13ce66" inactive-color="#ff4949" active-text="所有人可见">
+            <el-switch v-model="mark.isPublic" active-color="#13ce66"  active-text="所有人可见">
             </el-switch>
             <!-- <el-radio-group v-model="mark.isPublic">
               <el-radio :label="1">所有人可见</el-radio>

+ 1 - 2
src/views/components/dialog/nodeCopy.vue

@@ -7,8 +7,7 @@
                 <span>是否包含子节点:</span>
                 <el-switch
                     v-model="form.check"
-                    active-color="#13ce66"
-                    inactive-color="#ff4949">
+                    active-color="#13ce66">
                 </el-switch>
             </div>
             <div class="margin-bottom_10">

+ 0 - 1
src/views/components/import/components/importPatent.vue

@@ -111,7 +111,6 @@
                                     <el-switch
                                         v-model="form.type"
                                         active-color="#13ce66"
-                                        inactive-color="#ff4949"
                                         active-value="2"
                                         inactive-value="3"
                                         active-text="专利号"

+ 0 - 1
src/views/components/import/conditionImport/components/projectListDialog.vue

@@ -163,7 +163,6 @@
               :active-value="true"
               :inactive-value="false"
               active-color="#13ce66"
-              inactive-color="#ff4949"
             >
             </el-switch>
           </el-form-item>

+ 1 - 2
src/views/components/import/conditionImport/patentDetails/patentIndex.vue

@@ -5,8 +5,7 @@
             <el-switch
                 v-model="value"
                 inactive-text="对比"
-                active-color="#00BFFF"
-                inactive-color="#D3D3D3">
+                active-color="#00BFFF">
             </el-switch>
             <PatentList @on-change="onChange" :ban='ban'/>
         </div> 

+ 8 - 2
src/views/components/indicia/components/card.vue

@@ -103,11 +103,17 @@ export default {
   methods: {
     // 跳转专利详情
     toPatentDetails(row, index) {
+      var search = {
+        searchOption: {
+          patentNo:row.patentNo
+        },
+        location: 1,
+      }
+      this.$s.setSession('search', search)
       var router = this.$router.resolve({
         path: '/patentDetails/' + row.patentNo,
         query: {
-          projectId: 0,
-          outside:row.createFrom == 0?true:false//createFrom添加批注的时候传后台,0接口检索出的专利1专题库2报告
+          outside:row.createFrom == 0?true:null//createFrom添加批注的时候传后台,0接口检索出的专利1专题库2报告
         }
       })
       window.open(router.href, '_blank');

+ 1 - 1
src/views/home/components/echarts/components/report.vue

@@ -76,7 +76,7 @@ export default {
           return false
         }
         await this.init()
-        count ++ 
+        this.count ++ 
       }
     },
     initChart() {

+ 1 - 1
src/views/patentMining/components/dialog/addAndEditProject.vue

@@ -50,7 +50,7 @@
             </el-col>
             <el-col :span="12">
               <el-form-item label="是否检索:">
-                <el-switch v-model="form.ifSearch" active-color="#13ce66" inactive-color="#ff4949">
+                <el-switch v-model="form.ifSearch" active-color="#13ce66">
                 </el-switch>
               </el-form-item>
             </el-col>

+ 1 - 1
src/views/patentMining/components/dialog/handleTask1.vue

@@ -75,7 +75,7 @@
           </el-col>
           <el-col :span="12">
             <el-form-item label="是否检索:">
-              <el-switch v-model="form.ifSearch" active-color="#13ce66" inactive-color="#ff4949"
+              <el-switch v-model="form.ifSearch" active-color="#13ce66"
                 :disabled="form.isLook ? true : false">
               </el-switch>
             </el-form-item>

+ 1 - 1
src/views/patentMining/components/dialog/uploadFile.vue

@@ -14,7 +14,7 @@
           <myUpload :file-list="form.systemFileList" @on-change="onchangeFile" @on-remove="onRemove" style="height: 185px;" :autoUpload="true"></myUpload>
         </el-form-item>
         <el-form-item label="最终文件:" prop="ifFinal" style="width: 20px;">
-          <el-switch v-model="form.ifFinal" active-color="#13ce66" inactive-color="#ff4949"></el-switch>
+          <el-switch v-model="form.ifFinal" active-color="#13ce66"></el-switch>
         </el-form-item>
         <el-form-item label="说明:">
           <el-input v-model="form.description" type="textarea" placeholder="请输入说明内容"></el-input>

+ 1 - 1
src/views/patentMining/components/handleExamine/handleExamine.vue

@@ -26,7 +26,7 @@
               <el-row>
                 <el-col :span="12">
                   <el-form-item label="是否返回修改:">
-                    <el-switch v-model="form.ifBack" active-color="#13ce66" inactive-color="#ff4949">
+                    <el-switch v-model="form.ifBack" active-color="#13ce66">
                     </el-switch>
                   </el-form-item>
                 </el-col>

+ 1 - 1
src/views/project/patentDetails/components/menu.vue

@@ -205,7 +205,7 @@ export default {
     setQueryParams(){
       if(!this.outside){
         if(this.isContract){
-          this.queryParams.current = ((this.currentLocation-1) < 5)? 0 : ((this.currentLocation-1) - 5)
+          this.queryParams.current = ((this.currentLocation-1) < 5)? 1 : ((this.currentLocation-1) - 5)
         }else{
           this.queryParams.current = parseInt((this.currentLocation-1) / this.queryParams.size) + 1
         }

+ 1 - 1
src/views/report/components/dialog/addAndEditReport.vue

@@ -76,7 +76,7 @@
               </el-col>
               <el-col :span="12">
                 <el-form-item label="是否完成" v-if="!form.id" prop="status">
-                  <el-switch v-model="form.status" active-color="#13ce66" inactive-color="#ff4949" @change="changeStatus"
+                  <el-switch v-model="form.status" active-color="#13ce66"  @change="changeStatus"
                     :active-value="3" :inactive-value="2">
                   </el-switch>
                 </el-form-item>

+ 1 - 1
src/views/report/components/patentList/components/customFields/components/tab2.vue

@@ -4,7 +4,7 @@
       <template>
         <div style="margin-bottom: 10px;">
           <span style="font-size: 14px;">开启关联模式</span>
-          <el-switch style="display: block" v-model="ifHaveChild" active-color="#13ce66" inactive-color="#ff4949"
+          <el-switch style="display: block" v-model="ifHaveChild" active-color="#13ce66"
             active-text="描述:主分类包含子分类" inactive-text="" @change="switchChange">
           </el-switch>
         </div>