@dongkboy 3 лет назад
Родитель
Сommit
6629bdce2f
2 измененных файлов с 19 добавлено и 4 удалено
  1. 1 1
      src/views/Letter/Letter.vue
  2. 18 3
      src/views/Sys/Continuousconfiguration.vue

+ 1 - 1
src/views/Letter/Letter.vue

@@ -3132,7 +3132,7 @@ export default {
           this.syendDate = this.oneYearPast(time);
           if (this.riskList.length > 0) {
             for (let i = 0; i < this.riskList.length; i++) {
-              if (this.riskList[i].riskCode == "0507") {
+              if (this.riskList[i].riskCode == "0507") { 
                 this.riskList[i].startDate = time;
                 this.riskList[i].endDate = this.oneYearPast(time);
               } else if (this.riskList[i].riskCode == "0510") {

+ 18 - 3
src/views/Sys/Continuousconfiguration.vue

@@ -49,11 +49,22 @@
                             <el-input v-model="attributionform.namesimple" class="widths1" placeholder="填写公司简称"></el-input>
                         </el-form-item>
                     </el-col>
+                    <el-col :span="10">
+                        <el-form-item label="账号:">
+                            <el-input v-model="attributionform.username" class="widths1" placeholder="填写公司简称"></el-input>
+                        </el-form-item>
+                    </el-col>
+                    <el-col :span="10">
+                        <el-form-item label="密码:">
+                            <el-input v-model="attributionform.password"  class="widths1" placeholder="填写续保链接"></el-input>
+                        </el-form-item>
+                    </el-col>
                     <el-col :span="10">
                         <el-form-item label="续保请求url:">
-                            <el-input v-model="attributionform.url" style="width: 100%;" placeholder="填写续保链接"></el-input>
+                            <el-input v-model="attributionform.url" class="widths1" placeholder="填写续保链接"></el-input>
                         </el-form-item>
                     </el-col>
+
                     <el-col :span="10">
                         <el-form-item label="是否开启:">
                             <el-switch v-model="switchvalue" @change="isOpenchange" class="widths1"></el-switch>
@@ -135,6 +146,8 @@ export default {
                 isOpen: 0,//是/否开启
                 namesimple: "",//保险公司简称
                 url: "",//续保请求url
+                username:"",//用户名
+                password:"",//密码
             },
             pageRequest: {
                 "pageNum": 1,
@@ -181,6 +194,8 @@ export default {
                 isOpen: 0,//是/否开启
                 namesimple: "",//保险公司简称
                 url: "",//续保请求url
+                username:"",//用户名
+                password:"",//密码
             }
             this.id='';
             this.attributionform = params;
@@ -299,7 +314,7 @@ export default {
             })
 
         },
-        //编辑操作 
+        //编辑操作
         CloseEdit(index, row) {
             this.show = false,
                 this.attributionform = row;
@@ -340,4 +355,4 @@ export default {
     height: 400px;
     overflow-y: scroll;
 }
-</style>
+</style>