| | |
| | | @size-change="sizeChange" |
| | | @refresh-change="refreshChange" |
| | | @on-load="onLoad" |
| | | @sort-change="sortChange" |
| | | > |
| | | </avue-crud> |
| | | </basic-container> |
| | |
| | | export default { |
| | | data() { |
| | | return { |
| | | sort: {}, |
| | | form: {}, |
| | | query: {}, |
| | | loading: true, |
| | |
| | | label: "审查状态", |
| | | prop: "examinationType", |
| | | // overHidden: true, |
| | | sortable: true, |
| | | // type: "date", |
| | | // format: "yyyy-MM-dd", |
| | | // valueFormat: "yyyy-MM-dd", |
| | |
| | | { |
| | | label: "审查明细", |
| | | prop: "examinationMx", |
| | | sortable: true, |
| | | // labelWidth: 120, |
| | | // display: false, |
| | | }, |
| | |
| | | var d = new Date(); |
| | | return d.getFullYear(); |
| | | }, |
| | | sortChange(val) { |
| | | // console.log(val); |
| | | |
| | | var sort = val.order == "descending" ? "asc" : "desc"; |
| | | var useName = val.prop; |
| | | this.sort = { |
| | | sort, |
| | | useName, |
| | | }; |
| | | this.onLoad(this.page, this.sort); |
| | | }, |
| | | onLoad(page, params = {}) { |
| | | // this.loading = false; |
| | | params = Object.assign(params, this.sort); |
| | | this.loading = true; |
| | | params["status"] = 1; |
| | | getListSecurity( |
| | |
| | | // target: 'http://192.168.0.109:1', |
| | | //远程演示服务地址,可用于直接启动项目 |
| | | // target: 'http://2h3f861221.wicp.vip:58646', |
| | | target: 'http://s16s652780.51mypc.cn/api', |
| | | // target: 'http://192.168.0.114:82', |
| | | // target: 'http://s16s652780.51mypc.cn/api', |
| | | target: 'http://192.168.0.114:82', |
| | | // target: 'http://192.168.0.109:82', |
| | | // target: 'http://s16s652780.51mypc.cn/api', |
| | | // 服务器使用 |