Browse Source

仓库客服不查看操作记录

dev-xx
马远东 1 year ago
parent
commit
20720ca3e1
  1. 11
      src/views/aftersales/aftersalesWorkOrder.vue
  2. 20
      src/views/aftersales/aftersalesWorkOrderInfo.vue
  3. 19
      src/views/aftersales/aftersalesWorkOrderend.vue
  4. 39
      src/views/aftersales/aftersalesWorkOrdermodify.vue

11
src/views/aftersales/aftersalesWorkOrder.vue

@ -167,7 +167,7 @@
<div>
<!-- <el-button @click="addingRecord(slotProps.scope)">新增记录</el-button> -->
<el-button
v-if="TabPermissions != '4' && !AppealStatusT"
v-if="TabPermissions != '4' || !AppealStatusT "
@click="view(slotProps.scope)"
>查看</el-button
>
@ -178,7 +178,7 @@
>确定</el-button
>
<!-- AppealStatusT申诉列表状态 -->
<el-button v-if="AppealStatusT">待添加</el-button>
<el-button v-if="AppealStatusT" @click="Appealeditor">编辑</el-button>
<!-- <el-button @click="ViewEvent(slotProps.scope)">编辑</el-button> -->
<!-- <el-button @click="reply(slotProps.scope)">回复</el-button> -->
<!-- <el-button @click="ViewDelete(slotProps.scope)">删除</el-button> -->
@ -1480,6 +1480,11 @@ const Appealbutton = () => {
});
};
//
const Appealeditor=()=>{
}
//
const abnormalChange = val => {
console.log(val);
@ -1862,7 +1867,7 @@ const appealFn = val => {
//
const AppealTab = val => {
if (val == 0) {
AppealStatusT.value = false; //
AppealStatusT.value = false; //
Tableheaderswitching(columnList); //
console.log('处理完毕');
ProcessingPartyState.value = false; //

20
src/views/aftersales/aftersalesWorkOrderInfo.vue

@ -288,7 +288,10 @@
<div class="Paymentname">
{{ item.payment ? item.text : '支付方式' }}
</div>
<div class="el_PaymentUnit">
<span>支付单位:</span>
<el-input v-model="item.paymentUnit" placeholder="请输入支付单位" />
</div>
<el-date-picker
disabled
v-model="item.compensationTime"
@ -1579,12 +1582,11 @@ const EndJump = () => {
flex-wrap: wrap;
margin-top: 26px;
justify-content: space-between;
justify-content: flex-start;
.name {
display: flex;
margin-bottom: 20px;
height: 30px;
width: 30%;
width: 48%;
margin-right: 38px;
span {
display: block;
@ -1653,4 +1655,16 @@ const EndJump = () => {
:deep(.el-input) {
height: 100% !important;
}
.el_PaymentUnit {
display: flex;
align-items: center;
span {
display: flex;
width: 80px !important;
align-items: center;
}
:deep(.el-input) {
width: 150px;
}
}
</style>

19
src/views/aftersales/aftersalesWorkOrderend.vue

@ -1308,7 +1308,9 @@ const Chathistory = () => {
msgState.value = res.data.data.processorVOList[0].processingStatus; //
}
}
MessageContent.value.push({
//
MessageContent.value.push({
time: item.createTime, //
content: item.content, //
name: item.addDepartment, //
@ -1320,10 +1322,13 @@ const Chathistory = () => {
difference: item.difference,
identifying: true, //
});
});
console.log(MessageContent.value, '处理好的聊天记录');
$_getTrackRecord({
if(UserPermissions.value !='仓库客服'){
console.log(UserPermissions.value,'当前不是仓库客服');
$_getTrackRecord({
id: $route.query.id,
}).then(res => {
console.log(res, '处理记录返回值');
@ -1348,6 +1353,14 @@ const Chathistory = () => {
}
}, 0);
});
}
setTimeout(() => {
const container = scrollContainer.value;
if (container) {
container.scrollTop = container.scrollHeight;
}
}, 0);
//
});
};

39
src/views/aftersales/aftersalesWorkOrdermodify.vue

@ -381,9 +381,15 @@
:max="item.max"
@change="TotalChange"
/>
<div class="Paymentname" @click="PaymentSelection(item)">
{{ item.payment ? item.text : '支付方式' }}
</div>
<div class="el_PaymentUnit">
<span>支付单位:</span>
<el-input v-model="item.paymentUnit" placeholder="请输入支付单位" />
</div>
<el-date-picker
disabled
v-model="item.compensationTime"
@ -901,8 +907,7 @@ const onLoad = () => {
if (item) {
if (item.typesOf == 2) {
//
endFrom.value.processor.push(item.businessId);
MessageResponsibility.value.push(item.businessId);
Indexform.value.processor.push(item.businessId);
}
}
});
@ -948,6 +953,7 @@ const onLoad = () => {
name: item.resultTypeName,
text: item.compensationMethodName,
compensationTime:item.compensationTime,
paymentUnit:item.paymentUnit,//
};
}
);
@ -1133,7 +1139,7 @@ const changeProcessingResults = val => {
//
val.forEach(num => {
let newItem = { input: 0, min: 0, max: 9999999999999, state: num + 1, payment: '', text: '',compensationTime:'' };
let newItem = { input: 0, min: 0, max: 9999999999999, state: num + 1, payment: '', text: '',compensationTime:'',paymentUnit:'' };
// numnewItemname
switch (num) {
case '1':
@ -1584,11 +1590,12 @@ const ConfirmForm = () => {
resultType: match.dictKey, //key
money: item.input, //
typesOf: 1, //
compensationMethod: paymentMethodMatch ? paymentMethodMatch.dictKey : '未知支付方式',
compensationMethod: paymentMethodMatch ? paymentMethodMatch.dictKey : '',
compensationMethodName: paymentMethodMatch
? paymentMethodMatch.dictValue
: '未知支付方式',
: '',
resultName: item.name, //
paymentUnit:item.paymentUnit,//
};
} else {
return null;
@ -1691,11 +1698,12 @@ const Arbitrationcompleted = () => {
resultType: match.dictKey, //key
money: item.input, //
typesOf: 1, //
compensationMethod: paymentMethodMatch ? paymentMethodMatch.dictKey : '未知支付方式',
compensationMethod: paymentMethodMatch ? paymentMethodMatch.dictKey : '',
compensationMethodName: paymentMethodMatch
? paymentMethodMatch.dictValue
: '未知支付方式',
: '',
resultName: item.name, //
paymentUnit:item.paymentUnit,//
};
} else {
return null;
@ -2165,7 +2173,10 @@ const ViewPackageDetails = val => {
display: flex;
margin-bottom: 20px;
height: 30px;
width: 33%;
width: 48%;
:deep(.el-input-number){
width: 230px;
}
span {
display: block;
width: 30%;
@ -2283,4 +2294,16 @@ const ViewPackageDetails = val => {
:deep(.el-input) {
height:100% !important;
}
.el_PaymentUnit {
display: flex;
align-items: center;
span {
display: flex;
width: 80px !important;
align-items: center;
}
:deep(.el-input) {
width: 150px;
}
}
</style>

Loading…
Cancel
Save