Commit be87696b authored by 张耀's avatar 张耀

feat:

处置反馈接口对接
parent 73a14841
...@@ -96,8 +96,8 @@ const Submit = () => { ...@@ -96,8 +96,8 @@ const Submit = () => {
params.order_issuance_id = props.active_row.order_issuance_id; params.order_issuance_id = props.active_row.order_issuance_id;
params.result_feedback = state.form.result; params.result_feedback = state.form.result;
} else { } else {
params.order_issuance_id = props.active_row.order_issuance_id; params.status = +state.form.status;
params.result_feedback = state.form.result; params.disposal_content = state.form.result;
} }
axios.put(props.active_row.url, params).then((res) => { axios.put(props.active_row.url, params).then((res) => {
if (res.data.code == 200) { if (res.data.code == 200) {
......
...@@ -226,7 +226,7 @@ const getTableRows = async () => { ...@@ -226,7 +226,7 @@ const getTableRows = async () => {
end_time, end_time,
}; };
Reflect.deleteProperty(params, "time"); Reflect.deleteProperty(params, "time");
axios.get("/v1/api/alert_list/list", { params }).then((res) => { axios.get("/v1/api/work_order/alert/list", { params }).then((res) => {
if (res.data.code == 200) { if (res.data.code == 200) {
let { list, total_count } = res.data.data; let { list, total_count } = res.data.data;
rows.value = list || []; rows.value = list || [];
...@@ -240,7 +240,7 @@ const getTableRows = async () => { ...@@ -240,7 +240,7 @@ const getTableRows = async () => {
const visible = ref(false); const visible = ref(false);
const active_row = ref(null); const active_row = ref(null);
const operation = (row) => { const operation = (row) => {
active_row.value = row; active_row.value = { ...row, url: "/v1/api/work_order/alert/dispose" };
visible.value = true; visible.value = true;
}; };
const goDetail = ({ id }) => { const goDetail = ({ id }) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment