| | |
| | | }; |
| | | }, |
| | | created() { |
| | | alert(1233) |
| | | // alert(1233) |
| | | this.getList(); |
| | | // this.getCateInfor() |
| | | this.getInfo() |
| | |
| | | |
| | | getList() { |
| | | this.loading = true; |
| | | console.log(this.dateRange) |
| | | if(this.dateRange!=null) |
| | | { |
| | | this.queryParams.happenStartTime = this.dateRange.length > 0 && this.dateRange[0] |
| | | this.queryParams.happenEndTime = this.dateRange.length > 0 && this.dateRange[1] |
| | | console.log(this.queryParams) |
| | | } |
| | | else |
| | | { |
| | | this.queryParams.happenStartTime = null |
| | | this.queryParams.happenEndTime = null |
| | | } |
| | | |
| | | console.log(this.queryParams) |
| | | //alert(this.queryParams.name) |
| | | // listProperty(this.addDateRange(this.queryParams, this.dateRange)).then(response => { |
| | | let _this = this |
| | |
| | | this.btn= jd; |
| | | this.dsb = !jd; |
| | | this.isShow=true; |
| | | this.$route.meta.title = "修改家庭收支台账详细信息";//列表的名称 |
| | | this.$route.meta.title = "修改家庭收支台账信息";//列表的名称 |
| | | } |
| | | else{ |
| | | this.$route.meta.title = "家庭收支台账详细信息";//列表的名称 |
| | |
| | | this.$refs.uploadDemo.clearFiles(); |
| | | // alert(234) |
| | | uploadPics(formData).then(response => { |
| | | alert(response.data.url) |
| | | // alert(response.data.url) |
| | | // // alert(response.data.originalFilename) |
| | | let pth = response.data.originalFilename.substr(response.data.originalFilename.length-4, response.data.originalFilename.length) |
| | | |
| | |
| | | proxy: { |
| | | // detail: https://cli.vuewww.bendudu.comjs.org/config/#devserver-proxy |
| | | [process.env.VUE_APP_BASE_API]: { |
| | | // target: `https://10.39.18.174:8080/`, |
| | | target: `https://10.39.18.174:8080/`, |
| | | // target: `https://192.168.1.7:8080/`, |
| | | target: 'https://www.bendudu.com:8080/', |
| | | // target: 'https://www.bendudu.com:8080/', |
| | | changeOrigin: true, |
| | | pathRewrite: { |
| | | ['^' + process.env.VUE_APP_BASE_API]: '' |