|
@@ -51,6 +51,7 @@
|
|
|
</el-button>
|
|
|
<el-button
|
|
|
link
|
|
|
+ v-if="scope.row.replyFlag != 1"
|
|
|
type="primary"
|
|
|
size="small"
|
|
|
@click="() => replyBL(scope)"
|
|
@@ -93,7 +94,7 @@
|
|
|
<el-row>
|
|
|
<el-col :span="5">报料内容:</el-col>
|
|
|
<el-col :span="19">
|
|
|
- <div v-text="reportingDetailData.content"></div>
|
|
|
+ <div v-text="reportingDetailData.row.content"></div>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
<br />
|
|
@@ -101,7 +102,7 @@
|
|
|
<el-col :span="5">回复内容:</el-col>
|
|
|
<el-col :span="19">
|
|
|
<el-input
|
|
|
- v-model="reportingDetailData.reply"
|
|
|
+ v-model="reportingDetailData.row.reply"
|
|
|
:rows="2"
|
|
|
type="textarea"
|
|
|
placeholder="请输入回复内容"
|
|
@@ -185,23 +186,25 @@ const deleteBL = item => {
|
|
|
const lookBL = item => {
|
|
|
getreportingDetail({ data: { id: item.row.id } }).then(res => {
|
|
|
reportingDetail.value = true;
|
|
|
- reportingDetailData.value = res;
|
|
|
+ reportingDetailData.value.row = res;
|
|
|
});
|
|
|
};
|
|
|
|
|
|
const replyBL = item => {
|
|
|
reportingReplyStatus.value = true;
|
|
|
- reportingDetailData.value = item.row;
|
|
|
+ reportingDetailData.value = item;
|
|
|
};
|
|
|
|
|
|
const replySave = () => {
|
|
|
reportingReplyStatus.value = false;
|
|
|
reportingReply({
|
|
|
data: {
|
|
|
- clueId: reportingDetailData.value.id,
|
|
|
- content: reportingDetailData.value.reply || '',
|
|
|
+ clueId: reportingDetailData.value.row.id,
|
|
|
+ content: reportingDetailData.value.row.reply || '',
|
|
|
userName: reportingReplyStatus.value.author || '',
|
|
|
},
|
|
|
+ }).then(() => {
|
|
|
+
|
|
|
});
|
|
|
};
|
|
|
|