更改逻辑 & 修复bug
This commit is contained in:
parent
d124371006
commit
4fed839e77
@ -119,12 +119,12 @@ export default {
|
|||||||
reset() {
|
reset() {
|
||||||
this.form = {
|
this.form = {
|
||||||
id: this.id,
|
id: this.id,
|
||||||
status: "2",
|
// status: "2",
|
||||||
probId: null,
|
probId: null,
|
||||||
billCode: null,
|
billCode: null,
|
||||||
title: null,
|
title: null,
|
||||||
content: null,
|
content: null,
|
||||||
dealResult: null,
|
dealResult: "1",
|
||||||
showFlag: null,
|
showFlag: null,
|
||||||
replayId: null,
|
replayId: null,
|
||||||
delFlag: null,
|
delFlag: null,
|
||||||
@ -154,7 +154,7 @@ export default {
|
|||||||
billCode: this.promInfo.billCode,
|
billCode: this.promInfo.billCode,
|
||||||
title: this.promInfo.problemTitle,
|
title: this.promInfo.problemTitle,
|
||||||
content: this.form.content,//具体内容
|
content: this.form.content,//具体内容
|
||||||
status: this.form.status,//状态
|
// status: this.form.status,//状态
|
||||||
dealResult: this.form.dealResult,//状态
|
dealResult: this.form.dealResult,//状态
|
||||||
replayId: this.$store.getters.empCode,//针对的回复的ID
|
replayId: this.$store.getters.empCode,//针对的回复的ID
|
||||||
createBy: this.$store.getters.empName,
|
createBy: this.$store.getters.empName,
|
||||||
@ -169,6 +169,7 @@ export default {
|
|||||||
}else{
|
}else{
|
||||||
this.$message.error(response & response.msg || "未知错误")
|
this.$message.error(response & response.msg || "未知错误")
|
||||||
}
|
}
|
||||||
|
this.form.content = "";
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|||||||
@ -4,7 +4,8 @@
|
|||||||
<div class="author-info">
|
<div class="author-info">
|
||||||
<span class="author-name">
|
<span class="author-name">
|
||||||
{{ item.createByName }}
|
{{ item.createByName }}
|
||||||
<span class="author-status" v-if="item.status=='2'">{{ $t('[处理完毕]') }}</span>
|
<span class="author-status1" v-if="item.dealResult=='1'">{{ $t('[处理中]') }}</span>
|
||||||
|
<span class="author-status" v-if="item.dealResult=='2'">{{ $t('[处理完毕]') }}</span>
|
||||||
<span class="author-time">{{ item.createTime }}</span>
|
<span class="author-time">{{ item.createTime }}</span>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
@ -158,7 +159,23 @@ padding: 10px;
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
// margin-right: 10px;
|
// margin-right: 10px;
|
||||||
}
|
}
|
||||||
.author-status {
|
.author-status0 {
|
||||||
|
color: #000;
|
||||||
|
font-size: 13px;
|
||||||
|
font-weight: normal;
|
||||||
|
background-color: rgb(220, 220, 220);
|
||||||
|
margin-left: 10px;
|
||||||
|
margin-right: 10px;
|
||||||
|
}
|
||||||
|
.author-status1 {
|
||||||
|
color: #000;
|
||||||
|
font-size: 13px;
|
||||||
|
font-weight: normal;
|
||||||
|
background-color: #bdd2ff;
|
||||||
|
margin-left: 10px;
|
||||||
|
margin-right: 10px;
|
||||||
|
}
|
||||||
|
.author-status2 {
|
||||||
color: #000;
|
color: #000;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
|
|||||||
@ -23,11 +23,11 @@
|
|||||||
<el-col :span="8">
|
<el-col :span="8">
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="8">
|
<el-col :span="8">
|
||||||
<el-form-item :label="$t('通知网点')" prop="notifySite" label-width="80px">
|
<el-form-item :label="$t('通知网点')" prop="notifySiteCode" label-width="80px">
|
||||||
<!-- <EmisSiteSimplePicker v-model="form.notifySite" @onChange="onScanSiteSelect" ></EmisSiteSimplePicker> -->
|
<EmisSiteSimplePicker v-model="form.notifySiteCode" @onChange="onScanSiteSelect" ></EmisSiteSimplePicker>
|
||||||
<el-select v-model="form.notifySiteCode" @change="onScanSiteSelect">
|
<!-- <el-select v-model="form.notifySiteCode" @change="onScanSiteSelect">
|
||||||
<el-option v-for="item in notifySiteDataSource" :key="item.notifySiteCode" :value="item.notifySiteCode" :label="item.notifySiteName" ></el-option>
|
<el-option v-for="item in notifySiteDataSource" :key="item.notifySiteCode" :value="item.notifySiteCode" :label="item.notifySiteName" ></el-option>
|
||||||
</el-select>
|
</el-select> -->
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|
||||||
@ -296,18 +296,20 @@ export default {
|
|||||||
this.multiple = !selection.length
|
this.multiple = !selection.length
|
||||||
},
|
},
|
||||||
onScanSiteSelect(item){
|
onScanSiteSelect(item){
|
||||||
|
debugger
|
||||||
if(!item){
|
if(!item){
|
||||||
this.form.notifySiteCode = null;
|
this.form.notifySiteCode = null;
|
||||||
this.form.notifySiteName = null;
|
this.form.notifySiteName = null;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// this.form.notifySiteCode=item.notifySiteCode;
|
this.form.notifySiteCode=item.siteCode;
|
||||||
this.notifySiteDataSource.forEach(nItem => {
|
this.form.notifySiteName=item.siteName;
|
||||||
if(nItem.notifySiteCode == item){
|
// this.notifySiteDataSource.forEach(nItem => {
|
||||||
this.form.notifySiteName=nItem.notifySiteName;
|
// if(nItem.notifySiteCode == item){
|
||||||
return;
|
// this.form.notifySiteName=nItem.notifySiteName;
|
||||||
}
|
// return;
|
||||||
})
|
// }
|
||||||
|
// })
|
||||||
},
|
},
|
||||||
onproblemTypeSelect(item){
|
onproblemTypeSelect(item){
|
||||||
// debugger;
|
// debugger;
|
||||||
@ -402,8 +404,11 @@ export default {
|
|||||||
else{
|
else{
|
||||||
this.form.notifySiteCode = this.tempRecord.sendSiteCode;
|
this.form.notifySiteCode = this.tempRecord.sendSiteCode;
|
||||||
this.form.notifySiteName = this.tempRecord.sendSiteName;
|
this.form.notifySiteName = this.tempRecord.sendSiteName;
|
||||||
|
console.log(this.form.notifySiteCode)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.form = {...this.form};
|
||||||
|
|
||||||
// listEmisWaybill({billCode:this.form.billCode}).then(response => {
|
// listEmisWaybill({billCode:this.form.billCode}).then(response => {
|
||||||
// this.loading = false;
|
// this.loading = false;
|
||||||
// let scanDate = new Date();
|
// let scanDate = new Date();
|
||||||
|
|||||||
@ -390,6 +390,7 @@ export default {
|
|||||||
return '';
|
return '';
|
||||||
},
|
},
|
||||||
getCurrentRow(val) {
|
getCurrentRow(val) {
|
||||||
|
debugger;
|
||||||
this.selData = val;
|
this.selData = val;
|
||||||
// 显示内容
|
// 显示内容
|
||||||
|
|
||||||
@ -406,6 +407,7 @@ export default {
|
|||||||
/** 查询扫描记录列表 */
|
/** 查询扫描记录列表 */
|
||||||
getList() {
|
getList() {
|
||||||
this.loading = true;
|
this.loading = true;
|
||||||
|
this.radio='';
|
||||||
console.log("---->this.queryParams,", this.queryParams);
|
console.log("---->this.queryParams,", this.queryParams);
|
||||||
if (null != this.dateTimeRange && '' != this.dateTimeRange) {
|
if (null != this.dateTimeRange && '' != this.dateTimeRange) {
|
||||||
this.queryParams.params.beginRegisterDate =dateToStr(new Date(this.dateTimeRange[0]));
|
this.queryParams.params.beginRegisterDate =dateToStr(new Date(this.dateTimeRange[0]));
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user