Commit 4c3fdc2a authored by wangxl's avatar wangxl

www

parent 53259896
...@@ -82,6 +82,8 @@ export default { ...@@ -82,6 +82,8 @@ export default {
searchForm: { searchForm: {
auditType: 1, auditType: 1,
auditResult: 1, auditResult: 1,
auditMethod: 1,
systemType: getType(),
projName: null, projName: null,
projNo: null, projNo: null,
appUnitName: null, appUnitName: null,
...@@ -90,7 +92,6 @@ export default { ...@@ -90,7 +92,6 @@ export default {
knowledgeId: null, knowledgeId: null,
projClass: null, projClass: null,
reportYear: null, reportYear: null,
systemType: getType()
}, },
activekey: '1', activekey: '1',
tabDate: [ tabDate: [
...@@ -218,7 +219,7 @@ export default { ...@@ -218,7 +219,7 @@ export default {
}).catch(() => { this.loading = false }) }).catch(() => { this.loading = false })
}, },
getCount () { 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 = {} }) => { this.$api.audit.getCount(pars).then(({ data = {} }) => {
if (data) { if (data) {
this.panes = data this.panes = data
......
...@@ -156,12 +156,13 @@ export default { ...@@ -156,12 +156,13 @@ export default {
panes: { count1: 0, count2: 0, count3: 0, count4: 0, count5: 0, }, panes: { count1: 0, count2: 0, count3: 0, count4: 0, count5: 0, },
form: this.$form.createForm(this, { name: 'advanced_search' }), form: this.$form.createForm(this, { name: 'advanced_search' }),
searchForm: { searchForm: {
scoreStart: null,
scoreEnd: null,
auditType: 1, auditType: 1,
auditResult: 1, auditResult: 1,
completed: 1,
auditMethod: 5, auditMethod: 5,
systemType: getType(),
completed: 1,
scoreStart: null,
scoreEnd: null,
projName: null, projName: null,
projNo: null, projNo: null,
appUnitName: null, appUnitName: null,
...@@ -332,7 +333,7 @@ export default { ...@@ -332,7 +333,7 @@ export default {
}).catch(() => { this.loading = false }) }).catch(() => { this.loading = false })
}, },
getCount () { 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 = {} }) => { this.$api.audit.getCount(pars).then(({ data = {} }) => {
if (data) { if (data) {
this.panes = 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