zhanbo.xu

feat: 添加默认参数

...@@ -557,8 +557,13 @@ ...@@ -557,8 +557,13 @@
557 </el-col> 557 </el-col>
558 558
559 <!-- 加签方式 --> 559 <!-- 加签方式 -->
560 - <!-- <el-col :span="8" > 560 + <el-col :span="8">
561 - <Formitem label="加密方式" prop="guangzhouSignature" type="edit"> 561 + <Formitem
562 + label="加密方式"
563 + prop="guangzhouSignature"
564 + type="edit"
565 + v-show="false"
566 + >
562 <el-select 567 <el-select
563 type="text" 568 type="text"
564 id="inputInner-edit-guangzhouSignature" 569 id="inputInner-edit-guangzhouSignature"
...@@ -576,7 +581,9 @@ ...@@ -576,7 +581,9 @@
576 ></el-option> 581 ></el-option>
577 </el-select> 582 </el-select>
578 </Formitem> 583 </Formitem>
579 - </el-col> --> 584 + </el-col>
585 + </el-row>
586 + <el-row :gutter="5">
580 <el-col :span="16" style="padding-right: 5px" :key="refreshKey"> 587 <el-col :span="16" style="padding-right: 5px" :key="refreshKey">
581 <div class="uploadItem"> 588 <div class="uploadItem">
582 <div class="uploadbox"> 589 <div class="uploadbox">
...@@ -1300,6 +1307,9 @@ export default { ...@@ -1300,6 +1307,9 @@ export default {
1300 handlePortConfigJson() { 1307 handlePortConfigJson() {
1301 this.formData.config = {}; 1308 this.formData.config = {};
1302 this.choosePortCode.forEach((portCode) => { 1309 this.choosePortCode.forEach((portCode) => {
1310 + if (portCode == "CAN") {
1311 + this.portConfig[portCode].methodOfSignature = "RSA";
1312 + }
1303 this.formData.config[portCode] = JSON.stringify( 1313 this.formData.config[portCode] = JSON.stringify(
1304 this.portConfig[portCode] 1314 this.portConfig[portCode]
1305 ); 1315 );
......