fix:修复了不能按处理时间搜索的bug

This commit is contained in:
KindSeven
2024-09-16 21:46:25 +08:00
parent 371c332f3c
commit 595e9216ec
5 changed files with 11 additions and 7 deletions

View File

@@ -91,7 +91,7 @@ const searchConfig = reactive([
component: 'el-date-picker', component: 'el-date-picker',
}, { }, {
label: '处理时间', label: '处理时间',
prop: 'te', prop: 'processedTime',
props: { props: {
placeholder: '请选择', placeholder: '请选择',
clearable: true, clearable: true,
@@ -258,6 +258,8 @@ const headBtnClick = (key) => {
} }
const handleDetail = (row) => { const handleDetail = (row) => {
// console.log(row);
workDialogRef.value.open(row) workDialogRef.value.open(row)
rowData.value = row rowData.value = row
} }

View File

@@ -79,6 +79,8 @@ watch(() => props.rowData, (newRowData) => {
item.data.sort((a, b) => b.answer_time- a.answer_time) item.data.sort((a, b) => b.answer_time- a.answer_time)
opsCallList.value.push(item) opsCallList.value.push(item)
}) })
console.log(opsCallList.value);
//工单时间线 //工单时间线
orderContent.value = [] orderContent.value = []
// console.log(orderData.value); // console.log(orderData.value);
@@ -221,7 +223,7 @@ defineExpose({
color: info.callState === '通话中' ? '#6cc23a' : '#409eff' color: info.callState === '通话中' ? '#6cc23a' : '#409eff'
}">{{ info.callState }}</span> --> }">{{ info.callState }}</span> -->
<span class="span-3th" :style="{ color: '#a8abb2' }">{{ <span class="span-3th" :style="{ color: '#a8abb2' }">{{
info.answer_time ||'00 : 00'}}</span> info.answer_time ||'未接通'}}</span>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -92,7 +92,7 @@ const searchConfig = reactive([
component: 'el-date-picker', component: 'el-date-picker',
}, { }, {
label: '处理时间', label: '处理时间',
prop: 'te', prop: 'processedTime',
props: { props: {
placeholder: '请选择', placeholder: '请选择',
clearable: true, clearable: true,

View File

@@ -92,7 +92,7 @@ const searchConfig = reactive([
component: 'el-date-picker', component: 'el-date-picker',
}, { }, {
label: '处理时间', label: '处理时间',
prop: 'te', prop: 'processedTime',
props: { props: {
placeholder: '请选择', placeholder: '请选择',
clearable: true, clearable: true,

View File

@@ -76,10 +76,10 @@ export default defineConfig({
// rewrite: (path) => path.replace(/^\/api/, ""), // rewrite: (path) => path.replace(/^\/api/, ""),
// }, // },
"/api": { "/api": {
// target: "http://frp.feashow.cn:31800/", target: "http://frp.feashow.cn:31800/",
target: "http://112.19.165.99:20002/", // target: "http://112.19.165.99:20002/",
changeOrigin: true, changeOrigin: true,
// rewrite: (path) => path.replace(/^\/api/, ""), rewrite: (path) => path.replace(/^\/api/, ""),
}, },
// "/socket": { // "/socket": {
// target: "ws://frp.feashow.cn:8081/ws", // target: "ws://frp.feashow.cn:8081/ws",