Merge branch 'master' of http://192.168.0.105:10010/r/jfpt-Vue
| | |
| | | }, |
| | | //搜索按钮 |
| | | searchChange(params, done) { |
| | | //清空this.$route.query |
| | | this.$router.push({ query: {} }); |
| | | this.query = params; |
| | | this.page.currentPage = 1; |
| | | this.onLoad(this.page, params); |
| | |
| | | } |
| | | }, |
| | | onLoad(page, params = {}) { |
| | | // debugger; |
| | | const { dateTime } = this.query; |
| | | let values = { |
| | | ...params, |
| | |
| | | this.onLoad(this.page); |
| | | }, |
| | | searchChange(params, done) { |
| | | //清空this.$route.query |
| | | this.$router.push({ query: {} }); |
| | | this.query = params; |
| | | this.page.currentPage = 1; |
| | | this.onLoad(this.page, params); |
| | |
| | | let values = { |
| | | ...params, |
| | | }; |
| | | debugger; |
| | | if (this.$route.query.status!=undefined && this.$route.query != undefined && this.$route.query != null && this.$route.query != "" ) { |
| | | if (this.$route.query.type != undefined) { |
| | | this.page.currentPage = 1; |
| | |
| | | this.onLoad(this.page); |
| | | }, |
| | | searchChange(params, done) { |
| | | //清空this.$route.query |
| | | this.$router.push({ query: {} }); |
| | | this.query = params; |
| | | this.page.currentPage = 1; |
| | | this.onLoad(this.page, params); |
| | |
| | | this.onLoad(this.page); |
| | | }, |
| | | searchChange(params, done) { |
| | | //清空this.$route.query |
| | | this.$router.push({ query: {} }); |
| | | this.query = params; |
| | | this.page.currentPage = 1; |
| | | this.onLoad(this.page, params); |
| | |
| | | this.onLoad(this.page); |
| | | }, |
| | | searchChange(params, done) { |
| | | //清空this.$route.query |
| | | this.$router.push({ query: {} }); |
| | | this.query = params; |
| | | this.page.currentPage = 1; |
| | | this.onLoad(this.page, params); |
| | |
| | | methods: { |
| | | drawPie() { |
| | | var that = this; |
| | | debugger; |
| | | var myChart = this.$echarts.init( |
| | | document.getElementById("base_information_pie_echarts") |
| | | ); |
| | |
| | | itemStyle: { color: "#29c194" }, |
| | | }, |
| | | { |
| | | value: that.yj, |
| | | legendname: "预警", |
| | | name: "预警", |
| | | itemStyle: { color: "#F34A4A" }, |
| | | }, |
| | | { |
| | | value: that.gz, |
| | | legendname: "故障", |
| | | name: "故障", |
| | |
| | | }] |
| | | }, |
| | | { |
| | | label: "所属租户", |
| | | label: "所属客户", |
| | | prop: "tenantId", |
| | | type: "tree", |
| | | dicUrl: "/api/blade-system/tenant/select", |
| | |
| | | search: website.tenantMode, |
| | | rules: [{ |
| | | required: true, |
| | | message: "请输入所属租户", |
| | | message: "请输入所属客户", |
| | | trigger: "click" |
| | | }] |
| | | }, |
| | |
| | | display: false |
| | | }, |
| | | { |
| | | label: "所属租户", |
| | | label: "所属客户", |
| | | prop: "tenantName", |
| | | slot: true, |
| | | display: false |
| | | display: false, |
| | | width:200 |
| | | }, |
| | | { |
| | | label: "用户姓名", |
| | |
| | | label: "所属部门", |
| | | prop: "deptName", |
| | | slot: true, |
| | | display: false |
| | | display: false, |
| | | width:260 |
| | | }, |
| | | |
| | | { |
| | |
| | | icon: 'el-icon-user-solid', |
| | | column: [ |
| | | { |
| | | label: "所属租户", |
| | | label: "所属客户", |
| | | prop: "tenantId", |
| | | type: "tree", |
| | | dicUrl: "/api/blade-system/tenant/select", |