diff --git a/src/views/modules/kpi/analysis-user.vue b/src/views/modules/kpi/analysis-user.vue new file mode 100644 index 00000000..099a19d4 --- /dev/null +++ b/src/views/modules/kpi/analysis-user.vue @@ -0,0 +1,143 @@ + + + + \ No newline at end of file diff --git a/src/views/modules/kpi/useranalysisnote-add-or-update.vue b/src/views/modules/kpi/useranalysisnote-add-or-update.vue index 0ee2a1e3..e0a234f8 100644 --- a/src/views/modules/kpi/useranalysisnote-add-or-update.vue +++ b/src/views/modules/kpi/useranalysisnote-add-or-update.vue @@ -3,9 +3,15 @@ + + + + + + @@ -54,7 +60,9 @@ export default { dataForm: { id: '', userId: '', + userName: '', deptId: '', + deptName: '', mobile: '', deptType: '', delFlag: '', @@ -74,9 +82,15 @@ export default { userId: [ { required: true, message: this.$t('validate.required'), trigger: 'blur' } ], + userName: [ + { required: true, message: this.$t('validate.required'), trigger: 'blur' } + ], deptId: [ { required: true, message: this.$t('validate.required'), trigger: 'blur' } ], + deptName: [ + { required: true, message: this.$t('validate.required'), trigger: 'blur' } + ], mobile: [ { required: true, message: this.$t('validate.required'), trigger: 'blur' } ], diff --git a/src/views/modules/kpi/useranalysisnote-add.vue b/src/views/modules/kpi/useranalysisnote-add.vue new file mode 100644 index 00000000..199b73f3 --- /dev/null +++ b/src/views/modules/kpi/useranalysisnote-add.vue @@ -0,0 +1,189 @@ + + + diff --git a/src/views/modules/kpi/useranalysisnote.vue b/src/views/modules/kpi/useranalysisnote.vue index e24919f7..fb40c999 100644 --- a/src/views/modules/kpi/useranalysisnote.vue +++ b/src/views/modules/kpi/useranalysisnote.vue @@ -2,38 +2,32 @@
- - + + - - {{ $t('query') }} + + - {{ $t('add') }} + {{ $t('query') }} - {{ $t('deleteBatch') }} + {{ $t('add') }} - - - - - + + + + - - - - - - - - - @@ -60,18 +54,25 @@ export default { data () { return { mixinViewModuleOptions: { - getDataListURL: '/news/useranalysisnote/page', + getDataListURL: '/sys/analysis/page', getDataListIsPage: true, - deleteURL: '/news/useranalysisnote', + deleteURL: '/sys/analysis', deleteIsBatch: true }, dataForm: { - id: '' + username: '', + mobile: '', } } }, components: { AddOrUpdate + }, + methods:{ + addHandle() { + this.$parent.selectComponent = 'UserAnalysisNoteAdd' + this.$router.push({path: 'kpi-useranalysisnoteroute'}) + }, } } diff --git a/src/views/modules/kpi/useranalysisnoteroute.vue b/src/views/modules/kpi/useranalysisnoteroute.vue new file mode 100644 index 00000000..a9a9a4f5 --- /dev/null +++ b/src/views/modules/kpi/useranalysisnoteroute.vue @@ -0,0 +1,31 @@ + + + + + \ No newline at end of file