993 lines
85 KiB
JavaScript
993 lines
85 KiB
JavaScript
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["chunk-9904397e", "chunk-2d0aa9e6"], { "0031": function(e, t, a) {
|
||
"use strict";
|
||
a("49fb");
|
||
}, "0206": function(e, t, a) {
|
||
}, "0274": function(e, t, a) {
|
||
}, "0478": function(e, t, a) {
|
||
}, "07fb": function(e, t, a) {
|
||
"use strict";
|
||
a("0478");
|
||
}, "127f": function(e, t, a) {
|
||
"use strict";
|
||
a.d(t, "a", (function() {
|
||
return r;
|
||
}));
|
||
var r = function() {
|
||
function e2() {
|
||
return (65536 * (1 + Math.random()) | 0).toString(16).substring(1);
|
||
}
|
||
return "".concat(+/* @__PURE__ */ new Date(), "_").concat(e2()).concat(e2());
|
||
};
|
||
}, "1cfb": function(e, t, a) {
|
||
"use strict";
|
||
a("8218");
|
||
}, "1fb4": function(e, t, a) {
|
||
"use strict";
|
||
a("ac14");
|
||
}, "22ce": function(e, t, a) {
|
||
"use strict";
|
||
a.d(t, "e", (function() {
|
||
return n;
|
||
})), a.d(t, "h", (function() {
|
||
return o;
|
||
})), a.d(t, "f", (function() {
|
||
return s;
|
||
})), a.d(t, "g", (function() {
|
||
return i;
|
||
})), a.d(t, "a", (function() {
|
||
return l;
|
||
})), a.d(t, "c", (function() {
|
||
return c;
|
||
})), a.d(t, "i", (function() {
|
||
return d;
|
||
})), a.d(t, "b", (function() {
|
||
return u;
|
||
})), a.d(t, "d", (function() {
|
||
return p;
|
||
}));
|
||
var r = a("b775");
|
||
function n(e2) {
|
||
return Object(r["a"])({ url: "/worder/OrderCommunicationRel/create", method: "post", data: e2 });
|
||
}
|
||
function o(e2) {
|
||
return Object(r["a"])({ url: "/appproject/WorkOrder/pageList", method: "post", data: e2 });
|
||
}
|
||
function s(e2) {
|
||
return Object(r["a"])({ url: "/appproject/house/managerAcs", method: "post", data: e2 });
|
||
}
|
||
function i(e2) {
|
||
return Object(r["a"])({ url: "/appproject/WorkOrder/findByOrderNo", method: "post", data: e2 });
|
||
}
|
||
function l(e2) {
|
||
return Object(r["a"])({ url: "/appproject/WorkOrder/serviceProcess", method: "post", data: e2 });
|
||
}
|
||
function c(e2) {
|
||
return Object(r["a"])({ url: "/appproject/houseMemberDetail/findAllMember", method: "post", data: e2 });
|
||
}
|
||
function d(e2) {
|
||
return Object(r["a"])({ url: "/appproject/WorkOrder/transferOrder", method: "post", data: e2 });
|
||
}
|
||
function u(e2) {
|
||
return Object(r["a"])({ url: "/worder/WorkOrder/cancelTransferOrder", method: "post", data: e2 });
|
||
}
|
||
function p(e2) {
|
||
return Object(r["a"])({ url: "/worder/WorkOrder/orderTaking", method: "post", data: e2 });
|
||
}
|
||
}, 4292: function(e, t, a) {
|
||
"use strict";
|
||
a("eec1");
|
||
}, "49fb": function(e, t, a) {
|
||
}, "55ec": function(e, t) {
|
||
e.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAtxJREFUWEetVz1QE0EU/nbOkhljSYcNrQkXWwFbFbFzxkKaiCWOY03SM4ylkUYLfzpxxDrBVo6ElkYqKJWB0sz6vr27XLzcJburO0PITN7b973v/ex7Cg5HV+v3Ab0KqDlRq0ChatQ1+vL5S76cyG+7qn/w2fZaNU1QV6tiLNgUuVUoVZkmHwPSAga7wOCZ6vf5vfRMBCAei2G9YW04b8YAUS+FkVYZgkIA4rV4eqUzpNjK7QlCJkS/l4vYGAMgxiWugRi3pNsWnGFjQBDMl+H5C0DsefDjvxtPzcUgro8yMQTgRfu9u8DsLHB6Cux9teMiF44RAPWmxJzZbndaIkoA6el0gecv7HQ1WpKYTQobAEmp9aypn5kBvnXGjd1ZAc7OpoMYCUUCIHwjxh9P1xyROPzuD8B4rd+qfrSWAvhp7X1qtgjAwk17H4QFAXBN6WrIDvfJXjOR3GkD4UKmRuoZApej9QMCcKefRvIAokOgse5iPg6DtNuupOKim6ZIrz+Rv0am9mUP2CztuMXXa+wTgGR/8qq5oMgDaO8A7dcuN5hXVOlaXbtpJdJLQtr2Vqa6tQ28/+B8lT+AMJQ8eJUZbDwFosgHQCiPg7rhrJlvRg8fAcfHjtfoI/8kpKnRXuDSA1KYcRJ6liEv+fgOmJ8HLi+BW8uO3ifd0LsR0RyTkMno0wOoz0Zk/tdCjk5XnV3ga8hX0asC9LnqRRX/xyhFy2rwyP7cYySTrwpYDW4sMP4MQXffsQL0OfRgjpOR/0BCBjgTsBwvLoDF2/YRzA8kw6qoOfaEFAAvsC5Dqf1eFC80csaHUhWcWIeC8V+RROQ4xjBMPRn1hQBMRXAsV4Hc6JgPdsaXJo7lw1BwPI9BuLfoQiD6SJKOxsfWtNLVLBnTZS2T1cybDVJuVrNmGUG2yylHdm7FlmVKw2Y53fin5TSP2rRtbslQ0je0bFFpiEixStZzyHoeiXG78wcBsS4JevPD2QAAAABJRU5ErkJggg==";
|
||
}, "562b": function(e, t, a) {
|
||
e.exports = a.p + "static/img/pen.b05b7641.svg";
|
||
}, "65f5": function(e, t, a) {
|
||
"use strict";
|
||
a.d(t, "s", (function() {
|
||
return n;
|
||
})), a.d(t, "q", (function() {
|
||
return o;
|
||
})), a.d(t, "k", (function() {
|
||
return s;
|
||
})), a.d(t, "p", (function() {
|
||
return i;
|
||
})), a.d(t, "r", (function() {
|
||
return l;
|
||
})), a.d(t, "e", (function() {
|
||
return c;
|
||
})), a.d(t, "A", (function() {
|
||
return d;
|
||
})), a.d(t, "w", (function() {
|
||
return u;
|
||
})), a.d(t, "b", (function() {
|
||
return p;
|
||
})), a.d(t, "c", (function() {
|
||
return f;
|
||
})), a.d(t, "y", (function() {
|
||
return m;
|
||
})), a.d(t, "l", (function() {
|
||
return v;
|
||
})), a.d(t, "z", (function() {
|
||
return h;
|
||
})), a.d(t, "m", (function() {
|
||
return g;
|
||
})), a.d(t, "t", (function() {
|
||
return _;
|
||
})), a.d(t, "x", (function() {
|
||
return y;
|
||
})), a.d(t, "d", (function() {
|
||
return b;
|
||
})), a.d(t, "n", (function() {
|
||
return I;
|
||
})), a.d(t, "E", (function() {
|
||
return O;
|
||
})), a.d(t, "C", (function() {
|
||
return k;
|
||
})), a.d(t, "h", (function() {
|
||
return S;
|
||
})), a.d(t, "i", (function() {
|
||
return w;
|
||
})), a.d(t, "u", (function() {
|
||
return C;
|
||
})), a.d(t, "f", (function() {
|
||
return U;
|
||
})), a.d(t, "g", (function() {
|
||
return N;
|
||
})), a.d(t, "j", (function() {
|
||
return x;
|
||
})), a.d(t, "a", (function() {
|
||
return j;
|
||
})), a.d(t, "o", (function() {
|
||
return T;
|
||
})), a.d(t, "B", (function() {
|
||
return D;
|
||
})), a.d(t, "v", (function() {
|
||
return R;
|
||
})), a.d(t, "D", (function() {
|
||
return A;
|
||
}));
|
||
var r = a("b775");
|
||
function n(e2) {
|
||
return Object(r["a"])({ url: "/appproject/BudgetItem/getTemplatePageList", method: "post", data: e2 });
|
||
}
|
||
function o(e2) {
|
||
return Object(r["a"])({ url: "/appproject/BudgetItem/getBudgetItemTree", method: "post", data: e2 });
|
||
}
|
||
function s(e2) {
|
||
return Object(r["a"])({ url: "/appproject/BudgetItem/create", method: "post", data: e2 });
|
||
}
|
||
function i(e2) {
|
||
return Object(r["a"])({ url: "/appproject/BudgetMoneyModifyApply/pageList", method: "post", data: e2 });
|
||
}
|
||
function l(e2) {
|
||
return Object(r["a"])({ url: "/appproject/BudgetItemMoney/modifyRecordPageList", method: "post", data: e2 });
|
||
}
|
||
function c(e2) {
|
||
return Object(r["a"])({ url: "/appproject/BudgetMoneyModifyApply/approveApply", method: "post", data: e2 });
|
||
}
|
||
function d(e2) {
|
||
return Object(r["a"])({ url: "/appproject/BudgetMoneyModifyApply/refuseApply", method: "post", data: e2 });
|
||
}
|
||
function u(e2) {
|
||
return Object(r["a"])({ url: "/appproject/BudgetItemMoney/modifyDetails", method: "post", data: e2 });
|
||
}
|
||
function p(e2) {
|
||
return Object(r["a"])({ url: "/appproject/BudgetItemMoney/adjustAmount", method: "post", data: e2 });
|
||
}
|
||
function f(e2) {
|
||
return Object(r["a"])({ url: "/appproject/BudgetItemMoney/adjustAmount2", method: "post", data: e2 });
|
||
}
|
||
function m(e2) {
|
||
return Object(r["a"])({ url: "/appproject/BudgetItemMoney/queryBudgetItemMoney", method: "post", data: e2 });
|
||
}
|
||
function v(e2) {
|
||
return Object(r["a"])({ url: "/appproject/BudgetItem/delBudgetItemNode", method: "post", data: e2 });
|
||
}
|
||
function h(e2) {
|
||
return Object(r["a"])({ url: "/appproject/BudgetItemMoney/queryBudgetMoneyStatistical", method: "post", data: e2 });
|
||
}
|
||
function g(e2) {
|
||
return Object(r["a"])({ url: "/appproject/BudgetItem/exportBudgetTemplate", method: "post", responseType: "blob", data: e2 });
|
||
}
|
||
function _(e2, t2) {
|
||
return Object(r["a"])({ url: "/appproject/BudgetItem/importBudgetItemMoney?projectUuid=" + t2.projectUuid + "&year=" + t2.year + "&type=" + t2.type + "&createUserUuid=" + t2.createUserUuid + "&createUserName=" + t2.createUserName + "&id=" + t2.id, method: "post", headers: { "Content-Type": "multipart/form-data;charset=UTF-8" }, data: e2 });
|
||
}
|
||
function y(e2) {
|
||
return Object(r["a"])({ url: "/appproject/BudgetItemMoney/queryBudgetAccountInfo", method: "post", data: e2 });
|
||
}
|
||
function b(e2) {
|
||
return Object(r["a"])({ url: "/appproject/BudgetItemMoney/adjustTotal", method: "post", data: e2 });
|
||
}
|
||
function I(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ProjectConfig/findByUuid", method: "post", data: e2 });
|
||
}
|
||
function O(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ProjectConfig/updateBudgetByProjectUuid", method: "post", data: e2 });
|
||
}
|
||
function k(e2) {
|
||
return Object(r["a"])({ url: "/appproject/BudgetItem/setMainBudgetNode", method: "post", data: e2 });
|
||
}
|
||
function S(e2) {
|
||
return Object(r["a"])({ url: "/appproject/BudgetBusiness/pageList", method: "post", data: e2 });
|
||
}
|
||
function w(e2) {
|
||
return Object(r["a"])({ url: "/appproject/BudgetBusiness/total", method: "post", data: e2 });
|
||
}
|
||
function C(e2, t2) {
|
||
return Object(r["a"])({ url: "/appproject/BudgetBusiness/importExcel/".concat(t2), method: "post", isReturnResponse: true, responseType: "blob", headers: { "Content-Type": "multipart/form-data;charset=UTF-8" }, data: e2 });
|
||
}
|
||
function U(e2) {
|
||
return Object(r["a"])({ url: "/appproject/BudgetBusiness/create", method: "post", data: e2 });
|
||
}
|
||
function N(e2) {
|
||
return Object(r["a"])({ url: "/appproject/BudgetBusiness/findById", method: "post", data: e2 });
|
||
}
|
||
function x(e2) {
|
||
return Object(r["a"])({ url: "/appproject/BudgetBusiness/update", method: "post", data: e2 });
|
||
}
|
||
function j(e2) {
|
||
return Object(r["a"])({ url: "/appproject/BudgetBusiness/log", method: "post", data: e2 });
|
||
}
|
||
function T(e2) {
|
||
return Object(r["a"])({ url: "/appproject/BudgetItemMoney/auto/statistics/generate/budget", method: "post", data: e2 });
|
||
}
|
||
function D(e2) {
|
||
return Object(r["a"])({ url: "/appproject/InvestmentSubscribe/pageList/adopt", method: "post", data: e2 });
|
||
}
|
||
function R(e2) {
|
||
return Object(r["a"])({ url: "/appproject/InvestmentSubscribe/into/rolling/budget", method: "post", data: e2 });
|
||
}
|
||
function A(e2) {
|
||
return Object(r["a"])({ url: "/project/BudgetItemMoney/value/change/statistics", method: "post", data: e2 });
|
||
}
|
||
}, "6afe": function(e, t, a) {
|
||
"use strict";
|
||
a("e7fe");
|
||
}, "6ca0": function(e, t, a) {
|
||
"use strict";
|
||
a("8c6b");
|
||
}, "72b1": function(e, t, a) {
|
||
"use strict";
|
||
var r = function() {
|
||
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
|
||
return a2("div", { staticClass: "adjustDetails" }, [a2("el-table", { staticStyle: { width: "100%" }, attrs: { data: e2.amountData, "header-cell-style": e2.headClass, "span-method": e2.objectSpanMethod, border: "", "header-row-style": { height: "38px" }, height: "500px" } }, [a2("el-table-column", { attrs: { prop: "id", label: "月份", width: "180" } }), e2._v(" "), a2("el-table-column", { attrs: { prop: "name", label: "" } }), e2._v(" "), a2("el-table-column", { attrs: { prop: "amount1", label: "原值" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("span", [e2._v(e2._s(e2._f("changeTwoDecimal")(t3.row.amount1)))])];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { prop: "amount2", label: "调整/更新值" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("span", [e2._v(e2._s(e2._f("changeTwoDecimal")(t3.row.amount2)))])];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { prop: "amount3", label: "后值" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("span", [e2._v(e2._s(e2._f("changeTwoDecimal")(t3.row.amount3)))])];
|
||
} }]) })], 1), e2._v(" "), a2("div", { staticStyle: { "text-align": "center", "margin-top": "15px" } }, [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], on: { click: e2.cancelClick } }, [e2._v("取消")])], 1)], 1);
|
||
}, n = [], o = { data: function() {
|
||
return { amountData: [], listLoading: false, tableData1: [] };
|
||
}, props: { tableData: { type: Array } }, watch: { tableData: function(e2, t2) {
|
||
e2 !== t2 && this.getRenderTableData();
|
||
} }, created: function() {
|
||
this.headClass();
|
||
}, methods: { getRenderTableData: function() {
|
||
var e2 = this;
|
||
this.amountData = [];
|
||
var t2 = this.tableData[0], a2 = Array.from({ length: 12 }, (function(e3, t3) {
|
||
return "month_" + ++t3;
|
||
}));
|
||
a2.push("year"), a2.forEach((function(a3, r2) {
|
||
if (void 0 != t2) {
|
||
var n2 = t2[a3], o2 = {}, s2 = {};
|
||
o2["id"] = 12 === r2 ? "年度" : r2 + 1 + "月", o2["name"] = "预算", s2["name"] = "发生", o2["amount1"] = n2.budgetValue || 0, o2["amount2"] = n2.budgetUpdateValue || 0, o2["amount3"] = n2.budgetUpdateAfterValue || 0, s2["amount1"] = n2.happenValue || 0, s2["amount2"] = n2.happenUpdateValue || 0, s2["amount3"] = n2.happenUpdateAfterValue || 0, e2.amountData.push(o2, s2);
|
||
}
|
||
}));
|
||
}, cancelClick: function() {
|
||
this.$emit("canceAdjust", false);
|
||
}, headClass: function() {
|
||
return "text-align:center;background:#FAFAFA;";
|
||
}, objectSpanMethod: function(e2) {
|
||
e2.row, e2.column;
|
||
var t2 = e2.rowIndex, a2 = e2.columnIndex;
|
||
if (0 === a2) return t2 % 2 === 0 ? { rowspan: 2, colspan: 1 } : { rowspan: 0, colspan: 0 };
|
||
} }, mounted: function() {
|
||
this.getRenderTableData();
|
||
} }, s = o, i = a("829d"), l = Object(i["a"])(s, r, n, false, null, "10dccf1c", null);
|
||
t["a"] = l.exports;
|
||
}, 8218: function(e, t, a) {
|
||
}, "8c6b": function(e, t, a) {
|
||
}, "9e44": function(e, t, a) {
|
||
"use strict";
|
||
a("a5f1");
|
||
}, a31b: function(e, t, a) {
|
||
"use strict";
|
||
a("0274");
|
||
}, a5f1: function(e, t, a) {
|
||
}, a96f: function(e, t, a) {
|
||
}, ac14: function(e, t, a) {
|
||
}, b5e8: function(e, t, a) {
|
||
"use strict";
|
||
a("0206");
|
||
}, bb77: function(e, t, a) {
|
||
"use strict";
|
||
a.r(t);
|
||
var r = function() {
|
||
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
|
||
return a2("div", {}, [a2("el-card", { staticClass: "box-card", attrs: { shadow: "never" } }, [a2("div", { staticClass: "planLst", attrs: { slot: "header" }, slot: "header" }, [a2("el-page-header", { attrs: { content: e2.content + "工单详情" }, on: { back: e2.goBack } })], 1), e2._v(" "), a2("work-order-Progress", { attrs: { dataInfo: e2.dataInfo } })], 1), e2._v(" "), a2("el-card", { staticClass: "box-card", attrs: { shadow: "never" } }, [a2("basic-Info", { ref: "childComponent", attrs: { dataInfo: e2.dataInfo } }), e2._v(" "), a2("details-Info", { attrs: { dataInfo: e2.dataInfo }, on: { dataInfoClick: e2.getFindById, chcekWorkOrder: e2.chcekWorkOrder } }), e2._v(" "), null != e2.dataInfo.relationPostponeWorderList ? a2("relationWorkOrder", { attrs: { relationWorderList: e2.dataInfo.relationPostponeWorderList }, on: { viewWorkOrder: e2.viewWorkOrder } }) : e2._e(), e2._v(" "), a2("handle-Process", { attrs: { dataInfo: e2.dataInfo } }), e2._v(" "), 1 !== e2.dataInfo.orderStatus ? a2("filePictureResult", { ref: "fileResult", attrs: { dataInfo: e2.dataInfo } }) : e2._e(), e2._v(" "), a2("connect-Process", { attrs: { dataInfo: e2.dataInfo }, on: { dataInfoClick: e2.getFindById } }), e2._v(" "), this.$store.state.user.userInfo.memberUuid === e2.dataInfo.applicantid ? a2("evaluation-Info", { attrs: { dataInfo: e2.dataInfo }, on: { dataInfoClick: e2.getFindById } }) : e2._e(), e2._v(" "), 5 == e2.dataInfo.orderStatus ? a2("qualityStimate", { attrs: { dataInfo: e2.dataInfo.workWarnRespDTO } }) : e2._e(), e2._v(" "), a2("div", { staticClass: "btnStys" }, [!e2.isTempOrder || 1 !== e2.dataInfo.orderStatus && 2 !== e2.dataInfo.orderStatus && 4 !== e2.dataInfo.orderStatus && 5 !== e2.dataInfo.orderStatus || this.$store.state.user.userInfo.memberUuid !== e2.dataInfo.applicantid || 1 == e2.dataInfo.isquote ? e2._e() : a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: e2.launchAgain } }, [e2._v("再次发起")]), e2._v(" "), 1 !== e2.dataInfo.orderStatus && 3 !== e2.dataInfo.orderStatus || e2.dataInfo.currentProcessorId !== e2.people && (this.$store.state.user.userInfo.memberUuid !== e2.dataInfo.applicantid || 1 !== e2.dataInfo.orderStatus) ? e2._e() : a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], staticClass: "btnCorlo", attrs: { type: "primary" }, on: { click: function(t3) {
|
||
return e2.closeWorkOrder(7);
|
||
} } }, [e2._v("关闭")]), e2._v(" "), 1 !== e2.dataInfo.orderStatus && 2 !== e2.dataInfo.orderStatus && 3 !== e2.dataInfo.orderStatus || "0" !== e2.dataInfo.transferPersonId || !e2.people || e2.dataInfo.applicantid === this.$store.state.user.userInfo.memberUuid || e2.dataInfo.currentProcessorId === this.$store.state.user.userInfo.memberUuid ? e2._e() : a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: function(t3) {
|
||
return e2.acceptOrder();
|
||
} } }, [e2._v("接单")]), e2._v(" "), 1 !== e2.dataInfo.orderStatus && 2 !== e2.dataInfo.orderStatus && 3 !== e2.dataInfo.orderStatus || e2.dataInfo.transferPersonId !== e2.people ? e2._e() : a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: function(t3) {
|
||
return e2.acceptOrder();
|
||
} } }, [e2._v("接单")]), e2._v(" "), 1 !== e2.dataInfo.orderStatus && 3 !== e2.dataInfo.orderStatus || null != e2.dataInfo.transferPersonId || e2.dataInfo.currentProcessorId !== e2.people ? e2._e() : a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: function(t3) {
|
||
return e2.transferHelp();
|
||
} } }, [e2._v("转单求助")]), e2._v(" "), 1 !== e2.dataInfo.orderStatus && 2 !== e2.dataInfo.orderStatus && 3 !== e2.dataInfo.orderStatus || !e2.dataInfo.transferPersonId || e2.dataInfo.currentProcessorId !== e2.people ? e2._e() : a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: function(t3) {
|
||
return e2.transRevoke();
|
||
} } }, [e2._v("撤销转单")]), e2._v(" "), e2.dataInfo.currentProcessorId === e2.people && 1 === e2.dataInfo.orderStatus ? a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], staticClass: "btnCorlo", attrs: { type: "primary" }, on: { click: function(t3) {
|
||
return e2.notAccepted(11);
|
||
} } }, [e2._v("不受理")]) : e2._e(), e2._v(" "), e2.dataInfo.currentProcessorId === e2.people && 1 === e2.dataInfo.orderStatus ? a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], staticClass: "btnCorlo", attrs: { type: "primary" }, on: { click: e2.acceptanceClick } }, [e2._v("受理")]) : e2._e(), e2._v(" "), e2.dataInfo.currentProcessorId === e2.people && 3 === e2.dataInfo.orderStatus ? a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], staticClass: "btnCorlo", attrs: { type: "primary" }, on: { click: function(t3) {
|
||
e2.delayDialog = true;
|
||
} } }, [e2._v("延后")]) : e2._e(), e2._v(" "), 3 === e2.dataInfo.orderStatus && e2.dataInfo.currentProcessorId === e2.people ? a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], staticClass: "btnCorlo", attrs: { type: "primary" }, on: { click: e2.completeClick } }, [e2._v("完成")]) : e2._e(), e2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], staticStyle: { width: "74px" }, attrs: { type: "primary" }, on: { click: e2.goBack } }, [e2._v("返回")])], 1)], 1), e2._v(" "), a2("el-dialog", { directives: [{ name: "loading", rawName: "v-loading", value: e2.listLoading, expression: "listLoading" }], staticClass: "dialogHead", attrs: { title: e2.title, "show-close": true, "close-on-press-escape": false, "close-on-click-modal": false, visible: e2.closeWorkOrderDialog, width: "30%" }, on: { "update:visible": function(t3) {
|
||
e2.closeWorkOrderDialog = t3;
|
||
} } }, [a2("close-Work-Order", { on: { closeSubmit: e2.closeSubmit, closeCancelBtn: function(t3) {
|
||
e2.closeWorkOrderDialog = false;
|
||
} } })], 1), e2._v(" "), a2("el-dialog", { directives: [{ name: "loading", rawName: "v-loading", value: e2.listLoading, expression: "listLoading" }], staticClass: "dialogHead", attrs: { title: "延后时间陈述", "show-close": true, "close-on-press-escape": false, "close-on-click-modal": false, visible: e2.delayDialog, width: "30%" }, on: { "update:visible": function(t3) {
|
||
e2.delayDialog = t3;
|
||
} } }, [a2("delay", { on: { delaySubmit: e2.delaySubmit, delayCancelBtn: function(t3) {
|
||
e2.delayDialog = false;
|
||
} } })], 1), e2._v(" "), a2("transferHelp", { ref: "transferHelp", attrs: { dataInfo: e2.dataInfo, applicantid: e2.applicantid }, on: { getInfoList: function(t3) {
|
||
return e2.getFindById();
|
||
} } })], 1);
|
||
}, n = [], o = a("e10e"), s = function() {
|
||
var e2 = this, t2 = e2.$createElement, r2 = e2._self._c || t2;
|
||
return r2("div", { staticClass: "app-container bgHeight" }, [r2("div", { staticClass: "content" }, [r2("el-steps", { attrs: { "align-center": "", "process-status": e2.orderProcessStatus, active: 6 === e2.dataInfo.orderStatus ? e2.orderStatusActive - 1 : e2.orderStatusActive } }, e2._l(e2.progressList, (function(t3, n2) {
|
||
return r2("el-step", { key: t3.time1, class: [n2 + 1 <= e2.orderStatusActive && !(6 === e2.dataInfo.orderStatus && n2 >= 1) ? "orderProcessSuccess" : "orderProcessNormal"], attrs: { title: t3.text, description: t3.time ? t3.time : "" } }, [r2("template", { slot: "icon" }, [r2("span", { class: [n2 + 1 >= e2.orderStatusActive ? n2 + 1 !== e2.orderStatusActive || 6 === e2.dataInfo.orderStatus && n2 >= 1 ? "normal" : "nextIcon" : 6 === e2.dataInfo.orderStatus && 1 === n2 ? "error" : "success"] }, [n2 < e2.orderStatusActive && !(6 === e2.dataInfo.orderStatus && n2 > 1) ? [1 === n2 && 6 === e2.dataInfo.orderStatus ? r2("span", [r2("img", { attrs: { src: a("55ec"), alt: "" } })]) : r2("span", [e2._v("\n " + e2._s(n2 + 1) + "\n ")])] : e2._e()], 2)])], 2);
|
||
})), 1)], 1)]);
|
||
}, i = [], l = { props: ["dataInfo"], data: function() {
|
||
return { progressList: [{ text: "服务提交", orderStatus: 1, time: "" }, { text: "服务受理", orderStatus: 2, time: "" }, { text: "服务处理", orderStatus: 3, time: "" }, { text: "服务评价", orderStatus: 4, time: "" }, { text: "服务完成", orderStatus: 5, time: "" }] };
|
||
}, computed: { orderProcessStatus: function() {
|
||
return 5 === this.dataInfo.orderStatus ? "success" : "process";
|
||
}, orderStatusActive: function() {
|
||
return 6 === this.dataInfo.orderStatus ? 3 : this.dataInfo.orderStatus + 1;
|
||
} } }, c = l, d = (a("1cfb"), a("829d")), u = Object(d["a"])(c, s, i, false, null, "77bf5014", null), p = u.exports, f = a("d68f"), m = function() {
|
||
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
|
||
return a2("div", { staticClass: "progress" }, [a2("SubTitle", { attrs: { title: e2.title } }), e2._v(" "), a2("div", { staticClass: "content" }, [a2("el-form", { ref: "form", attrs: { model: e2.locationForm, rules: e2.rules, "label-position": "left" } }, [a2("el-row", [a2("el-col", { attrs: { span: 12 } }, [a2("div", [a2("span", [e2._v("工单编号: " + e2._s(e2.dataInfo.postponeOrderNo))])])]), e2._v(" "), a2("el-col", { attrs: { span: 12 } }, [a2("div", [a2("span", [e2._v("项目名称: " + e2._s(e2.dataInfo.projectName))])])])], 1), e2._v(" "), a2("el-row", [a2("el-col", { attrs: { span: 12 } }, [a2("div", [a2("span", [e2._v("工单标题: " + e2._s(e2.dataInfo.orderTitle))])])]), e2._v(" "), a2("el-col", { attrs: { span: 12 } }, [a2("div", [1 === e2.dataInfo.typeValue ? a2("span", [e2._v("工单类型:\n " + e2._s(e2._f("getItemType")(e2.dataInfo.orderType, e2.houseServices)))]) : a2("span", [e2._v("工单类型:\n " + e2._s(e2._f("getItemType")(e2.dataInfo.planModel, e2.comeControl)))])])])], 1), e2._v(" "), a2("el-row", [a2("el-col", { attrs: { span: 12 } }, [a2("div", [a2("span", [e2._v("工单截止时间: " + e2._s(e2.dataInfo.orderCutoffTime))])])]), e2._v(" "), a2("el-col", { attrs: { span: 12 } }, e2._l(e2.prioritys, (function(t3) {
|
||
return a2("div", { key: t3.value }, [t3.value === e2.dataInfo.priority ? a2("span", [e2._v("优先级: " + e2._s(t3.label))]) : e2._e()]);
|
||
})), 0)], 1), e2._v(" "), a2("el-row", [a2("el-col", { attrs: { span: 12 } }, [a2("div", [a2("span", [e2._v("绩效分值: " + e2._s(e2.dataInfo.performanceScore))])])]), e2._v(" "), a2("el-col", { attrs: { span: 12 } }, [a2("div", [a2("span", [e2._v("工单云豆: " + e2._s(e2.dataInfo.laborCost))])])])], 1), e2._v(" "), a2("el-row", [e2.dataInfo.orderTwoServiceName ? a2("el-col", { attrs: { span: 12 } }, [a2("div", [a2("span", [e2._v("工单业务名称: " + e2._s(e2.dataInfo.orderTwoServiceName))])])]) : e2._e()], 1), e2._v(" "), a2("el-row", [3 !== e2.dataInfo.orderStatus ? a2("el-col", { attrs: { span: 12 } }, [a2("div", [e2.dataInfo.sceneId && -1 !== e2.dataInfo.sceneId ? a2("span", [e2._v("作业场景: " + e2._s(e2.dataInfo.sceneName))]) : a2("span", [e2._v("作业场景: " + e2._s("未指定场景"))])])]) : a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { attrs: { label: "作业场景:", prop: "sceneId" } }, [a2("el-select", { attrs: { placeholder: "请选择作业场景" }, on: { change: e2.sceneChange }, model: { value: e2.locationForm.sceneId, callback: function(t3) {
|
||
e2.$set(e2.locationForm, "sceneId", t3);
|
||
}, expression: "locationForm.sceneId" } }, e2._l(e2.sceneMenu, (function(e3, t3) {
|
||
return a2("el-option", { key: t3, attrs: { label: e3.sceneName, value: e3.id } });
|
||
})), 1)], 1)], 1), e2._v(" "), 3 !== e2.dataInfo.orderStatus ? a2("el-col", { attrs: { span: 12 } }, [a2("div", [e2.dataInfo.spaceUuid && -1 !== e2.dataInfo.spaceUuid ? a2("span", [e2._v("作业网格: " + e2._s(e2.dataInfo.spaceName))]) : a2("span", [e2._v("作业网格: " + e2._s("未指定网格"))])])]) : a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { attrs: { label: "作业网格:", prop: "spaceLocation" } }, [a2("el-select", { attrs: { placeholder: "请选择作业网格" }, on: { change: e2.spaceChange }, model: { value: e2.locationForm.spaceLocation, callback: function(t3) {
|
||
e2.$set(e2.locationForm, "spaceLocation", t3);
|
||
}, expression: "locationForm.spaceLocation" } }, e2._l(e2.spaceList, (function(e3) {
|
||
return a2("el-option", { key: e3.id, attrs: { label: e3.spaceName + e3.location, value: e3.id } });
|
||
})), 1)], 1)], 1)], 1), e2._v(" "), a2("el-row", [3 !== e2.dataInfo.orderStatus ? a2("el-col", { attrs: { span: 12 } }, [a2("div", [e2.dataInfo.targetUuid && -1 !== e2.dataInfo.targetUuid ? a2("span", [e2._v("作业对象: " + e2._s(e2.dataInfo.targetName))]) : a2("span", [e2._v("作业对象: " + e2._s("未指定对象"))])])]) : a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { attrs: { label: "作业对象:", prop: "targetUuid" } }, [a2("el-select", { attrs: { placeholder: "请选择作业对象" }, on: { change: e2.selectTarget }, model: { value: e2.locationForm.targetUuid, callback: function(t3) {
|
||
e2.$set(e2.locationForm, "targetUuid", t3);
|
||
}, expression: "locationForm.targetUuid" } }, e2._l(e2.locationList, (function(e3, t3) {
|
||
return a2("el-option", { key: t3, attrs: { label: e3.relationName, value: e3.targetId } });
|
||
})), 1)], 1)], 1)], 1), e2._v(" "), a2("el-row", [a2("el-col", { attrs: { span: 12 } }, [a2("div", [e2.dataInfo.eventName ? a2("span", [e2._v("作业事项: " + e2._s(e2.dataInfo.eventName))]) : a2("span", [e2._v("作业事项: 未指定")])])])], 1)], 1)], 1)], 1);
|
||
}, v = [], h = a("f139"), g = a("f8b7"), _ = a("d2a7"), y = a("8f53"), b = a("ed08"), I = { props: ["dataInfo"], components: { SubTitle: h["a"] }, filters: { formatDate: function(e2) {
|
||
if (0 === e2) return "";
|
||
var t2 = new Date(e2);
|
||
return Object(b["c"])(t2, "yyyy-MM-dd hh:mm");
|
||
} }, data: function() {
|
||
return { houseServices: y["j"], comeControl: y["f"], title: "工单基础信息", prioritys: y["y"], orderTypeList: y["v"], sceneMenu: [], spaceList: [], locationList: [], locationForm: { sceneId: "", sceneName: "", spaceUuid: "", spaceName: "", targetUuid: "", targetName: "", locationUuid: "", locationName: "", spaceLocation: "" }, rules: { sceneId: [{ required: true, message: "请选择作业场景", trigger: "change" }], spaceLocation: [{ required: true, message: "请选择作业网格", trigger: "change" }], targetUuid: [{ required: true, message: "请选择作业对象", trigger: "change" }] }, validate: false };
|
||
}, watch: { dataInfo: { handler: function(e2, t2) {
|
||
Object.assign(this.locationForm, e2), this.locationForm.spaceUuid && this.locationForm.locationUuid && (this.locationForm.spaceLocation = this.locationForm.spaceUuid + "-" + this.locationForm.locationUuid, this.getSpaceList(), this.getLocationList());
|
||
}, deep: true } }, mounted: function() {
|
||
this.getSceneMenuList();
|
||
}, methods: { sceneChange: function(e2) {
|
||
this.getSpaceList();
|
||
var t2 = this.sceneMenu.find((function(t3) {
|
||
return t3.id == e2;
|
||
}));
|
||
this.locationForm.sceneName = t2.sceneName, this.spaceList = [], this.locationList = [], this.locationForm.spaceName = "", this.locationForm.spaceUuid = "", this.locationForm.locationUuid = "", this.locationForm.locationName = "", this.locationForm.spaceLocation = "", this.locationForm.targetName = "", this.locationForm.targetUuid = "";
|
||
}, selectTarget: function(e2) {
|
||
this.locationForm.targetName = this.locationList.find((function(t2) {
|
||
return e2 == t2.targetId;
|
||
})).relationName;
|
||
}, spaceChange: function(e2) {
|
||
this.locationForm.targetName = null, this.locationForm.targetUuid = null;
|
||
var t2 = this.spaceList.find((function(t3) {
|
||
return t3.id == e2;
|
||
}));
|
||
this.locationForm.spaceName = t2.spaceName, this.locationForm.spaceUuid = t2.spaceUuid, this.locationForm.locationUuid = t2.locationUuid, this.locationForm.locationName = t2.location, this.getLocationList();
|
||
}, getSceneMenuList: function() {
|
||
var e2 = this;
|
||
Object(_["a"])().then((function(t2) {
|
||
e2.sceneMenu = t2.data;
|
||
}));
|
||
}, getSpaceList: function() {
|
||
var e2 = this;
|
||
Object(g["E"])({ projectUuid: this.$store.state.community_uuid, sceneId: this.locationForm.sceneId, pageSize: -1, pageNumber: 1 }).then((function(t2) {
|
||
0 == t2.code && (t2.data.records.forEach((function(e3, t3) {
|
||
e3.id = e3.spaceUuid + "-" + e3.locationUuid;
|
||
})), e2.spaceList = t2.data.records);
|
||
}));
|
||
}, getLocationList: function() {
|
||
var e2 = this;
|
||
Object(g["a"])({ locationUuid: this.locationForm.locationUuid, spaceUuid: this.locationForm.spaceUuid, pageNumber: -1, pageSize: -1 }).then((function(t2) {
|
||
0 == t2.code && (e2.locationList = t2.data.records);
|
||
}));
|
||
} } }, O = I, k = (a("6ca0"), Object(d["a"])(O, m, v, false, null, "eb284a00", null)), S = k.exports, w = function() {
|
||
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
|
||
return a2("div", { staticClass: "progress" }, [a2("SubTitle", { attrs: { title: e2.title } }), e2._v(" "), a2("div", { staticClass: "content" }, [a2("el-form", { ref: "form", attrs: { "label-position": "left", "label-width": "110px" } }, ["new" === e2.dataInfo.displyType ? a2("div", [a2("el-row", [a2("el-col", { attrs: { span: 12 } }, [a2("div", { staticClass: "grid-content" }, [a2("span", [e2._v("工单编号: ")]), e2._v(" "), a2("span", [e2._v(e2._s(e2.dataInfo.postponeOrderNo))])])]), e2._v(" "), a2("el-col", { attrs: { span: 12 } }, [a2("div", { staticClass: "grid-content" }, [a2("span", [e2._v("工单类型: ")]), e2._v(" "), 1 === e2.dataInfo.typeValue ? a2("span", [e2._v(e2._s(e2._f("getItemType")(e2.dataInfo.orderType, e2.houseServices)))]) : a2("span", [e2._v(e2._s(e2._f("getItemType")(e2.dataInfo.planModel, e2.comeControl)))])])])], 1), e2._v(" "), a2("el-row", [a2("el-col", { attrs: { span: 12 } }, [a2("div", { staticClass: "grid-content" }, [a2("span", [e2._v("工单标题: ")]), e2._v(" "), a2("span", [e2._v(e2._s(e2.dataInfo.orderTitle))])])]), e2._v(" "), a2("el-col", { attrs: { span: 12 } }, [a2("div", { staticClass: "grid-content" }, [a2("span", [e2._v("主工程师:")]), e2._v(" "), e2._l(e2.dataInfo.orderPersonnelRelRespDTOS, (function(t3, r2) {
|
||
return a2("span", { key: r2 }, [1 === t3.engineerType ? a2("span", [e2._v("\n " + e2._s(t3.engineerName) + "\n "), a2("el-link", { attrs: { type: "primary" }, on: { click: function(a3) {
|
||
return e2.chcekWorkOrder(t3.engineerName);
|
||
} } }, [e2._v("查看工单")])], 1) : e2._e()]);
|
||
}))], 2)])], 1), e2._v(" "), a2("el-row", [a2("el-col", { attrs: { span: 12 } }, [a2("div", { staticClass: "grid-content" }, [a2("span", [e2._v("问题描述:")]), e2._v(" "), 1 == e2.mark ? a2("span", [e2._v("单号为【"), a2("el-button", { attrs: { type: "text" }, on: { click: e2.seeDetail } }, [e2._v(e2._s(this.orderNo1))]), e2._v("】的【" + e2._s(this.typeTitel) + "】服务工单,用户发起评价,评价星级为【" + e2._s(this.evaluate1) + "】星,请及时跟进处理!")], 1) : e2._e(), e2._v(" "), a2("br"), 1 == e2.mark ? a2("span", [e2._v("评价内容: " + e2._s(this.content1 ? this.content1 : "未评价"))]) : e2._e(), e2._v(" "), 0 == e2.mark ? a2("span", { staticClass: "word-wrap" }, [e2._v(e2._s(e2.dataInfo.remake)), 2 == this.$route.query.type ? a2("el-link", { attrs: { type: "primary" }, on: { click: e2.adjustDetailClick } }, [e2._v("查看更多")]) : e2._e()], 1) : e2._e()])])], 1)], 1) : a2("div", [11 === e2.dataInfo.orderType ? a2("el-row", [a2("el-col", { attrs: { span: 12 } }, [a2("div", { staticClass: "grid-content" }, [a2("span", [e2._v("报修人: ")]), e2._v(" "), e2.dataInfo.publicAreaRectifyOrderRelRespDTO ? a2("span", [e2._v(e2._s(e2.dataInfo.publicAreaRectifyOrderRelRespDTO.repairerName))]) : e2._e()])]), e2._v(" "), a2("el-col", { attrs: { span: 12 } }, [a2("div", { staticClass: "grid-content" }, [a2("span", [e2._v("联系方式: ")]), e2._v(" "), e2.dataInfo.publicAreaRectifyOrderRelRespDTO ? a2("span", [e2._v(e2._s(e2.dataInfo.publicAreaRectifyOrderRelRespDTO.phoneNumber))]) : e2._e()])])], 1) : e2._e(), e2._v(" "), 12 === e2.dataInfo.orderType ? a2("el-row", [a2("el-col", { attrs: { span: 12 } }, [a2("div", { staticClass: "grid-content" }, [a2("span", [e2._v("房间号: ")]), e2._v(" "), e2.dataInfo.householderOrdinaryOrderRelReqDTO ? a2("span", [e2._v("\n " + e2._s(e2.dataInfo.householderOrdinaryOrderRelReqDTO.precinctName) + "-\n " + e2._s(e2.dataInfo.householderOrdinaryOrderRelReqDTO.buildingName) + "-\n " + e2._s(e2.dataInfo.householderOrdinaryOrderRelReqDTO.unitName) + "-" + e2._s(e2.dataInfo.householderOrdinaryOrderRelReqDTO.houseName))]) : e2._e()])]), e2._v(" "), a2("el-col", { attrs: { span: 12 } }, [a2("div", { staticClass: "grid-content" }, [a2("span", [e2._v("住户姓名:")]), e2._v(" "), e2.dataInfo.householderOrdinaryOrderRelReqDTO ? a2("span", [e2._v(" " + e2._s(e2.dataInfo.householderOrdinaryOrderRelReqDTO.householderName))]) : e2._e()])])], 1) : e2._e(), e2._v(" "), 12 === e2.dataInfo.orderType ? a2("el-row", [a2("el-col", { attrs: { span: 12 } }, [a2("div", { staticClass: "grid-content" }, [a2("span", [e2._v("住户手机号: ")]), e2._v(" "), e2.dataInfo.householderOrdinaryOrderRelReqDTO ? a2("span", [e2._v(" " + e2._s(e2.dataInfo.householderOrdinaryOrderRelReqDTO.householderPhone))]) : e2._e()])]), e2._v(" "), a2("el-col", { attrs: { span: 12 } }, [a2("div", { staticClass: "grid-content" }, [a2("span", [e2._v("服务类型: ")]), e2._v(" "), e2._l(e2.repairServiceList, (function(t3) {
|
||
return a2("span", { key: t3.value }, [e2.dataInfo.householderOrdinaryOrderRelReqDTO.serviceType === t3.value ? a2("span", [e2._v("\n " + e2._s(t3.label) + "\n ")]) : e2._e()]);
|
||
}))], 2)]), e2._v(" "), a2("el-col", { attrs: { span: 12 } }, [a2("div", { staticClass: "grid-content" }, [a2("span", [e2._v("预约时间: ")]), e2._v(" "), e2.dataInfo.householderOrdinaryOrderRelReqDTO ? a2("span", [e2._v(e2._s(e2.dataInfo.householderOrdinaryOrderRelReqDTO.reserveTime))]) : e2._e()])])], 1) : e2._e(), e2._v(" "), 11 === e2.dataInfo.orderType ? a2("el-row", [a2("el-col", { attrs: { span: 12 } }, [a2("div", { staticClass: "grid-content" }, [a2("span", [e2._v("空间: ")]), e2._v(" "), e2.dataInfo.publicAreaRectifyOrderRelRespDTO ? a2("span", [e2._v(e2._s(e2.dataInfo.publicAreaRectifyOrderRelRespDTO.spaceName))]) : e2._e()])]), e2._v(" "), a2("el-col", { attrs: { span: 12 } }, [a2("div", { staticClass: "grid-content" }, [a2("span", [e2._v("网格: ")]), e2._v(" "), e2.dataInfo.publicAreaRectifyOrderRelRespDTO ? a2("span", [e2._v(e2._s(e2.dataInfo.publicAreaRectifyOrderRelRespDTO.locationName))]) : e2._e()])])], 1) : e2._e(), e2._v(" "), 11 === e2.dataInfo.orderType ? a2("el-row", [a2("el-col", { attrs: { span: 12 } }, [a2("div", { staticClass: "grid-content" }, [a2("span", [e2._v("设备: ")]), e2._v(" "), e2.dataInfo.publicAreaRectifyOrderRelRespDTO ? a2("span", [e2._v(e2._s(e2.dataInfo.publicAreaRectifyOrderRelRespDTO.deviceName))]) : e2._e()])])], 1) : e2._e(), e2._v(" "), a2("el-row", [a2("el-col", { attrs: { span: 12 } }, [a2("div", { staticClass: "grid-content" }, [a2("span", [e2._v("问题描述:")]), e2._v(" "), 1 == e2.mark ? a2("span", [e2._v("单号为【"), a2("el-button", { attrs: { type: "text" }, on: { click: e2.seeDetail } }, [e2._v(e2._s(this.orderNo1))]), e2._v("】的【" + e2._s(this.typeTitel) + "】服务工单,用户发起评价,评价星级为【" + e2._s(this.evaluate1) + "】星,请及时跟进处理!")], 1) : e2._e(), e2._v(" "), a2("br"), 1 == e2.mark ? a2("span", [e2._v("评价内容: " + e2._s(this.content1 ? this.content1 : "未评价"))]) : e2._e(), e2._v(" "), 0 == e2.mark ? a2("span", { staticClass: "word-wrap" }, [e2._v(e2._s(e2.dataInfo.remake)), 2 == this.$route.query.type ? a2("el-link", { attrs: { type: "primary" }, on: { click: e2.adjustDetailClick } }, [e2._v("查看更多")]) : e2._e()], 1) : e2._e()])])], 1), e2._v(" "), a2("el-row", [a2("el-col", { attrs: { span: 12 } }, [a2("div", { staticClass: "grid-content" }, [a2("span", [e2._v("主工程师:")]), e2._v(" "), e2._l(e2.dataInfo.orderPersonnelRelRespDTOS, (function(t3, r2) {
|
||
return a2("span", { key: r2 }, [1 === t3.engineerType ? a2("span", [e2._v("\n " + e2._s(t3.engineerName) + "\n "), a2("router-link", { staticClass: "routerFont", attrs: { to: { path: "../views/1news/WorkOrder_management/temporary_management/temporaryList", query: { name: t3.engineerName } } } }, [e2._v("查看工单")])], 1) : e2._e()]);
|
||
}))], 2)])], 1), e2._v(" "), a2("el-row", [a2("el-col", { attrs: { span: 12 } }, [a2("div", { staticClass: "grid-content" }, [a2("span", [e2._v("协同工程师: ")]), e2._v(" "), e2._l(e2.dataInfo.orderPersonnelRelRespDTOS, (function(t3, r2) {
|
||
return a2("span", { key: r2 }, [2 === t3.engineerType ? a2("span", [e2._v("\n " + e2._s(t3.engineerName) + ",\n ")]) : e2._e()]);
|
||
})), e2._v(" "), 1 !== e2.dataInfo.orderStatus && 3 !== e2.dataInfo.orderStatus || this.$store.state.user.userInfo.memberUuid !== e2.dataInfo.currentProcessorId && (this.$store.state.user.userInfo.memberUuid !== e2.dataInfo.applicantid || 1 !== e2.dataInfo.orderStatus) ? e2._e() : a2("span", { staticClass: "el-icon-edit updataStys", on: { click: function(t3) {
|
||
return e2.upadatEengineer(2);
|
||
} } })], 2)])], 1)], 1), e2._v(" "), a2("el-row", [a2("el-col", { attrs: { span: 12 } }, [a2("div", { staticClass: "grid-content" }, [a2("span", [e2._v("上传图片或视频: ")]), e2._v(" "), a2("div", { staticClass: "rightContent" }, [e2._l(e2.dataInfo.imgUrlArr, (function(t3) {
|
||
return a2("span", { key: t3 }, [a2("el-image", { staticStyle: { width: "100px", height: "100px" }, attrs: { src: t3, "preview-src-list": e2.dataInfo.imgUrlArr } })], 1);
|
||
})), e2._v(" "), e2._l(e2.dataInfo.videoUrlArr, (function(t3) {
|
||
return a2("span", { key: t3 }, [a2("video", { attrs: { controls: "" } }, [a2("source", { attrs: { src: t3, type: "video/mp4" } }), e2._v("\n 您的浏览器不支持 video 属性。\n ")])]);
|
||
}))], 2)])])], 1), e2._v(" "), a2("el-row", [a2("el-col", { attrs: { span: 12 } }, [a2("div", { staticClass: "grid-content" }, [a2("span", [e2._v("文档: ")]), e2._v(" "), e2._l(e2.dataInfo.annexUrlArr, (function(t3) {
|
||
return a2("div", { key: t3.rulAddres }, [a2("div", { staticClass: "el-icon-document rulAddres", on: { click: function(a3) {
|
||
return e2.downloadUp(t3.rulAddres);
|
||
} } }, [e2._v(e2._s(t3.urlName))])]);
|
||
}))], 2)])], 1)], 1)], 1), e2._v(" "), e2.masterEngineerVisible ? a2("el-dialog", { directives: [{ name: "loading", rawName: "v-loading", value: e2.listLoading, expression: "listLoading" }], staticClass: "dialogHead", attrs: { width: "30%", title: "请选择工程师", "show-close": true, "close-on-press-escape": false, "close-on-click-modal": false, visible: e2.masterEngineerVisible }, on: { "update:visible": function(t3) {
|
||
e2.masterEngineerVisible = t3;
|
||
} } }, [a2("div", { staticClass: "dialogContx" }, [a2("span", [e2._v(e2._s(e2.engineerTitle))]), e2._v(" "), 1 === e2.selectType ? a2("span", [a2("el-select", { attrs: { clearable: "", "value-key": "id", filterable: "" }, model: { value: e2.form.masterEngineer, callback: function(t3) {
|
||
e2.$set(e2.form, "masterEngineer", t3);
|
||
}, expression: "form.masterEngineer" } }, e2._l(e2.engineerList, (function(e3) {
|
||
return a2("el-option", { key: e3.id, attrs: { label: e3.name, value: e3 } });
|
||
})), 1)], 1) : e2._e(), e2._v(" "), 2 === e2.selectType ? a2("span", [a2("el-select", { attrs: { multiple: "", "value-key": "id", filterable: "" }, model: { value: e2.form.engineer, callback: function(t3) {
|
||
e2.$set(e2.form, "engineer", t3);
|
||
}, expression: "form.engineer" } }, e2._l(e2.modifyEngineer2, (function(e3) {
|
||
return a2("el-option", { key: e3.id, attrs: { label: e3.name, value: e3 } });
|
||
})), 1)], 1) : e2._e()]), e2._v(" "), a2("div", { staticStyle: { "text-align": "center" } }, [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary", disabled: e2.disabledBtn }, on: { click: e2.engineerUpdata } }, [e2._v("确定")]), e2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], on: { click: e2.cancelClick } }, [e2._v("取消")])], 1)]) : e2._e(), e2._v(" "), a2("el-dialog", { staticClass: "dialogHead", attrs: { title: "预算/发生值调整详情", visible: e2.adjustDetailDialog, "close-on-press-escape": false, "close-on-click-modal": false }, on: { "update:visible": function(t3) {
|
||
e2.adjustDetailDialog = t3;
|
||
} } }, [a2("adjustDetails", { attrs: { tableData: e2.budgetMoneyData }, on: { canceAdjust: function(t3) {
|
||
e2.adjustDetailDialog = false;
|
||
} } })], 1)], 1);
|
||
}, C = [], U = a("72b1"), N = a("65f5"), x = { props: ["dataInfo"], components: { SubTitle: h["a"], adjustDetails: U["a"] }, watch: { dataInfo: function(e2) {
|
||
var t2 = e2.remake;
|
||
if (t2 && t2.includes("evaluate")) {
|
||
this.mark = 1;
|
||
var a2 = t2.split("evaluate");
|
||
a2.length > 0 && (this.orderNo1 = a2[0], this.typeTitel = a2[1], this.evaluate1 = a2[2], this.content1 = a2[3]);
|
||
}
|
||
} }, data: function() {
|
||
return { houseServices: y["j"], comeControl: y["f"], title: "工单详细信息", engineerTitle: "主工程师", mark: 0, orderNo1: "", typeTitel: "", evaluate1: "", content1: "", prioritys: y["y"], orderTypeList: y["v"], repairServiceList: y["B"], selectType: "", modifyEngineer2: [], budgetMoneyData: [], adjustDetailDialog: false, listLoading: false, disabledBtn: false, masterEngineerVisible: false, engineerList: [], imgUrlArr: [], form: { masterEngineer: "", engineer: [] } };
|
||
}, methods: { seeDetail: function() {
|
||
this.$router.replace({ path: "../views/1news/WorkOrder_management/serviceOrder_management/workOrderDetails", query: { orderNo: this.orderNo1 } });
|
||
}, chcekWorkOrder: function(e2) {
|
||
this.$emit("chcekWorkOrder", e2);
|
||
}, engineerUpdata: function() {
|
||
var e2 = this, t2 = [], a2 = [], r2 = [{ engineerName: this.form.masterEngineer.name, engineerUuid: this.form.masterEngineer.uuid, postponeOrderNo: this.dataInfo.postponeOrderNo, engineerType: 1 }];
|
||
if (1 == this.selectType) {
|
||
if (!this.form.masterEngineer) return void this.$message({ message: "请选择主工程师", type: "error" });
|
||
} else {
|
||
if (!(this.form.engineer && this.form.engineer.length > 0)) return void this.$message({ message: "请选择协同工程师", type: "error" });
|
||
this.form.engineer.forEach((function(a3) {
|
||
var r3 = { engineerName: a3.name, engineerUuid: a3.uuid, engineerType: 2, postponeOrderNo: e2.dataInfo.postponeOrderNo };
|
||
t2.push(r3);
|
||
}));
|
||
}
|
||
a2 = [].concat(r2, t2), this.getEngineerInfo(a2);
|
||
}, getEngineerInfo: function(e2) {
|
||
var t2 = this, a2 = { operatorUuid: this.$store.state.user.userInfo.memberUuid, operatorName: this.$store.state.user.userInfo.memberName, updateType: this.selectType, postponeOrderNo: this.dataInfo.postponeOrderNo, orderPersonnelRelAddReqDTOS: e2 };
|
||
this.disabledBtn = true, Object(o["w"])(a2).then((function(e3) {
|
||
if (0 == e3.code) {
|
||
var a3 = t2.dataInfo.postponeOrderNo;
|
||
t2.$emit("dataInfoClick", a3), t2.$message({ message: "更新成功", type: "success" });
|
||
}
|
||
t2.masterEngineerVisible = false, t2.disabledBtn = false;
|
||
}));
|
||
}, adjustDetailClick: function() {
|
||
var e2 = this;
|
||
this.adjustDetailDialog = true, this.$nextTick((function() {
|
||
Object(N["w"])({ orderNo: e2.dataInfo.postponeOrderNo }).then((function(t2) {
|
||
0 == t2.code && (e2.budgetMoneyData = [t2.data]);
|
||
}));
|
||
}));
|
||
}, downloadUp: function(e2) {
|
||
window.location.href = e2;
|
||
}, upadatEengineer: function(e2) {
|
||
var t2 = this;
|
||
this.engineerTitle = 1 == e2 ? "主工程师" : "协同主工程师", this.selectType = e2, this.form.masterEngineer = "", this.form.engineer = "", this.masterEngineerVisible = true;
|
||
var a2 = { id: this.$store.state.id };
|
||
this.listLoading = true, Object(o["m"])(a2).then((function(e3) {
|
||
t2.engineerList = e3.data, t2.modifyEngineer2 = e3.data, t2.listLoading = false;
|
||
}));
|
||
}, cancelClick: function() {
|
||
this.masterEngineerVisible = false, this.selectType = "";
|
||
} }, mounted: function() {
|
||
} }, j = x, T = (a("cfd2"), Object(d["a"])(j, w, C, false, null, "5358a203", null)), D = T.exports, R = function() {
|
||
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
|
||
return a2("div", { staticClass: "dialogContx" }, [a2("el-form", { ref: "validateForm", staticClass: "demo-ruleForm", attrs: { model: e2.validateForm, "label-width": "100px" } }, [a2("el-form-item", { attrs: { label: "原因说明", prop: "textarea", rules: [{ required: true, message: "原因说明不能为空" }] } }, [a2("el-input", { attrs: { type: "textarea", autosize: { minRows: 6, maxRows: 6 }, placeholder: "原因说明", maxlength: "300", "show-word-limit": "" }, model: { value: e2.validateForm.textarea, callback: function(t3) {
|
||
e2.$set(e2.validateForm, "textarea", t3);
|
||
}, expression: "validateForm.textarea" } })], 1), e2._v(" "), a2("el-form-item", [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], staticClass: "btnCorlo", attrs: { type: "primary" }, on: { click: function(t3) {
|
||
return e2.closeSubmit("validateForm");
|
||
} } }, [e2._v("确定")]), e2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], staticStyle: { width: "74px" }, on: { click: e2.closeCancelBtn } }, [e2._v("取消")])], 1)], 1)], 1);
|
||
}, A = [], F = { name: "closeWorkOrder", data: function() {
|
||
return { validateForm: { textarea: "" } };
|
||
}, methods: { closeCancelBtn: function() {
|
||
this.$emit("closeCancelBtn", false);
|
||
}, closeSubmit: function(e2) {
|
||
var t2 = this;
|
||
this.$refs[e2].validate((function(e3) {
|
||
if (!e3) return false;
|
||
t2.$emit("closeSubmit", t2.validateForm.textarea);
|
||
}));
|
||
} } }, $ = F, P = (a("9e44"), Object(d["a"])($, R, A, false, null, "5c7f8ba7", null)), B = P.exports, L = function() {
|
||
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
|
||
return a2("div", { staticClass: "dialogContx" }, [a2("el-form", { ref: "validateForm", staticClass: "demo-ruleForm", attrs: { model: e2.validateForm, "label-width": "100px" } }, [a2("el-form-item", { attrs: { label: "延后时间", prop: "delayData", rules: [{ required: true, message: "延后时间不能为空" }] } }, [a2("el-date-picker", { attrs: { type: "datetime", placeholder: "选择日期时间" }, model: { value: e2.validateForm.delayData, callback: function(t3) {
|
||
e2.$set(e2.validateForm, "delayData", t3);
|
||
}, expression: "validateForm.delayData" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "原因说明", prop: "textarea", rules: [{ required: true, message: "原因陈述不能为空" }] } }, [a2("el-input", { attrs: { type: "textarea", placeholder: "输入原因陈述", maxlength: "300", "show-word-limit": "" }, model: { value: e2.validateForm.textarea, callback: function(t3) {
|
||
e2.$set(e2.validateForm, "textarea", t3);
|
||
}, expression: "validateForm.textarea" } })], 1), e2._v(" "), a2("el-form-item", { staticStyle: { "text-align": "center" } }, [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], staticClass: "btnCorlo", attrs: { type: "primary" }, on: { click: function(t3) {
|
||
return e2.delaySubmit("validateForm");
|
||
} } }, [e2._v("确定")]), e2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], staticStyle: { width: "74px" }, on: { click: e2.delayCancelBtn } }, [e2._v("取消")])], 1)], 1)], 1);
|
||
}, E = [], W = { name: "closeWorkOrder", data: function() {
|
||
return { validateForm: { textarea: "", delayData: "" } };
|
||
}, methods: { delayCancelBtn: function() {
|
||
this.$emit("delayCancelBtn", false);
|
||
}, delaySubmit: function(e2) {
|
||
var t2 = this;
|
||
this.$refs[e2].validate((function(e3) {
|
||
if (!e3) return false;
|
||
t2.$emit("delaySubmit", t2.validateForm);
|
||
}));
|
||
} }, mounted: function() {
|
||
var e2 = /* @__PURE__ */ new Date();
|
||
e2.setTime(e2.getTime() + 864e5), this.validateForm.delayData = e2;
|
||
} }, M = W, q = (a("b5e8"), Object(d["a"])(M, L, E, false, null, "a797ad92", null)), V = q.exports, G = function() {
|
||
var e2 = this, t2 = e2.$createElement, r2 = e2._self._c || t2;
|
||
return e2.dataInfo.postponeOrderProcessRespDTOS && e2.dataInfo.postponeOrderProcessRespDTOS.length > 0 ? r2("div", { staticClass: "handleProcess" }, [r2("SubTitle", { attrs: { title: e2.title } }), e2._v(" "), r2("div", { staticClass: "order-area" }, [r2("ul", { staticClass: "deal-progress", staticStyle: { "padding-left": "80px" } }, e2._l(e2.dataInfo.postponeOrderProcessRespDTOS, (function(t3, n2) {
|
||
return r2("li", { key: t3.id }, [r2("div", { staticClass: "progress-left" }, [r2("img", { staticClass: "imgStys", attrs: { src: a("562b"), alt: "" } }), e2._v(" "), n2 + 1 < e2.dataInfo.postponeOrderProcessRespDTOS.length ? r2("span", { staticClass: "progress-line" }) : e2._e()]), e2._v(" "), r2("div", { staticClass: "progress-right" }, [r2("p", [r2("span", [e2._v(e2._s(t3.remake))])]), e2._v(" "), t3.postponeTime ? r2("p", [r2("span", [e2._v("延后时间: " + e2._s(t3.postponeTime))])]) : e2._e(), e2._v(" "), r2("span", [e2._v(e2._s(t3.createDate))]), e2._v(" "), r2("span", { staticClass: "operate" }, [e2._v(e2._s(t3.operateName))])])]);
|
||
})), 0)])], 1) : e2._e();
|
||
}, H = [], J = { props: ["dataInfo"], components: { SubTitle: h["a"] }, data: function() {
|
||
return { title: "处理过程" };
|
||
} }, z = J, Q = (a("4292"), Object(d["a"])(z, G, H, false, null, "4843902e", null)), X = Q.exports, Y = function() {
|
||
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
|
||
return a2("div", { staticClass: "handleProcess" }, [a2("SubTitle", { attrs: { title: e2.title } }), e2._v(" "), 1 !== e2.dataInfo.orderStatus ? a2("div", { staticClass: "order-area" }, [e2._m(0), e2._v(" "), a2("div", { staticClass: "public" }, [3 == e2.dataInfo.orderStatus ? a2("div", [a2("AliOSSUpload", { attrs: { limit: 6, showFileList: true, fileList: e2.fileList, allowFileType: e2.allowFileType1, accept: e2.accept1 }, on: { getUploadData: e2.getUploadData1 } })], 1) : e2._e(), e2._v(" "), 3 !== e2.dataInfo.orderStatus ? a2("div", e2._l(e2.dataInfo.imgUrlResult, (function(t3) {
|
||
return a2("span", { key: t3 }, [a2("el-image", { staticStyle: { width: "100px", height: "100px", "margin-right": "10px" }, attrs: { src: t3, "preview-src-list": e2.dataInfo.imgUrlResult } })], 1);
|
||
})), 0) : e2._e()]), e2._v(" "), e2._m(1), e2._v(" "), a2("div", { staticClass: "public" }, [3 == e2.dataInfo.orderStatus ? a2("div", [a2("AliOSSUpload", { attrs: { limit: 6, allowFileType: e2.allowFileType2, fileList: e2.fileListInfo, showFileList: true, listType: "text", accept: e2.accept }, on: { getUploadData: e2.getUploadData2 }, scopedSlots: e2._u([{ key: "uploadButton", fn: function() {
|
||
return [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], staticClass: "el-icon-upload", attrs: { type: "primary", plain: "", size: "small" } }, [e2._v("选择附件")])];
|
||
}, proxy: true }], null, false, 2416014527) })], 1) : e2._e(), e2._v(" "), 3 !== e2.dataInfo.orderStatus ? a2("div", e2._l(e2.dataInfo.fileUrlResult, (function(t3) {
|
||
return a2("div", { key: t3.rulAddres }, [a2("span", { staticClass: "el-icon-document", staticStyle: { color: "#409eff", cursor: "pointer", "line-height": "30px" }, on: { click: function(a3) {
|
||
return e2.downloadUp(t3.rulAddres);
|
||
} } }, [e2._v(e2._s(t3.urlName))])]);
|
||
})), 0) : e2._e()])]) : e2._e()], 1);
|
||
}, K = [function() {
|
||
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
|
||
return a2("div", { staticClass: "public" }, [a2("span", { staticClass: "fontWeight" }, [e2._v("图片:")]), e2._v(" "), a2("span", { staticClass: "el-icon-info" }, [e2._v("支持照片格式:JPG、JPEG、GIF、MPEG、MPG")])]);
|
||
}, function() {
|
||
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
|
||
return a2("div", { staticClass: "public" }, [a2("span", { staticClass: "fontWeight" }, [e2._v("附件:")]), e2._v(" "), a2("span", { staticClass: "el-icon-info" }, [e2._v("支持文件格式:doc、docx、xls、xlsx、pdf")])]);
|
||
}], Z = a("8988"), ee = { name: "filePictureResult", props: ["dataInfo"], components: { SubTitle: h["a"], AliOSSUpload: Z["a"] }, data: function() {
|
||
return { allowFileType1: ["image"], allowFileType2: ["file"], accept: ".doc, .docx, .xls, .xlsx, .pdf", accept1: ".jpg, .JPG, .jpeg, .gif, .GIF, .MPEG, .MPG, .png, .PNG", fileListInfo: [], title: "处理结果", pictureList: [], fileList: [], form: { imageUrl: [], annexUrl: [] } };
|
||
}, created: function() {
|
||
}, methods: { downloadUp: function(e2) {
|
||
window.open(e2);
|
||
}, filePicture: function() {
|
||
var e2 = [];
|
||
return this.form.imageUrl.length > 0 && this.form.imageUrl.forEach((function(t2) {
|
||
e2.push({ fileType: 1, fullUrl: t2.url, fileName: t2.name });
|
||
})), this.form.annexUrl.length > 0 && this.form.annexUrl.forEach((function(t2) {
|
||
e2.push({ fileType: 2, fullUrl: t2.url, fileName: t2.name });
|
||
})), e2;
|
||
}, getUploadData1: function(e2) {
|
||
this.pictureList = [], this.pictureList = e2;
|
||
var t2 = [];
|
||
e2 && e2.length > 0 && e2.forEach((function(e3) {
|
||
t2.push({ url: e3.filePath, name: e3.fileOrName });
|
||
})), this.form.imageUrl = t2;
|
||
}, getUploadData2: function(e2) {
|
||
var t2 = [];
|
||
e2 && e2.length > 0 && e2.forEach((function(e3) {
|
||
t2.push({ name: e3.fileOrName, url: e3.filePath });
|
||
})), this.form.annexUrl = t2;
|
||
} } }, te = ee, ae = (a("1fb4"), Object(d["a"])(te, Y, K, false, null, "a0f79d18", null)), re = ae.exports, ne = function() {
|
||
var e2 = this, t2 = e2.$createElement, r2 = e2._self._c || t2;
|
||
return r2("div", { staticClass: "progress" }, [r2("SubTitle", { attrs: { title: e2.title } }), e2._v(" "), r2("div", { staticClass: "order-area" }, [this.$store.state.user.userInfo.memberUuid === e2.dataInfo.currentProcessorId || this.$store.state.user.userInfo.memberUuid === e2.dataInfo.applicantid && 1 === e2.dataInfo.orderStatus ? r2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], staticClass: "btnCorlo", attrs: { type: "primary" }, on: { click: function(t3) {
|
||
e2.replyDialog = true;
|
||
} } }, [e2._v("回复")]) : e2._e(), e2._v(" "), e2.dataInfo.postponeOrderCommunicationRelRespDTOS && e2.dataInfo.postponeOrderCommunicationRelRespDTOS.length > 0 ? r2("ul", { staticClass: "deal-progress", staticStyle: { "padding-left": "80px" } }, e2._l(e2.dataInfo.postponeOrderCommunicationRelRespDTOS, (function(t3, n2) {
|
||
return r2("li", { key: t3.id }, [r2("div", { staticClass: "progress-left" }, [r2("img", { staticClass: "imgStys", attrs: { src: a("562b"), alt: "" } }), e2._v(" "), n2 + 1 < e2.dataInfo.postponeOrderCommunicationRelRespDTOS.length ? r2("span", { staticClass: "progress-line" }) : e2._e()]), e2._v(" "), r2("div", { staticClass: "progress-right" }, [r2("p", [e2._v(e2._s(t3.remake))]), e2._v(" "), e2.getVideoAndImgUrr(t3.imageUrl).length ? r2("p", e2._l(e2.getVideoAndImgUrr(t3.imageUrl), (function(a2) {
|
||
return r2("span", { key: a2, staticClass: "imgWrap" }, [r2("el-image", { staticStyle: { width: "100px", height: "100px" }, attrs: { src: a2, "preview-src-list": e2.getVideoAndImgUrr(t3.imageUrl) } })], 1);
|
||
})), 0) : e2._e(), e2._v(" "), r2("p", [r2("span", [e2._v(e2._s(t3.createDate))]), e2._v(" "), r2("span", [e2._v(e2._s(t3.operateName))])])])]);
|
||
})), 0) : e2._e()], 1), e2._v(" "), e2.replyDialog ? r2("el-dialog", { staticClass: "dialogHead", attrs: { title: "回复消息", "show-close": true, "close-on-press-escape": false, "close-on-click-modal": false, visible: e2.replyDialog, width: "45%" }, on: { "update:visible": function(t3) {
|
||
e2.replyDialog = t3;
|
||
} } }, [r2("reply-Dialog", { on: { replySubmit: e2.replySubmit, replyCancelBtn: function(t3) {
|
||
e2.replyDialog = false;
|
||
} } })], 1) : e2._e()], 1);
|
||
}, oe = [], se = function() {
|
||
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
|
||
return a2("div", { staticClass: "replyDialog" }, [a2("el-form", { ref: "validateForm", staticClass: "demo-ruleForm", attrs: { model: e2.validateForm, "label-width": "100px" } }, [a2("el-form-item", { attrs: { label: "消息内容", prop: "textarea", rules: [{ required: true, message: "请输入消息内容" }] } }, [a2("el-input", { attrs: { type: "textarea", placeholder: "消息内容", maxlength: "300", "show-word-limit": "" }, model: { value: e2.validateForm.textarea, callback: function(t3) {
|
||
e2.$set(e2.validateForm, "textarea", t3);
|
||
}, expression: "validateForm.textarea" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "上传图片" } }, [a2("span", { staticClass: "imagvVdeo" }, [a2("AliOSSUpload", { attrs: { limit: 6, allowFileType: e2.allowFileType1, accept: e2.accept }, on: { getUploadData: e2.getUploadData1 } })], 1)]), e2._v(" "), a2("el-form-item", { staticStyle: { "text-align": "center" } }, [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], staticClass: "btnCorlo", attrs: { type: "primary" }, on: { click: function(t3) {
|
||
return e2.replySubmit("validateForm");
|
||
} } }, [e2._v("确定")]), e2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], staticStyle: { width: "74px" }, on: { click: e2.replyCancelBtn } }, [e2._v("取消")])], 1)], 1)], 1);
|
||
}, ie = [], le = { name: "replyDialog", components: { AliOSSUpload: Z["a"] }, data: function() {
|
||
return { allowFileType1: ["image", "video"], accept: ".jpg, .JPG, .jpeg, .gif, .GIF, .MPEG, .MPG, .png, .PNG", validateForm: { textarea: "", imageUrl: "" } };
|
||
}, methods: { getUploadData1: function(e2) {
|
||
var t2 = [];
|
||
e2 && e2.length > 0 && e2.forEach((function(e3) {
|
||
t2.push(e3.filePath);
|
||
})), this.validateForm.imageUrl = t2.join(",");
|
||
}, replyCancelBtn: function() {
|
||
this.$emit("replyCancelBtn", false);
|
||
}, replySubmit: function(e2) {
|
||
var t2 = this;
|
||
this.$refs[e2].validate((function(e3) {
|
||
if (!e3) return false;
|
||
t2.$emit("replySubmit", t2.validateForm);
|
||
}));
|
||
} } }, ce = le, de = Object(d["a"])(ce, se, ie, false, null, null, null), ue = de.exports, pe = { props: ["dataInfo"], components: { SubTitle: h["a"], replyDialog: ue }, data: function() {
|
||
return { title: "沟通过程", replyDialog: false };
|
||
}, methods: { replySubmit: function(e2) {
|
||
var t2 = this, a2 = { imageUrl: e2.imageUrl, remake: e2.textarea, postponeOrderNo: this.dataInfo.postponeOrderNo, operateId: this.$store.state.user.userInfo.memberUuid, operateName: this.$store.state.user.userInfo.memberName };
|
||
Object(o["u"])(a2).then((function(e3) {
|
||
0 === e3.code && (t2.$message({ message: "回复成功", type: "success" }), t2.$emit("dataInfoClick", t2.dataInfo.postponeOrderNo)), t2.replyDialog = false;
|
||
}));
|
||
}, getVideoAndImgUrr: function(e2) {
|
||
return e2 && e2.split(",") || [];
|
||
} } }, fe = pe, me = (a("a31b"), Object(d["a"])(fe, ne, oe, false, null, "3ab815e8", null)), ve = me.exports, he = function() {
|
||
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
|
||
return a2("div", { staticClass: "evaluationInfo" }, [4 === e2.dataInfo.orderStatus || 5 === e2.dataInfo.orderStatus ? a2("div", { staticClass: "evaluationInfo" }, [a2("SubTitle", { attrs: { title: e2.title } })], 1) : e2._e(), e2._v(" "), 5 === e2.dataInfo.orderStatus ? a2("div", { staticClass: "order-area" }, e2._l(e2.dataInfo.postponeOrderProcessRespDTOS, (function(t3) {
|
||
return a2("div", { key: t3.fraction, staticClass: "order-area-child order-evaluation" }, [a2("div", { staticClass: "evaluation-right" }, [t3.fraction ? a2("p", [a2("el-rate", { attrs: { disabled: "", "score-template": "{}", "text-color": "#ff9900" }, model: { value: t3.fraction, callback: function(a3) {
|
||
e2.$set(t3, "fraction", a3);
|
||
}, expression: "evaluation.fraction" } })], 1) : e2._e(), e2._v(" "), 10 === t3.operateStatus ? a2("p", { staticStyle: { "padding-top": "15px", "font-size": "14px" } }, [e2._v(e2._s(t3.evaluateRemake))]) : e2._e(), e2._v(" "), 10 === t3.operateStatus && e2.getVideoAndImgUrr(t3.imageUrl).length ? a2("p", e2._l(e2.getVideoAndImgUrr(t3.imageUrl), (function(r2) {
|
||
return a2("span", { key: r2, staticClass: "imgWrap" }, [a2("el-image", { staticStyle: { width: "100px", height: "100px" }, attrs: { src: r2, "preview-src-list": e2.getVideoAndImgUrr(t3.imageUrl) } })], 1);
|
||
})), 0) : e2._e(), e2._v(" "), a2("p", [t3.fraction ? a2("span", { staticStyle: { "font-size": "14px" } }, [e2._v(e2._s(t3.createDate))]) : e2._e()])])]);
|
||
})), 0) : e2._e(), e2._v(" "), 4 === e2.dataInfo.orderStatus ? a2("div", { staticClass: "order-area" }, [a2("div", { staticClass: "order-area-child order-evaluation" }, [a2("div", { staticClass: "evaluation-info" }, [a2("p", { staticClass: "textarea" }, [a2("el-rate", { attrs: { "text-color": "#ff9900" }, model: { value: e2.fraction, callback: function(t3) {
|
||
e2.fraction = t3;
|
||
}, expression: "fraction" } })], 1), e2._v(" "), a2("p", { staticClass: "textarea" }, [a2("el-input", { attrs: { type: "textarea", autosize: { minRows: 4, maxRows: 6 }, placeholder: "请输入内容" }, model: { value: e2.evaluateRemake, callback: function(t3) {
|
||
e2.evaluateRemake = t3;
|
||
}, expression: "evaluateRemake" } })], 1), e2._v(" "), a2("p", [a2("AliOSSUpload", { attrs: { allowFileType: e2.allowFileType1, accept: e2.accept }, on: { getUploadData: e2.getUploadData1 } })], 1)]), e2._v(" "), a2("div", { staticClass: "evaluatSbumint" }, [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], staticClass: "btnCorlo", attrs: { type: "primary" }, on: { click: e2.submitEvaluationInfo } }, [e2._v("提交")])], 1)])]) : e2._e()]);
|
||
}, ge = [], _e = { props: ["dataInfo"], components: { SubTitle: h["a"], AliOSSUpload: Z["a"] }, data: function() {
|
||
return { title: "评价信息", allowFileType1: ["image", "video"], accept: ".jpg, .JPG, .jpeg, .gif, .GIF, .MPEG, .MPG, .png, .PNG", fraction: 0, evaluateRemake: "", imageUrl: "" };
|
||
}, methods: { getUploadData1: function(e2) {
|
||
var t2 = [];
|
||
e2 && e2.length > 0 && e2.forEach((function(e3) {
|
||
t2.push(e3.filePath);
|
||
})), this.imageUrl = t2.join(",");
|
||
}, submitEvaluationInfo: function() {
|
||
var e2 = this, t2 = { operatorUuid: this.$store.state.user.userInfo.uuid, operatorName: this.$store.state.user.userInfo.memberName, postponeOrderNo: this.dataInfo.postponeOrderNo, fraction: this.fraction, imageUrl: this.imageUrl, evaluateRemake: this.evaluateRemake, remake: "我已对你表现进行评价" };
|
||
Object(o["f"])(t2).then((function(t3) {
|
||
0 === t3.code && (e2.$message({ message: "评价成功", type: "success" }), e2.$emit("dataInfoClick", e2.dataInfo.postponeOrderNo));
|
||
}));
|
||
}, getVideoAndImgUrr: function(e2) {
|
||
return e2 && e2.split(",") || [];
|
||
} } }, ye = _e, be = (a("07fb"), Object(d["a"])(ye, he, ge, false, null, "38d12b1e", null)), Ie = be.exports, Oe = a("6354"), ke = a("22ce"), Se = function() {
|
||
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
|
||
return a2("div", { staticClass: "relationWorkOrder" }, [a2("SubTitle", { attrs: { title: e2.title } }), e2._v(" "), a2("div", { staticClass: "tableStys" }, [a2("el-table", { staticStyle: { width: "100%" }, attrs: { data: e2.relationWorderList, border: "", "header-cell-style": e2.headClass } }, [a2("el-table-column", { attrs: { label: "#", align: "center", width: "50" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("span", [e2._v(e2._s(t3.$index + (e2.pageNumber - 1) * e2.pageSize + 1) + " ")])];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { prop: "postponeOrderNo", align: "center", label: "工单单号" } }), e2._v(" "), a2("el-table-column", { attrs: { prop: "createDate", align: "center", label: "创建时间" } }), e2._v(" "), a2("el-table-column", { attrs: { prop: "currentProcessorName", align: "center", label: "执行人" } }), e2._v(" "), a2("el-table-column", { attrs: { prop: "orderStatus", align: "center", label: "状态" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return e2._l(e2.orderStatusList, (function(r2) {
|
||
return a2("div", { key: r2.value }, [t3.row.orderStatus === r2.value ? a2("span", [e2._v("\n " + e2._s(r2.label) + "\n ")]) : e2._e()]);
|
||
}));
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "操作" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "text" }, on: { click: function(a3) {
|
||
return e2.operation(t3.row);
|
||
} } }, [e2._v("查看")])];
|
||
} }]) })], 1)], 1)], 1);
|
||
}, we = [], Ce = { components: { SubTitle: h["a"] }, props: { relationWorderList: { type: Array, default: function() {
|
||
return [];
|
||
} } }, data: function() {
|
||
return { orderStatusList: y["t"], title: "关联工单", pageNumber: 1, pageSize: 10 };
|
||
}, created: function() {
|
||
this.headClass();
|
||
}, methods: { headClass: function() {
|
||
return "text-align:center;background:#FAFAFA;";
|
||
}, operation: function(e2) {
|
||
var t2 = { type: "new", postponeOrderNo: e2.postponeOrderNo };
|
||
this.$emit("viewWorkOrder", t2);
|
||
} } }, Ue = Ce, Ne = (a("6afe"), Object(d["a"])(Ue, Se, we, false, null, "7cfb3c50", null)), xe = Ne.exports;
|
||
function je(e2) {
|
||
return je = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e3) {
|
||
return typeof e3;
|
||
} : function(e3) {
|
||
return e3 && "function" == typeof Symbol && e3.constructor === Symbol && e3 !== Symbol.prototype ? "symbol" : typeof e3;
|
||
}, je(e2);
|
||
}
|
||
function Te(e2, t2) {
|
||
var a2 = Object.keys(e2);
|
||
if (Object.getOwnPropertySymbols) {
|
||
var r2 = Object.getOwnPropertySymbols(e2);
|
||
t2 && (r2 = r2.filter((function(t3) {
|
||
return Object.getOwnPropertyDescriptor(e2, t3).enumerable;
|
||
}))), a2.push.apply(a2, r2);
|
||
}
|
||
return a2;
|
||
}
|
||
function De(e2) {
|
||
for (var t2 = 1; t2 < arguments.length; t2++) {
|
||
var a2 = null != arguments[t2] ? arguments[t2] : {};
|
||
t2 % 2 ? Te(Object(a2), true).forEach((function(t3) {
|
||
Re(e2, t3, a2[t3]);
|
||
})) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e2, Object.getOwnPropertyDescriptors(a2)) : Te(Object(a2)).forEach((function(t3) {
|
||
Object.defineProperty(e2, t3, Object.getOwnPropertyDescriptor(a2, t3));
|
||
}));
|
||
}
|
||
return e2;
|
||
}
|
||
function Re(e2, t2, a2) {
|
||
return (t2 = Ae(t2)) in e2 ? Object.defineProperty(e2, t2, { value: a2, enumerable: true, configurable: true, writable: true }) : e2[t2] = a2, e2;
|
||
}
|
||
function Ae(e2) {
|
||
var t2 = Fe(e2, "string");
|
||
return "symbol" == je(t2) ? t2 : t2 + "";
|
||
}
|
||
function Fe(e2, t2) {
|
||
if ("object" != je(e2) || !e2) return e2;
|
||
var a2 = e2[Symbol.toPrimitive];
|
||
if (void 0 !== a2) {
|
||
var r2 = a2.call(e2, t2 || "default");
|
||
if ("object" != je(r2)) return r2;
|
||
throw new TypeError("@@toPrimitive must return a primitive value.");
|
||
}
|
||
return ("string" === t2 ? String : Number)(e2);
|
||
}
|
||
function $e() {
|
||
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
|
||
var e2, t2, a2 = "function" == typeof Symbol ? Symbol : {}, r2 = a2.iterator || "@@iterator", n2 = a2.toStringTag || "@@toStringTag";
|
||
function o2(a3, r3, n3, o3) {
|
||
var l3 = r3 && r3.prototype instanceof i2 ? r3 : i2, c3 = Object.create(l3.prototype);
|
||
return Pe(c3, "_invoke", (function(a4, r4, n4) {
|
||
var o4, i3, l4, c4 = 0, d3 = n4 || [], u3 = false, p3 = { p: 0, n: 0, v: e2, a: f2, f: f2.bind(e2, 4), d: function(t3, a5) {
|
||
return o4 = t3, i3 = 0, l4 = e2, p3.n = a5, s2;
|
||
} };
|
||
function f2(a5, r5) {
|
||
for (i3 = a5, l4 = r5, t2 = 0; !u3 && c4 && !n5 && t2 < d3.length; t2++) {
|
||
var n5, o5 = d3[t2], f3 = p3.p, m2 = o5[2];
|
||
a5 > 3 ? (n5 = m2 === r5) && (l4 = o5[(i3 = o5[4]) ? 5 : (i3 = 3, 3)], o5[4] = o5[5] = e2) : o5[0] <= f3 && ((n5 = a5 < 2 && f3 < o5[1]) ? (i3 = 0, p3.v = r5, p3.n = o5[1]) : f3 < m2 && (n5 = a5 < 3 || o5[0] > r5 || r5 > m2) && (o5[4] = a5, o5[5] = r5, p3.n = m2, i3 = 0));
|
||
}
|
||
if (n5 || a5 > 1) return s2;
|
||
throw u3 = true, r5;
|
||
}
|
||
return function(n5, d4, m2) {
|
||
if (c4 > 1) throw TypeError("Generator is already running");
|
||
for (u3 && 1 === d4 && f2(d4, m2), i3 = d4, l4 = m2; (t2 = i3 < 2 ? e2 : l4) || !u3; ) {
|
||
o4 || (i3 ? i3 < 3 ? (i3 > 1 && (p3.n = -1), f2(i3, l4)) : p3.n = l4 : p3.v = l4);
|
||
try {
|
||
if (c4 = 2, o4) {
|
||
if (i3 || (n5 = "next"), t2 = o4[n5]) {
|
||
if (!(t2 = t2.call(o4, l4))) throw TypeError("iterator result is not an object");
|
||
if (!t2.done) return t2;
|
||
l4 = t2.value, i3 < 2 && (i3 = 0);
|
||
} else 1 === i3 && (t2 = o4.return) && t2.call(o4), i3 < 2 && (l4 = TypeError("The iterator does not provide a '" + n5 + "' method"), i3 = 1);
|
||
o4 = e2;
|
||
} else if ((t2 = (u3 = p3.n < 0) ? l4 : a4.call(r4, p3)) !== s2) break;
|
||
} catch (t3) {
|
||
o4 = e2, i3 = 1, l4 = t3;
|
||
} finally {
|
||
c4 = 1;
|
||
}
|
||
}
|
||
return { value: t2, done: u3 };
|
||
};
|
||
})(a3, n3, o3), true), c3;
|
||
}
|
||
var s2 = {};
|
||
function i2() {
|
||
}
|
||
function l2() {
|
||
}
|
||
function c2() {
|
||
}
|
||
t2 = Object.getPrototypeOf;
|
||
var d2 = [][r2] ? t2(t2([][r2]())) : (Pe(t2 = {}, r2, (function() {
|
||
return this;
|
||
})), t2), u2 = c2.prototype = i2.prototype = Object.create(d2);
|
||
function p2(e3) {
|
||
return Object.setPrototypeOf ? Object.setPrototypeOf(e3, c2) : (e3.__proto__ = c2, Pe(e3, n2, "GeneratorFunction")), e3.prototype = Object.create(u2), e3;
|
||
}
|
||
return l2.prototype = c2, Pe(u2, "constructor", c2), Pe(c2, "constructor", l2), l2.displayName = "GeneratorFunction", Pe(c2, n2, "GeneratorFunction"), Pe(u2), Pe(u2, n2, "Generator"), Pe(u2, r2, (function() {
|
||
return this;
|
||
})), Pe(u2, "toString", (function() {
|
||
return "[object Generator]";
|
||
})), ($e = function() {
|
||
return { w: o2, m: p2 };
|
||
})();
|
||
}
|
||
function Pe(e2, t2, a2, r2) {
|
||
var n2 = Object.defineProperty;
|
||
try {
|
||
n2({}, "", {});
|
||
} catch (e3) {
|
||
n2 = 0;
|
||
}
|
||
Pe = function(e3, t3, a3, r3) {
|
||
function o2(t4, a4) {
|
||
Pe(e3, t4, (function(e4) {
|
||
return this._invoke(t4, a4, e4);
|
||
}));
|
||
}
|
||
t3 ? n2 ? n2(e3, t3, { value: a3, enumerable: !r3, configurable: !r3, writable: !r3 }) : e3[t3] = a3 : (o2("next", 0), o2("throw", 1), o2("return", 2));
|
||
}, Pe(e2, t2, a2, r2);
|
||
}
|
||
function Be(e2, t2, a2, r2, n2, o2, s2) {
|
||
try {
|
||
var i2 = e2[o2](s2), l2 = i2.value;
|
||
} catch (e3) {
|
||
return void a2(e3);
|
||
}
|
||
i2.done ? t2(l2) : Promise.resolve(l2).then(r2, n2);
|
||
}
|
||
function Le(e2) {
|
||
return function() {
|
||
var t2 = this, a2 = arguments;
|
||
return new Promise((function(r2, n2) {
|
||
var o2 = e2.apply(t2, a2);
|
||
function s2(e3) {
|
||
Be(o2, r2, n2, s2, i2, "next", e3);
|
||
}
|
||
function i2(e3) {
|
||
Be(o2, r2, n2, s2, i2, "throw", e3);
|
||
}
|
||
s2(void 0);
|
||
}));
|
||
};
|
||
}
|
||
var Ee = { components: { workOrderProgress: p, basicInfo: S, detailsInfo: D, closeWorkOrder: B, delay: V, filePictureResult: re, handleProcess: X, connectProcess: ve, evaluationInfo: Ie, transferHelp: Oe["a"], relationWorkOrder: xe, qualityStimate: f["a"] }, props: { content: { type: String, default: "" }, isTempOrder: { type: Boolean, default: true } }, data: function() {
|
||
return { relationWorderList: [], listLoading: false, postponeOrderNo: "", dataInfo: {}, applicantid: "", people: "", title: "关闭原因陈述", displyType: "", orderStatus: 0, closeWorkOrderDialog: false, delayDialog: false, basicInfoValidated: null };
|
||
}, methods: { launchAgain: function() {
|
||
var e2 = { orderNo: this.postponeOrderNo, type: 1, planModel: this.dataInfo.planModel };
|
||
this.$emit("copyWorkOrder", e2);
|
||
}, transferHelp: function() {
|
||
var e2 = this;
|
||
this.$nextTick((function() {
|
||
e2.$refs.transferHelp.getTransferHelp(2);
|
||
}));
|
||
}, goBack: function() {
|
||
this.$emit("goBack");
|
||
}, chcekWorkOrder: function(e2) {
|
||
this.$emit("chcekWorkOrder", e2);
|
||
}, acceptOrder: function() {
|
||
var e2 = this;
|
||
if ("0" !== this.dataInfo.transferPersonId || this.people) {
|
||
var t2 = { orderNo: this.postponeOrderNo, remake: " 我已接受转单求助", type: 2, processorId: this.$store.state.user.userInfo.memberUuid, processorName: this.$store.state.user.userInfo.memberName, operatorUuid: this.$store.state.user.userInfo.memberUuid, operatorName: this.$store.state.user.userInfo.memberName };
|
||
this.$confirm("您是否确定接单?", "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning", center: true }).then((function() {
|
||
Object(ke["d"])(t2).then((function(t3) {
|
||
t3 && 0 === t3.code && (e2.$message({ type: "success", message: "接单成功" }), e2.getFindById(e2.postponeOrderNo));
|
||
}));
|
||
}));
|
||
} else this.$message({ type: "error", message: "您没权限接单!" });
|
||
}, transRevoke: function() {
|
||
var e2 = this, t2 = { orderNo: this.postponeOrderNo, remake: "我进行了撤单操作", type: 2, operatorUuid: this.$store.state.user.userInfo.memberUuid, operatorName: this.$store.state.user.userInfo.memberName };
|
||
this.$confirm("确定撤销该工单?", "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning", center: true }).then((function() {
|
||
Object(ke["b"])(t2).then((function(t3) {
|
||
t3 && 0 === t3.code && (e2.$message({ type: "success", message: "撤销成功" }), e2.getFindById(e2.postponeOrderNo));
|
||
}));
|
||
}));
|
||
}, completeClick: function() {
|
||
var e2 = this;
|
||
if (this.dataInfo.transferPersonId && this.dataInfo.currentProcessorId === this.$store.state.user.userInfo.memberUuid) this.$message({ type: "error", message: "请先撤销转单后在操作!" });
|
||
else {
|
||
var t2 = this.$refs.fileResult.filePicture(), a2 = { operatorUuid: this.$store.state.user.userInfo.memberUuid, operatorName: this.$store.state.user.userInfo.memberName, postponeOrderNo: this.postponeOrderNo, projectUuid: this.$store.state.community_uuid, remake: "工单已被处理,请给我的表现打分哦!", fileList: t2 };
|
||
this.$confirm("确定完成该工单?", "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }).then(Le($e().m((function t3() {
|
||
return $e().w((function(t4) {
|
||
while (1) switch (t4.n) {
|
||
case 0:
|
||
a2.sceneName = e2.$refs.childComponent.locationForm.spaceName, a2.spaceName = e2.$refs.childComponent.locationForm.spaceName, a2.targetName = e2.$refs.childComponent.locationForm.targetName, a2.locationName = e2.$refs.childComponent.locationForm.locationName, a2.sceneId = -1 == e2.$refs.childComponent.locationForm.sceneId ? null : e2.$refs.childComponent.locationForm.sceneId, a2.spaceUuid = -1 == e2.$refs.childComponent.locationForm.spaceUuid ? null : e2.$refs.childComponent.locationForm.spaceUuid, a2.targetUuid = -1 == e2.$refs.childComponent.locationForm.targetUuid ? null : e2.$refs.childComponent.locationForm.targetUuid, a2.locationUuid = -1 == e2.$refs.childComponent.locationForm.locationUuid ? null : e2.$refs.childComponent.locationForm.locationUuid, 2 == e2.dataInfo.type || 1 == e2.dataInfo.type ? e2.$refs.childComponent.$refs.form.validate((function(t5) {
|
||
t5 ? (a2.skip = 0, Object(o["c"])(a2).then((function(t6) {
|
||
0 === t6.code && (e2.$message({ message: "工单完成", type: "success" }), e2.getFindById(e2.postponeOrderNo));
|
||
}))) : e2.$message.error("未选择作业场景/网格/对象无法完成工单,如有疑问请联系项目负责人!");
|
||
})) : 3 == e2.dataInfo.type && Object(o["c"])(a2).then((function(t5) {
|
||
0 === t5.code && (e2.$message({ message: "工单完成", type: "success" }), e2.getFindById(e2.postponeOrderNo));
|
||
}));
|
||
case 1:
|
||
return t4.a(2);
|
||
}
|
||
}), t3);
|
||
})))).catch((function() {
|
||
}));
|
||
}
|
||
}, delaySubmit: function(e2) {
|
||
var t2 = this;
|
||
this.listLoading = true;
|
||
var a2 = { operatorUuid: this.$store.state.user.userInfo.memberUuid, operatorName: this.$store.state.user.userInfo.memberName, postponeOrderNo: this.postponeOrderNo, postponeTime: e2.delayData.getTime(), remake: e2.textarea };
|
||
Object(o["s"])(a2).then((function(e3) {
|
||
0 === e3.code && t2.$message({ message: "操作成功", type: "success" }), t2.listLoading = false, t2.getFindById(t2.postponeOrderNo), t2.delayDialog = false;
|
||
})).catch((function() {
|
||
t2.listLoading = false, t2.delayDialog = false;
|
||
}));
|
||
}, acceptanceClick: function() {
|
||
var e2 = this;
|
||
if (this.dataInfo.transferPersonId && this.dataInfo.currentProcessorId === this.$store.state.user.userInfo.memberUuid) this.$message({ type: "error", message: "请先撤销转单后在操作!" });
|
||
else {
|
||
var t2 = { operatorUuid: this.$store.state.user.userInfo.memberUuid, operatorName: this.$store.state.user.userInfo.memberName, postponeOrderNo: this.postponeOrderNo, orderStatus: 4, remake: "工单已被受理,我们会尽快进行处理" };
|
||
this.$confirm("确定受理该工单?", "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }).then((function() {
|
||
Object(o["a"])(t2).then((function(t3) {
|
||
0 === t3.code && (e2.$message({ message: "操作成功", type: "success" }), e2.getFindById(e2.postponeOrderNo));
|
||
}));
|
||
})).catch((function() {
|
||
}));
|
||
}
|
||
}, closeSubmit: function(e2) {
|
||
var t2 = this;
|
||
this.listLoading = true;
|
||
var a2 = { operatorUuid: this.$store.state.user.userInfo.memberUuid, operatorName: this.$store.state.user.userInfo.memberName, postponeOrderNo: this.postponeOrderNo, orderStatus: this.orderStatus, remake: e2 };
|
||
Object(o["b"])(a2).then((function(e3) {
|
||
0 === e3.code && (t2.$message({ message: "操作成功", type: "success" }), t2.getFindById(t2.postponeOrderNo), t2.listLoading = false, t2.closeWorkOrderDialog = false);
|
||
})).catch((function() {
|
||
t2.listLoading = false, t2.closeWorkOrderDialog = false;
|
||
}));
|
||
}, getFindById: function(e2) {
|
||
var t2 = this;
|
||
e2 || (e2 = this.postponeOrderNo), Object(o["k"])({ orderNo: e2 }).then((function(e3) {
|
||
if (0 === e3.code && (t2.dataInfo = e3.data, t2.dataInfo.displyType = t2.displyType, t2.applicantid = e3.data.applicantid || "", t2.dataInfo)) {
|
||
t2.conditionalValue(t2.dataInfo), t2.resultValue(t2.dataInfo);
|
||
var a2 = JSON.parse(t2.dataInfo.cautionLightNode);
|
||
null !== t2.dataInfo.postponeOrderProcessRespDTOS && 10 == t2.dataInfo.orderStatus && t2.dataInfo.postponeOrderProcessRespDTOS.forEach((function(e4) {
|
||
if (null !== e4.fraction) {
|
||
if (null == t2.dataInfo.workWarnRespDTO) {
|
||
var r2 = { warnType: null, memberName: t2.dataInfo.currentProcessorName };
|
||
t2.dataInfo.workWarnRespDTO = De({}, r2);
|
||
}
|
||
t2.dataInfo.workWarnRespDTO.evaluationStar = e4.fraction, t2.dataInfo.workWarnRespDTO.planType = 1, null == a2 ? (t2.dataInfo.workWarnRespDTO.accept = 0, t2.dataInfo.workWarnRespDTO.handle = 0) : (t2.dataInfo.workWarnRespDTO.accept = a2.accept ? a2.accept : 0, t2.dataInfo.workWarnRespDTO.handle = a2.handle ? a2.handle : 0);
|
||
}
|
||
}));
|
||
}
|
||
}));
|
||
}, closeWorkOrder: function(e2) {
|
||
this.dataInfo.transferPersonId && this.dataInfo.currentProcessorId === this.$store.state.user.userInfo.memberUuid ? this.$message({ type: "error", message: "请先撤销转单后在操作!" }) : (this.orderStatus = e2, this.title = "关闭原因陈述", this.closeWorkOrderDialog = true);
|
||
}, notAccepted: function(e2) {
|
||
this.dataInfo.transferPersonId && this.dataInfo.currentProcessorId === this.$store.state.user.userInfo.memberUuid ? this.$message({ type: "error", message: "请先撤销转单后在操作!" }) : (this.orderStatus = e2, this.title = "未受理原因陈述", this.closeWorkOrderDialog = true);
|
||
}, resultValue: function(e2) {
|
||
this.dataInfo.fileUrlResult = [], this.dataInfo.videoResult = [], this.dataInfo.imgUrlResult = [];
|
||
var t2 = [], a2 = [];
|
||
null !== e2.fileList && e2.fileList.forEach((function(e3) {
|
||
1 == e3.fileType ? t2.push(e3) : 2 == e3.fileType && a2.push(e3);
|
||
})), t2 && this.getresultUrlArr(t2), a2 && this.getResulFileArr(a2);
|
||
}, conditionalValue: function(e2) {
|
||
if (this.dataInfo.videoUrlArr = [], this.dataInfo.imgUrlArr = [], e2.annexList.length > 0 && this.getAnnexArr(e2.annexList), e2.imageUrl) if (e2.imageUrl.indexOf(",") > 0) {
|
||
var t2 = e2.imageUrl.split(",");
|
||
this.getImageUrlArr(t2);
|
||
} else {
|
||
var a2 = e2.imageUrl.split(";");
|
||
this.getImageUrlArr(a2);
|
||
}
|
||
}, getAnnexArr: function(e2) {
|
||
var t2 = [];
|
||
e2.forEach((function(e3) {
|
||
var a2 = { rulAddres: e3.fullUrl, urlName: e3.fileName };
|
||
t2.push(a2);
|
||
})), this.dataInfo.annexUrlArr = t2;
|
||
}, getResulFileArr: function(e2) {
|
||
var t2 = [];
|
||
e2.forEach((function(e3) {
|
||
var a2 = { rulAddres: e3.fullUrl, urlName: e3.fileName };
|
||
t2.push(a2);
|
||
})), this.dataInfo.fileUrlResult = t2;
|
||
}, getImageUrlArr: function(e2) {
|
||
var t2 = this;
|
||
e2 && e2.length && e2.forEach((function(e3) {
|
||
var a2 = e3.lastIndexOf("."), r2 = ["mp3", "mp4"];
|
||
if (-1 !== a2) {
|
||
var n2 = e3.slice(a2 + 1);
|
||
-1 !== r2.indexOf(n2) ? t2.dataInfo.videoUrlArr.push(e3) : t2.dataInfo.imgUrlArr.push(e3);
|
||
}
|
||
}));
|
||
}, getresultUrlArr: function(e2) {
|
||
var t2 = this;
|
||
e2 && e2.length && e2.forEach((function(e3) {
|
||
var a2 = e3.fullUrl.lastIndexOf("."), r2 = ["mp3", "mp4"];
|
||
if (-1 !== a2) {
|
||
var n2 = e3.fullUrl.slice(a2 + 1);
|
||
-1 !== r2.indexOf(n2) ? t2.dataInfo.videoResult.push(e3.fullUrl) : t2.dataInfo.imgUrlResult.push(e3.fullUrl);
|
||
}
|
||
}));
|
||
}, returnPage: function() {
|
||
1 === this.$route.query.backType ? this.$router.replace({ path: "/workOrderWaring/workOrderList" }) : "equipment" == this.$route.query.backType ? (console.log("11111"), this.$router.replace({ path: "/equipmentManage/dailyOperation/repairRectification/maintenanceRecord" })) : "elevator" == this.$route.query.backType ? this.$router.replace({ path: "/elevatorManage/dailyOperation/repairRectification" }) : this.$router.replace({ path: "/workOrderManagement/temporaryManagement/temporaryList" });
|
||
}, getProjectUuid: function() {
|
||
var e2 = this, t2 = { accountName: this.$store.state.user.userInfo.accountName, uuid: this.$store.state.community_uuid };
|
||
Object(o["l"])(t2).then((function(t3) {
|
||
0 === t3.code && (t3.data ? e2.people = t3.data.memberUuid : e2.people = "");
|
||
}));
|
||
}, getInfoLst: function(e2) {
|
||
this.postponeOrderNo = e2.postponeOrderNo, this.displyType = e2.type, this.getProjectUuid(), this.getFindById(e2.postponeOrderNo);
|
||
}, viewWorkOrder: function(e2) {
|
||
this.getInfoLst(e2);
|
||
} }, created: function() {
|
||
"equipment" == this.$route.query.backType && this.getFindById(this.postponeOrderNo);
|
||
} }, We = Ee, Me = (a("0031"), Object(d["a"])(We, r, n, false, null, "70dd5c23", null));
|
||
t["default"] = Me.exports;
|
||
}, cfd2: function(e, t, a) {
|
||
"use strict";
|
||
a("a96f");
|
||
}, e7fe: function(e, t, a) {
|
||
}, eec1: function(e, t, a) {
|
||
} }]);
|