From 49bd61c376d121a59305dba4e121f4d7072ff73d Mon Sep 17 00:00:00 2001 From: yanran200730 Date: Thu, 18 Aug 2022 18:24:55 +0800 Subject: [PATCH 1/9] bug --- packages/wxwork/Announce/AppAnnounce/components/Detail.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/wxwork/Announce/AppAnnounce/components/Detail.vue b/packages/wxwork/Announce/AppAnnounce/components/Detail.vue index c29062da..260ba400 100644 --- a/packages/wxwork/Announce/AppAnnounce/components/Detail.vue +++ b/packages/wxwork/Announce/AppAnnounce/components/Detail.vue @@ -294,11 +294,11 @@ content: '', currIndex: 0, colConfigs3: [ - { prop: 'groupOwnerName', label: '群主', openType: 'userName' }, + { prop: 'groupOwnerName', label: '群主' }, { prop: 'groupNames', label: '群名称' } ], colConfigs1: [ - { slot: 'user', label: '成员', openType: 'userName' }, + { slot: 'user', label: '成员' }, { prop: 'groupCount', label: '预计送达居民群', align: 'center' } ], colConfigs2: [ From 8aae3b84a59a021aebcaf0fa5889686f3f259934 Mon Sep 17 00:00:00 2001 From: yanran200730 Date: Thu, 18 Aug 2022 18:32:57 +0800 Subject: [PATCH 2/9] bug --- packages/wxwork/Announce/AppAnnounce/components/Add.vue | 3 ++- packages/wxwork/Announce/AppAnnounce/components/Detail.vue | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/wxwork/Announce/AppAnnounce/components/Add.vue b/packages/wxwork/Announce/AppAnnounce/components/Add.vue index b8d8cf0d..b759f63e 100644 --- a/packages/wxwork/Announce/AppAnnounce/components/Add.vue +++ b/packages/wxwork/Announce/AppAnnounce/components/Add.vue @@ -632,7 +632,8 @@ export default { examines: this.form.examines.length ? this.form.examines.map(v => { return { ...v, - examineUserId: v.id + examineUserId: v.id, + examineUserName: v.name } }) : [] }).then(res => { diff --git a/packages/wxwork/Announce/AppAnnounce/components/Detail.vue b/packages/wxwork/Announce/AppAnnounce/components/Detail.vue index 260ba400..dfe924fd 100644 --- a/packages/wxwork/Announce/AppAnnounce/components/Detail.vue +++ b/packages/wxwork/Announce/AppAnnounce/components/Detail.vue @@ -33,7 +33,7 @@
- {{ item.name }} + {{ item.examineUserName }}
From 79bfd71a8e664cb6e5eb8037718245da3bcb557c Mon Sep 17 00:00:00 2001 From: liuye Date: Fri, 19 Aug 2022 09:00:10 +0800 Subject: [PATCH 3/9] fix --- examples/store/index.js | 6 + package.json | 94 ------- .../components/gridScoreDetail.vue | 8 +- .../components/gridScoreManage.vue | 10 +- packages/meta/AppResident/AppResident.vue | 7 +- .../AppVillageIntroduction.vue | 100 ++++---- .../AppVillageIntroduction/components/Add.vue | 166 ++++++------- .../components/List.vue | 6 +- .../AppVillageRegulations.vue | 103 ++++---- .../AppVillageRegulations/components/Add.vue | 8 +- .../AppVillageRegulations/components/List.vue | 202 +++++++-------- .../Announce/AppAnnounce/components/Add.vue | 40 ++- .../AppAnnounce/components/Detail.vue | 34 ++- .../Announce/AppAnnounce/components/List.vue | 21 +- .../AppGuaranteeProduct.vue | 41 ++++ .../AppGuaranteeProduct/productAdd.vue | 172 +++++++++++++ .../AppGuaranteeProduct/productDetail.vue | 165 +++++++++++++ .../AppGuaranteeProduct/productList.vue | 135 ++++++++++ .../AppGuaranteeProduct/productRecommend.vue | 163 ++++++++++++ .../apps/finance/AppLoanAudit/loanDetail.vue | 232 ++++++++++++------ .../apps/finance/AppLoanAudit/loanList.vue | 50 +++- 21 files changed, 1231 insertions(+), 532 deletions(-) delete mode 100644 package.json create mode 100644 project/xiushan/apps/finance/AppGuaranteeProduct/AppGuaranteeProduct.vue create mode 100644 project/xiushan/apps/finance/AppGuaranteeProduct/productAdd.vue create mode 100644 project/xiushan/apps/finance/AppGuaranteeProduct/productDetail.vue create mode 100644 project/xiushan/apps/finance/AppGuaranteeProduct/productList.vue create mode 100644 project/xiushan/apps/finance/AppGuaranteeProduct/productRecommend.vue diff --git a/examples/store/index.js b/examples/store/index.js index d31c15db..22293cd3 100644 --- a/examples/store/index.js +++ b/examples/store/index.js @@ -2,6 +2,7 @@ import Vue from 'vue' import Vuex from 'vuex' import preState from 'vuex-persistedstate' import * as modules from "dvcp-ui/lib/js/modules" +import axios from "../router/axios"; Vue.use(Vuex) @@ -15,6 +16,11 @@ export default new Vuex.Store({ }, cleanApps(state) { state.apps = [] + }, + setFinanceUser(state) { + axios.post("appfinancialorganizationuser/checkUser").then(res => { + state.user.financeUser = res.data + }).catch(() => 0) } }, modules, diff --git a/package.json b/package.json deleted file mode 100644 index c4cf0786..00000000 --- a/package.json +++ /dev/null @@ -1,94 +0,0 @@ -{ - "name": "cw-webapps", - "version": "2.0.0", - "private": false, - "author": "kubbo", - "main": "lib/cw-webapps.common.js", - "scripts": { - "dev": "vue-cli-service serve", - "lib": "vue-cli-service build --no-clean --target lib --dest lib packages/index.js&&npm unpublish --force&&npm publish", - "lib:core": "vue-cli-service build --target lib --dest core/dist core/index.js --name dvcp-core&&npm unpublish dvcp-core --force&&npm publish core/", - "lib:project": "node project/build.js", - "lib:all": "node project/allProject.js&&npm unpublish --workspaces --force&&npm publish --workspaces", - "ui": "npm i dvcp-ui@latest" - }, - "workspaces": [ - "project/*" - ], - "dependencies": { - "@amap/amap-jsapi-loader": "^1.0.1", - "@jiaminghi/c-render": "^0.4.3", - "@jiaminghi/charts": "^0.2.18", - "@jiaminghi/data-view": "^2.10.0", - "bin-code-editor": "^0.9.0", - "dayjs": "^1.8.35", - "dvcp-ui": "^1.42.2", - "echarts": "^5.1.2", - "mp4box": "^0.4.1", - "print-js": "^1.0.63", - "serialize-javascript": "^6.0.0", - "sortablejs": "^1.12.0", - "vue-draggable-resizable": "^2.3.0", - "vue-json-editor": "^1.4.3", - "vue-okr-tree": "~1.0.5", - "vue-ruler-tool": "^1.2.4", - "vuedraggable": "^2.24.3" - }, - "publishConfig": { - "registry": "http://192.168.1.87:4873/" - }, - "devDependencies": { - "@babel/plugin-proposal-logical-assignment-operators": "^7.10.4", - "@babel/plugin-proposal-nullish-coalescing-operator": "^7.10.4", - "@babel/plugin-proposal-optional-chaining": "^7.10.4", - "@vue/cli-plugin-babel": "^3.6.0", - "@vue/cli-plugin-eslint": "^3.6.0", - "@vue/cli-service": "^3.6.0", - "axios": "^0.19.2", - "babel-eslint": "^10.1.0", - "core-js": "^2.6.11", - "element-ui": "^2.15.9", - "eslint": "^5.16.0", - "eslint-plugin-vue": "^5.0.0", - "image-webpack-loader": "^6.0.0", - "inquirer": "^6.5.2", - "readline": "^1.3.0", - "sass": "^1.32.12", - "sass-loader": "^7.3.1", - "uglifyjs-webpack-plugin": "^2.2.0", - "v-viewer": "^1.6.4", - "vue": "^2.6.14", - "vue-router": "^3.3.4", - "vue-style-loader": "^4.1.3", - "vue-template-compiler": "^2.6.14", - "vuex": "^3.5.1", - "vuex-persistedstate": "^2.7.1" - }, - "vetur": { - "attributes": "./attributes.json" - }, - "eslintConfig": { - "root": true, - "env": { - "node": true - }, - "extends": [ - "plugin:vue/essential", - "eslint:recommended" - ], - "rules": {}, - "parserOptions": { - "parser": "babel-eslint" - } - }, - "postcss": { - "plugins": { - "autoprefixer": {} - } - }, - "browserslist": [ - "> 1%", - "last 2 versions", - "not ie <= 8" - ] -} diff --git a/packages/conv/creditScore/AppGridMemberScore/components/gridScoreDetail.vue b/packages/conv/creditScore/AppGridMemberScore/components/gridScoreDetail.vue index 40b9956b..c2e105e1 100644 --- a/packages/conv/creditScore/AppGridMemberScore/components/gridScoreDetail.vue +++ b/packages/conv/creditScore/AppGridMemberScore/components/gridScoreDetail.vue @@ -120,10 +120,10 @@ export default { this.getDetail() this.getIntegralChange() this.getEventSummary() - let timeSta = dayjs().format('YYYY-MM-DD') - let timeEnd = dayjs().subtract(29, 'day').format('YYYY-MM-DD') - this.startPla = timeSta - this.endPla = timeEnd + let nowTime = dayjs().format('YYYY-MM-DD') + let timeAgo = dayjs().subtract(29, 'day').format('YYYY-MM-DD') + this.startPla = timeAgo + this.endPla = nowTime }) }, diff --git a/packages/conv/creditScore/AppGridMemberScore/components/gridScoreManage.vue b/packages/conv/creditScore/AppGridMemberScore/components/gridScoreManage.vue index b5cbdc20..16d22e76 100644 --- a/packages/conv/creditScore/AppGridMemberScore/components/gridScoreManage.vue +++ b/packages/conv/creditScore/AppGridMemberScore/components/gridScoreManage.vue @@ -18,7 +18,7 @@ - @@ -90,7 +90,8 @@ export default { }, girdIdList: [], tableData: [], - page: {size: 10, total: 0}, + size: 10, + total: 0, current: 1, girdList: [], form: { @@ -144,14 +145,15 @@ export default { getTableData() { this.instance.post(`/app/appintegraluser/integralManager`,null,{ params: { - ...this.page, ...this.search, current: this.current, + size: this.size, + total: this.total } }).then(res => { if(res?.data) { this.tableData = res.data.records - this.page.total = res.data.total + this.total = res.data.total } }) }, diff --git a/packages/meta/AppResident/AppResident.vue b/packages/meta/AppResident/AppResident.vue index da748af3..e88a1a5f 100644 --- a/packages/meta/AppResident/AppResident.vue +++ b/packages/meta/AppResident/AppResident.vue @@ -1,8 +1,7 @@