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: [
......@@ -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
......
......@@ -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