接口处理
Showing
1 changed file
with
22 additions
and
0 deletions
| ... | @@ -51,6 +51,25 @@ | ... | @@ -51,6 +51,25 @@ |
| 51 | </el-col> | 51 | </el-col> |
| 52 | </el-row> | 52 | </el-row> |
| 53 | <el-row> | 53 | <el-row> |
| 54 | <el-col :span="12"> | ||
| 55 | <el-form-item label="接口类型:" prop="requestType"> | ||
| 56 | <el-input v-model="ruleForm.requestType"></el-input> | ||
| 57 | </el-form-item> | ||
| 58 | </el-col> | ||
| 59 | <el-col :span="12"> | ||
| 60 | <el-form-item label="接口模块:" prop="requestModule"> | ||
| 61 | <el-input v-model="ruleForm.requestModule"></el-input> | ||
| 62 | </el-form-item> | ||
| 63 | </el-col> | ||
| 64 | </el-row> | ||
| 65 | <el-row> | ||
| 66 | <el-col :span="24"> | ||
| 67 | <el-form-item label="接口参数:" prop="requestParams"> | ||
| 68 | <el-input v-model="ruleForm.requestParams" type="textarea" :rows="4"></el-input> | ||
| 69 | </el-form-item> | ||
| 70 | </el-col> | ||
| 71 | </el-row> | ||
| 72 | <el-row> | ||
| 54 | <el-col :span="24"> | 73 | <el-col :span="24"> |
| 55 | <el-form-item label="接口描述:" prop="interfaceDescription"> | 74 | <el-form-item label="接口描述:" prop="interfaceDescription"> |
| 56 | <el-input v-model="ruleForm.interfaceDescription" type="textarea" :rows="4"></el-input> | 75 | <el-input v-model="ruleForm.interfaceDescription" type="textarea" :rows="4"></el-input> |
| ... | @@ -91,6 +110,9 @@ | ... | @@ -91,6 +110,9 @@ |
| 91 | interfaceMethod: '', | 110 | interfaceMethod: '', |
| 92 | interfaceType: '', | 111 | interfaceType: '', |
| 93 | interfaceKey: '', | 112 | interfaceKey: '', |
| 113 | requestParams: '', | ||
| 114 | requestType: '', | ||
| 115 | requestModule: '', | ||
| 94 | }, | 116 | }, |
| 95 | rules: { | 117 | rules: { |
| 96 | interfaceCode: [ | 118 | interfaceCode: [ | ... | ... |
-
Please register or sign in to post a comment