diff --git a/.env.fengdu b/.env.fengdu index 76f99976..60c47451 100644 --- a/.env.fengdu +++ b/.env.fengdu @@ -1,3 +1,4 @@ VUE_APP_SCOPE=fengdu #VUE_APP_API=https://web.fdfengshou.cn/ -VUE_APP_API=http://192.168.1.87:9000/ +#VUE_APP_API=http://192.168.1.87:9000/ +VUE_APP_API=http://test87web.cunwuyun.cn/ diff --git a/project/fengdu/AppOutSource/AppArchives/components/Add.vue b/project/fengdu/AppOutSource/AppArchives/components/Add.vue index b503e1b4..e23c18dc 100644 --- a/project/fengdu/AppOutSource/AppArchives/components/Add.vue +++ b/project/fengdu/AppOutSource/AppArchives/components/Add.vue @@ -91,7 +91,6 @@ @@ -191,20 +190,21 @@ export default { } else { callback(new Error("身份证号格式错误")); } - } else { - callback(new Error("请输入身份证号")); } + // else { + // callback(new Error("请输入身份证号")); + // } }; return { name: [{required: true, message: '请输入经营者姓名', trigger: 'blur'}], - idNumber: [{required: true, validator: IdNumberPass, trigger: 'change'}], - sex: [{required: true, message: '请选择性别', trigger: 'change'}], + idNumber: [{required: false, validator: IdNumberPass, trigger: 'change'}], + sex: [{required: false, message: '请选择性别', trigger: 'change'}], phone: [{required: true, message: '请输入手机号', trigger: 'blur'}], shopName: [{required: true, message: '请输入门店名称', trigger: 'blur'}], operatorType: [{required: true, message: '请选择经营者类型', trigger: 'change'}], girdCode: [{required: true, message: '请选择所属片区', trigger: 'change'}], - fileUrl: [{required: true, message: '请选择门店照片', trigger: 'change'}], - areaId: [{required: true, message: '请选择门店住址', trigger: 'change'}], + fileUrl: [{required: false, message: '请选择门店照片', trigger: 'change'}], + areaId: [{required: false, message: '请选择门店住址', trigger: 'change'}], } } }, diff --git a/project/fengdu/AppOutSource/AppArchives/components/List.vue b/project/fengdu/AppOutSource/AppArchives/components/List.vue index 58d54706..cdd53078 100644 --- a/project/fengdu/AppOutSource/AppArchives/components/List.vue +++ b/project/fengdu/AppOutSource/AppArchives/components/List.vue @@ -68,12 +68,12 @@ 删除 @@ -113,12 +113,15 @@ export default { { prop: 'shopName', label: '门店名称', align: 'center' }, { prop: 'evaluator', label: '评价人', align: 'center' }, { prop: 'evaluationTime', label: '评价时间', align: 'center' }, - { prop: 'phone', label: '联系电话', align: 'center' }, + { prop: 'evaluatorPhone', label: '联系电话', align: 'center' }, { prop: 'evaluatorType', label: '评价人类型', align: 'center',render: (h, {row}) => { return h('span', { }, this.dict.getLabel('evaluatorType', row.evaluatorType)) }}, - { prop: 'assessType', label: '评价类型', align: 'center' }, + { prop: 'assessType', label: '评价类型', align: 'center',render: (h, {row}) => { + return h('span', { + }, this.dict.getLabel('evaluationType', row.assessType)) + } }, { prop: 'address', label: '门店地址', align: 'center' }, { prop: 'score', label: '分数', align: 'center' }, ], @@ -128,7 +131,7 @@ export default { }, created () { - this.$dict.load('evaluatorType').then(() => { + this.$dict.load('evaluatorType','evaluationType','scoreInterval').then(() => { this.getList() }) }, diff --git a/project/fengdu/AppOutSource/AppMarkStatic/AppMarkStatic.vue b/project/fengdu/AppOutSource/AppMarkStatic/AppMarkStatic.vue index 57b5a7f7..e117aafb 100644 --- a/project/fengdu/AppOutSource/AppMarkStatic/AppMarkStatic.vue +++ b/project/fengdu/AppOutSource/AppMarkStatic/AppMarkStatic.vue @@ -33,7 +33,8 @@
-
+
+
@@ -41,13 +42,13 @@ + :current.sync="form.current" + :size.sync="form.size" + @getList="getList2"> @@ -107,7 +109,7 @@ export default { data: {}, form: { current:1, - pages:10, + size:10, operatorType:'', girdCode:'', shopName:'', @@ -116,7 +118,8 @@ export default { girdCode:'', fiveStartTime:new Date().getMonth().toString(), storeLevel:'5', - pages:1000 + current:1, + size:1000 }, cardList: [ { @@ -170,6 +173,7 @@ export default { this.girdList() this.queryShopDetail() this.getList() + this.getList2() this.countByFiveStars() }) }, @@ -178,11 +182,14 @@ export default { async countByFiveStars(){ try { const {code, data:{records}} = await this.instance.post('/app/appShopStatistics/countByFiveStars',null,{ - pages:1000 + current:1, + size:1000 }) if (code === 0) { this.chartList = records?.reverse() || [] - this.initChart() + this.$nextTick(()=>{ + this.initChart() + }) } } catch (e) { console.log(e) @@ -192,7 +199,7 @@ export default { async girdList() { try { const {code, data:{records}} = await this.instance.post('/app/appShopStatistics/girdList',null,{ - pages:1000 + size:1000 }) if (code === 0) { this.gridList = records?.map(item=>{ @@ -409,5 +416,10 @@ export default { width: 100%; flex: 1; } + + .shop-img{ + width: 120px; + height: 120px; + } } diff --git a/project/fengdu/AppOutSource/AppMarkStatic/img/shop.png b/project/fengdu/AppOutSource/AppMarkStatic/img/shop.png new file mode 100644 index 00000000..b93ae551 Binary files /dev/null and b/project/fengdu/AppOutSource/AppMarkStatic/img/shop.png differ diff --git a/project/fengdu/AppOutSource/AppRateManage/components/AppraiseTask.vue b/project/fengdu/AppOutSource/AppRateManage/components/AppraiseTask.vue index 2504b87a..b81fe14c 100644 --- a/project/fengdu/AppOutSource/AppRateManage/components/AppraiseTask.vue +++ b/project/fengdu/AppOutSource/AppRateManage/components/AppraiseTask.vue @@ -7,7 +7,7 @@ 评选任务
@@ -82,6 +83,7 @@ size="small" style="width: 100%" clearable + @change="endChange" value-format="yyyy-MM-dd" placeholder="选择开始日期"> @@ -96,6 +98,7 @@