| | |
| | | if (this.statusSelect !== 'all') { |
| | | conditionMap.lcstatus = this.statusSelect; |
| | | } |
| | | |
| | | const res = await TableData({ |
| | | templateOid: this.templateOid, |
| | | codeClassifyOid: this.codeClassifyOid, |
| | |
| | | limit: this.page.pageSize, |
| | | conditionMap |
| | | }); |
| | | |
| | | this.tableData = res.data.data; |
| | | this.doLayout(); |
| | | } catch (error) { |
| | | // 处理错误 |
| | | this.$message.error(error) |
| | | } finally { |
| | | this.isLoading = false; |
| | | } |
| | |
| | | this.findvisible = true; |
| | | }, |
| | | // 高级查询 |
| | | echoContion(val) { |
| | | FindData({ |
| | | async echoContion(val) { |
| | | try { |
| | | const res = await FindData({ |
| | | templateOid: this.templateOid, |
| | | codeClassifyOid: this.codeClassifyOid, |
| | | ...val, |
| | | }).then((res) => { |
| | | }); |
| | | this.tableData = res.data.data; |
| | | this.page.total = res.data.total |
| | | }); |
| | | } catch (error) { |
| | | |
| | | } |
| | | }, |
| | | //相似项查询 |
| | | similarHandler() { |
| | |
| | | data() { |
| | | return { |
| | | chartOptions: { |
| | | color:["#91CC75", "#5470C6"], |
| | | color:['#84C9E5', '#F68686'], |
| | | title: { |
| | | text: "", |
| | | }, |