@dongkboy 3 年之前
父節點
當前提交
a79138a696
共有 2 個文件被更改,包括 14 次插入 和 14 次删除
  1. 2 2
      config/dev.env.js
  2. 12 12
      src/views/AgreementManage/CarInsurance/AgreementEntry.vue

+ 2 - 2
config/dev.env.js

@@ -5,7 +5,7 @@ const prodEnv = require('./prod.env')
 module.exports = merge(prodEnv, {
   NODE_ENV: '"development"',
   ENV_CONFIG:'"dev"',
-  // BASE_URL: '"http://39.98.239.48/web-api"',
-  BASE_URL: '"http://192.168.0.111:8080/"' //测试服务器
+  BASE_URL: '"http://39.98.239.48/web-api"',
+  // BASE_URL: '"http://192.168.0.111:8080/"' //测试服务器
 
 })

+ 12 - 12
src/views/AgreementManage/CarInsurance/AgreementEntry.vue

@@ -1093,7 +1093,7 @@
         </el-tab-pane>
         <el-tab-pane label="保险公司账号配置" name="inscommany">
           <el-form class="demo-ruleForm wrap-scrollbar scroll-style" :model="attributionform" ref="attributionform"
-            label-width="130px" size="small">
+            label-width="170px" size="small">
             <el-row>
               <el-col :span="12">
                 <el-form-item label="api类型:">
@@ -1103,7 +1103,7 @@
                   </el-select>
                 </el-form-item>
               </el-col>
-              <div v-if="attributionform.apiType == 2 && attributionform.fields.length > 0">
+              <div v-if="attributionform.apiType == 2">
                 <el-col :span="24">
                   <div>
                     <h4>账号配置</h4>
@@ -1126,7 +1126,7 @@
                     <h4>配置参数</h4>
                   </div>
                 </el-col>
-                <el-col :xs="24" :sm="24" :md="12" :lg="8" :xl="8" :span="8"
+                <el-col  :span="10"
                   v-for="(domain, index) in  attributionform.fields" :key="domain.index">
                   <el-form-item :label="domain.label + ':'" :prop="'fields.' + index + '.value'" :rules="{
                     required: true, message: domain.label + '不能为空', trigger: 'blur'
@@ -1557,22 +1557,22 @@ export default {
         username: "",
       },
       agreement: {
-        agreementAbbreviation: "",//协议简称	
+        agreementAbbreviation: "",//协议简称
         agreementCode: "",//协议代码
         agreementName: "",//	协议名称
         agreementType: "",//协议类型
         cooperationChannels: "",//合作渠道
-        dockingPerson: "",//对接人	
-        dockingPhone: "",//联系方式(对接人)	
+        dockingPerson: "",//对接人
+        dockingPhone: "",//联系方式(对接人)
         endDate: "",//协议止期
         fileId: "",//	附件id
-        insuranceCompanyId: "",//合作公司	
+        insuranceCompanyId: "",//合作公司
         matchType: "",//保单日期类型
-        moneyTime: 0,//结算周期	
-        moneyType: "",//佣金发放方式	
-        startDate: "",//协议起期	
-        validStatus: "",//有效状态	
-        withTax: ""//含增值税结算	
+        moneyTime: 0,//结算周期
+        moneyType: "",//佣金发放方式
+        startDate: "",//协议起期
+        validStatus: "",//有效状态
+        withTax: ""//含增值税结算
       },
       VehicleFactorlineindex: "",
       VehicleFactoroutindex: "",