diff --git a/.npmrc b/.npmrc index d8bc5fe4..d330f177 100644 --- a/.npmrc +++ b/.npmrc @@ -1,4 +1,4 @@ -registry=http://cli.sinoecare.net/ +# registry=http://cli.sinoecare.net/ email=aixianling@sinoecare.com always-auth=true _auth="YWRtaW46YWRtaW4xMjM=" diff --git a/package.json b/package.json index f2d16680..fbd19451 100644 --- a/package.json +++ b/package.json @@ -29,6 +29,7 @@ "hash.js": "^1.1.7", "mp4box": "^0.4.1", "print-js": "^1.0.63", + "sass": "^1.56.1", "serialize-javascript": "^6.0.0", "sortablejs": "^1.12.0", "vue-draggable-resizable": "^2.3.0", @@ -53,7 +54,6 @@ "inquirer": "^6.5.2", "mockjs": "^1.1.0", "readline": "^1.3.0", - "sass": "~1.32.12", "sass-loader": "^7.3.1", "uglifyjs-webpack-plugin": "^2.2.0", "v-viewer": "^1.6.4", diff --git a/project/hlj/app/AppFormTemplate/components/List.vue b/project/hlj/app/AppFormTemplate/components/List.vue index f5ea3014..93c0196a 100644 --- a/project/hlj/app/AppFormTemplate/components/List.vue +++ b/project/hlj/app/AppFormTemplate/components/List.vue @@ -96,7 +96,6 @@ formInfo: {}, colConfigs: [ { prop: 'title', label: '模板名称' }, - { prop: 'createUserName', align: 'center', label: '创建人' }, { prop: 'updateTime', align: 'center', label: '更新时间' } ], ids: [], diff --git a/project/hlj/app/AppRecoScore/AppRecoScore.vue b/project/hlj/app/AppRecoScore/AppRecoScore.vue new file mode 100644 index 00000000..5a9b66f2 --- /dev/null +++ b/project/hlj/app/AppRecoScore/AppRecoScore.vue @@ -0,0 +1,70 @@ + + + + + + + + + + + diff --git a/project/hlj/app/AppRecoScore/components/Detail.vue b/project/hlj/app/AppRecoScore/components/Detail.vue new file mode 100644 index 00000000..b1f62808 --- /dev/null +++ b/project/hlj/app/AppRecoScore/components/Detail.vue @@ -0,0 +1,393 @@ + + + + + + + + + + + + + + + + {{ dict.getLabel('tastStatus', info.status) }} + + + + + + + + + 添加表单 + + + + + {}"> + + + + 详情 + 停止 + + + + + + + + + + + + + + + + + + + onUserChange(e, 'evaluatorsNames')"> + + + + {{ item.name }} + + 请选择 + {{ form.evaluatorsList.length ? '重新选择' : '选择' }} + + + + + onUserChange(e, 'scorerNames')"> + + + + {{ item.name }} + + 请选择 + {{ form.scorerList.length ? '重新选择' : '选择' }} + + + + + + + + + + + + + + + + diff --git a/project/hlj/app/AppRecoScore/components/FormDetail.vue b/project/hlj/app/AppRecoScore/components/FormDetail.vue new file mode 100644 index 00000000..1a196508 --- /dev/null +++ b/project/hlj/app/AppRecoScore/components/FormDetail.vue @@ -0,0 +1,564 @@ + + + + + + + + + + + + + + + + + 已填写{{ info.overPhr }}份,还剩{{ info.totalPhr - info.overPhr }}份 + + + + + + + + 填写统计 + 考核统计 + + + + + + + + + 导出明细 + + + + + + + + + + + + + + + {{ row.evaluatorsName }} + + + + + + + + {{ row.scorerName }} + + + + + + + 查看内容 + + + + + + + + + + + + 导出列表 + + + + + + + + + + + + + + + + + + + + + + {{ templateInfo.title }} + + + {{ templateInfo.tableExplain }} + + + + + * + {{ i + 1 }}. + {{ item.label }} + + + + + + + {{ field.label }} + + + + + + 图片 + + + + + + + + + + {{ field.label }} + + + + + + + + + + + + + + + + + + 关闭 + + + + + + + + + diff --git a/project/hlj/app/AppRecoScore/components/List.vue b/project/hlj/app/AppRecoScore/components/List.vue new file mode 100644 index 00000000..0568ee8c --- /dev/null +++ b/project/hlj/app/AppRecoScore/components/List.vue @@ -0,0 +1,327 @@ + + + + + + + + 新建评分任务 + + + + + + + + + + + 详情 + 删除 + + + + + + + + + + + + + + + + + + onUserChange(e, 'evaluatorsNames')"> + + + + {{ item.name }} + + 请选择 + {{ form.evaluatorsList.length ? '重新选择' : '选择' }} + + + + + + + + + + + + + + + + diff --git a/project/pingchang/apps/AppCommunityManagement/AppCommunityManagement.vue b/project/pingchang/apps/AppCommunityManagement/AppCommunityManagement.vue index 3d95a139..9a747537 100644 --- a/project/pingchang/apps/AppCommunityManagement/AppCommunityManagement.vue +++ b/project/pingchang/apps/AppCommunityManagement/AppCommunityManagement.vue @@ -1,12 +1,12 @@ - + - + @@ -19,6 +19,7 @@ import List from './components/List.vue' import Statistics from './components/Statistics' import Detail from './components/Detail' + import { mapState } from 'vuex' export default { name: 'AppCommunityManagement', @@ -34,7 +35,8 @@ component: 'List', params: {}, isShowDetail: false, - currIndex: 0 + currIndex: 0, + areaId: '' } }, @@ -45,6 +47,8 @@ }, computed: { + ...mapState(['user']), + tabs () { const tabList = [ {label: '社区管理', name: 'List', comp: List }, @@ -55,6 +59,10 @@ } }, + created () { + this.areaId = this.user.info.areaId + }, + methods: { onChange (data) { if (data.type === 'Detail') { @@ -74,6 +82,10 @@ this.params = data.params this.isShowDetail = false } + }, + + onAreaChange () { + this.$refs[this.currIndex][0].changeArea() } } } diff --git a/project/pingchang/apps/AppCommunityManagement/components/List.vue b/project/pingchang/apps/AppCommunityManagement/components/List.vue index 9c902b2c..f4e806d9 100644 --- a/project/pingchang/apps/AppCommunityManagement/components/List.vue +++ b/project/pingchang/apps/AppCommunityManagement/components/List.vue @@ -92,7 +92,8 @@ props: { instance: Function, - dict: Object + dict: Object, + areaId: String }, data() { @@ -144,7 +145,8 @@ params: { ...this.search, queryBeginTime: this.search.queryBeginTime ? this.search.queryBeginTime + ' 00:00:00' : '', - queryEndTime: this.search.queryEndTime ? this.search.queryEndTime + ' 23:59:59' : '' + queryEndTime: this.search.queryEndTime ? this.search.queryEndTime + ' 23:59:59' : '', + areaId: this.areaId } }).then(res => { if (res.code == 0) { @@ -154,6 +156,14 @@ }) }, + changeArea () { + this.search.current = 1 + + this.$nextTick(() => { + this.getList() + }) + }, + toDeital (id) { this.$emit('change', { type: 'Detail',
{{ templateInfo.tableExplain }}