Browse Source

fixed bug 34

maqingyang 1 year ago
parent
commit
d9b97a86ac
2 changed files with 6 additions and 2 deletions
  1. 1 1
      package.json
  2. 5 1
      src/views/system/cooperatorDetailed.vue

+ 1 - 1
package.json

@@ -4,7 +4,7 @@
   "private": true,
   "scripts": {
     
-    "serve": " vue-cli-service serve",
+    "serve": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve",
     "build": "vue-cli-service build"
   },
   "dependencies": {

+ 5 - 1
src/views/system/cooperatorDetailed.vue

@@ -32,7 +32,7 @@
               </el-col>
               <el-col span="12"  >
                 <el-form-item label="合作方证件类型: " width="100px">
-                <span>{{corpCertificateType}}</span>
+                <span>{{type_list[corpCertificateType/10-2]}}</span>
                 </el-form-item>
               </el-col>
             </el-row>
@@ -248,6 +248,10 @@ export default {
       showFieldTotal:'',
       productTotal:'',
       showProductTotal:'',
+      type_list: [
+                "组织机构代码",
+                "统一社会信用代码",
+            ],
     }
   },
   watch: {},