Răsfoiți Sursa

增加加驾意投保时间

yaoyao 2 ani în urmă
părinte
comite
8e097ea378

+ 73 - 0
src/http/moudules/product/product.js

@@ -121,3 +121,76 @@ export const packageRemove= (id) => {
         method: 'DELETE',
     })
 }
+
+
+
+// 驾意险配置
+export const getDrivingInfo = (data) => {
+    return axios({
+        url: '/plt/scheme/getDrivingInfo',
+        method: 'post',
+        data
+    })
+}
+// 保险公司列表
+export const getCompany = (data) => {
+    return axios({
+        url: '/esmInsCompany/findTree',
+        method: 'post',
+        data
+    })
+}
+
+// 添加驾意险配置
+export const addDriving = (data) => {
+    return axios({
+        url: '/plt/scheme/addDriving',
+        method: 'post',
+        data
+    })
+}
+
+// 编辑驾意险配置
+export const updateDriving = (data) => {
+    return axios({
+        url: '/plt/scheme/updateDriving',
+        method: 'post',
+        data
+    })
+}
+
+// 编辑驾意险详情配置
+export const updateDrivingSon = (data) => {
+    return axios({
+        url: '/plt/scheme/updateDrivingSon',
+        method: 'post',
+        data
+    })
+}
+
+// 新增驾意险详情配置
+export const addDrivingSon = (data) => {
+    return axios({
+        url: '/plt/scheme/addDrivingSon',
+        method: 'post',
+        data
+    })
+}
+
+// 删除驾意险配置
+export const deleteDriving = (data) => {
+    return axios({
+        url: '/plt/scheme/deleteDriving',
+        method: 'post',
+        data
+    })
+}
+
+// 删除驾意险详情配置
+export const deleteDrivingSon = (data) => {
+    return axios({
+        url: '/plt/scheme/deleteDrivingSon',
+        method: 'post',
+        data
+    })
+}

+ 38 - 33
src/views/Task/daikeComponents/KtLetter1.vue

@@ -1334,43 +1334,43 @@
                           <div class="flex-1">评分:</div>
                           <div class="flex-1">{{ reslistitem.result.ilogPreUdwMess ? reslistitem.result.ilogPreUdwMess : "无" }}</div>
                         </div>
-                        <div style="color: #2d4d89">
-                          <el-tooltip class="item" effect="dark" content="上年信息" placement="top">
-                            <i class="el-icon-chat-dot-round" @click="
-                              open2(reslistitem.namesimple, reslistitem.lastYearMsg)
-                              " style="
-                                font-size: 20px;
-                                transform: scale(0.8);
-                                vertical-align: middle;
-                              " :disabled="reslistitem.namesimple == '众安财险' &&
-                                reslistitem.result.tips == '需要验车'
-                                " v-show="reslistitem.quoteCode == '200' &&
-                                  reslistitem.lastYearMsg
-                                  "></i>
-                          </el-tooltip>
-                          <el-tooltip class="item" effect="dark" content="预核保信息" placement="top">
-                            <i class="el-icon-chat-dot-round" @click="
-                              openPredictInfo(
-                                reslistitem.namesimple,
-                                reslistitem.predictInfo
-                              )
-                              " style="
-                                font-size: 20px;
-                                transform: scale(0.8);
-                                vertical-align: middle;
-                              " v-show="reslistitem.quoteCode == '200' &&
-                                reslistitem.predictInfo &&
-                                reslistitem.predictInfo.length > 0 &&
-                                reslistitem.namesimple == '中国人寿'
-                                "></i>
-                          </el-tooltip>
-
-                        </div>
                       </div>
                     </div>
                     <div style="flex: 1;"></div>
-                    <div style="display: flex;">
+                    <div style="display: flex; align-items: center;">
                       <div style="flex: 1;"></div>
+                      <div style="color: #2d4d89">
+                        <el-tooltip class="item" effect="dark" content="上年信息" placement="top">
+                          <i class="el-icon-chat-dot-round" @click="
+                            open2(reslistitem.namesimple, reslistitem.lastYearMsg)
+                            " style="
+                              font-size: 20px;
+                              transform: scale(0.8);
+                              vertical-align: middle;
+                            " :disabled="reslistitem.namesimple == '众安财险' &&
+                              reslistitem.result.tips == '需要验车'
+                              " v-show="reslistitem.quoteCode == '200' &&
+                                reslistitem.lastYearMsg
+                                "></i>
+                        </el-tooltip>
+                        <el-tooltip class="item" effect="dark" content="预核保信息" placement="top">
+                          <i class="el-icon-chat-dot-round" @click="
+                            openPredictInfo(
+                              reslistitem.namesimple,
+                              reslistitem.predictInfo
+                            )
+                            " style="
+                              font-size: 20px;
+                              transform: scale(0.8);
+                              vertical-align: middle;
+                            " v-show="reslistitem.quoteCode == '200' &&
+                              reslistitem.predictInfo &&
+                              reslistitem.predictInfo.length > 0 &&
+                              reslistitem.namesimple == '中国人寿'
+                              "></i>
+                        </el-tooltip>
+
+                      </div>
                       <el-button :disabled="reslistitem.namesimple == '众安财险' &&
                         reslistitem.result.tips == '需要验车'
                         " v-show="reslistitem.quoteCode == '200' &&
@@ -2562,6 +2562,10 @@
             <span>驾意险:</span>
             <span>{{ jypremium }}</span>
           </div>
+          <div v-if="jypremium">
+            <span>驾意险险起保日期:</span>
+            <span>{{ systartdate || jqstartdate }}</span>
+          </div>
         </div>
         <!-- <div class="display">
           <el-button size="small" style="width:100px;" @click="codedialogVisible = false">关闭</el-button>
@@ -2599,6 +2603,7 @@
           <div>投保人:{{ applyName }}</div>
           <div>交强险起保日期:{{ jqstartdate }}</div>
           <div>商业险起保日期:{{ systartdate }}</div>
+          <div>驾意险起保日期:{{ systartdate || jqstartdate }}</div>
         </div>
       </div>
       <span slot="footer" class="dialog-footer">

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

@@ -346,9 +346,13 @@
             <span>{{ systartdate }}</span>
           </div>
           <div v-if="jypremium">
-            <span>非车险:</span>
+            <span>驾意险:</span>
             <span>{{ jypremium }}</span>
           </div>
+          <div v-if="jypremium">
+            <span>驾意险险起保日期:</span>
+            <span>{{ systartdate || jqstartdate }}</span>
+          </div>
         </div>
       </div>
       <span slot="footer" class="dialog-footer display">
@@ -367,7 +371,7 @@
           <div>交强险:{{ jqpremium }}</div>
           <div>车船税:{{ taxamount }}</div>
           <div>商业险:{{ sypremium }}</div>
-          <div>非车险:{{ jypremium }}</div>
+          <div>驾意险:{{ jypremium }}</div>
         </div>
         <div v-if="['大家财险', '华泰财险'].includes(inscompany)">
           <div v-if="apiType == 1" id="qrcode" ref="qrcode"></div>
@@ -383,6 +387,7 @@
           <div>投保人:{{ applyName }}</div>
           <div>交强险起保日期:{{ jqstartdate }}</div>
           <div>商业险起保日期:{{ systartdate }}</div>
+          <div>驾意险起保日期:{{ systartdate || jqstartdate }}</div>
         </div>
       </div>
       <span slot="footer" class="dialog-footer">