Browse Source

更改处理中,等等

feature
是小王呀\24601 10 months ago
parent
commit
8429ee9366
  1. 19
      src/views/appeal/index.vue
  2. 15
      src/views/event/index.vue
  3. 4
      vue.config.js

19
src/views/appeal/index.vue

@ -6,11 +6,16 @@
@click="$router.push({ path: '/appealDetail', query: { pageType: 'event', ...item } })">
<div class=" flex flex-y">
<div class="flex">
<van-tag size="medium" style="margin-right: 5px"
:color="item.statusName == '处理中' ? processing.bg : completion.bg"
:text-color="item.statusName == '处理中' ? processing.text : completion.text">
<van-tag v-if="!item.satisfaction" size="medium" style="margin-right: 5px"
:color="item.statusName == '处理中' ? processing1.bg : completion.bg"
:text-color="item.statusName == '处理中' ? processing1.text : completion.text">
{{ item.statusName }}
</van-tag>
<van-tag v-if="item.satisfaction" size="medium" style="margin-right: 5px"
:color="processing.bg"
:text-color="processing.text">
已评价
</van-tag>
<!-- <van-tag size="medium" style="margin-right: 5px"
:color="item.statusName == '处理中' ? processing.bg : completion.bg"
:text-color="item.statusName == '处理中' ? processing.text : completion.text">
@ -37,9 +42,13 @@ export default {
type: 0,
list: [],
pageSize: 5,
completion: {
processing1: {
bg: 'rgba(79,148,255,0.14)',
text: '#4F94FF'
text: '#638ff8'
},
completion: {
bg: 'rgba(18,184,174,0.1)',
text: '#12B8AE'
},
processing: {
bg: 'rgba(255,120,60,0.14)',

15
src/views/event/index.vue

@ -102,7 +102,8 @@ export default {
eventContent: '',
name: '',
phone: '',
agencyId:''
agencyId:'',
categoryId:""
}
},
mounted() {
@ -128,15 +129,9 @@ export default {
onChange(value) {
console.log(value ,"skjlkfdjs");
this.cascaderValue = value.selectedOptions[value.tabIndex].categoryName;
logic(value.selectedOptions[value.tabIndex].categoryName,"skdlsklfjslkfjl");
this.categoryId= value.selectedOptions[value.tabIndex].id;
// logic(value.selectedOptions[value.tabIndex].categoryName,"skdlsklfjslkfjl");
this.showType=false
// const lastOption = this.findSelectedOption(value, this.cateOptions);
// if (!lastOption || !lastOption.children || lastOption.children.length === 0) {
// this.selectedValue = value;
// this.showType = false;
// console.log(':', lastOption);
// }
},
//
async getCateOptions() {
@ -268,7 +263,7 @@ export default {
userId: this.$store.state.app.userInfo.userId,
customerId: this.$store.state.app.userInfo.customerId,
openFlag : 0,
agencyId:this.agencyId
categoryId: this.categoryId,
}).then(() => {
this.$toast.success('提交成功')
this.type = 1

4
vue.config.js

@ -31,8 +31,8 @@ module.exports = defineConfig({
proxy: {
//配置跨域
'/api': {
target: `https://epmet-preview.elinkservice.cn`,
// target: `http://127.0.0.1:8080`,
// target: `https://epmet-preview.elinkservice.cn`,
target: `http://219.146.91.110:30801`,
changeOrigin: true,
ws: false,
pathRewrite: {

Loading…
Cancel
Save