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

15
src/views/event/index.vue

@ -102,7 +102,8 @@ export default {
eventContent: '', eventContent: '',
name: '', name: '',
phone: '', phone: '',
agencyId:'' agencyId:'',
categoryId:""
} }
}, },
mounted() { mounted() {
@ -128,15 +129,9 @@ export default {
onChange(value) { onChange(value) {
console.log(value ,"skjlkfdjs"); console.log(value ,"skjlkfdjs");
this.cascaderValue = value.selectedOptions[value.tabIndex].categoryName; 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 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() { async getCateOptions() {
@ -268,7 +263,7 @@ export default {
userId: this.$store.state.app.userInfo.userId, userId: this.$store.state.app.userInfo.userId,
customerId: this.$store.state.app.userInfo.customerId, customerId: this.$store.state.app.userInfo.customerId,
openFlag : 0, openFlag : 0,
agencyId:this.agencyId categoryId: this.categoryId,
}).then(() => { }).then(() => {
this.$toast.success('提交成功') this.$toast.success('提交成功')
this.type = 1 this.type = 1

4
vue.config.js

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

Loading…
Cancel
Save