| | |
| | | methods: { |
| | | // 关闭弹窗 |
| | | handleCancel() { |
| | | console.log(1); |
| | | this.$emit("closeDialog", { flag: false, index: 0 }); |
| | | }, |
| | | //保存 |
| | | handleSave() { |
| | | const { myInterface } = this; |
| | | this.$refs.survey.validate((flag)=>{ |
| | | console.log(flag) |
| | | if(flag){ |
| | | |
| | | }else{ |
| | | return false |
| | | } |
| | | }) |
| | | // this.$axios |
| | | // .post("sccg/system/portal/thirdApp/add", { |
| | | // websiteUrl: myInterface.websiteUrl, |
| | | // applicationIconUrl: myInterface.applicationIconUrl, |
| | | // applicationType: 0, |
| | | // description: myInterface.description, |
| | | // applicationName: myInterface.applicationName, |
| | | // }) |
| | | // .then((res) => { |
| | | // console.log(res); |
| | | // // if (res.code === 200) { |
| | | // // this.refresh(); |
| | | // // } |
| | | // }); |
| | | }, |
| | | }, |
| | | props: ['refresh','closeDialog'], |
| | |
| | | <style lang="scss" scoped> |
| | | .createmyInterface { |
| | | border-radius: 1px; |
| | | background-color: #09152f; |
| | | // background-color: #09152f; |
| | | |
| | | main { |
| | | text-align: left; |
| | | padding: 0 55px; |
| | | background-color: #09152f; |
| | | // background-color: #09152f; |
| | | padding-bottom: 50px; |
| | | .mainContent { |
| | | display: flex; |
| | |
| | | color: #0079fe; |
| | | } |
| | | } |
| | | &::v-deep .el-form-item__label { |
| | | color: #4b9bb7; |
| | | } |
| | | // &::v-deep .el-form-item__label { |
| | | // color: #4b9bb7; |
| | | // } |
| | | |
| | | &::v-deep .el-input__inner { |
| | | background-color: #09152f; |
| | | border: 1px solid #17324c; |
| | | } |
| | | // &::v-deep .el-input__inner { |
| | | // background-color: #09152f; |
| | | // border: 1px solid #17324c; |
| | | // } |
| | | |
| | | .addPerson { |
| | | display: flex; |