意见反馈

This commit is contained in:
BabyBoy 2025-09-03 10:39:59 +08:00
parent 45641a1055
commit 071e79e45a
2 changed files with 40 additions and 3 deletions

View File

@ -10,7 +10,7 @@ export function updateMark(data) {
export function changeHandleStatus(data) {
return request({
url: '/ums/feedback/handle/status/change',
url: '/ums/feedback/handle',
method: 'post',
data: data
});

View File

@ -64,7 +64,16 @@
<el-table-column label="备注" align="center">
<template v-slot="scope">
<span class="mr10">{{ scope.row.remark }}</span>
<i class="el-icon-edit pointer" @click="showUpdateMark(scope.row)"></i>
</template>
</el-table-column>
<el-table-column label="操作" fixed="right" align="center" class-name="small-padding fixed-width">
<template #default="scope">
<el-tooltip content="处理" placement="top">
<el-button link type="primary" @click="handleAdd(scope.row)">处理</el-button>
</el-tooltip>
<el-tooltip content="修改备注" placement="top">
<el-button link type="primary" @click="showUpdateMark(scope.row)">修改备注</el-button>
</el-tooltip>
</template>
</el-table-column>
</el-table>
@ -79,6 +88,16 @@
</span>
</template>
</el-dialog>
<el-dialog title="处理" v-model="showRefuteDialog" width="30%" append-to-body>
<el-radio-group v-model="param.status"></el-radio-group>
<el-input type="textarea" :rows="3" placeholder="请输入内容" v-model="param.remark" />
<template v-slot:footer>
<span class="dialog-footer">
<el-button @click="showRefuteDialog = false"> </el-button>
<el-button type="primary" @click="updateRemark"> </el-button>
</span>
</template>
</el-dialog>
</div>
</template>
@ -128,7 +147,15 @@ export default {
},
dateRange: [],
//
form: {}
form: {},
showRefuteDialog: false,
handObj: {},
param: {
id: '',
resultType: '',
remark: '',
status: 1
}
};
},
async created() {
@ -142,6 +169,16 @@ export default {
}
},
methods: {
handleAdd(row) {
this.param = {
id: row.id,
resultType: '',
remark: '',
status: 1
};
this.handObj = row;
this.showRefuteDialog = true;
},
showUpdateMark(record) {
this.remarkModal = {
visible: true,