+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 至
+
+
+
+
+
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查看
+ 审核
+ 删除
+
+
+
+
+ 批量删除
+
+
-
-
-
-
-
-
\ No newline at end of file
+ );
+
+ },
+
+ // 下载文件
+ download (data, fileName) {
+ if (!data) {
+ return
+ }
+
+ var csvData = new Blob([data])
+
+ if (window.navigator && window.navigator.msSaveOrOpenBlob) {
+ window.navigator.msSaveOrOpenBlob(csvData, fileName);
+ }
+ // for Non-IE (chrome, firefox etc.)
+ else {
+ var a = document.createElement('a');
+ document.body.appendChild(a);
+ a.style = 'display: none';
+ var url = window.URL.createObjectURL(csvData);
+ a.href = url;
+ a.download = fileName;
+ a.click();
+ a.remove();
+ window.URL.revokeObjectURL(url);
+ }
+
+ },
+
+ // 上传文件之前的钩子
+ beforeUpload (file) {
+ this.files = file;
+
+ const isText = file.type === 'application/vnd.ms-excel'
+ const isTextComputer = file.type === 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
+
+ if (!isText && !isTextComputer) {
+ this.$message.error('请选择正确格式的文件')
+ return false
+ } else {
+ this.fileName = file.name;
+ return true
+ }
+
+ },
+ // 上传文件个数超过定义的数量
+ handleExceed (files, fileList) {
+ this.$message.warning(`当前限制选择 1 个文件,请删除后继续上传`)
+ },
+
+ async uploadFile () {
+ this.loading = true
+
+ if (this.fileName == "") {
+ this.$message.warning('请选择要上传的文件!')
+ return false
+ }
+
+ //清空上传列表
+ this.$refs['upload'].clearFiles()
+
+ var url = '/heart/icpartyactivity/import'
+ let fileFormData = new FormData();
+ fileFormData.append('file', this.files);//filename是键,file是值,就是要传的文件,test.zip是要传的文件名
+
+ const { data, code, msg } = await requestPost(url, fileFormData)
+ if (code === 0) {
+ this.$message({
+ type: "success",
+ message: "导入成功"
+ });
+
+ // this.loadTable()
+ this.communityActivityList()
+ } else {
+ this.$message.error(msg)
+ }
+
+
+ },
+
+ handleTimeChange (time) {
+ if (time) {
+ const startTimeArray = util.dateFormatter(time[0], 'date').split('-')
+ const endTimeArray = util.dateFormatter(time[1], 'date').split('-')
+
+ this.formData.startTime = startTimeArray[0] + '-' + startTimeArray[1] + '-' + startTimeArray[2] + ' 00:00:00'
+ this.formData.endTime = endTimeArray[0] + '-' + endTimeArray[1] + '-' + endTimeArray[2] + ' 23:59:59'
+ } else {
+ this.formData.startTime = ''
+ this.formData.endTime = ''
+ }
+ },
+
+ handleSizeChange (val) {
+ this.pageSize = val
+ this.pageNo = 1
+ // this.loadTable()
+ this.communityActivityList()
+ },
+ handleCurrentChange (val) {
+ this.pageNo = val
+ // this.loadTable()
+ this.communityActivityList()
+ },
+
+ // 开启加载动画
+ startLoading () {
+ loading = Loading.service({
+ lock: true, // 是否锁定
+ text: '正在加载……', // 加载中需要显示的文字
+ background: 'rgba(0,0,0,.7)' // 背景颜色
+ })
+ },
+ // 结束加载动画
+ endLoading () {
+ // clearTimeout(timer);
+ if (loading) {
+ loading.close()
+ }
+ }
+ },
+ computed: {
+ tableHeight () {
+
+ return this.$store.state.inIframe ? this.clientHeight - 430 + this.iframeHeight : this.clientHeight - 450
+
+ },
+
+ ...mapGetters(['clientHeight', 'iframeHeight'])
+ },
+ watch: {
+
+ },
+ props: {
+
+ }
+ }
+
+
+
\ No newline at end of file
diff --git a/src/views/modules/informationArchive/volunteerProfile/cpts/service-info.vue b/src/views/modules/informationArchive/volunteerProfile/cpts/service-info.vue
new file mode 100644
index 000000000..39b4abff9
--- /dev/null
+++ b/src/views/modules/informationArchive/volunteerProfile/cpts/service-info.vue
@@ -0,0 +1,108 @@
+
+
+
+
+
+ {{formData.name}}
+
+
+ {{formData.name}}
+
+
+ {{formData.name}}
+
+
+ {{formData.name}}
+
+
+ {{formData.name}}
+
+
+ {{formData.name}}
+
+
+ {{formData.name}}
+
+
+ {{formData.name}}
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/modules/informationArchive/volunteerProfile/cpts/service-team.vue b/src/views/modules/informationArchive/volunteerProfile/cpts/service-team.vue
new file mode 100644
index 000000000..e6329d771
--- /dev/null
+++ b/src/views/modules/informationArchive/volunteerProfile/cpts/service-team.vue
@@ -0,0 +1,122 @@
+
+
+
+
+
+ 备选项
+ 备选项
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/modules/informationArchive/volunteerProfile/cpts/volunteers-list.vue b/src/views/modules/informationArchive/volunteerProfile/cpts/volunteers-list.vue
new file mode 100644
index 000000000..ebc4560d4
--- /dev/null
+++ b/src/views/modules/informationArchive/volunteerProfile/cpts/volunteers-list.vue
@@ -0,0 +1,163 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 至
+
+
+
+ 查询
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查看
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/modules/informationArchive/volunteerProfile/index.vue b/src/views/modules/informationArchive/volunteerProfile/index.vue
index b1ac06aa7..713fc1367 100644
--- a/src/views/modules/informationArchive/volunteerProfile/index.vue
+++ b/src/views/modules/informationArchive/volunteerProfile/index.vue
@@ -1,374 +1,639 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 查看
- 活动记录
- 积分调整
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 至
+
+
+
+
+
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查看
+ 审核
+ 积分调整
+
+
+
+
+ 批量删除
+
+
-
-
-
-
-
-
\ No newline at end of file
+ );
+
+ },
+
+ // 下载文件
+ download (data, fileName) {
+ if (!data) {
+ return
+ }
+
+ var csvData = new Blob([data])
+
+ if (window.navigator && window.navigator.msSaveOrOpenBlob) {
+ window.navigator.msSaveOrOpenBlob(csvData, fileName);
+ }
+ // for Non-IE (chrome, firefox etc.)
+ else {
+ var a = document.createElement('a');
+ document.body.appendChild(a);
+ a.style = 'display: none';
+ var url = window.URL.createObjectURL(csvData);
+ a.href = url;
+ a.download = fileName;
+ a.click();
+ a.remove();
+ window.URL.revokeObjectURL(url);
+ }
+
+ },
+
+ // 上传文件之前的钩子
+ beforeUpload (file) {
+ this.files = file;
+
+ const isText = file.type === 'application/vnd.ms-excel'
+ const isTextComputer = file.type === 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
+
+ if (!isText && !isTextComputer) {
+ this.$message.error('请选择正确格式的文件')
+ return false
+ } else {
+ this.fileName = file.name;
+ return true
+ }
+
+ },
+ // 上传文件个数超过定义的数量
+ handleExceed (files, fileList) {
+ this.$message.warning(`当前限制选择 1 个文件,请删除后继续上传`)
+ },
+
+ async uploadFile () {
+ this.loading = true
+
+ if (this.fileName == "") {
+ this.$message.warning('请选择要上传的文件!')
+ return false
+ }
+
+ //清空上传列表
+ this.$refs['upload'].clearFiles()
+
+ var url = '/heart/icpartyactivity/import'
+ let fileFormData = new FormData();
+ fileFormData.append('file', this.files);//filename是键,file是值,就是要传的文件,test.zip是要传的文件名
+
+ const { data, code, msg } = await requestPost(url, fileFormData)
+ if (code === 0) {
+ this.$message({
+ type: "success",
+ message: "导入成功"
+ });
+
+ // this.loadTable()
+ this.communityActivityList()
+ } else {
+ this.$message.error(msg)
+ }
+
+
+ },
+
+ handleTimeChange (time) {
+ if (time) {
+ const startTimeArray = util.dateFormatter(time[0], 'date').split('-')
+ const endTimeArray = util.dateFormatter(time[1], 'date').split('-')
+
+ this.formData.startTime = startTimeArray[0] + '-' + startTimeArray[1] + '-' + startTimeArray[2] + ' 00:00:00'
+ this.formData.endTime = endTimeArray[0] + '-' + endTimeArray[1] + '-' + endTimeArray[2] + ' 23:59:59'
+ } else {
+ this.formData.startTime = ''
+ this.formData.endTime = ''
+ }
+ },
+
+ handleSizeChange (val) {
+ this.pageSize = val
+ this.pageNo = 1
+ // this.loadTable()
+ this.communityActivityList()
+ },
+ handleCurrentChange (val) {
+ this.pageNo = val
+ // this.loadTable()
+ this.communityActivityList()
+ },
+
+ // 开启加载动画
+ startLoading () {
+ loading = Loading.service({
+ lock: true, // 是否锁定
+ text: '正在加载……', // 加载中需要显示的文字
+ background: 'rgba(0,0,0,.7)' // 背景颜色
+ })
+ },
+ // 结束加载动画
+ endLoading () {
+ // clearTimeout(timer);
+ if (loading) {
+ loading.close()
+ }
+ }
+ },
+ computed: {
+ tableHeight () {
+
+ return this.$store.state.inIframe ? this.clientHeight - 430 + this.iframeHeight : this.clientHeight - 450
+
+ },
+
+ ...mapGetters(['clientHeight', 'iframeHeight'])
+ },
+ watch: {
+
+ },
+ props: {
+
+ }
+ }
+
+
+
\ No newline at end of file
diff --git a/src/views/modules/servicePointsManagement/cpts/service-add.vue b/src/views/modules/servicePointsManagement/cpts/service-add.vue
new file mode 100644
index 000000000..a037607ce
--- /dev/null
+++ b/src/views/modules/servicePointsManagement/cpts/service-add.vue
@@ -0,0 +1,177 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 取 消
+ 确 定
+
+
+
+
+
+
diff --git a/src/views/modules/servicePointsManagement/index.vue b/src/views/modules/servicePointsManagement/index.vue
new file mode 100644
index 000000000..4e5896bab
--- /dev/null
+++ b/src/views/modules/servicePointsManagement/index.vue
@@ -0,0 +1,312 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 添加二级分类
+ 修改
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file