意见反馈
This commit is contained in:
parent
45641a1055
commit
071e79e45a
@ -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
|
||||
});
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user