Commit 4c3fdc2a authored by wangxl's avatar wangxl

www

parent 53259896
......@@ -82,6 +82,8 @@ export default {
searchForm: {
auditType: 1,
auditResult: 1,
auditMethod: 1,
systemType: getType(),
projName: null,
projNo: null,
appUnitName: null,
......@@ -90,7 +92,6 @@ export default {
knowledgeId: null,
projClass: null,
reportYear: null,
systemType: getType()
},
activekey: '1',
tabDate: [
......@@ -103,7 +104,7 @@ export default {
itemCount: [0, 0, 0, 0, 0],
tableData: [],
columns: [
{ title: "项目名称", scopedSlots: { customRender: 'projName' }, width: 300, },
{ title: "项目名称", scopedSlots: { customRender: 'projName' }, width: 300, },
//{ title: "项目编号", dataIndex: "projNo", align: 'center' },
{ title: '申请编号', dataIndex: 'appNo', align: 'center' },
{ title: "开始时间", dataIndex: "startDate", align: 'center' },
......@@ -218,7 +219,7 @@ export default {
}).catch(() => { this.loading = false })
},
getCount () {
let pars = isEmptyParams({ auditType: 1, reportYear: this.searchForm.reportYear, systemType: getType() });
let pars = isEmptyParams({ auditType: 1, auditMethod: 1, systemType: getType(), reportYear: this.searchForm.reportYear });
this.$api.audit.getCount(pars).then(({ data = {} }) => {
if (data) {
this.panes = data
......@@ -280,7 +281,7 @@ export default {
exportData () {
this.loading = true;
let pars = isEmptyParams(this.searchForm);
let par = { ...pars, pageIndex: -1, pageSize: -1, }
let par = { ...pars, pageIndex: -1, pageSize: -1, }
this.$api.audit.getAuditListByPage(par).then(({ data = {} }) => {
if (data) {
const { dataList = [], total = 0 } = data;
......
......@@ -156,12 +156,13 @@ export default {
panes: { count1: 0, count2: 0, count3: 0, count4: 0, count5: 0, },
form: this.$form.createForm(this, { name: 'advanced_search' }),
searchForm: {
scoreStart: null,
scoreEnd: null,
auditType: 1,
auditResult: 1,
completed: 1,
auditMethod: 5,
systemType: getType(),
completed: 1,
scoreStart: null,
scoreEnd: null,
projName: null,
projNo: null,
appUnitName: null,
......@@ -332,7 +333,7 @@ export default {
}).catch(() => { this.loading = false })
},
getCount () {
let pars = isEmptyParams({ auditType: 1, completed: 1, auditMethod: 5, reportYear: this.searchForm.reportYear, systemType: getType() });
let pars = isEmptyParams({ auditType: 1, auditMethod: 5, completed: 1, systemType: getType(), reportYear: this.searchForm.reportYear });
this.$api.audit.getCount(pars).then(({ data = {} }) => {
if (data) {
this.panes = data
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment