刘洋 10 月之前
父节点
当前提交
5340a4c8bf
共有 1 个文件被更改,包括 12 次插入2 次删除
  1. 12 2
      src/modules/examwork/view/ipConfig.vue

+ 12 - 2
src/modules/examwork/view/ipConfig.vue

@@ -193,7 +193,7 @@
           </div>
         </el-form-item>
         <el-form-item label="备注" prop="remark">
-          <el-input v-model="editForm.remark" type="textarea" />
+          <el-input v-model="editForm.remark" type="textarea" maxlength="100" />
         </el-form-item>
       </el-form>
       <div slot="footer">
@@ -203,7 +203,12 @@
     </el-dialog>
 
     <!-- 导入弹窗 -->
-    <el-dialog title="导入窗口" width="520px" :visible.sync="impDialog">
+    <el-dialog
+      title="导入窗口"
+      width="520px"
+      :visible.sync="impDialog"
+      :close-on-click-modal="false"
+    >
       <el-form>
         <el-row>
           <el-form-item style="margin-left: 20px">
@@ -486,6 +491,11 @@ export default {
           remark: "",
         };
       }
+      if (item) {
+        this.editForm.orgId = item?.orgId;
+        this.editForm.ip = item?.ip;
+        this.editForm.remark = item?.remark;
+      }
       this.curRow = item;
       this.showEditDialog = true;
     },