| | |
| | | prop: "cardid", |
| | | search: true, |
| | | searchLabelWidth: 90, |
| | | searchSpan: 4, |
| | | searchSpan: 5, |
| | | }, |
| | | { |
| | | label: "年龄", |
| | |
| | | search: true, |
| | | searchLabelWidth: 110, |
| | | overHidden: true, |
| | | searchSpan: 4, |
| | | searchSpan: 5, |
| | | width: 210, |
| | | // span: 12, |
| | | labelWidth: 118, |
| | |
| | | width: 230, |
| | | searchLabelWidth: 80, |
| | | search: search, |
| | | searchSpan: 4, |
| | | searchSpan: 5, |
| | | // editDisplay: false, |
| | | // addDisplay: false, |
| | | // hide: true, |
| | |
| | | valueFormat: "yyyy-MM-dd", |
| | | searchValue: [this.getStartTime(), this.getEndTime()], |
| | | searchRange: true, |
| | | searchSpan: 5, |
| | | searchSpan: 6, |
| | | searchLabelWidth: 110, |
| | | hide: true, |
| | | addDisplay: false, |
| | |
| | | prop: "securityName", |
| | | disabled: true, |
| | | search: true, |
| | | searchSpan:4 |
| | | }, |
| | | { |
| | | label: "学校名称", |
| | |
| | | searchLabelWidth: "50", |
| | | width: 80, |
| | | overHidden: true, |
| | | searchSpan: 4, |
| | | searchSpan: 3, |
| | | search: true, |
| | | }, |
| | | { |
| | | label: "企业名称", |
| | | searchLabelWidth: "110", |
| | | // prop: "deptName", |
| | | prop: "deptId", |
| | | type: "tree", |
| | |
| | | }, |
| | | // hide: true, |
| | | // slot: true, |
| | | searchSpan: 4, |
| | | searchSpan: 5, |
| | | display: false, |
| | | search: search, |
| | | minWidth: 220, |
| | |
| | | prop: "cardid", |
| | | search: true, |
| | | searchLabelWidth: 90, |
| | | searchSpan: 4, |
| | | searchSpan: 5, |
| | | minWidth: 140, |
| | | display: false, |
| | | }, |
| | |
| | | search: true, |
| | | disabled: false, |
| | | type: "select", |
| | | searchSpan: 3, |
| | | searchSpan: 4, |
| | | // searchValue: "1", |
| | | dicData: [ |
| | | { |
| | |
| | | prop: "cardid", |
| | | search: true, |
| | | searchLabelWidth: 90, |
| | | searchSpan: 4, |
| | | searchSpan: 5, |
| | | }, |
| | | { |
| | | label: "学历", |
| | |
| | | </div> |
| | | <div> |
| | | <el-dialog |
| | | width="90%" |
| | | width="80%" |
| | | :title="titles" |
| | | append-to-body |
| | | :visible.sync="dialogVisible" |
| | | top="8vh" |
| | | height="70%" |
| | | lock-scroll="false" |
| | | top="1vh" |
| | | center |
| | | > |
| | | <situation |
| | | :card="{ deptId: deptid, jurisdiction: jurisdiction }" |
| | |
| | | // }, |
| | | //后改,考试数据统计 |
| | | setEC3(data) { |
| | | //获取年份 |
| | | // let year = new Date().getFullYear(); |
| | | // var timeData = []; |
| | | // for (let index = 1; index < 13; index++) { |
| | | // timeData.push(year+"-"+ index ); |
| | | // } |
| | | const seriesdata = []; |
| | | data.forEach((item) => { |
| | | if (item.type == 1) { |
| | |
| | | }); |
| | | } |
| | | }); |
| | | var datetime = [ |
| | | "1月", |
| | | "2月", |
| | | "3月", |
| | | "4月", |
| | | "5月", |
| | | "6月", |
| | | "7月", |
| | | "8月", |
| | | "9月", |
| | | "10月", |
| | | "11月", |
| | | "12月", |
| | | ] |
| | | //echarts 图表数据 |
| | | var option = { |
| | | title: { |
| | |
| | | xAxis: [ |
| | | { |
| | | type: "category", |
| | | data: [ |
| | | "1月", |
| | | "2月", |
| | | "3月", |
| | | "4月", |
| | | "5月", |
| | | "6月", |
| | | "7月", |
| | | "8月", |
| | | "9月", |
| | | "10月", |
| | | "11月", |
| | | "12月", |
| | | ], |
| | | data: datetime |
| | | }, |
| | | ], |
| | | yAxis: [ |
| | |
| | | }, |
| | | series: [ |
| | | { |
| | | // data: dd, |
| | | data: data, |
| | | type: "bar", |
| | | }, |
| | |
| | | }, |
| | | created(){ |
| | | //获取二维码图片 |
| | | // if(this.userInfo.role_name == "公安管理员" || this.userInfo.role_name == "administrator"){ |
| | | // this.isImg = true; |
| | | // //查询图片 |
| | | // getDetails(10).then((res) => { |
| | | // const att = res.data.data; |
| | | // this.img = att.link; |
| | | // }); |
| | | // } |
| | | if(this.userInfo.role_name == "administrator"){ |
| | | if(this.userInfo.role_name == "公安管理员" || this.userInfo.role_name == "administrator"){ |
| | | this.isImg = true; |
| | | //查询图片 |
| | | getDetails(10).then((res) => { |