@dongkboy 1 år sedan
förälder
incheckning
328c47b40c

+ 2 - 2
config/dev.env.js

@@ -5,8 +5,8 @@ const prodEnv = require('./prod.env')
 module.exports = merge(prodEnv, {
   NODE_ENV: '"development"',
   ENV_CONFIG: '"dev"',
-  // BASE_URL: '"https://test.baoxianzhanggui.com/web-api"',//测试服务器
-  BASE_URL:'"https://sxzgkj.baoxianzhanggui.com/web-api"',//正式服务器
+  BASE_URL: '"https://test.baoxianzhanggui.com/web-api"',//测试服务器
+  // BASE_URL:'"https://sxzgkj.baoxianzhanggui.com/web-api"',//正式服务器
   // BASE_URL:'"https://sxzgkj.baoxianzhanggui.com/web-api"'//正式服务器
   // BASE_URL: '"http://192.168.0.115:8080/"', //凯森
   // BASE_URL: '"http://192.168.0.106:8080/"',//屈晨

+ 23 - 9
src/views/Task/daikeComponents/KtLetter1.vue

@@ -1062,7 +1062,7 @@
                     reslistitem.cnName,
                     reslistindex
                   )
-                  "></el-checkbox>
+                "></el-checkbox>
               </el-col>
               <el-col :span="2">
                 <img :src="reslistitem.logo" alt style="
@@ -1085,9 +1085,9 @@
                       reslistindex,
                       reslistitem
                     )
-                    ">
+                  ">
                   <div v-for="(
-                      agreementitem, agreementindex
+agreementitem, agreementindex
                     ) in reslistitem.agreement" :key="agreementindex">
                     <div v-if="agreementitem.licenseNo &&
                       agreementitem.licenseNo.length > 0 &&
@@ -1552,17 +1552,17 @@
                               v-show="reslistitem.programme.description != '单商' && reslistitem.programme.description != '单三'">
                               <span style="margin-left: 0;">{{ reslistitem.result.jqInput ?
                                 (reslistitem.result.jqPremium * (reslistitem.result.jqInput / 100)).toFixed(2) : 0
-                                }}</span>
+                              }}</span>
                             </div>
                             <div class="table-list-line" v-show="reslistitem.programme.description != '单交'">
                               <span style="margin-left: 0;">{{ reslistitem.result.syInput ?
                                 (reslistitem.result.syPremium * (reslistitem.result.syInput / 100)).toFixed(2) : 0
-                                }}</span>
+                              }}</span>
                             </div>
                             <div class="table-list-line table-list-line-last" v-show="reslistitem.result.jyPremium">
                               <span style="margin-left: 0;">{{ reslistitem.result.jyInput ?
                                 (reslistitem.result.jyPremium * (reslistitem.result.jyInput / 100)).toFixed(2) : 0
-                                }}</span>
+                              }}</span>
                             </div>
                           </div>
                           <div class="w-60 w-66">{{ (
@@ -1573,7 +1573,7 @@
                             (reslistitem.result.jyInput ? reslistitem.result.jyPremium * (reslistitem.result.jyInput /
                               100) : 0)
                           ).toFixed(2)
-                            }}</div>
+                          }}</div>
                         </div>
                       </div>
                     </div>
@@ -3949,7 +3949,7 @@
               v-show="listIndex == 0">
               <el-checkbox-group v-model="checkList" @change="handleChangeJiayi(listItem, listIndex)">
                 <el-checkbox v-for="(item, index) in listItem.children" :key="index" :label="item">{{ item.typeName
-                  }}</el-checkbox>
+                }}</el-checkbox>
               </el-checkbox-group>
               <div v-for="(item, index) in checkList" :key="index" style="margin-bottom: 20px;">
                 <div v-if="totalCompanyList[typeDialogIndex].cnName == 'zijin'">
@@ -4115,7 +4115,7 @@
             <div v-for="(listItem, listIndex) in jiayiDialogData.drivingTypeList" :key="listIndex">
               <el-checkbox-group v-model="checkList" @change="handleChangeJiayi(listItem, listIndex)">
                 <el-checkbox v-for="(item, index) in listItem.children" :key="index" :label="item">{{ item.typeName
-                  }}</el-checkbox>
+                }}</el-checkbox>
               </el-checkbox-group>
               <div v-for="(item, index) in checkList" :key="index" style="margin-bottom: 20px;">
                 <div v-if="totalCompanyList[typeDialogIndex].cnName == 'zijin'">
@@ -8010,6 +8010,8 @@ export default {
               case "安盛天平":
               case "华农财险":
               case "华安财险":
+              case "泰山财险":
+
               case "众安财险":
               case "太平洋财险":
                 res.data.map(ele => {
@@ -8499,6 +8501,7 @@ export default {
                   case "太平财险":
                   case "华农财险":
                   case "华安财险":
+                  case "泰山财险":
                   case "安盛天平":
                   case "众安财险":
                   case "太平洋财险":
@@ -10829,6 +10832,7 @@ export default {
           case "恒邦财险":
           case "华农财险":
           case "华安财险":
+          case "泰山财险":
           case "太平财险":
           case "太平洋财险":
             if (!!res.data) {
@@ -10988,6 +10992,14 @@ export default {
         this.totalCompanyList[num].apiType
       );
     },
+    taishan(num, id, namesimple) {
+      this.quoteInsurance(
+        num,
+        id,
+        namesimple,
+        this.totalCompanyList[num].apiType
+      );
+    },
     capTypedictTag(val, option) {
       if (option.find(item => item.dictValue == val)) {
         return option.find(item => item.dictValue == val).dictTag;
@@ -12010,6 +12022,8 @@ export default {
               case "恒邦财险":
               case "华农财险":
               case "华安财险":
+              case "泰山财险":
+
               case "太平财险":
               case "安盛天平":
               case "众安财险":

+ 10 - 7
src/views/Task/daikeComponents/KtOrder.vue

@@ -58,7 +58,7 @@
             <el-radio-group v-model="pageRequest.productid">
               <el-radio label="">全部</el-radio>
               <el-radio v-for="val in productsTypeoptions" :key="val.dictValue" :label="val.dictValue">{{ val.dictTag
-                }}</el-radio>
+              }}</el-radio>
             </el-radio-group>
           </el-form-item>
         </el-col>
@@ -69,7 +69,7 @@
             <el-radio-group v-model="pageRequest.orderStatus">
               <el-radio label="888">全部</el-radio>
               <el-radio v-for="val in optionsStatus" :key="val.dictValue" :label="val.dictValue">{{ val.dictTag
-                }}</el-radio>
+              }}</el-radio>
             </el-radio-group>
           </el-form-item>
         </el-col>
@@ -185,6 +185,7 @@
                   '大家财险',
                   '华泰财险',
                   '华安财险',
+                  '泰山财险',
                   '国任财险',
                   '中煤财险',
                   '渤海财险',
@@ -269,7 +270,7 @@
               border-color: #33a08d;
               background: rgba(51, 160, 141, 0.1);
             " v-if="scope.row.orderstatus == '0' || scope.row.orderstatus == '1'" size="small">{{ scope.row.orderstatus
-            | cap }}</el-tag>
+              | cap }}</el-tag>
           <el-tag type="danger" style="border-color: #e75b5d" v-else-if="scope.row.orderstatus == '3'" size="small">{{
             scope.row.orderstatus | cap }}</el-tag>
           <el-tag v-else style="
@@ -512,6 +513,7 @@
                   '大家财险',
                   '华泰财险',
                   '华安财险',
+                  '泰山财险',
                   '国任财险',
                   '中煤财险',
                   '渤海财险',
@@ -585,7 +587,7 @@
             <div class="aaa">
               <span>1.新车合格证</span>
               <el-upload action="#" list-type="picture-card" :auto-upload="false" :limit="1" drag :on-change="(file) =>
-                  drivingupload(file, 'imageList5', 'imgList9', 'XC00')
+                drivingupload(file, 'imageList5', 'imgList9', 'XC00')
                 " :file-list="imgList9" multiple ref="upload3" :class="{ styleB: imgList9.length === 1 }">
                 <img v-show="imgList9.length == 0" src="../../../../static/userfront.png"
                   style="width: 100%; height: 100%" />
@@ -603,7 +605,7 @@
             <div class="aaa">
               <span>2.购车发票</span>
               <el-upload action="#" list-type="picture-card" :auto-upload="false" :limit="1" drag :on-change="(file) =>
-                  drivingupload(file, 'imageList5', 'imgList10', 'GC00')
+                drivingupload(file, 'imageList5', 'imgList10', 'GC00')
                 " :file-list="imgList10" multiple ref="upload4" :class="{ styleB: imgList10.length === 1 }">
                 <img v-show="imgList10.length == 0" src="../../../../static/userfront.png"
                   style="width: 100%; height: 100%" />
@@ -779,7 +781,7 @@
             <div class="aaa">
               <span>1.关系证明</span>
               <el-upload action="#" list-type="picture-card" :auto-upload="false" :limit="1" drag :on-change="(file) =>
-                  drivingupload(file, 'imageList5', 'imgList11', 'GX00')
+                drivingupload(file, 'imageList5', 'imgList11', 'GX00')
                 " :file-list="imgList11" multiple ref="upload3" :class="{ styleB: imgList11.length === 1 }">
                 <img v-show="imgList11.length == 0" src="../../../../static/userfront.png"
                   style="width: 100%; height: 100%" />
@@ -1836,7 +1838,8 @@ export default {
         item.inscompany == "太平财险" ||
         item.inscompany == "泰康财险" ||
         item.inscompany == "华农财险" ||
-        item.inscompany == "华安财险"
+        item.inscompany == "华安财险" ||
+        item.inscompany == "泰山财险"
       ) {
         this.$api.letter
           .pychonverifyPayment({ subOrderNo: item.id })