commit
Showing
2 changed files
with
5 additions
and
16 deletions
| ... | @@ -21,7 +21,7 @@ | ... | @@ -21,7 +21,7 @@ |
| 21 | data() { | 21 | data() { |
| 22 | return { | 22 | return { |
| 23 | uid: this.$route.query.uid, | 23 | uid: this.$route.query.uid, |
| 24 | huanjing: this.$route.query.huanjing, | 24 | method: this.$route.query.method, |
| 25 | callLinuxLogByUid: [] | 25 | callLinuxLogByUid: [] |
| 26 | } | 26 | } |
| 27 | }, | 27 | }, |
| ... | @@ -43,7 +43,7 @@ | ... | @@ -43,7 +43,7 @@ |
| 43 | } | 43 | } |
| 44 | this.$http.get('/tool/callLinuxLogByUid?'+this.$qs.stringify({ | 44 | this.$http.get('/tool/callLinuxLogByUid?'+this.$qs.stringify({ |
| 45 | uid: this.uid, | 45 | uid: this.uid, |
| 46 | type: this.huanjing | 46 | method: this.method |
| 47 | }),config).then((res)=>{ | 47 | }),config).then((res)=>{ |
| 48 | console.log(res.data) | 48 | console.log(res.data) |
| 49 | this.callLinuxLogByUid=res.data | 49 | this.callLinuxLogByUid=res.data | ... | ... |
| ... | @@ -412,14 +412,7 @@ | ... | @@ -412,14 +412,7 @@ |
| 412 | <el-input placeholder="请输入UID" v-model="callLinuxLogByUid.uid" clearable></el-input> | 412 | <el-input placeholder="请输入UID" v-model="callLinuxLogByUid.uid" clearable></el-input> |
| 413 | </el-form-item> | 413 | </el-form-item> |
| 414 | <el-form-item> | 414 | <el-form-item> |
| 415 | <el-select v-model="callLinuxLogByUid.huanjing" placeholder="请选择执行环境"> | 415 | <el-input placeholder="请输入method" v-model="callLinuxLogByUid.method" clearable disabled></el-input> |
| 416 | <el-option | ||
| 417 | v-for="item in callLinuxLogByUidOptions" | ||
| 418 | :key="item.value" | ||
| 419 | :label="item.label" | ||
| 420 | :value="item.value"> | ||
| 421 | </el-option> | ||
| 422 | </el-select> | ||
| 423 | </el-form-item> | 416 | </el-form-item> |
| 424 | <div style="margin: 15px 0;"></div> | 417 | <div style="margin: 15px 0;"></div> |
| 425 | <el-form-item> | 418 | <el-form-item> |
| ... | @@ -668,12 +661,8 @@ | ... | @@ -668,12 +661,8 @@ |
| 668 | }], | 661 | }], |
| 669 | callLinuxLogByUid: { | 662 | callLinuxLogByUid: { |
| 670 | uid: '', | 663 | uid: '', |
| 671 | huanjing: [] | 664 | method: '' |
| 672 | }, | 665 | }, |
| 673 | callLinuxLogByUidOptions: [{ | ||
| 674 | value: '0', | ||
| 675 | label: '测试环境' | ||
| 676 | }], | ||
| 677 | queryUserInfo: { | 666 | queryUserInfo: { |
| 678 | agentPhone: '', | 667 | agentPhone: '', |
| 679 | huanjing: [] | 668 | huanjing: [] |
| ... | @@ -1141,7 +1130,7 @@ | ... | @@ -1141,7 +1130,7 @@ |
| 1141 | }, | 1130 | }, |
| 1142 | callLinuxLogByUidSubmit() { | 1131 | callLinuxLogByUidSubmit() { |
| 1143 | const {href} = this.$router.resolve({ name:'callLinuxLogByUid', query: | 1132 | const {href} = this.$router.resolve({ name:'callLinuxLogByUid', query: |
| 1144 | {uid: this.callLinuxLogByUid.uid, huanjing: this.callLinuxLogByUid.huanjing.toString()}}) | 1133 | {uid: this.callLinuxLogByUid.uid, method: this.callLinuxLogByUid.method}}) |
| 1145 | window.open(href, '_blank') | 1134 | window.open(href, '_blank') |
| 1146 | }, | 1135 | }, |
| 1147 | queryProvinceSubmit() { | 1136 | queryProvinceSubmit() { | ... | ... |
-
Please register or sign in to post a comment