1872 lines
205 KiB
JavaScript
1872 lines
205 KiB
JavaScript
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["chunk-d43bb398", "chunk-4bee58a8"], { "06553": function(e, t, a) {
|
||
}, "0aab": function(e, t, a) {
|
||
}, "0b37": function(e, t, a) {
|
||
"use strict";
|
||
function s(e2, t2) {
|
||
var a2, s2, n2, i2;
|
||
try {
|
||
a2 = e2.toString().split(".")[1].length;
|
||
} catch (r2) {
|
||
a2 = 0;
|
||
}
|
||
try {
|
||
s2 = t2.toString().split(".")[1].length;
|
||
} catch (r2) {
|
||
s2 = 0;
|
||
}
|
||
if (i2 = Math.abs(a2 - s2), n2 = Math.pow(10, Math.max(a2, s2)), i2 > 0) {
|
||
var l2 = Math.pow(10, i2);
|
||
a2 > s2 ? (e2 = Number(e2.toString().replace(".", "")), t2 = Number(t2.toString().replace(".", "")) * l2) : (e2 = Number(e2.toString().replace(".", "")) * l2, t2 = Number(t2.toString().replace(".", "")));
|
||
} else e2 = Number(e2.toString().replace(".", "")), t2 = Number(t2.toString().replace(".", ""));
|
||
return (e2 + t2) / n2;
|
||
}
|
||
function n(e2, t2) {
|
||
var a2, s2, n2 = 0, i2 = 0;
|
||
try {
|
||
n2 = e2.toString().split(".")[1].length;
|
||
} catch (l2) {
|
||
}
|
||
try {
|
||
i2 = t2.toString().split(".")[1].length;
|
||
} catch (l2) {
|
||
}
|
||
return a2 = Number(e2.toString().replace(".", "")), s2 = Number(t2.toString().replace(".", "")), a2 / s2 * Math.pow(10, i2 - n2);
|
||
}
|
||
function i(e2, t2) {
|
||
var a2 = 0, s2 = e2.toString(), n2 = t2.toString();
|
||
try {
|
||
a2 += s2.split(".")[1].length;
|
||
} catch (i2) {
|
||
}
|
||
try {
|
||
a2 += n2.split(".")[1].length;
|
||
} catch (i2) {
|
||
}
|
||
return Number(s2.replace(".", "")) * Number(n2.replace(".", "")) / Math.pow(10, a2);
|
||
}
|
||
function l(e2, t2) {
|
||
var a2, s2, n2, i2;
|
||
try {
|
||
a2 = e2.toString().split(".")[1].length;
|
||
} catch (l2) {
|
||
a2 = 0;
|
||
}
|
||
try {
|
||
s2 = t2.toString().split(".")[1].length;
|
||
} catch (l2) {
|
||
s2 = 0;
|
||
}
|
||
return n2 = Math.pow(10, Math.max(a2, s2)), i2 = a2 >= s2 ? a2 : s2, (Math.round(e2 * n2 - t2 * n2) / n2).toFixed(i2);
|
||
}
|
||
function r(e2, t2) {
|
||
if (0 == e2 && (e2 = 0), /[^[\-|0-9][0-9]*]/.test(e2)) return "0";
|
||
if (null == e2 || "" === e2) return "";
|
||
e2 = e2.toString().replace(/^(-\d*)$/, "$1."), e2 = e2.toString().replace(/^(\d*)$/, "$1."), e2 = (e2 + "00").replace(/(\d*\.\d\d)\d*/, "$1"), e2 = e2.replace(".", ",");
|
||
var a2 = /(\d)(\d{3},)/;
|
||
while (a2.test(e2)) e2 = e2.replace(a2, "$1,$2");
|
||
if (e2 = e2.replace(/,(\d\d)$/, ".$1"), 0 === t2 || void 0 === t2) {
|
||
var s2 = e2.split(".");
|
||
"00" == s2[1] && (e2 = s2[0]);
|
||
}
|
||
return e2;
|
||
}
|
||
function o(e2, t2) {
|
||
e2 = e2.toString();
|
||
var a2 = e2.indexOf(".");
|
||
return e2 = -1 !== a2 ? e2.substring(0, t2 + a2 + 1) : e2.substring(0), parseFloat(e2).toFixed(t2);
|
||
}
|
||
function c(e2) {
|
||
var t2 = Object.prototype.toString.call(e2).slice(8, -1);
|
||
return "Null" === t2 ? "Null" : "Undefined" === t2 ? "Undefined" : t2;
|
||
}
|
||
function u(e2) {
|
||
var t2, a2 = c(e2);
|
||
if ("Object" === a2) t2 = {};
|
||
else {
|
||
if ("Array" !== a2) return e2;
|
||
t2 = [];
|
||
}
|
||
for (var s2 in e2) {
|
||
var n2 = e2[s2];
|
||
c(n2), t2[s2] = u(n2);
|
||
}
|
||
return t2;
|
||
}
|
||
a.d(t, "a", (function() {
|
||
return s;
|
||
})), a.d(t, "b", (function() {
|
||
return n;
|
||
})), a.d(t, "c", (function() {
|
||
return i;
|
||
})), a.d(t, "d", (function() {
|
||
return l;
|
||
})), a.d(t, "g", (function() {
|
||
return r;
|
||
})), a.d(t, "f", (function() {
|
||
return o;
|
||
})), a.d(t, "e", (function() {
|
||
return u;
|
||
}));
|
||
}, 2124: function(e, t) {
|
||
e.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAYCAYAAAD+vg1LAAAEvElEQVRIS5WVa2wUVRTH/+fOY2e39EWBLQYNQQTsloIpJMqj2zUxRrAKwiJtaUIkAqJBHomJmKCfEPWbicEEYkDoQyYRFCNprN0uBeoHIKZ0oSBgokVaDRTa0n3N3GNmoE0fauv9NJl7zm/+59z/PUMYx5p2NuzNkeoSJ/SusE53LDLjY6XRWAHO/pOn1k0Vgvc7z1LS65dLjtwaK88FF5/bqHV3d/tunDF78QHkyKRAJJwPTT/AkolsfUMsdLBzZIzDSPR25ykpo7f1+cP3XXBBdO1TpCjlxPR9ovd2y7VlJ5NDE2f8EM72GfpSW7LUEkrUSRy6/8i5Mt/E5IRXpBSVsPHppeAT9QQGBaIVpVDoMzD6bMaG9mD1RRwNK4UT1Umsi5mSMB/EfsG4D+ZrSUX+nO3pv3V+wYn+QWFC7CeQx5K0qT145Kyr2FHkMfRKQSix2drdc7e/Iyc3K0jMWxiYBxATYD9UqRHhrgTXqmn6sjVUfTMQCftZVdezpNYcLR1pWWTGBw9vemS9kaXbWX39iaTu1aoEsJOYNAluZkGNSkr+ziplElAMpmVMmAqgKS2t3b90yatF2YbRei+RwBrTFTDcFUfDSoFfXQVFfExM96Rlv88+rTlDMXoye69yU2mpnP3thQw7N/NRQ9AOyRxmwklI2j7SKcPA8yNrp6cVUQOifDC/EetMN2CNKR+Prp1mkFgskYheLvnatdqM5vBjBvQPAX6OCe+KP9KHY2vM1MChDoIdu9xP9lUKSXtAOEjp1J5YyOybffqlTBWZu8Aog5RbY8HaxoHkQFPlQlJQx+DrpHFV29O1XaPA8yMrctK67yO28YJU+NX2xbUtTqvmRCsLVQGTGT0JO1VxvdS8AXrg9TkNK/OEx/c5gIVsWS9eDn3VNgpcVL9yiuXzHiDQTEumll8Jmr+6amnCO5C0g4EohDTZoi5VoOXi0pruovqqDCvD3gWmdWC8dqmk+sdR4MKfyv3Soi+IxZQ4kqtuLDV/KzpTNSXN9j4CBSGRBlgloj/ttNzSHqo9VfxdmTeenbkNRBuF5B1tJTXH4NyMoa4YBEuaHKfUagcciIV16vQssD12AUEEwVhNwHlLpqqciopPlPniuVlvg7GJWO6MNdYeGxgJg4c3CAZNjvMD8EBZsxoqZmgG7WNGIbHcGuu0jjt+dcFDFUdqjo8ffDSsBPLVFSDxCRHqWaTeiy0y77jD63+BmSYpFla1hqo7XMUMmhWtXKBqvMxOirorzx65MlCJc1t9anIbIDa7Pf5PxQx/XKI8paU7/LcTpOcZ3JOEAg/0e0DceeeAu/IMzu6BFxP0t5ixQUje/s/ghnI/63SIieYR+JAUdIdsViGIwZIFKbZkWwGTcBUTSyLSGAgRU4CAzW1Lqo+PcsXc5opcCbEX4OVMnBYMyaB//cMQgZndWaOD8BfZ9pttwbqzw33MYWXmtXxV6eqertqYzYABIV0/jrWIHeXK7UQvX5jmvdnfVDqZQaZNBY3lAVJprq3AUAHbYhKaO37HvywJCQUgmxViirPFFylwpmIvJF5mIi/ATEzjUjrysww4vXc61A+Bb2hOZF2p0PgZAnv54XAZv9bhkcQQDIrLNLX8DVTOZnn5H6BhAAAAAElFTkSuQmCC";
|
||
}, 3369: function(e, t, a) {
|
||
"use strict";
|
||
a("eccf");
|
||
}, 3388: function(e, t, a) {
|
||
}, "3b61": function(e, t, a) {
|
||
}, "3f44": function(e, t, a) {
|
||
"use strict";
|
||
a("0aab");
|
||
}, "416e": function(e, t) {
|
||
e.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAYCAYAAAD+vg1LAAAEK0lEQVRIS5WVXWwUVRTHf2dmtt1tt7tLCy0kfhCDMREMGuHBz9ICgoDRCNYgNjESAdEglMRETNAnRH0zMZhAjGiiBB4Am6hNV9ZSoT6gMaIPGpREqwX7sdt227q7M/eY27LQUkLLJDOZ3Dnnd//3nP+9I0zj0tNE+od50IbGy/hW7mdkqjSZKsB+7/6KOV4p++27n+OFWSvpmipvFKxnCKXTlM04xaC8ibk6KZtidkE5ICCesDFax4WrYyxjaJCqbJ7B2SsYGgWnW7lHXNZrwBc9BTpuX0VufGJfK3FPeEgdzEiBNps4/rs2U5aO8qSjbBDlvVg9LaIgmSRLHJf3FbKez8bocs4ePoxbW8nMkMM8V7gbpUaFIXzO4fBjPE6XLGJ4nLD9CqWusjm2lNOjiq0i12UDwsMSsDs7Qmd5GbUGtoqwUBUVh2C0bEpIIAN8FggfV9bx91CKGh+eE+WnWJiUbe7l5mmKcDZPrOCQcz0aVdmpEBKhHeFE4POXK1TgcK8aVokwB+Eb32d3VZrfiBM+0s9/DQ1jAia4Qg/j9s9kLfAO0K+GN1xor0gwwCDKEkzP55SHy7k5cGlCeQr4spBnx9VOmQBOp5grhk9xmC3Ki7EekjRg+lq4yXN5IO/TVgT0tXKL4/IWwnLgtXg3n0gD+WJTr5TiDKHMIBtQ9gh8lBf2VNeR7T5ORSjGLlEeU2VbYiknisn9SRarwyGE372AxugyLk4Cp4+SkDhvKzzqGp6OLaPDOibdygLH5QjCgOR4JvYdfxS93pmkKip8gLDYFFhTuYKfJ4EvtFAdKeGAGubhszqxgvNWrRfjVVGaENpUOOIYLmaG6bh1DWltobw/xC7gWeD5RD1fTwJnk9QEHh+qUm181lYu58/BFqqDEPuAWqAAeAr/4rM18Qgnu5qJhMvZLrCJgKbEMo6KoBNcMQ48y/iss2D9hZK+CyxyHe5UqBVlncL3UqDRruifZsrKKngFw2YCdsZPcbRYpsvNuxa4uKxMkttw2CewwIFt0R6OSQOBBVvFDmxyoSl6kmPTBl/y9hMI7wItkuP1+Er67KQ3BjbMDIS1VXV0XtrCMtDGIpRVeeXQrHp+La7kfIpwHLaLssWbUrGhRnzWD0TpdHuROVVodw63NEdJLMZIV+/YbrXjAwNEKOFlo2z0hB3XLMXFJDWlDgcFFqpwEKHPGDzHQQlQ3LGnURwLdgQjQkiVOpT5qmxJ1HNskisy7cygwF6F1TJmLXvgX+8PY20lqpSIQ7djeMkelxN8bBt0LopXE2ZuAHdIQBirdDqXwSj0mgI/VEYYphu1jpHeE8z3DHcZlzBC4AoO5rpKJ01n/yx20Ciu4zPiO5yVTIq9KI8DEXuOX7qno/VKjC3YWO3t2zDCcXvILBGX+xQitiE3RpwYbRsrMKIBHf8D26HYH5lKFAcAAAAASUVORK5CYII=";
|
||
}, "43fc": function(e, t, a) {
|
||
}, 4771: function(e, t, a) {
|
||
}, "49de": function(e, t, a) {
|
||
"use strict";
|
||
a.d(t, "a", (function() {
|
||
return n;
|
||
})), a.d(t, "b", (function() {
|
||
return i;
|
||
})), a.d(t, "c", (function() {
|
||
return l;
|
||
})), a.d(t, "j", (function() {
|
||
return r;
|
||
})), a.d(t, "n", (function() {
|
||
return o;
|
||
})), a.d(t, "m", (function() {
|
||
return c;
|
||
})), a.d(t, "i", (function() {
|
||
return u;
|
||
})), a.d(t, "o", (function() {
|
||
return d;
|
||
})), a.d(t, "h", (function() {
|
||
return p;
|
||
})), a.d(t, "p", (function() {
|
||
return m;
|
||
})), a.d(t, "d", (function() {
|
||
return v;
|
||
})), a.d(t, "r", (function() {
|
||
return f;
|
||
})), a.d(t, "q", (function() {
|
||
return g;
|
||
})), a.d(t, "e", (function() {
|
||
return h;
|
||
})), a.d(t, "s", (function() {
|
||
return _;
|
||
})), a.d(t, "f", (function() {
|
||
return b;
|
||
})), a.d(t, "k", (function() {
|
||
return y;
|
||
})), a.d(t, "l", (function() {
|
||
return w;
|
||
})), a.d(t, "g", (function() {
|
||
return C;
|
||
}));
|
||
var s = a("b775");
|
||
function n(e2) {
|
||
return Object(s["a"])({ url: "/appproject/category/add", method: "post", data: e2 });
|
||
}
|
||
function i(e2) {
|
||
return Object(s["a"])({ url: "/appproject/category/edit", method: "post", data: e2 });
|
||
}
|
||
function l(e2) {
|
||
return Object(s["a"])({ url: "/appproject/category/delete", method: "post", data: e2 });
|
||
}
|
||
function r(e2) {
|
||
return Object(s["a"])({ url: "/appproject/materiel/edit", method: "post", data: e2 });
|
||
}
|
||
function o(e2) {
|
||
return Object(s["a"])({ url: "/appproject/materiel/pageList", method: "post", data: e2 });
|
||
}
|
||
function c(e2) {
|
||
return Object(s["a"])({ url: "/appproject/MaterielProject/getChildGoods", method: "post", data: e2 });
|
||
}
|
||
function u(e2) {
|
||
return Object(s["a"])({ url: "/appproject/materiel/delete", method: "post", data: e2 });
|
||
}
|
||
function d(e2) {
|
||
return Object(s["a"])({ url: "/appproject/inventoryRecord/operateIn", method: "post", data: e2 });
|
||
}
|
||
function p(e2) {
|
||
return Object(s["a"])({ url: "/appproject/inventoryRecord/pageList", method: "post", data: e2 });
|
||
}
|
||
function m(e2) {
|
||
return Object(s["a"])({ url: "/appproject/inventoryRecord/operateOut", method: "post", data: e2 });
|
||
}
|
||
function v(e2) {
|
||
return Object(s["a"])({ url: "/appproject/inventoryRecord/diffPageList", method: "post", data: e2 });
|
||
}
|
||
function f(e2) {
|
||
return Object(s["a"])({ url: "/appproject/category/treeList", method: "post", data: e2 });
|
||
}
|
||
function g(e2) {
|
||
return Object(s["a"])({ url: "/appproject/MaterielProject/queryMaterielTypeTree", method: "post", data: e2 });
|
||
}
|
||
function h(e2) {
|
||
return Object(s["a"])({ url: "/appproject/inventoryRecord/diffPageList", method: "post", data: e2 });
|
||
}
|
||
function _(e2) {
|
||
return Object(s["a"])({ url: "/appproject/materiel/differenceLog/taskOrderRelatedList", method: "post", data: e2 });
|
||
}
|
||
function b(e2) {
|
||
return Object(s["a"])({ url: "/appproject/inventoryRecord/exportExcel", method: "post", responseType: "blob", data: e2 });
|
||
}
|
||
function y(e2) {
|
||
return Object(s["a"])({ url: "/appproject/materiel/exportExcel", method: "post", responseType: "blob", data: e2 });
|
||
}
|
||
function w(e2, t2) {
|
||
return Object(s["a"])({ url: "/appproject/materiel/importExcel" + t2, method: "post", isReturnResponse: true, responseType: "blob", headers: { "Content-Type": "multipart/form-data;charset=UTF-8" }, data: e2 });
|
||
}
|
||
function C(e2, t2) {
|
||
return Object(s["a"])({ url: "/appproject/inventoryRecord/importExcel" + t2, method: "post", isReturnResponse: true, responseType: "blob", headers: { "Content-Type": "multipart/form-data;charset=UTF-8" }, data: e2 });
|
||
}
|
||
}, "4f9b": function(e, t, a) {
|
||
}, "51bc": function(e, t, a) {
|
||
"use strict";
|
||
a("9d2f");
|
||
}, "59b2": function(e, t, a) {
|
||
}, "5e98": function(e, t, a) {
|
||
"use strict";
|
||
a("3b61");
|
||
}, "6cad": function(e, t, a) {
|
||
"use strict";
|
||
var s = function() {
|
||
var e2 = this, t2 = e2.$createElement, s2 = e2._self._c || t2;
|
||
return s2("div", { staticClass: "app-container" }, [e2.infoList ? s2("div", [s2("el-card", { staticClass: "box-card planSearchs", attrs: { shadow: "never" } }, [s2("div", { ref: "box", staticClass: "searchStys transition_dom" }, [s2("el-form", { ref: "query", attrs: { model: e2.query } }, [s2("div", { ref: "form_box", staticClass: "searchBar" }, [s2("div", { staticClass: "searchInput" }, [s2("el-row", { attrs: { gutter: 20 } }, [s2("el-col", { attrs: { span: 6 } }, [s2("el-form-item", { attrs: { prop: "planNo" } }, [s2("el-input", { attrs: { placeholder: "计划编码", clearable: "" }, model: { value: e2.query.planNo, callback: function(t3) {
|
||
e2.$set(e2.query, "planNo", t3);
|
||
}, expression: "query.planNo" } })], 1)], 1), e2._v(" "), s2("el-col", { attrs: { span: 6 } }, [s2("el-form-item", { attrs: { prop: "taskName" } }, [s2("el-input", { attrs: { placeholder: "计划工单名称", clearable: "" }, model: { value: e2.query.taskName, callback: function(t3) {
|
||
e2.$set(e2.query, "taskName", t3);
|
||
}, expression: "query.taskName" } })], 1)], 1), e2._v(" "), s2("el-col", { attrs: { span: 12 } }, [s2("el-form-item", { attrs: { prop: "taskDate" } }, [s2("el-date-picker", { attrs: { type: "daterange", "range-separator": "至", format: "yyyy-MM-dd", "value-format": "yyyy-MM-dd", "start-placeholder": "开始执行时间起", "end-placeholder": "开始执行时间止" }, model: { value: e2.taskDate, callback: function(t3) {
|
||
e2.taskDate = t3;
|
||
}, expression: "taskDate" } })], 1)], 1), e2._v(" "), e2.is_show ? [s2("el-col", { attrs: { span: 6 } }, [s2("el-form-item", { attrs: { prop: "rateType" } }, [s2("el-select", { attrs: { clearable: "", placeholder: "审核状态" }, model: { value: e2.query.rateType, callback: function(t3) {
|
||
e2.$set(e2.query, "rateType", t3);
|
||
}, expression: "query.rateType" } }, e2._l(e2.taskRateArr, (function(e3) {
|
||
return s2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } });
|
||
})), 1)], 1)], 1), e2._v(" "), s2("el-col", { attrs: { span: 6 } }, [s2("el-form-item", { attrs: { prop: "ydPoolId" } }, [s2("el-select", { attrs: { clearable: "", placeholder: "请选择云豆池" }, model: { value: e2.query.ydPoolId, callback: function(t3) {
|
||
e2.$set(e2.query, "ydPoolId", t3);
|
||
}, expression: "query.ydPoolId" } }, e2._l(e2.ydouPool, (function(e3) {
|
||
return s2("el-option", { key: e3.id, attrs: { label: e3.name, value: e3.id } });
|
||
})), 1)], 1)], 1), e2._v(" "), s2("el-col", { attrs: { span: 6 } }, [s2("el-form-item", { attrs: { prop: "jobName" } }, [s2("el-select", { attrs: { filterable: "", clearable: "", placeholder: "执行岗位" }, model: { value: e2.query.jobName, callback: function(t3) {
|
||
e2.$set(e2.query, "jobName", t3);
|
||
}, expression: "query.jobName" } }, e2._l(e2.postExecuteArr, (function(e3) {
|
||
return s2("el-option", { key: e3.id, attrs: { label: e3.name, value: e3.name } });
|
||
})), 1)], 1)], 1), e2._v(" "), s2("el-col", { attrs: { span: 6 } }, [s2("el-form-item", { attrs: { prop: "recipient" } }, [s2("el-input", { attrs: { placeholder: "领取人", clearable: "" }, model: { value: e2.query.recipient, callback: function(t3) {
|
||
e2.$set(e2.query, "recipient", t3);
|
||
}, expression: "query.recipient" } })], 1)], 1), e2._v(" "), s2("el-col", { attrs: { span: 6 } }, [s2("el-form-item", [s2("el-select", { attrs: { clearable: "", "allow-create": "", placeholder: "工单预警状态" }, model: { value: e2.query.cautionLight, callback: function(t3) {
|
||
e2.$set(e2.query, "cautionLight", t3);
|
||
}, expression: "query.cautionLight" } }, e2._l(e2.warningStatus, (function(e3) {
|
||
return s2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } });
|
||
})), 1)], 1)], 1), e2._v(" "), s2("el-col", { attrs: { span: 6 } }, [s2("el-form-item", [s2("el-select", { attrs: { clearable: "", "allow-create": "", placeholder: "计划工单状态" }, model: { value: e2.query.status, callback: function(t3) {
|
||
e2.$set(e2.query, "status", t3);
|
||
}, expression: "query.status" } }, e2._l(e2.taskStatus, (function(e3) {
|
||
return s2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } });
|
||
})), 1)], 1)], 1), e2._v(" "), s2("el-col", { attrs: { span: 6 } }, [s2("el-form-item", { attrs: { prop: "checkerName" } }, [s2("el-input", { attrs: { placeholder: "验收人", clearable: "" }, model: { value: e2.query.checkerName, callback: function(t3) {
|
||
e2.$set(e2.query, "checkerName", t3);
|
||
}, expression: "query.checkerName" } })], 1)], 1), e2._v(" "), s2("el-col", { attrs: { span: 6 } }, [s2("el-form-item", { attrs: { prop: "postponeOrderNo" } }, [s2("el-input", { attrs: { placeholder: "验收工单号", clearable: "" }, model: { value: e2.query.postponeOrderNo, callback: function(t3) {
|
||
e2.$set(e2.query, "postponeOrderNo", t3);
|
||
}, expression: "query.postponeOrderNo" } })], 1)], 1), e2._v(" "), s2("el-col", { attrs: { span: 6 } }, [s2("el-form-item", { attrs: { prop: "needCheck" } }, [s2("el-select", { attrs: { filterable: "", clearable: "", placeholder: "应验收" }, model: { value: e2.query.needCheck, callback: function(t3) {
|
||
e2.$set(e2.query, "needCheck", t3);
|
||
}, expression: "query.needCheck" } }, e2._l(e2.needCheckList, (function(e3) {
|
||
return s2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } });
|
||
})), 1)], 1)], 1), e2._v(" "), s2("el-col", { attrs: { span: 6 } }, [s2("el-form-item", { attrs: { prop: "checkStatus" } }, [s2("el-select", { attrs: { filterable: "", clearable: "", placeholder: "验收状态" }, model: { value: e2.query.checkStatus, callback: function(t3) {
|
||
e2.$set(e2.query, "checkStatus", t3);
|
||
}, expression: "query.checkStatus" } }, e2._l(e2.checkStatusList, (function(e3) {
|
||
return s2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } });
|
||
})), 1)], 1)], 1), e2._v(" "), s2("el-col", { attrs: { span: 6 } }, [s2("el-form-item", { attrs: { prop: "taskNo" } }, [s2("el-input", { attrs: { placeholder: "计划工单编号", clearable: "" }, model: { value: e2.query.taskNo, callback: function(t3) {
|
||
e2.$set(e2.query, "taskNo", t3);
|
||
}, expression: "query.taskNo" } })], 1)], 1), e2._v(" "), s2("el-col", { attrs: { span: 6 } }, [s2("el-form-item", { attrs: { prop: "dangerSource" } }, [s2("el-select", { attrs: { filterable: "", clearable: "", placeholder: "含危险源" }, model: { value: e2.query.dangerSource, callback: function(t3) {
|
||
e2.$set(e2.query, "dangerSource", t3);
|
||
}, expression: "query.dangerSource" } }, [s2("el-option", { attrs: { label: "是", value: 1 } }), e2._v(" "), s2("el-option", { attrs: { label: "否", value: 0 } })], 1)], 1)], 1), e2._v(" "), s2("el-col", { attrs: { span: 12 } }, [s2("el-form-item", { attrs: { prop: "endDate" } }, [s2("el-date-picker", { attrs: { type: "datetimerange", "range-separator": "至", "value-format": "yyyy-MM-dd HH:mm:ss", "default-time": ["00:00:00", "23:59:59"], "start-placeholder": "结束执行时间起", "end-placeholder": "结束执行时间止" }, model: { value: e2.endDate, callback: function(t3) {
|
||
e2.endDate = t3;
|
||
}, expression: "endDate" } })], 1)], 1), e2._v(" "), s2("el-col", { attrs: { span: 12 } }, [s2("el-form-item", { attrs: { prop: "completeDate" } }, [s2("el-date-picker", { attrs: { type: "datetimerange", "range-separator": "至", "value-format": "yyyy-MM-dd HH:mm:ss", "default-time": ["00:00:00", "23:59:59"], "start-placeholder": "完成执行时间起", "end-placeholder": "结束执行时间止" }, model: { value: e2.completeDate, callback: function(t3) {
|
||
e2.completeDate = t3;
|
||
}, expression: "completeDate" } })], 1)], 1)] : e2._e()], 2)], 1), e2._v(" "), s2("div", { staticClass: "searchBtn" }, [s2("el-form-item", [s2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], on: { click: function(t3) {
|
||
return e2.resetForm("query");
|
||
} } }, [e2._v("重置")]), e2._v(" "), s2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: e2.onSearch } }, [e2._v("查询")]), e2._v(" "), s2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "text" }, on: { click: e2.upAndDown } }, [e2._v(e2._s(e2.is_show ? "收起" : "展开")), s2("i", { class: [e2.is_show ? "el-icon-arrow-up" : "el-icon-arrow-down"] })])], 1)], 1)])])], 1)]), e2._v(" "), s2("el-card", { staticClass: "box-card", attrs: { shadow: "never" } }, [s2("div", { staticClass: "planLst", attrs: { slot: "header" }, slot: "header" }, [s2("span", { staticClass: "planTitle" }), e2._v(" "), s2("el-button", { attrs: { type: "primary", loading: e2.downloading }, on: { click: e2.exportExcelList } }, [e2._v("下载Excel")]), e2._v(" "), s2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: "默认最多下载最近三个月的数据", placement: "bottom-end" } }, [s2("i", { staticClass: "el-icon-warning" })])], 1), e2._v(" "), s2("el-table", { directives: [{ name: "loading", rawName: "v-loading", value: e2.listLoading, expression: "listLoading" }], attrs: { border: "", data: e2.listTable, "header-cell-style": e2.headClass, "tooltip-effect": "dark" } }, [s2("el-table-column", { attrs: { label: "#", fixed: "", align: "center", "min-width": "50" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [s2("span", [e2._v(e2._s(t3.$index + (e2.query.pageNumber - 1) * e2.query.pageSize + 1) + "\n ")])];
|
||
} }], null, false, 3311124033) }), e2._v(" "), s2("el-table-column", { attrs: { prop: "cautionLight", align: "center", "min-width": "70", label: "预警" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [1 == t3.row.cautionLight && 3 != t3.row.status && 9 != t3.row.status ? s2("span", [s2("img", { attrs: { src: a("2124"), alt: "" } })]) : e2._e(), e2._v(" "), 2 == t3.row.cautionLight && 3 != t3.row.status && 9 != t3.row.status ? s2("span", [s2("img", { attrs: { src: a("416e"), alt: "" } })]) : e2._e(), e2._v(" "), 3 == t3.row.cautionLight && 3 != t3.row.status && 9 != t3.row.status ? s2("span", [s2("img", { attrs: { src: a("a295"), alt: "" } })]) : e2._e(), e2._v(" "), t3.row.cautionLight && 3 != t3.row.status && 9 != t3.row.status ? e2._e() : s2("span", [e2._v("-")])];
|
||
} }], null, false, 958018526) }), e2._v(" "), s2("el-table-column", { attrs: { prop: "taskNo", align: "center", "min-width": "170", label: "计划工单编号" } }), e2._v(" "), s2("el-table-column", { attrs: { prop: "planNo", align: "center", "min-width": "160", label: "所属计划编码" } }), e2._v(" "), s2("el-table-column", { attrs: { align: "center", "min-width": "100", label: "含危险源" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(1 == t3.row.dangerSource ? "是" : "否") + "\n ")];
|
||
} }], null, false, 505025638) }), e2._v(" "), s2("el-table-column", { attrs: { prop: "taskName", align: "center", "min-width": "200", label: "计划工单名称", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [s2("span", { style: { color: 1 == t3.row.isShowCapture ? "red" : "" } }, [e2._v("\n " + e2._s(t3.row.taskName) + "\n ")])];
|
||
} }], null, false, 2056713745) }), e2._v(" "), s2("el-table-column", { attrs: { align: "center", label: "工单类型", "min-width": "130" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [s2("span", [e2._v(e2._s(e2.getinfo(t3.row.planModel)))])];
|
||
} }], null, false, 3040879235) }), e2._v(" "), s2("el-table-column", { attrs: { prop: "jobName", align: "center", "min-width": "160", label: "负责岗位/资质证书", "show-overflow-tooltip": "" } }), e2._v(" "), s2("el-table-column", { attrs: { prop: "taskStartDate", align: "center", "min-width": "160", label: "开始执行时间" } }), e2._v(" "), s2("el-table-column", { attrs: { prop: "taskEndDate", align: "center", "min-width": "160", label: "结束执行时间" } }), e2._v(" "), s2("el-table-column", { attrs: { prop: "recipientTime", align: "center", "min-width": "160", label: "领取时间" } }), e2._v(" "), s2("el-table-column", { attrs: { prop: "realEndTime", align: "center", "min-width": "160", label: "完成时间" } }), e2._v(" "), s2("el-table-column", { attrs: { prop: "recipient", align: "center", "min-width": "140", label: "领取人", "show-overflow-tooltip": "" } }), e2._v(" "), s2("el-table-column", { attrs: { prop: "checkStartTime", align: "center", "min-width": "160", label: "验收接收时间" } }), e2._v(" "), s2("el-table-column", { attrs: { prop: "checkEndTime", align: "center", "min-width": "160", label: "验收提交时间" } }), e2._v(" "), s2("el-table-column", { attrs: { prop: "checkerName", align: "center", "min-width": "140", label: "验收人", "show-overflow-tooltip": "" } }), e2._v(" "), s2("el-table-column", { attrs: { prop: "needCheck", align: "center", "min-width": "140", label: "应验收", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.needCheck ? "是" : "否") + "\n ")];
|
||
} }], null, false, 2295752125) }), e2._v(" "), s2("el-table-column", { attrs: { prop: "checkStatus", align: "center", "min-width": "140", label: "AI验收状态", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(e2._f("getItemType")(t3.row.aiCheckStatus, e2.aiCheckStatusList)) + "\n ")];
|
||
} }], null, false, 3030170833) }), e2._v(" "), s2("el-table-column", { attrs: { prop: "aiResultDesc", align: "center", "min-width": "140", label: "AI结果说明", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.aiResultDesc || "-") + "\n ")];
|
||
} }], null, false, 1774109056) }), e2._v(" "), s2("el-table-column", { attrs: { prop: "checkStatus", align: "center", "min-width": "140", label: "验收状态", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(1 === t3.row.checkStatus ? "合格" : null === t3.row.checkStatus ? "-" : "不合格") + "\n ")];
|
||
} }], null, false, 1651668599) }), e2._v(" "), s2("el-table-column", { attrs: { prop: "aiQualifiedRate", align: "center", "min-width": "140", label: "AI合格率", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.aiQualifiedRate ? t3.row.aiQualifiedRate + "%" : "-") + "\n ")];
|
||
} }], null, false, 3365155643) }), e2._v(" "), s2("el-table-column", { attrs: { prop: "postponeOrderNo", align: "center", "min-width": "140", label: "验收整改", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [t3.row.postponeOrderNo ? s2("el-button", { attrs: { type: "text" }, on: { click: function(a2) {
|
||
return e2.editClick(t3.row);
|
||
} } }, [e2._v(e2._s(t3.row.postponeOrderNo))]) : s2("span", [e2._v("-")])];
|
||
} }], null, false, 2871056884) }), e2._v(" "), s2("el-table-column", { attrs: { prop: "checkLaborCost", align: "center", "min-width": "160", label: "验收云豆值" } }), e2._v(" "), s2("el-table-column", { attrs: { prop: "statueName", align: "center", "min-width": "120", label: "计划工单状态" } }), e2._v(" "), s2("el-table-column", { attrs: { prop: "name", align: "center", "min-width": "110", label: "质量评估" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [null == t3.row.workWarnRespDTO ? s2("span", { staticStyle: { color: "#3a8ee6" } }, [e2._v("正常")]) : e2._e(), e2._v(" "), t3.row.workWarnRespDTO && 1 == t3.row.workWarnRespDTO.warnType ? s2("span", { staticStyle: { color: "#5daf34" } }, [e2._v("警告")]) : e2._e(), e2._v(" "), t3.row.workWarnRespDTO && 2 == t3.row.workWarnRespDTO.warnType ? s2("span", { staticStyle: { color: "#efa23c" } }, [e2._v("黄牌")]) : e2._e(), e2._v(" "), t3.row.workWarnRespDTO && 3 == t3.row.workWarnRespDTO.warnType ? s2("span", { staticStyle: { color: "#d80d1d" } }, [e2._v("红牌")]) : e2._e()];
|
||
} }], null, false, 2249103020) }), e2._v(" "), s2("el-table-column", { attrs: { prop: "taskRate", align: "center", "min-width": "80", label: "审核评分" } }), e2._v(" "), s2("el-table-column", { attrs: { align: "center", "min-width": "80", label: "关联云豆" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [s2("span", [e2._v("\n " + e2._s(t3.row.laborCost) + "\n ")])];
|
||
} }], null, false, 1578666847) }), e2._v(" "), s2("el-table-column", { attrs: { prop: "needTime", align: "center", "min-width": "120", label: "完成所需时长" } }), e2._v(" "), s2("el-table-column", { attrs: { align: "center", "min-width": "120", label: "计划工单耗时" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [s2("span", [e2._v(e2._s(e2.formatTaskTime(t3.row.taskConsumingTime)))])];
|
||
} }], null, false, 1021437581) }), e2._v(" "), s2("el-table-column", { attrs: { prop: "updateUserName", align: "center", label: "修改人", "min-width": "120" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [s2("span", [e2._v(e2._s(t3.row.updateUserName || "-"))])];
|
||
} }], null, false, 1977312332) }), e2._v(" "), s2("el-table-column", { attrs: { prop: "updateDate", align: "center", "min-width": "160", label: "修改时间" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [s2("span", [e2._v(e2._s(t3.row.updateDate || "-"))])];
|
||
} }], null, false, 3450612046) }), e2._v(" "), s2("el-table-column", { attrs: { prop: "createUserName", align: "center", label: "创建人", "min-width": "120" } }), e2._v(" "), s2("el-table-column", { attrs: { prop: "createDate", align: "center", "min-width": "160", label: "创建时间" } }), e2._v(" "), s2("el-table-column", { attrs: { label: "操作", fixed: "right", align: "center", "min-width": "90" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [s2("span", { staticClass: "textBtn", on: { click: function(a2) {
|
||
return e2.editClick(t3.row);
|
||
} } }, [e2._v("查看")])];
|
||
} }], null, false, 3540323001) })], 1), e2._v(" "), s2("div", { staticClass: "paginations" }, [s2("el-pagination", { attrs: { background: "", "current-page": e2.query.pageNumber, "page-sizes": [10, 30, 50, 100, 200], "page-size": e2.query.pageSize, layout: "total, sizes, prev, pager, next, jumper", total: e2.pageTotal }, on: { "update:currentPage": function(t3) {
|
||
return e2.$set(e2.query, "pageNumber", t3);
|
||
}, "update:current-page": function(t3) {
|
||
return e2.$set(e2.query, "pageNumber", t3);
|
||
}, "size-change": e2.handleSizeChange, "current-change": e2.handleCurrentChange } })], 1)], 1)], 1) : e2._e(), e2._v(" "), e2.viewInfo ? s2("div", [s2("viewTaskDetails", { ref: "details", attrs: { content: e2.content }, on: { goBack: e2.goBack } })], 1) : e2._e()]);
|
||
}, n = [], i = a("f8b7"), l = a("8975"), r = a("8f53"), o = a("dce5"), c = a("803c"), u = a("dd26"), d = a.n(u);
|
||
function p(e2) {
|
||
return p = "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;
|
||
}, p(e2);
|
||
}
|
||
function m(e2, t2, a2) {
|
||
return (t2 = v(t2)) in e2 ? Object.defineProperty(e2, t2, { value: a2, enumerable: true, configurable: true, writable: true }) : e2[t2] = a2, e2;
|
||
}
|
||
function v(e2) {
|
||
var t2 = f(e2, "string");
|
||
return "symbol" == p(t2) ? t2 : t2 + "";
|
||
}
|
||
function f(e2, t2) {
|
||
if ("object" != p(e2) || !e2) return e2;
|
||
var a2 = e2[Symbol.toPrimitive];
|
||
if (void 0 !== a2) {
|
||
var s2 = a2.call(e2, t2 || "default");
|
||
if ("object" != p(s2)) return s2;
|
||
throw new TypeError("@@toPrimitive must return a primitive value.");
|
||
}
|
||
return ("string" === t2 ? String : Number)(e2);
|
||
}
|
||
var g = m({ name: "taskList", components: { viewTaskDetails: c["a"] }, props: { planModel: { type: Number, default: "" }, content: { type: String, default: "" }, historyType: { type: Number, default: 1 }, targetType: { type: Number, default: 0 }, targetUuid: { type: String, default: "" }, planNo: { type: String, default: "" } }, watch: { historyType: { handler: function(e2, t2) {
|
||
this.getlistData();
|
||
}, deep: true } }, data: function() {
|
||
return { aiCheckStatusList: r["c"], planModeLArr: r["w"], dataInfo: {}, ydouPool: [], viewInfo: false, infoList: true, is_show: false, height: "", isShow: false, pageTotal: 0, warningStatus: r["K"], statusArr: r["G"], taskStatus: o["pc"], listLoading: false, planTypeArr: r["x"], taskRateArr: [{ value: 1, label: "合格" }, { value: 2, label: "不合格" }, { value: 3, label: "未审核" }], taskDate: "", endDate: "", completeDate: "", listTable: [], postExecuteArr: [], query: { queryMode: "", pageNumber: 1, pageSize: 10, ydPoolId: "", planNo: "", taskName: "", recipient: "", planStatus: "", status: "", rateType: "", jobName: "", cautionLight: "", planModel: this.planModel, checkerName: "", postponeOrderNo: "", needCheck: "", checkStatus: "", taskNo: "", taskStartDateStart: "", taskStartDateEnd: "", taskEndDateStart: "", taskEndDateEnd: "", realEndTimeStart: "", realEndTimeEnd: "", dangerSource: "" }, downloading: false, needCheckList: [{ label: "是", value: "1" }, { label: "否", value: "0" }], checkStatusList: [{ label: "合格", value: "1" }, { label: "不合格", value: "2" }] };
|
||
}, beforeRouteEnter: function(e2, t2, a2) {
|
||
a2((function(t3) {
|
||
var a3 = e2.name, s2 = JSON.parse(sessionStorage.getItem(a3));
|
||
s2 ? (t3.query = s2, s2.taskStartDate ? t3.taskDate = [s2.taskStartDate, s2.taskEndDate] : t3.taskDate = "") : t3.getTime(), t3.getlistData();
|
||
}));
|
||
}, mounted: function() {
|
||
this.$route.query && this.$route.query.no ? this.query.planNo = this.$route.query.no : this.planNo ? this.query.planNo = this.planNo : this.query.planNo = "", this.getlistData(), this.headClass(), this.getJobListPeople(), this.getYdPoolPage();
|
||
}, methods: { getinfo: function(e2) {
|
||
var t2 = "";
|
||
return this.planModeLArr.forEach((function(a2) {
|
||
a2.value === e2 && (t2 = a2.label);
|
||
})), t2;
|
||
}, getYdPoolPage: function() {
|
||
var e2 = this, t2 = { codeNumber: "K2", projectUuid: this.$store.state.community_uuid, pageNumber: -1, pageSize: -1 };
|
||
Object(i["T"])(t2).then((function(t3) {
|
||
0 == t3.code && null !== t3.data && (e2.ydouPool = t3.data.records);
|
||
}));
|
||
}, goBack: function() {
|
||
this.viewInfo = false, this.infoList = true, this.getlistData();
|
||
}, getTime: function() {
|
||
var e2 = /* @__PURE__ */ new Date(), t2 = Object(l["formatDate"])(e2, "Y-M-D"), a2 = this.getDate();
|
||
this.taskDate = [a2, t2];
|
||
}, getDate: function() {
|
||
var e2 = /* @__PURE__ */ new Date(), t2 = e2.getFullYear(), a2 = e2.getMonth();
|
||
return a2 = this.doHandleZero(a2 + 1), t2 + "-" + a2 + "-01";
|
||
}, doHandleZero: function(e2) {
|
||
var t2 = e2;
|
||
return 1 == e2.toString().length && (t2 = "0" + e2), t2;
|
||
}, formatTaskTime: function(e2) {
|
||
if (null == e2) return "";
|
||
var t2 = e2.toFixed(0), a2 = 0, s2 = 0, n2 = 0;
|
||
t2 > 60 && (a2 = parseInt(t2 / 60), t2 = parseInt(t2 % 60), a2 > 60 && (s2 = parseInt(a2 / 60), a2 = parseInt(a2 % 60), s2 > 24 && (n2 = parseInt(s2 / 24), s2 = parseInt(s2 % 24))));
|
||
var i2 = "";
|
||
return t2 >= 0 && (i2 = parseInt(t2) + "秒"), a2 > 0 && (i2 = parseInt(a2) + "分" + parseInt(t2) + "秒"), s2 > 0 && (i2 = parseInt(s2) + "小时" + parseInt(a2) + "分"), n2 > 0 && (i2 = parseInt(n2) + "天" + parseInt(s2) + "小时"), i2;
|
||
}, editClick: function(e2) {
|
||
var t2 = this;
|
||
this.viewInfo = true, this.infoList = false, this.$nextTick((function() {
|
||
t2.$refs.details.viewTaskDetails(e2);
|
||
}));
|
||
}, getlistData: function() {
|
||
var e2 = this;
|
||
this.listLoading = true, this.query.projectUuid = this.$store.state.community_uuid, this.query.projectName = this.$store.state.community_name, this.query.queryMode = this.historyType, 0 != this.targetType && (this.query.targetType = this.targetType, this.query.targetUuid = this.targetUuid), 1 == this.$route.query.dangerSource && (this.query.planModel = 0, this.query.dangerSource = 1), Object(i["R"])(this.query).then((function(t2) {
|
||
0 == t2.code && (e2.listTable = t2.data.records, e2.pageTotal = t2.data.rowsCount), sessionStorage.setItem(e2.$route.name, JSON.stringify(e2.query));
|
||
})), this.listLoading = false;
|
||
}, exportExcelList: function() {
|
||
var e2 = this;
|
||
if (this.query.projectUuid = this.$store.state.community_uuid, this.query.projectName = this.$store.state.community_name, this.query.queryMode = this.historyType, 0 != this.targetType && (this.query.targetType = this.targetType, this.query.targetUuid = this.targetUuid), this.taskDate ? (this.query.taskStartDateStart = this.taskDate[0] + " 00:00:00", this.query.taskStartDateEnd = this.taskDate[1] + " 23:59:59") : (this.query.taskStartDateStart = "", this.query.taskStartDateEnd = ""), "" != this.query.taskStartDateStart && "" != this.query.taskStartDateEnd) {
|
||
var t2 = d()(this.query.taskStartDateStart), a2 = d()(this.query.taskStartDateEnd), s2 = a2.diff(t2, "day");
|
||
if (s2 > 92) return void this.$message("只支持下载三个月内的数据,请重新设置时间区间!");
|
||
}
|
||
if ("" != this.query.taskEndDateStart && "" != this.query.taskEndDateStart) {
|
||
var n2 = d()(this.query.taskEndDateStart), l2 = d()(this.query.taskEndDateEnd), r2 = l2.diff(n2, "day");
|
||
if (r2 > 92) return void this.$message("只支持下载三个月内的数据,请重新设置时间区间!");
|
||
}
|
||
if ("" != this.query.realEndTimeStart && "" != this.query.realEndTimeEnd) {
|
||
var o2 = d()(this.query.realEndTimeStart), c2 = d()(this.query.realEndTimeEnd), u2 = c2.diff(o2, "day");
|
||
if (u2 > 92) return void this.$message("只支持下载三个月内的数据,请重新设置时间区间!");
|
||
}
|
||
this.downloading = true, Object(i["o"])(this.query).then((function(t3) {
|
||
e2.downloading = false;
|
||
var a3 = new Blob([t3], { type: "application/vnd.ms-excel;charset=UTF-8" }), s3 = (/* @__PURE__ */ new Date()).valueOf();
|
||
if (window.navigator.msSaveOrOpenBlob) navigator.msSaveBlob(a3);
|
||
else {
|
||
var n3 = document.createElement("a");
|
||
n3.download = "".concat(e2.content, "导出列表_").concat(s3, ".xls"), n3.href = URL.createObjectURL(a3), n3.click(), URL.revokeObjectURL(n3.href), document.body.removeChild(n3);
|
||
}
|
||
})).catch((function(t3) {
|
||
e2.downloading = false;
|
||
}));
|
||
}, onSearch: function() {
|
||
this.query.pageNumber = 1, this.getlistData();
|
||
}, getJobListPeople: function() {
|
||
var e2 = this, t2 = { projectUuid: this.$store.state.community_uuid };
|
||
Object(i["q"])(t2).then((function(t3) {
|
||
0 === t3.code && (e2.postExecuteArr = t3.data);
|
||
}));
|
||
}, handleSizeChange: function(e2) {
|
||
this.query.pageSize = e2, this.getlistData();
|
||
}, handleCurrentChange: function(e2) {
|
||
this.query.pageNumber = e2, this.getlistData();
|
||
}, resetForm: function(e2) {
|
||
this.query.pageNumber = 1, this.taskDate = "", this.query.jobName = "", this.query.cautionLight = "", this.query.status = "", this.endDate = "", this.completeDate = "", this.$refs[e2].resetFields(), this.getlistData();
|
||
}, handleSlow: function() {
|
||
this.isShow = !this.isShow;
|
||
}, headClass: function() {
|
||
return "text-align:center;background:#FAFAFA;";
|
||
}, upAndDown: function() {
|
||
this.is_show = !this.is_show;
|
||
} } }, "watch", { taskDate: function(e2, t2) {
|
||
Array.isArray(e2) ? this.query.taskStartDateStart = this.taskDate[0] + " 00:00:00" : this.query.taskStartDateStart = "", Array.isArray(e2) ? this.query.taskStartDateEnd = this.taskDate[1] + " 23:59:59" : this.query.taskStartDateEnd = "";
|
||
}, endDate: function(e2, t2) {
|
||
Array.isArray(e2) ? this.query.taskEndDateStart = this.endDate[0] : this.query.taskEndDateStart = "", Array.isArray(e2) ? this.query.taskEndDateEnd = this.endDate[1] : this.query.taskEndDateEnd = "";
|
||
}, completeDate: function(e2, t2) {
|
||
Array.isArray(e2) ? this.query.realEndTimeStart = this.completeDate[0] : this.query.realEndTimeStart = "", Array.isArray(e2) ? this.query.realEndTimeEnd = this.completeDate[1] : this.query.realEndTimeEnd = "";
|
||
} }), h = g, _ = (a("bbcb"), a("829d")), b = Object(_["a"])(h, s, n, false, null, "5469eb04", null);
|
||
t["a"] = b.exports;
|
||
}, "6f11": function(e, t, a) {
|
||
}, "7d42": function(module, __webpack_exports__, __webpack_require__) {
|
||
"use strict";
|
||
var _utils_dataDict__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("dce5");
|
||
__webpack_exports__["a"] = { props: { opentype: { type: String, default: "task" }, tableData: { type: Array, default: [] }, tools: { type: Boolean, default: false }, del: { type: Boolean, default: false }, search: { type: Boolean, default: true }, quote: { type: Boolean, default: false }, selection: { type: Boolean, default: false }, pageIndex: { type: Boolean, default: false }, page: { type: Boolean, default: false } }, data: function() {
|
||
return { professionalList: _utils_dataDict__WEBPACK_IMPORTED_MODULE_0__["Ub"], taskType: _utils_dataDict__WEBPACK_IMPORTED_MODULE_0__["rc"], listLoading: false, listTable: [], pageTotal: 0, spaceTypeList: [], locationList: [], formInfo: { pageNumber: 1, pageSize: 5 }, selectionList: [] };
|
||
}, watch: { tableData: function() {
|
||
} }, mounted: function() {
|
||
}, methods: { handleSizeChange: function(e) {
|
||
this.formInfo.pageSize = e;
|
||
}, handleCurrentChange: function(e) {
|
||
this.formInfo.pageNumber = e;
|
||
}, formatType: function formatType(val) {
|
||
return val ? eval(val).label : "-";
|
||
}, formatPlanType: function(e) {
|
||
if (e && "0" != e) {
|
||
var t = parseInt(e);
|
||
return this.taskType[t - 1].label;
|
||
}
|
||
return "-";
|
||
}, thisTaskInfor: function(e, t) {
|
||
var a = { type: e, data: t };
|
||
this.$emit("tableClickInfor", a);
|
||
}, showOrderList: function(e) {
|
||
e.length > 0 && this.$emit("updataOrderList", e);
|
||
} } };
|
||
}, "803c": function(e, t, a) {
|
||
"use strict";
|
||
var s = function() {
|
||
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
|
||
return a2("div", { staticClass: "viweTaskDetailes" }, [a2("el-page-header", { staticClass: "viweTaskDetailesHeader", attrs: { content: e2.title }, on: { back: e2.goBack } }), e2._v(" "), a2("el-card", { staticClass: "box-card", attrs: { shadow: "never" } }, [a2("div", { staticClass: "planLst", attrs: { slot: "header" }, slot: "header" }, [a2("span", { staticClass: "planTitle" }, [e2._v("任务基础信息")]), e2._v(" "), a2("div", [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: e2.handleCancel } }, [e2._v("返回")]), e2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: function(t3) {
|
||
e2.fileSetDialog = true;
|
||
} } }, [e2._v("查看文件")]), e2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "success", disabled: 3 !== e2.data.status || null !== e2.data.taskRate }, on: { click: function(t3) {
|
||
e2.taskAuditDialog = true;
|
||
} } }, [e2._v("质量评价")])], 1)]), e2._v(" "), a2("div", { staticClass: "house-detail" }, [a2("el-row", [a2("el-col", { attrs: { span: 24 } }, [a2("el-row", [a2("el-col", { attrs: { span: 8 } }, [e2._v("\n 工单编号:" + e2._s(e2.data.taskNo) + "\n ")]), e2._v(" "), a2("el-col", { attrs: { span: 8 } }, [e2._v("\n 项目名称:" + e2._s(e2.data.projectName) + "\n ")]), e2._v(" "), a2("el-col", { attrs: { span: 8 } }, [e2._v("\n 负责岗位/资质证书:" + e2._s(e2.data.jobName) + "\n ")]), e2._v(" "), a2("el-col", { attrs: { span: 8 } }, [e2._v("\n 领取人:" + e2._s(e2.data.recipient) + "\n ")]), e2._v(" "), a2("el-col", { attrs: { span: 8 } }, [e2._v("\n 结束时间:" + e2._s(e2.data.taskEndDate) + "\n ")]), e2._v(" "), a2("el-col", { attrs: { span: 8 } }, [e2._v("\n 工单状态:" + e2._s(e2.data.statueName) + "\n ")]), e2._v(" "), a2("el-col", { attrs: { span: 8 } }, [e2._v("\n 工单计时:" + e2._s(e2.data.taskConsumingTime) + "\n ")]), e2._v(" "), a2("el-col", { attrs: { span: 8 } }, [e2._v("\n 工单频次:" + e2._s(e2.data.frequencyName) + "\n ")]), e2._v(" "), a2("el-col", { attrs: { span: 8 } }, [e2._v("\n 工单名称:" + e2._s(e2.data.taskName) + "\n ")]), e2._v(" "), a2("el-col", { attrs: { span: 8 } }, [e2._v("\n 开始时间:" + e2._s(e2.data.taskStartDate) + "\n ")]), e2._v(" "), a2("el-col", { attrs: { span: 8 } }, [3 === e2.data.status || 9 === e2.data.status ? a2("span", [null == e2.data.taskRate ? a2("span", [e2._v("审核状态:待审核")]) : null != e2.data.taskRate ? a2("span", [e2._v("审核状态:已审核")]) : e2._e()]) : a2("span", [e2._v("审核状态:- ")])]), e2._v(" "), a2("el-col", { attrs: { span: 8 } }, [e2._v("\n 工单真实耗时:" + e2._s(e2.formatTaskTime(e2.data.taskConsumingTime)) + "\n ")]), e2._v(" "), a2("el-col", { attrs: { span: 8 } }, [e2._v("\n 完成所需时长(s):" + e2._s(e2.data.needTime) + "\n ")]), e2._v(" "), a2("el-col", { attrs: { span: 8 } }, [e2._v("\n 关联云豆:" + e2._s(e2.data.laborCost) + "\n ")]), e2._v(" "), a2("el-col", { attrs: { span: 8 } }, [e2._v("\n 综合评分: "), a2("el-rate", { staticClass: "comprehensiveScore", attrs: { disabled: "", "show-score": "", "text-color": "#ff9900" }, model: { value: e2.data.comprehensiveScore, callback: function(t3) {
|
||
e2.$set(e2.data, "comprehensiveScore", t3);
|
||
}, expression: "data.comprehensiveScore" } })], 1), e2._v(" "), a2("el-col", { attrs: { span: 8 } }, [e2._v("\n 默认要求描述:" + e2._s("1" === e2.data.defaultRequire ? "无" : "2" === e2.data.defaultRequire ? "文件" : "-") + "\n ")])], 1)], 1)], 1)], 1)]), e2._v(" "), a2("el-card", { staticClass: "box-card", attrs: { shadow: "never" } }, [a2("workInfor", { ref: "workInfor", attrs: { opentype: e2.opentype } })], 1), e2._v(" "), a2("el-card", { staticClass: "box-card", attrs: { shadow: "never" } }, [a2("material-Detailed", { ref: "materialDetailed" })], 1), e2._v(" "), null != e2.data.taskRate ? a2("el-card", { staticClass: "box-card", attrs: { shadow: "never" } }, [a2("qualityStimate", { attrs: { dataInfo: e2.data.workWarnRespDTO } })], 1) : e2._e(), e2._v(" "), 10 == e2.data.planModel ? a2("el-card", { staticClass: "box-card", attrs: { shadow: "never" } }, [a2("taskVisitRecord", { ref: "taskVisitRecord", attrs: { taskInfor: e2.data } })], 1) : e2._e(), e2._v(" "), a2("el-dialog", { staticClass: "dialogHead checkOrder", attrs: { title: "计划工单审核", "show-close": true, "close-on-press-escape": false, "close-on-click-modal": false, "custom-class": "el-dialog-s", "append-to-body": "", visible: e2.taskAuditDialog, width: "30%" }, on: { "update:visible": function(t3) {
|
||
e2.taskAuditDialog = t3;
|
||
} } }, [a2("div", { staticClass: "grade" }, [e2._v("请选择审核评分")]), e2._v(" "), a2("div", {}, [a2("el-rate", { model: { value: e2.taskRate, callback: function(t3) {
|
||
e2.taskRate = t3;
|
||
}, expression: "taskRate" } })], 1), e2._v(" "), a2("div", { staticClass: "btnRate" }, [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: e2.submitOk } }, [e2._v("确定")]), e2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], on: { click: function(t3) {
|
||
e2.taskAuditDialog = false;
|
||
} } }, [e2._v("取消")])], 1)]), e2._v(" "), a2("el-dialog", { staticClass: "dialogHead checkOrder", attrs: { title: "文件集", "show-close": true, "close-on-press-escape": false, "close-on-click-modal": false, "custom-class": "el-dialog-s", "append-to-body": "", visible: e2.fileSetDialog, width: "30%" }, on: { "update:visible": function(t3) {
|
||
e2.fileSetDialog = t3;
|
||
} } }, [e2._l(e2.fiellArr, (function(t3) {
|
||
return a2("div", { key: t3.rulAddres }, [a2("div", { staticClass: "fontSize", on: { click: function(a3) {
|
||
return e2.downloadUp(t3.rulAddres);
|
||
} } }, [e2._v(e2._s(t3.urlName))])]);
|
||
})), e2._v(" "), 0 == e2.fiellArr.length ? a2("div", { staticStyle: { color: "#909399" } }, [e2._v("暂无数据")]) : e2._e(), e2._v(" "), a2("div", { staticClass: "tab-title" }), e2._v(" "), a2("div", { staticClass: "btnRate" }, [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], on: { click: function(t3) {
|
||
e2.fileSetDialog = false;
|
||
} } }, [e2._v("取消")])], 1)], 2)], 1);
|
||
}, n = [], i = a("bd30"), l = a("d68f"), r = function() {
|
||
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
|
||
return a2("div", { staticClass: "materialDetailed" }, [a2("div", { staticClass: "header" }, [e2._m(0), e2._v(" "), a2("div", { staticClass: "rigth" }, [a2("span", { on: { click: e2.handleSlow } }, [e2._v(" \n " + e2._s(e2.isShow ? "收起" : "展开") + "\n "), a2("i", { class: { icons: true, "el-icon-arrow-down": !e2.isShow, "el-icon-arrow-up": e2.isShow } })])])]), e2._v(" "), a2("div", { directives: [{ name: "show", rawName: "v-show", value: e2.isShow, expression: "isShow" }], staticStyle: { "padding-top": "20px" } }, [a2("el-table", { directives: [{ name: "loading", rawName: "v-loading", value: e2.listLoading, expression: "listLoading" }], staticStyle: { width: "100%" }, attrs: { border: "", data: e2.listTable, "header-cell-style": e2.headClass, "tooltip-effect": "dark" } }, [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.query.pageNumber - 1) * e2.query.pageSize + 1) + " ")])];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "物料编码" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("span", { attrs: { type: "primary" } }, [e2._v(e2._s(t3.row.codeNumber))])];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "物料名称" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("span", [e2._v(e2._s(t3.row.materielName))])];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "品牌" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("span", [e2._v(e2._s(t3.row.brand))])];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "单价" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("span", [e2._v(e2._s(t3.row.price))])];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "领取数量" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("span", [e2._v(e2._s(t3.row.operateQuantity))])];
|
||
} }]) })], 1), e2._v(" "), a2("div", { staticClass: "paginations" }, [a2("Pagination", { attrs: { total: e2.pageTotal }, on: { handleCurrentChange: e2.handleCurrentChange, handleSizeChange: e2.handleSizeChange } })], 1)], 1)]);
|
||
}, o = [function() {
|
||
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
|
||
return a2("div", { staticClass: "left" }, [a2("span", { staticClass: "workOrderTitle" }, [e2._v("所选物料清单")])]);
|
||
}], c = a("333d"), u = a("49de"), d = { name: "materialDetails", components: { Pagination: c["a"] }, data: function() {
|
||
return { pageTotal: 0, isShow: false, listLoading: false, listTable: [], query: { pageNumber: 1, pageSize: 10 } };
|
||
}, created: function() {
|
||
this.headClass();
|
||
}, mounted: function() {
|
||
}, methods: { handleSlow: function() {
|
||
this.isShow = !this.isShow;
|
||
}, getlistData: function(e2) {
|
||
var t2 = this;
|
||
this.listLoading = true;
|
||
var a2 = e2;
|
||
this.query.communityUuid = a2.projectUuid, this.query.taskOrderUuid = a2.taskUuid, Object(u["e"])(this.query).then((function(e3) {
|
||
0 == e3.code && (t2.listTable = e3.data.records, t2.pageTotal = e3.data.rowsCount);
|
||
})), this.listLoading = false;
|
||
}, handleSizeChange: function(e2) {
|
||
this.query.pageSize = e2.limit, this.getlistData();
|
||
}, handleCurrentChange: function(e2) {
|
||
this.query.pageNumber = e2.currentPage, this.getlistData();
|
||
}, headClass: function() {
|
||
return "text-align:center;background:#FAFAFA;";
|
||
} } }, p = d, m = (a("e263"), a("829d")), v = Object(m["a"])(p, r, o, false, null, "9cf41c22", null), f = v.exports, g = function() {
|
||
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
|
||
return a2("div", [a2("div", { staticClass: "header" }, [e2._m(0), e2._v(" "), a2("div", { staticClass: "rigth" }, [a2("span", { on: { click: e2.handleSlow } }, [e2._v(" " + e2._s(e2.isShow ? "收起" : "展开")), a2("i", { class: { icons: true, "el-icon-arrow-down": !e2.isShow, "el-icon-arrow-up": e2.isShow } })])])]), e2._v(" "), a2("div", { directives: [{ name: "show", rawName: "v-show", value: e2.isShow, expression: "isShow" }] }, [a2("el-table", { directives: [{ name: "loading", rawName: "v-loading", value: e2.listLoading, expression: "listLoading" }], ref: "receivableTable", attrs: { border: "", data: e2.listData, "header-cell-style": e2.headClass } }, [a2("el-table-column", { attrs: { label: "#", align: "center", fixed: "", "min-width": "50" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v(e2._s(t3.$index + (e2.query.pageNumber - 1) * e2.query.pageSize + 1))];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "项目", "min-width": "80", "show-overflow-tooltip": "", fixed: "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.projectName) + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "管理区", "min-width": "80", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.precinctName) + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "楼栋", "min-width": "80", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.buildingName) + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "单元", "min-width": "80", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.unitName) + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "房号", "min-width": "80", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.roomNum) + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "拜访时间", "min-width": "160", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.visitTime) + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "拜访对象", "min-width": "80", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.houseMemberName) + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "拜访方式", "min-width": "80", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(e2._f("getItemType")(t3.row.visitType, e2.visitWayList)) + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "拜访记录", "min-width": "90", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.remark) + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "欠费原因", "min-width": "180", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [t3.row.visitReason ? a2("span", [e2._v(e2._s(e2._f("getItemType")(t3.row.visitReason, e2.appealList)))]) : a2("span", [e2._v("无原因")])];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "图片/视频", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("el-button", { attrs: { type: "text" }, on: { click: function(a3) {
|
||
return e2.viewClick(t3.row);
|
||
} } }, [e2._v("查看")])];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "提交人", "min-width": "90", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.memberName) + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "提交时间", "min-width": "120", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.createTime) + "\n ")];
|
||
} }]) })], 1), e2._v(" "), a2("div", { staticClass: "paginations" }, [a2("el-pagination", { attrs: { background: "", "current-page": e2.query.pageNumber, "page-sizes": [10, 30, 50], "page-size": e2.query.pageSize, layout: "total, sizes, prev, pager, next, jumper", total: e2.total }, on: { "update:currentPage": function(t3) {
|
||
return e2.$set(e2.query, "pageNumber", t3);
|
||
}, "update:current-page": function(t3) {
|
||
return e2.$set(e2.query, "pageNumber", t3);
|
||
}, "size-change": e2.handleSizeChange, "current-change": e2.handleCurrentChange } })], 1)], 1), e2._v(" "), a2("el-dialog", { attrs: { title: "照片/视频", visible: e2.showMedia, width: "700px" }, on: { "update:visible": function(t3) {
|
||
e2.showMedia = t3;
|
||
} } }, [a2("div", { staticClass: "preview-img" }, [a2("h3", [e2._v("照片:")]), e2._v(" "), e2._l(e2.imgList, (function(t3, s2) {
|
||
return a2("el-image", { key: s2, staticStyle: { width: "100px", height: "100px" }, attrs: { src: t3, "preview-src-list": e2.imgList } });
|
||
})), e2._v(" "), 0 == e2.imgList.length ? a2("span", [e2._v("无照片数据")]) : e2._e()], 2), e2._v(" "), a2("div", { staticClass: "oerview-video" }, [a2("h3", [e2._v("视频:")]), e2._v(" "), "" != e2.saveData.mediaUrl ? a2("div", { staticClass: "video-play", on: { click: e2.playVideo } }, [a2("i", { staticClass: "el-icon-video-play" })]) : a2("span", [e2._v("无视频数据")])]), e2._v(" "), a2("el-dialog", { attrs: { width: "40%", visible: e2.showVideo, "before-close": e2.closePlay, "append-to-body": "" }, on: { "update:visible": function(t3) {
|
||
e2.showVideo = t3;
|
||
} } }, [a2("video", { attrs: { src: e2.videoUrl, controls: "", autoplay: "", width: "100%" } })])], 1)], 1);
|
||
}, h = [function() {
|
||
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
|
||
return a2("div", { staticClass: "left" }, [a2("span", { staticClass: "workOrderTitle" }, [e2._v("拜访记录")])]);
|
||
}], _ = a("8abc"), b = a("dce5"), y = { name: "taskVisitRecord", props: ["taskInfor"], data: function() {
|
||
return { isShow: false, listLoading: false, visitWayList: b["zc"], appealList: b["n"], listData: [], total: 0, query: { pageNumber: 1, pageSize: 10 }, showMedia: false, showVideo: false, saveData: "", imgList: [], videoUrl: "" };
|
||
}, mounted: function() {
|
||
this.headClass();
|
||
}, methods: { getlistData: function() {
|
||
var e2 = this, t2 = { relTaskNo: this.taskInfor.taskNo, projectUuid: this.taskInfor.projectUuid };
|
||
t2 = Object.assign(t2, this.query), this.listLoading = true, Object(_["e"])(t2).then((function(t3) {
|
||
t3.data && t3.data.records && (e2.listData = t3.data.records, e2.total = t3.data.rowsCount, e2.listLoading = false);
|
||
})).catch((function(t3) {
|
||
e2.listLoading = false;
|
||
}));
|
||
}, viewClick: function(e2) {
|
||
this.saveData = JSON.parse(JSON.stringify(e2)), "" != this.saveData.pictureUrl ? this.imgList = this.saveData.pictureUrl.split(",") : this.imgList = [], this.showMedia = true;
|
||
}, playVideo: function() {
|
||
this.videoUrl = this.saveData.mediaUrl, this.showVideo = true;
|
||
}, closePlay: function() {
|
||
this.showVideo = false, this.videoUrl = "";
|
||
}, handleSizeChange: function(e2) {
|
||
this.query.pageSize = e2, this.getlistData();
|
||
}, handleCurrentChange: function(e2) {
|
||
this.query.pageNumber = e2, this.getlistData();
|
||
}, handleSlow: function() {
|
||
this.isShow = !this.isShow;
|
||
}, headClass: function() {
|
||
return "text-align:center;background:#FAFAFA;";
|
||
} } }, w = y, C = (a("d8f5"), Object(m["a"])(w, g, h, false, null, "24088d2d", null)), k = C.exports, S = a("f8b7"), I = a("bee7");
|
||
function T(e2) {
|
||
return T = "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;
|
||
}, T(e2);
|
||
}
|
||
function L(e2, t2) {
|
||
var a2 = Object.keys(e2);
|
||
if (Object.getOwnPropertySymbols) {
|
||
var s2 = Object.getOwnPropertySymbols(e2);
|
||
t2 && (s2 = s2.filter((function(t3) {
|
||
return Object.getOwnPropertyDescriptor(e2, t3).enumerable;
|
||
}))), a2.push.apply(a2, s2);
|
||
}
|
||
return a2;
|
||
}
|
||
function x(e2) {
|
||
for (var t2 = 1; t2 < arguments.length; t2++) {
|
||
var a2 = null != arguments[t2] ? arguments[t2] : {};
|
||
t2 % 2 ? L(Object(a2), true).forEach((function(t3) {
|
||
D(e2, t3, a2[t3]);
|
||
})) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e2, Object.getOwnPropertyDescriptors(a2)) : L(Object(a2)).forEach((function(t3) {
|
||
Object.defineProperty(e2, t3, Object.getOwnPropertyDescriptor(a2, t3));
|
||
}));
|
||
}
|
||
return e2;
|
||
}
|
||
function D(e2, t2, a2) {
|
||
return (t2 = N(t2)) in e2 ? Object.defineProperty(e2, t2, { value: a2, enumerable: true, configurable: true, writable: true }) : e2[t2] = a2, e2;
|
||
}
|
||
function N(e2) {
|
||
var t2 = q(e2, "string");
|
||
return "symbol" == T(t2) ? t2 : t2 + "";
|
||
}
|
||
function q(e2, t2) {
|
||
if ("object" != T(e2) || !e2) return e2;
|
||
var a2 = e2[Symbol.toPrimitive];
|
||
if (void 0 !== a2) {
|
||
var s2 = a2.call(e2, t2 || "default");
|
||
if ("object" != T(s2)) return s2;
|
||
throw new TypeError("@@toPrimitive must return a primitive value.");
|
||
}
|
||
return ("string" === t2 ? String : Number)(e2);
|
||
}
|
||
var O = { components: { InspectionItem: i["a"], materialDetailed: f, qualityStimate: l["a"], workInfor: I["a"], taskVisitRecord: k }, props: { content: { type: String, default: "" } }, data: function() {
|
||
return { title: "", data: { comprehensiveScore: 0 }, fiellArr: [], taskAuditDialog: false, fileSetDialog: false, opentype: "task", standardList: [], taskRate: null };
|
||
}, created: function() {
|
||
}, methods: { goBack: function() {
|
||
this.$emit("goBack");
|
||
}, viewTaskDetails: function(e2) {
|
||
this.data = e2, this.title = this.content + "计划工单详情", this.data.taskUuid && this.getTaskDetailes();
|
||
}, viewFile: function() {
|
||
this.fileSetDialog = true, this.getTaskDetailes();
|
||
}, getTaskDetailes: function() {
|
||
var e2 = this;
|
||
console.log("getTaskDetailes"), Object(S["B"])({ taskUuid: this.data.taskUuid }).then((function(t2) {
|
||
if (e2.data = t2.data, e2.data.taskRate) {
|
||
var a2 = JSON.parse(e2.data.cautionLightNode);
|
||
if (null == e2.data.workWarnRespDTO) {
|
||
var s2 = { warnType: null, memberName: e2.data.recipient };
|
||
e2.data.workWarnRespDTO = x({}, s2);
|
||
}
|
||
e2.data.workWarnRespDTO.planType = 2, e2.data.workWarnRespDTO.evaluationStar = e2.data.taskRate, null == a2 ? (e2.data.workWarnRespDTO.accept = 0, e2.data.workWarnRespDTO.handle = 0) : (e2.data.workWarnRespDTO.accept = a2.accept ? a2.accept : 0, e2.data.workWarnRespDTO.handle = a2.handle ? a2.handle : 0);
|
||
}
|
||
e2.data.comprehensiveScore = t2.data.comprehensiveScore ? Number(t2.data.comprehensiveScore) : 0, e2.$nextTick((function() {
|
||
e2.$refs.workInfor.getlistData(t2.data), e2.$refs.materialDetailed.getlistData(t2.data), 10 === e2.data.planModel && e2.$refs.taskVisitRecord.getlistData();
|
||
})), e2.data.fileList && e2.data.fileList.length > 0 && e2.getVideoAndNnnexUrl(e2.data.fileList);
|
||
}));
|
||
}, getVideoAndNnnexUrl: function(e2) {
|
||
var t2 = this;
|
||
this.fiellArr = [];
|
||
var a2 = e2 || [];
|
||
a2.length > 0 && a2.forEach((function(e3) {
|
||
var a3 = { rulAddres: e3.fullUrl, urlName: e3.fileName, fileType: e3.fileType };
|
||
t2.fiellArr.push(a3);
|
||
}));
|
||
}, downloadUp: function(e2) {
|
||
window.open(e2);
|
||
}, formatTaskTime: function(e2) {
|
||
if (null == e2) return "";
|
||
var t2 = e2.toFixed(0), a2 = 0, s2 = 0, n2 = 0;
|
||
t2 > 60 && (a2 = parseInt(t2 / 60), t2 = parseInt(t2 % 60), a2 > 60 && (s2 = parseInt(a2 / 60), a2 = parseInt(a2 % 60), s2 > 24 && (n2 = parseInt(s2 / 24), s2 = parseInt(s2 % 24))));
|
||
var i2 = "";
|
||
return t2 >= 0 && (i2 = parseInt(t2) + "秒"), a2 > 0 && (i2 = parseInt(a2) + "分" + parseInt(t2) + "秒"), s2 > 0 && (i2 = parseInt(s2) + "小时" + parseInt(a2) + "分"), n2 > 0 && (i2 = parseInt(n2) + "天" + parseInt(s2) + "小时"), i2;
|
||
}, submitOk: function() {
|
||
var e2 = this, t2 = { id: this.data.id, taskRate: this.taskRate, operatorId: this.$store.state.user.userInfo.memberId, operatorName: this.$store.state.user.userInfo.memberName };
|
||
Object(S["n"])(t2).then((function(t3) {
|
||
0 === t3.code && e2.$message({ type: "success", message: "操作成功" }), e2.getTaskDetailes(), e2.taskAuditDialog = false;
|
||
}));
|
||
}, taskDataList: function(e2) {
|
||
var t2 = this, a2 = { planUuid: e2.planUuid, taskUuid: e2.taskUuid };
|
||
Object(S["s"])(a2).then((function(e3) {
|
||
e3.data.forEach((function(e4) {
|
||
e4.isShow = true;
|
||
})), t2.standardList = e3.data;
|
||
}));
|
||
}, handleCancel: function() {
|
||
this.goBack();
|
||
} } }, U = O, A = (a("f725"), Object(m["a"])(U, s, n, false, null, "6a6a5444", null));
|
||
t["a"] = A.exports;
|
||
}, "8abc": function(e, t, a) {
|
||
"use strict";
|
||
a.d(t, "h", (function() {
|
||
return n;
|
||
})), a.d(t, "b", (function() {
|
||
return i;
|
||
})), a.d(t, "g", (function() {
|
||
return l;
|
||
})), a.d(t, "e", (function() {
|
||
return r;
|
||
})), a.d(t, "c", (function() {
|
||
return o;
|
||
})), a.d(t, "a", (function() {
|
||
return c;
|
||
})), a.d(t, "f", (function() {
|
||
return u;
|
||
})), a.d(t, "d", (function() {
|
||
return d;
|
||
}));
|
||
var s = a("b775");
|
||
function n(e2) {
|
||
return Object(s["a"])({ url: "/appproject/CarSubscribe/pageList", method: "POST", data: e2 });
|
||
}
|
||
function i(e2) {
|
||
return Object(s["a"])({ url: "/appproject/project/findApproveConfig", method: "POST", data: e2 });
|
||
}
|
||
function l(e2) {
|
||
return Object(s["a"])({ url: "/appproject/project/updateApproveConfig", method: "POST", data: e2 });
|
||
}
|
||
function r(e2) {
|
||
return Object(s["a"])({ url: "/appproject/CustomerVisit/pageList", method: "POST", data: e2 });
|
||
}
|
||
function o(e2) {
|
||
return Object(s["a"])({ url: "/appproject/ChargeReceivable/houseFeePage", method: "POST", data: e2 });
|
||
}
|
||
function c(e2) {
|
||
return Object(s["a"])({ url: "/appproject/CustomerVisit/export", method: "POST", responseType: "blob", data: e2 });
|
||
}
|
||
function u(e2) {
|
||
return Object(s["a"])({ url: "/appproject/CustomerVisit/removeVisitPlan", method: "POST", data: e2 });
|
||
}
|
||
function d(e2) {
|
||
return Object(s["a"])({ url: "/appproject/ChargeReceivable/houseFeePage/export", method: "POST", data: e2 });
|
||
}
|
||
}, "9b1d": function(e, t, a) {
|
||
}, "9c4c": function(e, t, a) {
|
||
"use strict";
|
||
a("6f11");
|
||
}, "9d2f": function(e, t, a) {
|
||
}, a295: function(e, t) {
|
||
e.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAYCAYAAAD+vg1LAAAEnUlEQVRIS5WVXWxURRTH/2dmd3t37y7tstsuLB+ptEWkKBDhwaiADz4IGo2gBpHESAREg1ASEzFBnxD1zcRgAjGiCRJ5AF80JIoCxr6AEhERbKlKKSxtd+l+3e3unXPM3bLlo9HCPN3cmfOb/8z5zzmE2xgXpiLoFO2HvKXBUOHHab1wxguj8RZ487+HQpMDIdrlfZeL8vLsYvHSeHFV8HHAH41GQzMymRwBfGvQadueZAWxWwDSDtbcVShcvnWNAP6/bDuWDYdzc1OpQhX8Z2PDfG3MSqPkawzkO9uA4RsDu6PRemj3YRBxXgWPeIE3zvclk6GsO/S0j9UqY+jDmZnsIfJUnG0IL/Fp9RFI8qR5TUuqcOpLQN9j2/FggFuN0vO0ICFEBRG3i3x80vbFLiX7+oojwvzzSaxdENRB3HWtaeenqmJPEavKKq3UIhHZlglEehuc/GLRZgOB5kIgRGS8tQLxk9BVBr6AuJ+1pZ2LPbadcC28qFj/GrCz33vJHU1eTzMsM4AJ5I8OizKrCbKFSfwK6phADrvMF7SmiGK6X4ClUJhMwA+GZdvJwfy5RYmEdTSVKj0LVAXc5AoBdFdjeLkSeh+EIWHztmUVj025iGxVLMBn43Fbc2maUtQhwDNg+cZX4s3NtzjlJnBPg9Vs/P69JJjETK+0prPfei7pmhicCqUfLBf5SM1q3VFrOmvfu0T0qBi8WU7nPm8HyrWkjoI9y02IRVZpwnYIPi0pa3t7f3/+j3g84pfhrQI84UI2zhrMH64Fd8dCC4X0PhHp1iVZPaNQSI0B/wI0ROLh9yB4TLR5ru2K0+ld1ZmoPSegab+AsiB6vqU/e77m9TNTEPOVIx8TY2GZ5fHZmfxvY8Bd4XATWbJbhFpd1102a6jU46n1UekNguoQwRFms1+LThUy2c77gMzlRMLOc3ErWF4gyEstg4XvxoDP23ZCgvoTAZrIlJe3ZEr/dIXRRHWRnaKwGIKKEHxguQKDDa1X80dPJJPB+kpuEwnWsrgdbYPOARpJ8nVXXAdLI5nKCg98GgioiZEFPmC2UlgsJCsAOuGWK6u9Ex1PJkP1w7nXFWGdYXfL3rRz4J1rJWE0eTUwgEaYchVcO9a5+voZ2md2CtEcYrXxRHrooOfXKriS26QEa424HXsHnYO3Dfae9rym4FOafR8Acqg0kH+rHUhXi9cdguPMleVtaad35AmDzsdCC5jUUgPaN2sgd7Z2kh7AcmP2JiK13rvj/1UsQKJMWBmpy/amOEkJpSQ73Ksn9COAqXC8fx44ofokCwQDpfBrBKxhMZv/E8wW7SGqFp09Ak6LUr5rT1lIlCFizYCqKmZmIfIr4BEQtRt2188cdA6OccXf0xGtFMM7BFhGQhUQ2LuG/+oUHmBkXgKKVL+YyqteubzJx9XiA/hMPNKsgbtBYl1TOl4HghjDxHoQKvBzazrt1WchwNDpieH2OoV7WcgizYYECqxuqxeO7qq52s7YVVopcYYZp6g7FtkByJMABb3dmEZezp0M79LFE0RCJCgC9BWdaQgvUZoe0EJBUWMb6Z1sQAxlSBw20vkvFPNbDgATQSEAAAAASUVORK5CYII=";
|
||
}, bba4: function(e, t, a) {
|
||
"use strict";
|
||
a("59b2");
|
||
}, bbcb: function(e, t, a) {
|
||
"use strict";
|
||
a("06553");
|
||
}, be96: function(e, t, a) {
|
||
"use strict";
|
||
a.d(t, "b", (function() {
|
||
return n;
|
||
})), a.d(t, "j", (function() {
|
||
return i;
|
||
})), a.d(t, "a", (function() {
|
||
return l;
|
||
})), a.d(t, "k", (function() {
|
||
return r;
|
||
})), a.d(t, "e", (function() {
|
||
return o;
|
||
})), a.d(t, "f", (function() {
|
||
return c;
|
||
})), a.d(t, "d", (function() {
|
||
return u;
|
||
})), a.d(t, "i", (function() {
|
||
return d;
|
||
})), a.d(t, "h", (function() {
|
||
return p;
|
||
})), a.d(t, "c", (function() {
|
||
return m;
|
||
})), a.d(t, "g", (function() {
|
||
return v;
|
||
}));
|
||
var s = a("b775");
|
||
function n(e2) {
|
||
return Object(s["a"])({ url: "/appproject/EmergencyPlan/addStand", method: "post", data: e2 });
|
||
}
|
||
function i() {
|
||
return Object(s["a"])({ url: "/appproject/SceneMenu/sceneMenuList", method: "post" });
|
||
}
|
||
function l(e2) {
|
||
return Object(s["a"])({ url: "/appproject/EmergencyPlan/create", method: "post", data: e2 });
|
||
}
|
||
function r(e2) {
|
||
return Object(s["a"])({ url: "/appproject/EmergencyPlan/update", method: "post", data: e2 });
|
||
}
|
||
function o(e2) {
|
||
return Object(s["a"])({ url: "/appproject/EmergencyPlan/pageList", method: "post", data: e2 });
|
||
}
|
||
function c(e2) {
|
||
return Object(s["a"])({ url: "/appproject/EmergencyPlan/listRelStand", method: "post", data: e2 });
|
||
}
|
||
function u(e2) {
|
||
return Object(s["a"])({ url: "/appproject/EmergencyPlan/findById", method: "post", data: e2 });
|
||
}
|
||
function d(e2) {
|
||
return Object(s["a"])({ url: "/appproject/SceneMenu/standRelQuery", method: "post", data: e2 });
|
||
}
|
||
function p(e2) {
|
||
return Object(s["a"])({ url: "/appproject/EmergencyPlan/updateStatus", method: "post", data: e2 });
|
||
}
|
||
function m(e2) {
|
||
return Object(s["a"])({ url: "/space/EmergencyPlan/execute", method: "post", data: e2 });
|
||
}
|
||
function v(e2) {
|
||
return Object(s["a"])({ url: "/appproject/EmergencyPlan/recordPageList", method: "post", data: e2 });
|
||
}
|
||
}, bee7: function(e, t, a) {
|
||
"use strict";
|
||
var s = function() {
|
||
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
|
||
return a2("div", { staticClass: "materialDetailed" }, [a2("div", { staticClass: "header" }, [e2._m(0), e2._v(" "), a2("div", { staticClass: "rigth" }, [a2("span", { on: { click: e2.handleSlow } }, [e2._v("\n " + e2._s(e2.isShow ? "收起" : "展开") + "\n "), a2("i", { class: { icons: true, "el-icon-arrow-down": !e2.isShow, "el-icon-arrow-up": e2.isShow } })])])]), e2._v(" "), e2._l(e2.listTable, (function(t3, s2) {
|
||
return a2("div", { directives: [{ name: "show", rawName: "v-show", value: e2.isShow, expression: "isShow" }], key: s2, staticClass: "workInforItem" }, [a2("div", { staticClass: "workItemlocation", style: e2.getColor(t3) }, [e2._v("\n " + e2._s(t3.spaceName + "-" + t3.location) + "\n "), e2.isWeibao ? a2("el-button", { attrs: { type: "primary", size: "mini" }, on: { click: function(a3) {
|
||
return e2.viewImplementImg(t3);
|
||
} } }, [e2._v("执行图片")]) : e2._e(), e2._v(" "), e2.isWeibao ? a2("el-button", { attrs: { type: "primary", size: "mini" }, on: { click: function(a3) {
|
||
return e2.viewPositionImg(t3);
|
||
} } }, [e2._v("网格图片")]) : e2._e(), e2._v(" "), e2.isWeibao ? e2._e() : a2("el-button", { attrs: { type: "primary", size: "mini" }, on: { click: function(a3) {
|
||
return e2.checkResultsOfEnforcement(t3);
|
||
} } }, [e2._v("作业结果")]), e2._v(" "), a2("div", { staticClass: "rigth" }, [a2("span", { on: { click: function(t4) {
|
||
return e2.handleSlowList(s2);
|
||
} } }, [e2._v("\n " + e2._s(t3.isShow ? "收起" : "展开") + "\n "), a2("i", { class: { icons: true, "el-icon-arrow-down": !t3.isShow, "el-icon-arrow-up": t3.isShow } })])])], 1), e2._v(" "), a2("el-tabs", { directives: [{ name: "show", rawName: "v-show", value: t3.isShow, expression: "item.isShow" }], attrs: { type: "border-card" } }, e2._l(t3.planDeviceList, (function(t4, s3) {
|
||
return a2("el-tab-pane", { key: s3, staticClass: "workItemPane", attrs: { label: t4.targetName } }, [a2("standardTable", { attrs: { tableData: t4.standardRespDTOList, pageIndex: true, page: true }, on: { tableClickInfor: e2.tableClickInfor, updataOrderList: e2.updataOrderList } })], 1);
|
||
})), 1)], 1);
|
||
})), e2._v(" "), a2("el-dialog", { attrs: { title: "关联整改工单", visible: e2.relationOrderVisible, width: "30%", "close-on-press-escape": false, "close-on-click-modal": false, "destroy-on-close": "", "show-close": false, "custom-class": "el-dialog-s", "append-to-body": "" } }, [e2._l(e2.relationOrderList, (function(t3, s2) {
|
||
return a2("div", { key: s2, staticClass: "orderNoClass", on: { click: function(a3) {
|
||
return e2.showOrderDetaoles(t3);
|
||
} } }, [e2._v("\n " + e2._s(t3) + "\n ")]);
|
||
})), e2._v(" "), a2("span", { staticClass: "dialog-footer", attrs: { slot: "footer" }, slot: "footer" }, [a2("el-button", { on: { click: function(t3) {
|
||
e2.relationOrderVisible = false;
|
||
} } }, [e2._v("关闭")])], 1)], 2), e2._v(" "), a2("el-dialog", { attrs: { title: "关联整改工单详情", visible: e2.relationOrderDetailesVisible, width: "70%", "close-on-press-escape": false, "close-on-click-modal": false, "destroy-on-close": "", "custom-class": "el-dialog-s", "append-to-body": "" } }, [a2("div", {}, [a2("workOrderDetails", { ref: "workOrderDetails", attrs: { content: "" }, on: { goBack: e2.goBack, chcekWorkOrder: e2.chcekWorkOrder } })], 1), e2._v(" "), a2("span", { staticClass: "dialog-footer", attrs: { slot: "footer" }, slot: "footer" }, [a2("el-button", { on: { click: function(t3) {
|
||
e2.relationOrderDetailesVisible = false;
|
||
} } }, [e2._v("关闭")])], 1)]), e2._v(" "), a2("el-dialog", { attrs: { title: "执行图片", visible: e2.dialogImgVisible, width: "30%", "close-on-press-escape": false, "close-on-click-modal": false, "destroy-on-close": "", "before-close": e2.handleImgClose, "custom-class": "el-dialog-s", "append-to-body": "" }, on: { "update:visible": function(t3) {
|
||
e2.dialogImgVisible = t3;
|
||
} } }, [a2("div", { staticClass: "imgCarousel" }, [e2.imgList.length > 0 ? a2("el-carousel", { attrs: { interval: 5e3, arrow: "always" } }, e2._l(e2.imgList, (function(t3, s2) {
|
||
return a2("el-carousel-item", { key: s2 }, [a2("div", { staticClass: "imgList" }, e2._l(t3, (function(t4, s3) {
|
||
return a2("div", { key: s3, staticClass: "imgItem", on: { click: function(a3) {
|
||
return e2.queryStandByThisImg(t4);
|
||
} } }, [a2("el-image", { staticClass: "imges", attrs: { src: t4.imageUrl } })], 1);
|
||
})), 0)]);
|
||
})), 1) : a2("div", { staticClass: "noImplementImg" }, [e2._v("暂无执行图片")])], 1), e2._v(" "), a2("span", { staticClass: "dialog-footer", attrs: { slot: "footer" }, slot: "footer" }, [a2("el-button", { on: { click: function(t3) {
|
||
e2.dialogImgVisible = false;
|
||
} } }, [e2._v("关闭")])], 1)]), e2._v(" "), e2.dialogVisible ? a2("el-dialog", { attrs: { title: "执行记录", visible: e2.dialogVisible, width: "80%", "close-on-press-escape": false, "close-on-click-modal": false, "destroy-on-close": "", "before-close": e2.handleClose, "custom-class": "el-dialog-s", "append-to-body": "" }, on: { "update:visible": function(t3) {
|
||
e2.dialogVisible = t3;
|
||
} } }, [a2("div", { staticClass: "dialogContent" }, [a2("div", { staticClass: "dialogContent-item" }, [a2("div", { staticClass: "dialogContent-item-list" }, [a2("div", { staticClass: "dialogContent-item-list-itemTitle" }, [e2._v("\n 本次作业要求示例图片:\n ")]), e2._v(" "), e2.slImg.length > 0 ? a2("div", { staticClass: "dialogContent-item-list-itemConetnt" }, e2._l(e2.slImg, (function(e3, t3) {
|
||
return a2("div", { key: t3, staticClass: "egImg" }, [a2("el-image", { staticClass: "egImgs", attrs: { src: e3.imageUrl, "preview-src-list": [e3.imageUrl] } })], 1);
|
||
})), 0) : a2("div", { staticClass: "dialogContent-item-list-itemConetnt" }, [e2._v("\n 暂无示例图片\n ")]), e2._v(" "), a2("el-link", { attrs: { type: "primary" }, on: { click: e2.openExampleImgLibrary } }, [e2._v("\n 当前示例图片库:" + e2._s(e2.slImg.length + e2.examplesImageUrl.length || 0) + "张")])], 1), e2._v(" "), a2("div", { staticClass: "dialogContent-item-list" }, [a2("div", { staticClass: "dialogContent-item-list-itemTitle" }, [e2._v("作业事项:")]), e2._v(" "), a2("div", { staticClass: "dialogContent-item-list-itemConetnt" }, [e2._v("\n " + e2._s(e2.taskInfo.eventName || "-") + "\n ")])]), e2._v(" "), a2("div", { staticClass: "dialogContent-item-list" }, [a2("div", { staticClass: "dialogContent-item-list-itemTitle" }, [e2._v("检查标准:")]), e2._v(" "), a2("div", { staticClass: "dialogContent-item-list-itemConetnt" }, [e2._v("\n " + e2._s(e2.taskInfo.checkStandard || "-") + "\n ")])]), e2._v(" "), a2("div", { staticClass: "dialogContent-item-list" }, [a2("div", { staticClass: "dialogContent-item-list-itemTitle" }, [e2._v("作业标准:")]), e2._v(" "), a2("div", { staticClass: "dialogContent-item-list-itemConetnt" }, [e2._v("\n " + e2._s(e2.taskInfo.proStandard || "-") + "\n ")])]), e2._v(" "), a2("div", { staticClass: "dialogContent-item-list" }, [a2("div", { staticClass: "dialogContent-item-list-itemTitle" }, [e2._v("\n " + e2._s(1 === e2.taskInfo.executeResult ? "不合格原因" : "合格说明") + ":\n ")]), e2._v(" "), a2("div", { staticClass: "dialogContent-item-list-itemConetnt" }, [e2._v("\n " + e2._s(e2.taskInfo.remark || "-") + "\n ")])])]), e2._v(" "), a2("div", { staticClass: "dialogContent-item" }, [a2("div", { staticClass: "dialogContent-item-list" }, [a2("div", { staticClass: "dialogContent-item-list-itemTitle" }, [a2("label", { class: 0 === e2.imgType ? "currentImg" : "", on: { click: function(t3) {
|
||
return e2.getImgType(0);
|
||
} } }, [e2._v("当前记录")]), e2._v(" "), a2("label", { class: 1 === e2.imgType ? "currentImg" : "", on: { click: function(t3) {
|
||
return e2.getImgType(1);
|
||
} } }, [e2._v("所有记录")])]), e2._v(" "), 0 === e2.imgType ? a2("div", { staticClass: "dialogContent-item-list-itemConetnt dialogContent-item-list-itemConetntImg2" }, [a2("p", [e2._v("作业前:")]), e2._v(" "), e2._l(e2.preImageUrlList, (function(e3, t3) {
|
||
return a2("div", { key: t3, staticClass: "egImg2" }, [a2("el-image", { staticClass: "executionImg", attrs: { src: e3, "preview-src-list": [e3] } })], 1);
|
||
})), e2._v(" "), 0 === e2.preImageUrlList.length ? a2("div", { staticClass: "noImgNotes" }, [e2._v("\n 暂无作业前图片\n ")]) : e2._e()], 2) : e2._e(), e2._v(" "), 0 === e2.imgType ? a2("div", { staticClass: "dialogContent-item-list-itemConetnt dialogContent-item-list-itemConetntImg2" }, [a2("p", [e2._v("作业后:")]), e2._v(" "), e2._l(e2.imageUrlList, (function(t3, s2) {
|
||
return a2("div", { key: s2, staticClass: "egImg2" }, [a2("el-image", { staticClass: "executionImg", attrs: { src: t3, "preview-src-list": [t3] } }), e2._v(" "), a2("div", [a2("el-checkbox", { attrs: { label: t3 }, on: { change: e2.handleCheckboxChange }, model: { value: e2.exampleCheckList, callback: function(t4) {
|
||
e2.exampleCheckList = t4;
|
||
}, expression: "exampleCheckList" } }, [e2._v("加入示例图片库")])], 1), e2._v(" "), a2("span", { staticClass: "executionRes", style: { color: 1 === e2.taskInfo.executeResult ? "red" : "yellow" } }, [e2._v(e2._s(1 === e2.taskInfo.executeResult ? "不合格" : "合格"))])], 1);
|
||
})), e2._v(" "), 0 === e2.imageUrlList.length ? a2("div", { staticClass: "noImgNotes" }, [e2._v("\n 暂无作业后图片\n ")]) : e2._e()], 2) : e2._e(), e2._v(" "), 1 === e2.imgType ? a2("div", { staticClass: "dialogContent-item-list-itemConetnt dialogContent-item-list-itemConetntImg2" }, [e2.paginatedAllImgList.length > 0 ? a2("div", [a2("div", { staticClass: "allImgList" }, e2._l(e2.paginatedAllImgList, (function(t3, s2) {
|
||
return a2("div", { key: s2, staticClass: "egImg2" }, [a2("el-image", { staticClass: "executionImg", attrs: { src: t3.imageUrl, "preview-src-list": e2.paginatedAllImgList.map((function(e3) {
|
||
return e3.imageUrl;
|
||
})) } }), e2._v(" "), a2("div", [a2("el-checkbox", { attrs: { label: t3.imageUrl }, on: { change: e2.handleCheckboxChange }, model: { value: e2.exampleCheckList, callback: function(t4) {
|
||
e2.exampleCheckList = t4;
|
||
}, expression: "exampleCheckList" } }, [e2._v("加入示例图片库")])], 1), e2._v(" "), a2("span", { staticClass: "executionRes", style: { color: 1 === t3.executeResult ? "red" : "yellow" } }, [e2._v(e2._s(1 === t3.executeResult ? "不合格" : "合格"))])], 1);
|
||
})), 0), e2._v(" "), a2("div", { staticClass: "allImgPagination" }, [a2("el-pagination", { attrs: { "current-page": e2.allImgPage.currentPage, "page-sizes": [5, 10, 15, 20], "page-size": e2.allImgPage.pageSize, layout: "total, sizes, prev, pager, next, jumper", total: e2.allImgPage.total }, on: { "size-change": e2.handleAllImgSizeChange, "current-change": e2.handleAllImgCurrentChange } })], 1)]) : a2("div", { staticClass: "noImgNotes" }, [e2._v("暂无执行图片")])]) : e2._e()]), e2._v(" "), a2("div", { staticClass: "dialogContent-item-list" }, [a2("div", { staticClass: "dialogContent-item-list-itemTitle" }, [e2._v("\n 评价对象:" + e2._s(e2.taskInfo.targetName) + "\n ")]), e2._v(" "), a2("div", { staticClass: "dialogContent-item-list-itemTitle" }, [e2._v("执行评价:")]), e2._v(" "), a2("div", { staticClass: "dialogContent-item-list" }, [a2("div", { staticClass: "taskRate" }, [a2("el-rate", { attrs: { disabled: !(e2.taskInfo.executeResult > 0) || e2.taskInfo.auditScore > 0 }, model: { value: e2.audit.taskRate, callback: function(t3) {
|
||
e2.$set(e2.audit, "taskRate", t3);
|
||
}, expression: "audit.taskRate" } })], 1), e2._v(" "), e2.audit.taskRate < 3 ? a2("div", { staticClass: "taskMemo" }, [a2("el-input", { attrs: { disabled: !(e2.taskInfo.executeResult > 0) || e2.taskInfo.auditScore > 0, type: "textarea", rows: 4, placeholder: "请输入内容" }, model: { value: e2.audit.memo, callback: function(t3) {
|
||
e2.$set(e2.audit, "memo", t3);
|
||
}, expression: "audit.memo" } })], 1) : e2._e()])])])]), e2._v(" "), a2("span", { staticClass: "dialog-footer", attrs: { slot: "footer" }, slot: "footer" }, [a2("el-button", { on: { click: function(t3) {
|
||
e2.dialogVisible = false;
|
||
} } }, [e2._v("取 消")]), e2._v(" "), e2.taskInfo.auditScore ? e2._e() : a2("el-button", { attrs: { type: "primary", disabled: !(e2.taskInfo.executeResult > 0) }, on: { click: function(t3) {
|
||
return e2.submitAudit(-1);
|
||
} } }, [e2._v("提 交")])], 1)]) : e2._e(), e2._v(" "), a2("el-dialog", { attrs: { title: "网格图片", visible: e2.dialogPosVisible, width: "30%", "close-on-press-escape": false, "close-on-click-modal": false, "destroy-on-close": "", "before-close": e2.handlePosImgClose, "custom-class": "el-dialog-s", "append-to-body": "" }, on: { "update:visible": function(t3) {
|
||
e2.dialogPosVisible = t3;
|
||
} } }, [a2("div", { staticClass: "imgCarousel" }, [e2.posiotionImg.length > 0 ? a2("div", { staticClass: "imgList" }, e2._l(e2.posiotionImg, (function(e3, t3) {
|
||
return a2("div", { key: t3, staticClass: "imgItem" }, [a2("el-image", { staticClass: "imges", attrs: { src: e3, "preview-src-list": [e3] } })], 1);
|
||
})), 0) : a2("div", { staticClass: "noImplementImg" }, [e2._v("暂无图片")])]), e2._v(" "), a2("span", { staticClass: "dialog-footer", attrs: { slot: "footer" }, slot: "footer" }, [a2("el-button", { on: { click: function(t3) {
|
||
e2.dialogPosVisible = false;
|
||
} } }, [e2._v("关闭")])], 1)]), e2._v(" "), a2("el-dialog", { attrs: { title: e2.currentResultsObj.location + "-" + e2.currentResultsObj.spaceName, visible: e2.resultsOfEnforcementDialog, width: "1200px", "close-on-press-escape": false, "close-on-click-modal": false, "destroy-on-close": "", "before-close": e2.resultshandlePosImgClose, "custom-class": "el-dialog-s", "append-to-body": "" }, on: { "update:visible": function(t3) {
|
||
e2.resultsOfEnforcementDialog = t3;
|
||
} } }, [a2("div", { staticClass: "currentResultsContent" }, e2._l(e2.currentResulStandardList, (function(t3, s2) {
|
||
return a2("div", { key: s2, staticClass: "standardItem" }, [a2("div", { staticClass: "standardExamplesImage" }, [a2("p", { staticClass: "eventName" }, [e2._v("\n 作业事项:\n "), a2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", placement: "top-start" } }, [a2("div", { attrs: { slot: "content" }, slot: "content" }, [e2._v("\n " + e2._s(t3.eventName || "-") + "\n ")]), e2._v(" "), a2("div", { staticClass: "tdTooltipItem" }, [e2._v(e2._s(t3.eventName || "-"))])])], 1), e2._v(" "), t3.examplesImageUrlList.length > 0 ? a2("div", { staticClass: "standardExamplesImageBox" }, e2._l(t3.examplesImageUrlList, (function(s3, n2) {
|
||
return a2("div", { key: n2, staticClass: "standardImgItem" }, [a2("el-image", { staticClass: "locationEgImgItemImg", attrs: { src: s3, fit: "fill", "preview-src-list": t3.examplesImageUrlList } }), e2._v(" "), a2("p", [e2._v("当前作业示例图片")])], 1);
|
||
})), 0) : a2("div", { staticClass: "standardExamplesImageBox" }, [a2("div", { staticClass: "noImgsNotes" }, [e2._v("暂无示例图片")])])]), e2._v(" "), a2("div", { staticClass: "standardImage" }, [a2("p", [e2._v("作业图片-作业前:")]), e2._v(" "), t3.preImageUrlList.length > 0 ? a2("div", { staticClass: "standardExamplesImageBox" }, e2._l(t3.preImageUrlList, (function(e3, s3) {
|
||
return a2("div", { key: s3, staticClass: "standardImgItem" }, [a2("el-image", { staticClass: "locationEgImgItemImg", attrs: { src: e3, fit: "fill", "preview-src-list": t3.preImageUrlList } })], 1);
|
||
})), 0) : a2("div", { staticClass: "standardExamplesImageBox" }, [a2("div", { staticClass: "noImgsNotes" }, [e2._v("暂无作业图片")])]), e2._v(" "), a2("p", [e2._v("作业图片-作业后:")]), e2._v(" "), t3.imageUrlList.length > 0 ? a2("div", { staticClass: "standardExamplesImageBox" }, e2._l(t3.imageUrlList, (function(s3, n2) {
|
||
return a2("div", { key: n2, staticClass: "standardImgItem" }, [a2("span", { staticClass: "executionRes", style: { color: 1 === t3.executeResult ? "red" : "yellow" } }, [e2._v(e2._s(1 === t3.executeResult ? "不合格" : "合格"))]), e2._v(" "), a2("el-image", { staticClass: "locationEgImgItemImg", attrs: { src: s3, fit: "fill", "preview-src-list": t3.imageUrlList } })], 1);
|
||
})), 0) : a2("div", { staticClass: "standardExamplesImageBox" }, [a2("div", { staticClass: "noImgsNotes" }, [e2._v("暂无作业图片")])])]), e2._v(" "), a2("div", { staticClass: "standardAuditScore" }, [a2("p", [e2._v("作业评价:")]), e2._v(" "), a2("div", { staticClass: "auditScoreBox" }, [a2("div", { staticClass: "taskRate" }, [a2("el-rate", { attrs: { disabled: !(t3.executeResult > 0) || t3.auditScore > 0 }, on: { change: e2.memoInput }, model: { value: t3.taskRate, callback: function(a3) {
|
||
e2.$set(t3, "taskRate", a3);
|
||
}, expression: "item.taskRate" } })], 1), e2._v(" "), t3.taskRate < 3 ? a2("div", { staticClass: "taskMemo" }, [a2("el-input", { attrs: { type: "textarea", disabled: !(t3.executeResult > 0) || t3.auditScore > 0, rows: 4, placeholder: "请输入内容" }, on: { input: e2.memoInput }, model: { value: t3.memo, callback: function(a3) {
|
||
e2.$set(t3, "memo", a3);
|
||
}, expression: "item.memo" } })], 1) : e2._e()]), e2._v(" "), t3.auditScore ? e2._e() : a2("el-button", { attrs: { type: "primary", size: "small", disabled: !(t3.executeResult > 0) }, on: { click: function(a3) {
|
||
return e2.submitStandAudit(s2, t3);
|
||
} } }, [e2._v("提 交")])], 1)]);
|
||
})), 0), e2._v(" "), a2("span", { staticClass: "dialog-footer", attrs: { slot: "footer" }, slot: "footer" }, [a2("el-button", { on: { click: function(t3) {
|
||
e2.resultsOfEnforcementDialog = false;
|
||
} } }, [e2._v("关闭")])], 1)]), e2._v(" "), a2("el-dialog", { attrs: { title: "示例图片库", visible: e2.exampleLibraryVisible, width: "60%", "close-on-press-escape": false, "close-on-click-modal": false, "destroy-on-close": "", "custom-class": "el-dialog-s", "append-to-body": "" }, on: { "update:visible": function(t3) {
|
||
e2.exampleLibraryVisible = t3;
|
||
} } }, [a2("div", { staticClass: "exampleLibraryContent" }, [e2.slImg.length > 0 || e2.examplesImageUrl.length > 0 ? a2("div", { staticClass: "dialogContent-item-list-itemConetnt" }, [e2._l(e2.slImg, (function(t3, s2) {
|
||
return a2("div", { key: "slImg-" + s2, staticClass: "egImg" }, [a2("el-image", { staticClass: "egImgs", attrs: { src: t3.imageUrl, "preview-src-list": e2.slImg.concat(e2.examplesImageUrl).map((function(e3) {
|
||
return e3.imageUrl;
|
||
})) } })], 1);
|
||
})), e2._v(" "), e2._l(e2.examplesImageUrl, (function(t3, s2) {
|
||
return a2("div", { key: "examples-" + s2, staticClass: "egImg" }, [a2("el-image", { staticClass: "egImgs", attrs: { src: t3.imageUrl, "preview-src-list": e2.slImg.concat(e2.examplesImageUrl).map((function(e3) {
|
||
return e3.imageUrl;
|
||
})) } }), e2._v(" "), a2("el-button", { attrs: { type: "text" }, on: { click: function(a3) {
|
||
return e2.removeExampleLibraryImg(t3);
|
||
} } }, [e2._v("移除")])], 1);
|
||
}))], 2) : a2("div", { staticClass: "dialogContent-item-list-itemConetnt" }, [e2._v("\n 暂无示例图片库图片\n ")])]), e2._v(" "), a2("span", { staticClass: "dialog-footer", attrs: { slot: "footer" }, slot: "footer" }, [a2("el-button", { on: { click: function(t3) {
|
||
e2.exampleLibraryVisible = false;
|
||
} } }, [e2._v("关闭")])], 1)])], 2);
|
||
}, n = [function() {
|
||
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
|
||
return a2("div", { staticClass: "left" }, [a2("span", { staticClass: "workOrderTitle" }, [e2._v("作业信息")])]);
|
||
}], i = a("333d"), l = function() {
|
||
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
|
||
return a2("div", [a2("el-table", { directives: [{ name: "loading", rawName: "v-loading", value: e2.listLoading, expression: "listLoading" }], ref: "dataTable", attrs: { border: "", data: e2.tableData.slice((e2.formInfo.pageNumber - 1) * e2.formInfo.pageSize, e2.formInfo.pageNumber * e2.formInfo.pageSize), "row-key": "standUuid", "header-cell-style": { background: "#FAFAFA", color: "#606266" }, "tooltip-effect": "dark" } }, [e2.selection ? a2("el-table-column", { attrs: { "show-overflow-tooltip": "", "reserve-selection": true, type: "selection", width: "55" } }) : e2._e(), e2._v(" "), e2.pageIndex ? a2("el-table-column", { attrs: { label: "序号", width: "50", align: "center", fixed: "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("span", [e2._v(e2._s(t3.$index + (e2.formInfo.pageNumber - 1) * e2.formInfo.pageSize + 1) + " ")])];
|
||
} }], null, false, 1481381075) }) : e2._e(), e2._v(" "), a2("el-table-column", { attrs: { "min-width": "120", align: "center", fixed: "", "show-overflow-tooltip": "", label: "作业对象类型" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(1 === t3.row.targetType ? "设备" : 2 === t3.row.targetType ? "空间" : 3 === t3.row.targetType ? "物品" : "房屋") + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { "min-width": "120", align: "center", fixed: "", "show-overflow-tooltip": "", label: "作业对象" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", placement: "top-start" } }, [a2("div", { attrs: { slot: "content" }, slot: "content" }, [e2._v("\n 作业对象:" + e2._s(t3.row.targetName || "-")), a2("br"), e2._v("\n 参考频次:" + e2._s(t3.row.recomndFreqName || "-")), a2("br"), e2._v("\n 专业等级:" + e2._s(t3.row.professionalLevel || "-")), a2("br"), e2._v("\n 安全等级:" + e2._s(t3.row.dangerousLevel || "-")), a2("br"), e2._v("\n 温度:" + e2._s(t3.row.temperatureLevel || "-")), a2("br"), e2._v("\n 私密度:" + e2._s(t3.row.privacyLevel || "-") + "\n ")]), e2._v(" "), a2("div", { staticClass: "tdTooltipItem" }, [e2._v(e2._s(t3.row.targetName || "-"))])])];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { "min-width": "120", align: "center", "show-overflow-tooltip": "", label: "作业事项" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", placement: "top-start" } }, [a2("div", { attrs: { slot: "content" }, slot: "content" }, [e2._v("\n 作业事项:" + e2._s(t3.row.eventName || "-")), a2("br"), e2._v("\n 参考频次:" + e2._s(t3.row.recomndFreqName || "-")), a2("br"), e2._v("\n 专业等级:" + e2._s(t3.row.professionalLevel || "-")), a2("br"), e2._v("\n 安全等级:" + e2._s(t3.row.dangerousLevel || "-")), a2("br"), e2._v("\n 温度:" + e2._s(t3.row.temperatureLevel || "-")), a2("br"), e2._v("\n 私密度:" + e2._s(t3.row.privacyLevel || "-") + "\n ")]), e2._v(" "), a2("div", { staticClass: "tdTooltipItem" }, [e2._v(e2._s(t3.row.eventName || "-"))])])];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "200", label: "作业标准", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", placement: "top-start" } }, [a2("div", { attrs: { slot: "content" }, slot: "content" }, [e2._v("\n 作业标准:" + e2._s(t3.row.proStandard || "-")), a2("br"), e2._v("\n 参考频次:" + e2._s(t3.row.recomndFreqName || "-")), a2("br"), e2._v("\n 专业等级:" + e2._s(t3.row.professionalLevel || "-")), a2("br"), e2._v("\n 安全等级:" + e2._s(t3.row.dangerousLevel || "-")), a2("br"), e2._v("\n 温度:" + e2._s(t3.row.temperatureLevel || "-")), a2("br"), e2._v("\n 私密度:" + e2._s(t3.row.privacyLevel || "-") + "\n ")]), e2._v(" "), a2("div", { staticClass: "tdTooltipItem" }, [e2._v(e2._s(t3.row.proStandard || "-"))])])];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "200", label: "检查标准", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", placement: "top-start" } }, [a2("div", { attrs: { slot: "content" }, slot: "content" }, [e2._v("\n 检查标准:" + e2._s(t3.row.checkStandard || "-")), a2("br"), e2._v("\n 参考频次:" + e2._s(t3.row.recomndFreqName || "-")), a2("br"), e2._v("\n 专业等级:" + e2._s(t3.row.professionalLevel || "-")), a2("br"), e2._v("\n 安全等级:" + e2._s(t3.row.dangerousLevel || "-")), a2("br"), e2._v("\n 温度:" + e2._s(t3.row.temperatureLevel || "-")), a2("br"), e2._v("\n 私密度:" + e2._s(t3.row.privacyLevel || "-") + "\n ")]), e2._v(" "), a2("div", { staticClass: "tdTooltipItem" }, [e2._v(e2._s(t3.row.checkStandard || "-"))])])];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "100" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("span", [e2._v(e2._s(t3.row.spuQuantity || 0))]), e2._v(" "), "add" !== e2.opentype && "edit" !== e2.opentype && "copy" !== e2.opentype || 1 === e2.attrData.planStatus || 3 === e2.attrData.planStatus ? e2._e() : a2("i", { staticClass: "el-icon-edit editIcon", on: { click: function(a3) {
|
||
return e2.editClick(t3.row, t3.$index);
|
||
} } })];
|
||
} }]) }, [a2("template", { slot: "header" }, [e2._v("\n 定量\n "), a2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: "数量,例如面积、窗户数量等", placement: "top-start" } }, [a2("i", { staticClass: "el-icon-question" })])], 1)], 2), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "100" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("span", [e2._v(e2._s(t3.row.spuSpend || 0))]), e2._v(" "), "add" !== e2.opentype && "edit" !== e2.opentype && "copy" !== e2.opentype || 1 === e2.attrData.planStatus || 3 === e2.attrData.planStatus ? e2._e() : a2("i", { staticClass: "el-icon-edit editIcon", on: { click: function(a3) {
|
||
return e2.editClick(t3.row, t3.$index);
|
||
} } })];
|
||
} }]) }, [a2("template", { slot: "header" }, [e2._v("\n 定价\n "), a2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: "工时单价", placement: "top-start" } }, [a2("i", { staticClass: "el-icon-question" })])], 1)], 2), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "100" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("span", [e2._v(e2._s(t3.row.spuLaborResource || 0))])];
|
||
} }]) }, [a2("template", { slot: "header" }, [e2._v("\n 价值\n "), a2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: "人工成本,SPU-R1 = SPU-Q*SPU-T*SPU-S/3600", placement: "top-start" } }, [a2("i", { staticClass: "el-icon-question" })])], 1)], 2), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "120", label: "上传照片" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(1 === t3.row.isShowCapture ? "是" : "否") + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "120", label: "允许相册" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(1 === t3.row.photoAlbum ? "是" : "否") + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "130", label: "关联整改工单" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("div", { class: t3.row.orderList.length > 0 ? "orderNoClass" : "", on: { click: function(a3) {
|
||
return e2.showOrderList(t3.row.orderList);
|
||
} } }, [e2._v(e2._s(t3.row.orderList.length > 0 ? t3.row.orderList.length : 0))])];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "100", label: "是否合格" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(0 === t3.row.executeResult ? "未开始" : 1 === t3.row.executeResult ? "不合格" : "合格") + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "150", fixed: "right", label: "评估结果" }, scopedSlots: e2._u([{ key: "default", fn: function(e3) {
|
||
return [a2("el-rate", { attrs: { value: e3.row.auditScore ? e3.row.auditScore : 0, disabled: "", "show-score": "", "text-color": "#ff9900" } })];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "100", label: "更新人" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.updateUserName || "-") + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "100", label: "更新时间" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.updateDate || "-") + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { label: "操作", align: "center", "min-width": "150", fixed: "right" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("el-button", { attrs: { type: "text" }, on: { click: function(a3) {
|
||
return e2.thisTaskInfor(0, t3.row);
|
||
} } }, [e2._v("执行记录")])];
|
||
} }]) })], 1), e2._v(" "), e2.page ? a2("div", { staticClass: "paginations" }, [a2("el-pagination", { attrs: { background: "", "current-page": e2.formInfo.pageNumber, "page-sizes": [10, 30, 50, 100, 200], "page-size": e2.formInfo.pageSize, layout: "total, prev, pager, next, jumper", total: e2.tableData.length }, on: { "update:currentPage": function(t3) {
|
||
return e2.$set(e2.formInfo, "pageNumber", t3);
|
||
}, "update:current-page": function(t3) {
|
||
return e2.$set(e2.formInfo, "pageNumber", t3);
|
||
}, "size-change": e2.handleSizeChange, "current-change": e2.handleCurrentChange } })], 1) : e2._e()], 1);
|
||
}, r = [], o = a("7d42"), c = o["a"], u = (a("5e98"), a("829d")), d = Object(u["a"])(c, l, r, false, null, null, null), p = d.exports, m = a("f8b7"), v = a("be2e"), f = a("bb77");
|
||
function g(e2) {
|
||
return y(e2) || b(e2) || _(e2) || h();
|
||
}
|
||
function h() {
|
||
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
||
}
|
||
function _(e2, t2) {
|
||
if (e2) {
|
||
if ("string" == typeof e2) return w(e2, t2);
|
||
var a2 = {}.toString.call(e2).slice(8, -1);
|
||
return "Object" === a2 && e2.constructor && (a2 = e2.constructor.name), "Map" === a2 || "Set" === a2 ? Array.from(e2) : "Arguments" === a2 || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a2) ? w(e2, t2) : void 0;
|
||
}
|
||
}
|
||
function b(e2) {
|
||
if ("undefined" != typeof Symbol && null != e2[Symbol.iterator] || null != e2["@@iterator"]) return Array.from(e2);
|
||
}
|
||
function y(e2) {
|
||
if (Array.isArray(e2)) return w(e2);
|
||
}
|
||
function w(e2, t2) {
|
||
(null == t2 || t2 > e2.length) && (t2 = e2.length);
|
||
for (var a2 = 0, s2 = Array(t2); a2 < t2; a2++) s2[a2] = e2[a2];
|
||
return s2;
|
||
}
|
||
var C = { name: "workInfor", props: ["opentype"], components: { Pagination: i["a"], standardTable: p, workOrderDetails: f["default"] }, data: function() {
|
||
return { isWeibao: false, data: {}, pageTotal: 0, isShow: true, listLoading: false, listTable: [], query: { planUuid: "", taskUuid: "" }, dialogImgVisible: false, dialogVisible: false, imgList: [], taskInfo: {}, slImg: [], examplesImageUrl: [], imageUrlList: [], preImageUrlList: [], audit: { id: "", operatorId: this.$store.state.user.userInfo.memberId, operatorName: this.$store.state.user.userInfo.memberName, operatorPhone: this.$store.state.user.userInfo.accountName, operatorUuid: this.$store.state.user.userInfo.memberUuid, taskInspectionsStandardInfoId: 0, taskUuid: 0, standUuid: 0, taskRate: 0, memo: "" }, viewLocationgImgItem: {}, imgType: 0, allImgList: [], allImgListFlat: [], allImgPage: { currentPage: 1, pageSize: 5, total: 0 }, dialogPosVisible: false, posiotionImg: [], relationOrderVisible: false, relationOrderList: [], relationOrderDetailesVisible: false, resultsOfEnforcementDialog: false, currentResultsObj: {}, currentResulStandardList: [], exampleCheckList: [], exampleLibraryVisible: false };
|
||
}, computed: { paginatedAllImgList: function() {
|
||
var e2 = (this.allImgPage.currentPage - 1) * this.allImgPage.pageSize, t2 = e2 + this.allImgPage.pageSize;
|
||
return this.allImgListFlat.slice(e2, t2);
|
||
} }, created: function() {
|
||
this.headClass();
|
||
}, mounted: function() {
|
||
this.$parent.$parent.$parent.content && this.$parent.$parent.$parent.content.indexOf("维保") > 0 ? this.isWeibao = true : this.isWeibao = false;
|
||
}, methods: { openExampleImgLibrary: function() {
|
||
this.exampleLibraryVisible = true;
|
||
}, getColor: function(e2) {
|
||
var t2 = false;
|
||
return t2 = e2.planDeviceList.some((function(e3) {
|
||
return e3.standardRespDTOList.some((function(e4) {
|
||
return 1 === e4.isShowCapture;
|
||
}));
|
||
})), t2 ? { color: "red" } : void 0;
|
||
}, checkResultsOfEnforcement: function(e2) {
|
||
var t2 = this;
|
||
if (1 !== this.data.status) {
|
||
this.currentResultsObj = e2;
|
||
var a2 = e2, s2 = [], n2 = a2.planDeviceList;
|
||
n2.map((function(e3) {
|
||
var a3 = e3.standardRespDTOList;
|
||
a3.map((function(e4) {
|
||
var a4 = t2.getImgList(e4.examplesImageUrl), n3 = t2.getImgList(e4.imageUrl), i2 = t2.getImgList(e4.preImageUrl);
|
||
s2.push(Object.assign(e4, { examplesImageUrlList: a4, imageUrlList: n3, preImageUrlList: i2, taskRate: e4.auditScore ? e4.auditScore : null, memo: e4.auditRemark ? e4.auditRemark : null }));
|
||
}));
|
||
})), this.currentResulStandardList = s2, console.log("this.currentResulStandardList", this.currentResulStandardList), this.resultsOfEnforcementDialog = true, this.$forceUpdate();
|
||
} else this.$message({ type: "error", message: "该工单还未执行,暂无作业结果" });
|
||
}, resultshandlePosImgClose: function() {
|
||
this.audit.taskRate = 0, this.audit.taskUuid = "", this.audit.standUuid = "", this.audit.memo = "", this.audit.taskInspectionsStandardInfoId = "", this.audit.id = "", this.resultsOfEnforcementDialog = false;
|
||
}, getImgList: function(e2) {
|
||
var t2 = [];
|
||
return t2 = e2 && e2.length > 0 ? e2.indexOf(";") > 0 ? e2.split(";") : [e2] : [], t2;
|
||
}, memoInput: function() {
|
||
this.$forceUpdate();
|
||
}, handleSlow: function() {
|
||
this.isShow = !this.isShow;
|
||
}, handleSlowList: function(e2) {
|
||
var t2 = this, a2 = !this.listTable[e2].isShow;
|
||
this.$nextTick((function() {
|
||
t2.$set(t2.listTable[e2], "isShow", a2);
|
||
})), this.$forceUpdate();
|
||
}, getlistData: function(e2) {
|
||
var t2 = this, a2 = e2;
|
||
this.data = e2, this.query.planUuid = a2.planUuid, this.query.taskUuid = a2.taskUuid, this.listLoading = true, Object(m["t"])(this.query).then((function(e3) {
|
||
0 == e3.code && (t2.listTable = e3.data, t2.listTable.map((function(e4) {
|
||
return e4.isShow = false;
|
||
})));
|
||
})), this.listLoading = false;
|
||
}, handleSizeChange: function(e2) {
|
||
this.query.pageSize = e2.limit, this.getlistData(this.data);
|
||
}, handleCurrentChange: function(e2) {
|
||
this.query.pageNumber = e2.currentPage, this.getlistData(this.data);
|
||
}, headClass: function() {
|
||
return "text-align:center;background:#FAFAFA;";
|
||
}, handleImgClose: function() {
|
||
this.imgList = [], this.dialogImgVisible = false;
|
||
}, handlePosImgClose: function() {
|
||
this.posiotionImg = [], this.dialogPosVisible = false;
|
||
}, handleClose: function() {
|
||
this.exampleCheckList = [], this.imgType = 0, this.allImgList = [], this.allImgListFlat = [], this.allImgPage = { currentPage: 1, pageSize: 6, total: 0 }, this.examplesImageUrl = [], this.slImg = [], this.dialogVisible = false;
|
||
}, chunkArray: function(e2, t2) {
|
||
for (var a2 = null, s2 = null, n2 = [], i2 = 0; i2 < Math.ceil(e2.length / t2); i2++) a2 = i2 * t2, s2 = a2 + t2, n2.push(e2.slice(a2, s2));
|
||
return n2;
|
||
}, viewImplementImg: function(e2) {
|
||
this.viewLocationgImgItem = e2;
|
||
var t2 = e2.imageDataList;
|
||
t2.length > 0 ? this.imgList = this.chunkArray(t2, 6) : this.imgList = [], this.dialogImgVisible = true;
|
||
}, getImgType: function(e2) {
|
||
this.imgType = e2, this.exampleCheckList = [], 1 === e2 && this.queryAllImgByStandard();
|
||
}, queryStandByThisImg: function(e2) {
|
||
var t2 = this, a2 = { locationId: this.viewLocationgImgItem.locationUuid, planUuid: this.query.planUuid, projectUuid: this.$store.state.community_uuid, standardUuid: e2.standardUuid, targetUuid: e2.targetUuid, taskUuid: this.query.taskUuid };
|
||
Object(m["r"])(a2).then((function(e3) {
|
||
if (0 === e3.code) {
|
||
t2.dialogImgVisible = false;
|
||
var a3 = { type: 0, data: e3.data };
|
||
t2.imgType = 0, t2.tableClickInfor(a3);
|
||
}
|
||
}));
|
||
}, queryAllImgByStandard: function() {
|
||
var e2 = this, t2 = this.taskInfo, a2 = { locationId: t2.locationUuid, planUuid: t2.planUuid, projectUuid: this.$store.state.community_uuid, standardUuid: t2.standardUuid, targetUuid: t2.targetUuid, taskUuid: t2.taskUuid };
|
||
Object(m["u"])(a2).then((function(t3) {
|
||
if (0 === t3.code) {
|
||
var a3 = t3.data;
|
||
a3.length > 0 ? (e2.allImgListFlat = a3, e2.allImgPage.total = a3.length, e2.allImgPage.currentPage = 1) : (e2.allImgListFlat = [], e2.allImgPage.total = 0);
|
||
}
|
||
}));
|
||
}, handleAllImgSizeChange: function(e2) {
|
||
this.allImgPage.pageSize = e2, this.allImgPage.currentPage = 1;
|
||
}, handleAllImgCurrentChange: function(e2) {
|
||
this.allImgPage.currentPage = e2;
|
||
}, submitStandAudit: function(e2, t2) {
|
||
return 0 === t2.executeResult ? (this.$message({ type: "error", message: "请先执行作业标准之后再做评价!" }), false) : (console.log("val", t2), t2.taskRate ? t2.taskRate && t2.taskRate < 3 && !t2.memo ? (this.$message({ type: "error", message: "低于三分请输入评价" }), false) : (this.audit.taskRate = t2.taskRate ? t2.taskRate : 0, this.audit.taskUuid = t2.taskUuid, this.audit.standUuid = t2.standardUuid, this.audit.memo = t2.memo, this.audit.taskInspectionsStandardInfoId = t2.taskInspectionsStandardInfoId, this.audit.id = t2.id, void this.submitAudit(e2)) : (this.$message({ type: "error", message: "请选择评分" }), false));
|
||
}, submitAudit: function(e2) {
|
||
var t2 = this;
|
||
if (-1 === e2 && 0 === this.taskInfo.executeResult) return this.$message({ type: "error", message: "请先执行作业标准之后再做评价!" }), false;
|
||
this.audit.taskRate || this.$message({ type: "error", message: "请选择评分" }), Object(m["P"])(this.audit).then((function(a2) {
|
||
0 === a2.code ? (t2.$message({ type: "success", message: "提交成功" }), t2.handleClose(), e2 >= 0 && (t2.$set(t2.currentResulStandardList[e2], "auditScore", t2.audit.taskRate), t2.$set(t2.currentResulStandardList[e2], "auditRemark", t2.audit.memo), t2.$forceUpdate()), t2.getlistData(t2.data)) : t2.$message({ type: "error", message: "提交失败" });
|
||
}));
|
||
}, tableClickInfor: function(e2) {
|
||
1 !== this.data.status ? (console.log("tableClickInfor", e2), this.exampleCheckList = [], this.imgType = 0, this.allImgList = [], this.allImgListFlat = [], this.allImgPage = { currentPage: 1, pageSize: 5, total: 0 }, this.slImg = [], this.examplesImageUrl = [], this.taskInfo = e2.data, this.audit.taskRate = e2.data.auditScore ? e2.data.auditScore : 0, this.audit.taskUuid = e2.data.taskUuid, this.audit.standUuid = e2.data.standardUuid, this.audit.memo = e2.data.auditRemark, this.audit.taskInspectionsStandardInfoId = e2.data.taskInspectionsStandardInfoId, this.imageUrlList = e2.data.imageUrl && e2.data.imageUrl.length > 0 ? e2.data.imageUrl.split(";") : [], this.preImageUrlList = e2.data.preImageUrl && e2.data.preImageUrl.length > 0 ? e2.data.preImageUrl.split(";") : [], this.audit.id = e2.data.id, this.getExampleImgList(), this.dialogVisible = true) : this.$message({ type: "error", message: "该工单的执行标准还未执行,暂无执行记录" });
|
||
}, getExampleImgList: function() {
|
||
var e2 = this;
|
||
this.examplesImageUrl = [], this.slImg = [];
|
||
var t2 = { spaceUuid: this.taskInfo.spaceUuid, locationUuid: this.taskInfo.locationId, planUuid: this.taskInfo.planUuid, standardUuid: this.taskInfo.standardUuid, isPtuImage: 1 };
|
||
Object(v["gb"])(t2).then((function(t3) {
|
||
0 == t3.code && t3.data && (t3.data.forEach((function(t4) {
|
||
var a2 = { imageUrl: t4.examplesImageUrl, id: t4.id };
|
||
1 == t4.selected ? e2.examplesImageUrl.push(a2) : 2 == t4.selected && e2.slImg.push(a2);
|
||
})), console.log(e2.examplesImageUrl, "this.examplesImageUrl"), console.log(e2.slImg, "this.slImg"));
|
||
}));
|
||
}, handleCheckboxChange: function() {
|
||
this.exampleCheckList.length > 0 && this.setExampleImg(this.exampleCheckList);
|
||
}, setExampleImg: function(e2) {
|
||
var t2 = this, a2 = e2.map((function(e3) {
|
||
return { imageUrl: e3, id: e3 };
|
||
})), s2 = g(this.examplesImageUrl);
|
||
a2.forEach((function(e3) {
|
||
s2.some((function(t3) {
|
||
return t3.imageUrl === e3.imageUrl;
|
||
})) || s2.push(e3);
|
||
}));
|
||
var n2 = { taskInspectionsStandardAddReqDTOS: s2.map((function(e3) {
|
||
return { spaceUuid: t2.taskInfo.spaceUuid, locationId: t2.taskInfo.locationId, planUuid: t2.taskInfo.planUuid, standardUuid: t2.taskInfo.standardUuid, examplesImageUrl: e3.imageUrl, id: e3.id };
|
||
})) };
|
||
Object(v["cb"])(n2).then((function(e3) {
|
||
t2.$message({ message: "设置成功!", type: "success" }), t2.getExampleImgList(), t2.exampleCheckList = [];
|
||
}));
|
||
}, removeExampleImg: function(e2) {
|
||
var t2 = this;
|
||
console.log(e2, "val"), this.slImg = this.slImg.filter((function(t3) {
|
||
return !(t3.imageUrl === e2.imageUrl && t3.id === e2.id);
|
||
}));
|
||
var a2, s2 = [].concat(g(this.slImg), g(this.examplesImageUrl));
|
||
a2 = 0 === s2.length ? { taskInspectionsStandardAddReqDTOS: [{ spaceUuid: this.taskInfo.spaceUuid, locationId: this.taskInfo.locationId, planUuid: this.taskInfo.planUuid, standardUuid: this.taskInfo.standardUuid, examplesImageUrl: null, id: null }] } : { taskInspectionsStandardAddReqDTOS: s2.map((function(e3) {
|
||
return { spaceUuid: t2.taskInfo.spaceUuid, locationId: t2.taskInfo.locationId, planUuid: t2.taskInfo.planUuid, standardUuid: t2.taskInfo.standardUuid, examplesImageUrl: e3.imageUrl, id: e3.id };
|
||
})) }, Object(v["cb"])(a2).then((function(e3) {
|
||
t2.$message({ message: "移除成功!", type: "success" }), t2.getExampleImgList();
|
||
}));
|
||
}, removeExampleLibraryImg: function(e2) {
|
||
var t2 = this;
|
||
console.log(e2, "val"), this.examplesImageUrl = this.examplesImageUrl.filter((function(t3) {
|
||
return !(t3.imageUrl === e2.imageUrl && t3.id === e2.id);
|
||
}));
|
||
var a2, s2 = [].concat(g(this.slImg), g(this.examplesImageUrl));
|
||
a2 = 0 === s2.length ? { taskInspectionsStandardAddReqDTOS: [{ spaceUuid: this.taskInfo.spaceUuid, locationId: this.taskInfo.locationId, planUuid: this.taskInfo.planUuid, standardUuid: this.taskInfo.standardUuid, examplesImageUrl: null, id: null }] } : { taskInspectionsStandardAddReqDTOS: s2.map((function(e3) {
|
||
return { spaceUuid: t2.taskInfo.spaceUuid, locationId: t2.taskInfo.locationId, planUuid: t2.taskInfo.planUuid, standardUuid: t2.taskInfo.standardUuid, examplesImageUrl: e3.imageUrl, id: e3.id };
|
||
})) }, Object(v["cb"])(a2).then((function(e3) {
|
||
t2.$message({ message: "移除成功!", type: "success" }), t2.getExampleImgList();
|
||
}));
|
||
}, viewPositionImg: function(e2) {
|
||
this.posiotionImg = e2.locationImageDataList ? e2.locationImageDataList : [], this.dialogPosVisible = true;
|
||
}, updataOrderList: function(e2) {
|
||
this.relationOrderList = e2, this.relationOrderVisible = true;
|
||
}, showOrderDetaoles: function(e2) {
|
||
var t2 = this, a2 = { type: "new", postponeOrderNo: e2 };
|
||
this.relationOrderDetailesVisible = true, this.$nextTick((function() {
|
||
t2.$refs.workOrderDetails.getInfoLst(a2);
|
||
}));
|
||
}, chcekWorkOrder: function(e2) {
|
||
}, goBack: function() {
|
||
this.relationOrderDetailesVisible = false;
|
||
} } }, k = C, S = (a("3369"), Object(u["a"])(k, s, n, false, null, "0d515290", null));
|
||
t["a"] = S.exports;
|
||
}, cfb6: function(e, t, a) {
|
||
"use strict";
|
||
a.d(t, "a", (function() {
|
||
return n;
|
||
})), a.d(t, "b", (function() {
|
||
return i;
|
||
})), a.d(t, "c", (function() {
|
||
return l;
|
||
})), a.d(t, "e", (function() {
|
||
return r;
|
||
})), a.d(t, "g", (function() {
|
||
return o;
|
||
})), a.d(t, "h", (function() {
|
||
return c;
|
||
})), a.d(t, "d", (function() {
|
||
return u;
|
||
})), a.d(t, "f", (function() {
|
||
return d;
|
||
}));
|
||
var s = a("b775");
|
||
function n(e2) {
|
||
return Object(s["a"])({ url: "/space/DangerousSourceMonitor/createBatch", method: "post", data: e2 });
|
||
}
|
||
function i(e2) {
|
||
return Object(s["a"])({ url: "/space/DangerousSourceMonitor/findById", method: "post", data: e2 });
|
||
}
|
||
function l(e2) {
|
||
return Object(s["a"])({ url: "/space/DangerousSourceMonitor/pageList", method: "post", data: e2 });
|
||
}
|
||
function r(e2) {
|
||
return Object(s["a"])({ url: "/space/DangerousSourceMonitor/unrelatedPageList", method: "post", data: e2 });
|
||
}
|
||
function o(e2) {
|
||
return Object(s["a"])({ url: "/space/DangerousSourceMonitor/updateNextResetTime", method: "post", data: e2 });
|
||
}
|
||
function c(e2) {
|
||
return Object(s["a"])({ url: "/space/DangerousSourceMonitor/updateStatus", method: "post", data: e2 });
|
||
}
|
||
function u(e2) {
|
||
return Object(s["a"])({ url: "/space/DangerousSourceMonitor/relStandPageList", method: "post", data: e2 });
|
||
}
|
||
function d(e2) {
|
||
return Object(s["a"])({ url: "/space/DangerousSourceMonitor/updateMonitorStartTime", method: "post", data: e2 });
|
||
}
|
||
}, d31e: function(e, t, a) {
|
||
"use strict";
|
||
a.r(t);
|
||
var s = function() {
|
||
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
|
||
return a2("div", { staticClass: "app-container bgHeight" }, [a2("el-tabs", { attrs: { value: e2.activeName, type: "border-card" }, on: { "tab-click": e2.tabClick } }, [a2("el-tab-pane", { attrs: { label: "危险源云库", name: "hazardDescriptionList" } }, [a2("hazardDescriptionList", { ref: "hazardDescriptionList" })], 1), e2._v(" "), a2("el-tab-pane", { attrs: { label: "危险源识别", name: "hazardIdentificationList" } }, [a2("hazardIdentificationList", { ref: "hazardIdentificationList" })], 1)], 1)], 1);
|
||
}, n = [], i = function() {
|
||
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
|
||
return a2("div", [e2.servicelist ? a2("div", [a2("el-card", { staticClass: "box-card", attrs: { shadow: "never" } }, [a2("div", { ref: "box", staticClass: "searchStys transition_dom" }, [a2("el-form", { ref: "query", attrs: { model: e2.query } }, [a2("div", { ref: "form_box", staticClass: "searchBar" }, [a2("div", { staticClass: "searchInput" }, [a2("el-row", { attrs: { gutter: 20 } }, [a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "jobCategory" } }, [a2("el-select", { attrs: { placeholder: "危险源类", clearable: "" }, model: { value: e2.query.jobCategory, callback: function(t3) {
|
||
e2.$set(e2.query, "jobCategory", t3);
|
||
}, expression: "query.jobCategory" } }, e2._l(e2.workType2, (function(e3, t3) {
|
||
return a2("el-option", { key: t3, attrs: { label: e3.label, value: e3.value } });
|
||
})), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "dangerousTypeId" } }, [a2("el-select", { attrs: { placeholder: "危险源子类", filterable: "", clearable: "" }, model: { value: e2.query.dangerousTypeId, callback: function(t3) {
|
||
e2.$set(e2.query, "dangerousTypeId", t3);
|
||
}, expression: "query.dangerousTypeId" } }, e2._l(e2.dangerousSource, (function(e3, t3) {
|
||
return a2("el-option", { key: t3, attrs: { label: e3.name, value: e3.id } });
|
||
})), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "eventTypeList" } }, [a2("el-select", { attrs: { multiple: "", "collapse-tags": "", placeholder: "事故后果", filterable: "", clearable: "" }, model: { value: e2.query.eventTypeList, callback: function(t3) {
|
||
e2.$set(e2.query, "eventTypeList", t3);
|
||
}, expression: "query.eventTypeList" } }, e2._l(e2.taskType2, (function(e3, t3) {
|
||
return a2("el-option", { key: t3, attrs: { label: e3.label, value: e3.value } });
|
||
})), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "dangerousLevel" } }, [a2("el-select", { attrs: { placeholder: "无销项风险等级", clearable: "" }, model: { value: e2.query.dangerousLevel, callback: function(t3) {
|
||
e2.$set(e2.query, "dangerousLevel", t3);
|
||
}, expression: "query.dangerousLevel" } }, e2._l(e2.hazardLevel, (function(e3, t3) {
|
||
return a2("el-option", { key: t3, attrs: { label: e3.label, value: e3.value } });
|
||
})), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "currentDangerousLevel" } }, [a2("el-select", { attrs: { placeholder: "屏蔽后风险等级", clearable: "" }, model: { value: e2.query.currentDangerousLevel, callback: function(t3) {
|
||
e2.$set(e2.query, "currentDangerousLevel", t3);
|
||
}, expression: "query.currentDangerousLevel" } }, e2._l(e2.hazardLevel, (function(e3, t3) {
|
||
return a2("el-option", { key: t3, attrs: { label: e3.label, value: e3.value } });
|
||
})), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "locationName" } }, [a2("el-input", { attrs: { placeholder: "危险源网格/ID", clearable: "" }, model: { value: e2.query.locationName, callback: function(t3) {
|
||
e2.$set(e2.query, "locationName", t3);
|
||
}, expression: "query.locationName" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "targetName" } }, [a2("el-input", { attrs: { placeholder: "危险源名称/对象", clearable: "" }, model: { value: e2.query.targetName, callback: function(t3) {
|
||
e2.$set(e2.query, "targetName", t3);
|
||
}, expression: "query.targetName" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "status" } }, [a2("el-select", { attrs: { placeholder: "危险源状态", clearable: "" }, model: { value: e2.query.status, callback: function(t3) {
|
||
e2.$set(e2.query, "status", t3);
|
||
}, expression: "query.status" } }, e2._l(e2.hazardStatus, (function(e3, t3) {
|
||
return a2("el-option", { key: t3, attrs: { label: e3.label, value: e3.value } });
|
||
})), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "betweenDays" } }, [a2("el-input", { attrs: { placeholder: "危险源呈现间隔天数", clearable: "" }, model: { value: e2.query.betweenDays, callback: function(t3) {
|
||
e2.$set(e2.query, "betweenDays", t3);
|
||
}, expression: "query.betweenDays" } })], 1)], 1)], 1)], 1), e2._v(" "), a2("div", { staticClass: "searchBtn" }, [a2("el-form-item", [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], on: { click: function(t3) {
|
||
return e2.resetForm("query");
|
||
} } }, [e2._v("重置")]), e2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: e2.onSearch } }, [e2._v("查询")]), e2._v(" "), e2.is_show || "80px" == e2.height ? e2._e() : a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "text" }, on: { click: e2.upAndDown } }, [e2._v("展开"), a2("i", { staticClass: "el-icon-arrow-down" })]), e2._v(" "), e2.is_show && "80px" != e2.height ? a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "text" }, on: { click: e2.upAndDown } }, [e2._v("收起"), a2("i", { staticClass: "el-icon-arrow-up" })]) : e2._e()], 1)], 1)])])], 1)]), e2._v(" "), a2("el-card", { staticClass: "box-card", attrs: { shadow: "never" } }, [a2("div", { staticClass: "planLst", attrs: { slot: "header" }, slot: "header" }, [a2("span", { staticClass: "planTitle" }, [e2._v("危险源识别列表")]), e2._v(" "), a2("el-button", { attrs: { type: "primary" }, on: { click: e2.createdPlan } }, [e2._v("一键生成计划工单")])], 1), e2._v(" "), a2("el-table", { directives: [{ name: "loading", rawName: "v-loading", value: e2.listLoading, expression: "listLoading" }], ref: "tableList", attrs: { border: "", data: e2.listTable, "header-cell-style": e2.headClass, "tooltip-effect": "dark" }, on: { "selection-change": e2.selectChange } }, [a2("el-table-column", { attrs: { type: "selection", align: "center", width: "55", "show-overflow-tooltip": "" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "60", label: "危险源类", prop: "sourceType" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(e2._f("getItemType")(t3.row.jobCategory, e2.workType2)) + "\n ")];
|
||
} }], null, false, 667557743) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "100", label: "危险源子类", prop: "dangerousTypeName", "show-overflow-tooltip": "" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "150", label: "危险源名称", prop: "targetName", "show-overflow-tooltip": "" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "150", label: "危险源网格/ID", prop: "locationName", "show-overflow-tooltip": "" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "120", label: "事故后果", prop: "eventType", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(e2.filterStr(t3.row.eventType)) + "\n ")];
|
||
} }], null, false, 1438400509) }), e2._v(" "), a2("el-table-column", { attrs: { label: "无销项措施前风险评价" } }, [a2("el-table-column", { attrs: { align: "center", "min-width": "65", label: "可能性", prop: "possibility" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "65", label: "严重性", prop: "seriousness" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "65", label: "风险性", prop: "dangerousLevelScore" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "130", label: "风险等级", prop: "dangerousLevel" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("el-tag", { class: [3 == t3.row.dangerousLevel ? "danger-3" : 5 == t3.row.dangerousLevel ? "danger-5" : 6 == t3.row.dangerousLevel ? "danger-6" : 8 == t3.row.dangerousLevel ? "danger-8" : 9 == t3.row.dangerousLevel ? "danger-9" : ""], attrs: { size: "medium", effect: "dark" } }, [e2._v("\n " + e2._s(e2.filterDangerList(t3.row.dangerousLevel)) + "\n ")])];
|
||
} }], null, false, 105619136) })], 1), e2._v(" "), a2("el-table-column", { attrs: { label: "销项后风险评价" } }, [a2("el-table-column", { attrs: { align: "center", "min-width": "130", label: "风险等级", prop: "currentDangerousLevel" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("el-tag", { class: [3 == t3.row.currentDangerousLevel ? "danger-3" : 5 == t3.row.currentDangerousLevel ? "danger-5" : 6 == t3.row.currentDangerousLevel ? "danger-6" : 8 == t3.row.currentDangerousLevel ? "danger-8" : 9 == t3.row.currentDangerousLevel ? "danger-9" : ""], attrs: { size: "medium", effect: "dark" } }, [e2._v("\n " + e2._s(e2.filterDangerList(t3.row.currentDangerousLevel)) + "\n ")])];
|
||
} }], null, false, 2115835360) })], 1), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "130", prop: "betweenDays" } }, [a2("template", { slot: "header" }, [a2("span", [e2._v("危险源呈现间隔天数")]), e2._v(" "), a2("el-tooltip", { attrs: { placement: "top" } }, [a2("div", { attrs: { slot: "content" }, slot: "content" }, [a2("div", [e2._v("\n 默认危险源呈现间隔天数:根据标准里的频次来计算,日(1天),周(7天),月(30天),年(365天)\n ")]), e2._v(" "), a2("div", [e2._v("天数/频次=间隔天数")])]), e2._v(" "), a2("i", { staticClass: "el-icon-question" })])], 1)], 2), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "160", label: "危险源上次销项时间", prop: "lastResetTime" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "160", label: "危险源下次呈现时间", prop: "nextResetTime" } }, [a2("template", { slot: "header" }, [a2("span", [e2._v("危险源下次呈现时间")]), e2._v(" "), a2("el-tooltip", { attrs: { placement: "top" } }, [a2("div", { attrs: { slot: "content" }, slot: "content" }, [a2("div", [e2._v("\n 【如不自动更新,请检查“系统设置/项目设置/专业设置/危险源重置”检查是否配置为“重置”】\n ")])]), e2._v(" "), a2("i", { staticClass: "el-icon-question" })])], 1)], 2), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "70", label: "状态", prop: "status" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(e2._f("getItemType")(t3.row.status, e2.hazardStatus)) + "\n ")];
|
||
} }], null, false, 2435491511) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "150", label: "危险作业场景", prop: "sceneName" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "120", label: "危险对象类型", prop: "targetType" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(e2._f("getItemType")(t3.row.targetType, e2.targetTypeList)) + "\n ")];
|
||
} }], null, false, 1932053297) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "100", label: "操作人", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.updaterName || "-") + "\n ")];
|
||
} }], null, false, 2276596756) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "160", label: "操作时间", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.updateTime || "-") + "\n ")];
|
||
} }], null, false, 2696918868) }), e2._v(" "), a2("el-table-column", { attrs: { label: "操作", align: "center", fixed: "right", "min-width": "150" }, 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.seeDetail(t3.row, "view");
|
||
} } }, [e2._v("查看")]), e2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "text" }, on: { click: function(a3) {
|
||
return e2.seeDetail(t3.row, "edit");
|
||
} } }, [e2._v("编辑")]), e2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "text" }, on: { click: function(a3) {
|
||
return e2.updataStatus(t3.row);
|
||
} } }, [e2._v(e2._s(1 === t3.row.status ? "禁用" : "启用"))])];
|
||
} }], null, false, 781405327) })], 1), e2._v(" "), a2("div", { staticClass: "paginations" }, [a2("el-pagination", { attrs: { background: "", "current-page": e2.query.pageNumber, "page-sizes": [10, 30, 50, 100, 200], "page-size": e2.query.pageSize, layout: "total, sizes, prev, pager, next, jumper", total: e2.pageTotal }, on: { "update:currentPage": function(t3) {
|
||
return e2.$set(e2.query, "pageNumber", t3);
|
||
}, "update:current-page": function(t3) {
|
||
return e2.$set(e2.query, "pageNumber", t3);
|
||
}, "size-change": e2.handleSizeChange, "current-change": e2.handleCurrentChange } })], 1)], 1)], 1) : e2._e(), e2._v(" "), e2.serviceDetailes ? a2("div", [a2("hazardIdentificationDel", { ref: "hazardIdentificationDel", attrs: { type: e2.detailesStatus }, on: { goBack: e2.showViewList } })], 1) : e2._e()]);
|
||
}, l = [], r = a("dce5"), o = a("8f53"), c = a("fe59"), u = function() {
|
||
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
|
||
return a2("div", { staticClass: "ruleGroupInfo" }, [a2("el-card", { staticClass: "box-card" }, [a2("el-page-header", { staticClass: "vote-title", attrs: { content: e2.content }, on: { back: e2.goBack } }), e2._v(" "), a2("div", { staticClass: "vote-form" }, [a2("el-form", { ref: "detailes", attrs: { model: e2.detailes, rules: e2.detailesRelus, "label-width": e2.formLabelWidth } }, [a2("el-row", { attrs: { gutter: 24 } }, [a2("el-col", { attrs: { span: 24 } }, [a2("el-form-item", { attrs: { label: "危险源类型", prop: "dangerousTypeName" } }, [a2("el-input", { attrs: { disabled: "", placeholder: "请输入危险源类型" }, model: { value: e2.detailes.dangerousTypeName, callback: function(t3) {
|
||
e2.$set(e2.detailes, "dangerousTypeName", t3);
|
||
}, expression: "detailes.dangerousTypeName" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 8 } }, [a2("el-form-item", { attrs: { label: "危险作业场景", prop: "sceneName" } }, [a2("el-input", { attrs: { disabled: "", placeholder: "请输入危险作业场景", maxlength: "30", "show-word-limit": "" }, model: { value: e2.detailes.sceneName, callback: function(t3) {
|
||
e2.$set(e2.detailes, "sceneName", t3);
|
||
}, expression: "detailes.sceneName" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 8 } }, [a2("el-form-item", { attrs: { label: "危险源分类", prop: "sourceType" } }, [a2("el-select", { attrs: { placeholder: "危险源分类", disabled: "" }, model: { value: e2.detailes.sourceType, callback: function(t3) {
|
||
e2.$set(e2.detailes, "sourceType", t3);
|
||
}, expression: "detailes.sourceType" } }, e2._l(e2.hazardClassification, (function(e3, t3) {
|
||
return a2("el-option", { key: t3, attrs: { label: e3.label, value: e3.value } });
|
||
})), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 8 } }, [a2("el-form-item", { attrs: { label: "当前危险等级", prop: "currentDangerousLevel" } }, [a2("el-input", { attrs: { disabled: "", placeholder: "请输入当前危险等级", maxlength: "30", "show-word-limit": "" }, model: { value: e2.detailes.currentDangerousLevel, callback: function(t3) {
|
||
e2.$set(e2.detailes, "currentDangerousLevel", t3);
|
||
}, expression: "detailes.currentDangerousLevel" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 8 } }, [a2("el-form-item", { attrs: { label: "危险区域", prop: "locationName" } }, [a2("el-input", { attrs: { disabled: "", placeholder: "请输入危险区域", maxlength: "30", "show-word-limit": "" }, model: { value: e2.detailes.locationName, callback: function(t3) {
|
||
e2.$set(e2.detailes, "locationName", t3);
|
||
}, expression: "detailes.locationName" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 8 } }, [a2("el-form-item", { attrs: { label: "危险源状态", prop: "status" } }, [a2("el-select", { attrs: { placeholder: "危险源状态", disabled: "" }, model: { value: e2.detailes.status, callback: function(t3) {
|
||
e2.$set(e2.detailes, "status", t3);
|
||
}, expression: "detailes.status" } }, e2._l(e2.hazardStatus, (function(e3, t3) {
|
||
return a2("el-option", { key: t3, attrs: { label: e3.label, value: e3.value } });
|
||
})), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 8 } }, [a2("el-form-item", { attrs: { label: "危险源上次销项时间", prop: "lastResetTime" } }, [a2("el-input", { attrs: { disabled: "", placeholder: "危险源上次销项时间", maxlength: "30", "show-word-limit": "" }, model: { value: e2.detailes.lastResetTime, callback: function(t3) {
|
||
e2.$set(e2.detailes, "lastResetTime", t3);
|
||
}, expression: "detailes.lastResetTime" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 8 } }, [a2("el-form-item", { attrs: { label: "危险对象类型", prop: "targetType" } }, [a2("el-select", { attrs: { placeholder: "危险对象类型", disabled: "" }, model: { value: e2.detailes.targetType, callback: function(t3) {
|
||
e2.$set(e2.detailes, "targetType", t3);
|
||
}, expression: "detailes.targetType" } }, e2._l(e2.targetTypeList, (function(e3, t3) {
|
||
return a2("el-option", { key: t3, attrs: { label: e3.label, value: e3.value } });
|
||
})), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 8 } }, [a2("el-form-item", { attrs: { label: "事故后果", prop: "eventType" } }, [a2("el-select", { attrs: { placeholder: "事故后果", clearable: "", "collapse-tags": "", filterable: "", multiple: "", disabled: "" }, model: { value: e2.detailes.eventType, callback: function(t3) {
|
||
e2.$set(e2.detailes, "eventType", t3);
|
||
}, expression: "detailes.eventType" } }, e2._l(e2.taskType2, (function(e3, t3) {
|
||
return a2("el-option", { key: t3, attrs: { label: e3.label, value: e3.value } });
|
||
})), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 8 } }, [a2("el-form-item", { attrs: { label: "呈现间隔天数", prop: "betweenDays" } }, [a2("el-input-number", { attrs: { disabled: "edit" != e2.type, min: 1, max: 365 }, model: { value: e2.detailes.betweenDays, callback: function(t3) {
|
||
e2.$set(e2.detailes, "betweenDays", t3);
|
||
}, expression: "detailes.betweenDays" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 8 } }, [a2("el-form-item", { attrs: { label: "危险对象", prop: "targetName" } }, [a2("el-input", { attrs: { disabled: "", placeholder: "请输入危险对象" }, model: { value: e2.detailes.targetName, callback: function(t3) {
|
||
e2.$set(e2.detailes, "targetName", t3);
|
||
}, expression: "detailes.targetName" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 8 } }, [a2("el-form-item", { attrs: { label: "默认危险等级", prop: "dangerousLevel" } }, [a2("el-input", { attrs: { disabled: "", placeholder: "请输入默认危险等级", maxlength: "30", "show-word-limit": "" }, model: { value: e2.detailes.dangerousLevel, callback: function(t3) {
|
||
e2.$set(e2.detailes, "dangerousLevel", t3);
|
||
}, expression: "detailes.dangerousLevel" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 8 } }, [a2("el-form-item", { attrs: { label: "危险源下次呈现时间", prop: "nextResetTime" } }, [a2("el-input", { attrs: { disabled: "", placeholder: "请输入危险源下次呈现时间", maxlength: "30", "show-word-limit": "" }, model: { value: e2.detailes.nextResetTime, callback: function(t3) {
|
||
e2.$set(e2.detailes, "nextResetTime", t3);
|
||
}, expression: "detailes.nextResetTime" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 8 } }, [a2("el-form-item", { attrs: { label: "创建人", prop: "creatorName" } }, [a2("el-input", { attrs: { disabled: "", placeholder: "请输入创建人", maxlength: "30", "show-word-limit": "" }, model: { value: e2.detailes.creatorName, callback: function(t3) {
|
||
e2.$set(e2.detailes, "creatorName", t3);
|
||
}, expression: "detailes.creatorName" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 8 } }, [a2("el-form-item", { attrs: { label: "创建时间", prop: "createTime" } }, [a2("el-input", { attrs: { disabled: "", placeholder: "请输入创建时间", maxlength: "30", "show-word-limit": "" }, model: { value: e2.detailes.createTime, callback: function(t3) {
|
||
e2.$set(e2.detailes, "createTime", t3);
|
||
}, expression: "detailes.createTime" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 8 } }, [a2("el-form-item", { attrs: { label: "更新人", prop: "updaterName" } }, [a2("el-input", { attrs: { disabled: "", placeholder: "请输入更新人", maxlength: "30", "show-word-limit": "" }, model: { value: e2.detailes.updaterName, callback: function(t3) {
|
||
e2.$set(e2.detailes, "updaterName", t3);
|
||
}, expression: "detailes.updaterName" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 8 } }, [a2("el-form-item", { attrs: { label: "更新时间", prop: "updateTime" } }, [a2("el-input", { attrs: { disabled: "", placeholder: "请输入更新时间", maxlength: "30", "show-word-limit": "" }, model: { value: e2.detailes.updateTime, callback: function(t3) {
|
||
e2.$set(e2.detailes, "updateTime", t3);
|
||
}, expression: "detailes.updateTime" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 8 } }, [a2("el-form-item", { attrs: { label: "默认危险源等级类型", prop: "dangerousLevel" } }, [a2("el-input", { attrs: { disabled: "", placeholder: "请输入默认危险等级", maxlength: "30", "show-word-limit": "" }, model: { value: e2.detailes.filterDangerousLevel, callback: function(t3) {
|
||
e2.$set(e2.detailes, "filterDangerousLevel", t3);
|
||
}, expression: "detailes.filterDangerousLevel" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 8 } }, [a2("el-form-item", { attrs: { label: "当前危险源等级类型", prop: "currentDangerousLevel" } }, [a2("el-input", { attrs: { disabled: "", placeholder: "请输入当前危险等级", maxlength: "30", "show-word-limit": "" }, model: { value: e2.detailes.filterCurrentDangerousLevel, callback: function(t3) {
|
||
e2.$set(e2.detailes, "filterCurrentDangerousLevel", t3);
|
||
}, expression: "detailes.filterCurrentDangerousLevel" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 8 } }, [a2("el-form-item", { attrs: { label: "启动时间", prop: "currentDangerousLevel" } }, [a2("el-date-picker", { attrs: { disabled: e2.changeMonitorStartTimeDisabled(), type: "datetime", placeholder: "选择日期时间", format: "yyyy-MM-dd HH:mm:ss", "value-format": "yyyy-MM-dd HH:mm:ss" }, model: { value: e2.detailes.monitorStartTime, callback: function(t3) {
|
||
e2.$set(e2.detailes, "monitorStartTime", t3);
|
||
}, expression: "detailes.monitorStartTime" } })], 1)], 1)], 1)], 1)], 1), e2._v(" "), a2("div", { staticClass: "vote-submit-options" }, [a2("el-button", { on: { click: e2.goBack } }, [e2._v("返回")]), e2._v(" "), "edit" == e2.type ? a2("el-button", { attrs: { type: "primary", loading: e2.btnLoading }, on: { click: e2.submitDetailes } }, [e2._v("保存")]) : e2._e()], 1), e2._v(" "), a2("div", { staticClass: "detail_action" }, [a2("el-tabs", { model: { value: e2.activeName, callback: function(t3) {
|
||
e2.activeName = t3;
|
||
}, expression: "activeName" } }, [a2("el-tab-pane", { attrs: { label: "措施", name: "measure" } }, [a2("measureList", { attrs: { detail: e2.detailes } })], 1), e2._v(" "), a2("el-tab-pane", { attrs: { label: "措施计划", name: "action" } }, [a2("actionPlan", { attrs: { detail: e2.detailes } })], 1), e2._v(" "), a2("el-tab-pane", { attrs: { label: "安全措施", name: "safe" } }, [a2("safeList", { attrs: { detail: e2.detailes, typeList: e2.sceneList } })], 1), e2._v(" "), a2("el-tab-pane", { attrs: { label: "紧急事件预案", name: "plan" } }, [a2("planList", { attrs: { detail: e2.detailes, typeList: e2.sceneList } })], 1)], 1)], 1)], 1)], 1);
|
||
}, d = [], p = a("cfb6"), m = a("be96"), v = function() {
|
||
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
|
||
return a2("div", [a2("div", [a2("el-table", { attrs: { data: e2.tableData, border: "", "header-cell-style": e2.headClass } }, [a2("el-table-column", { attrs: { label: "#", align: "center", "min-width": "50", fixed: "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("span", [e2._v(e2._s(t3.$index + (e2.query.pageNumber - 1) * e2.query.pageSize + 1) + "\n ")])];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "危险源描述", fixed: "", "min-width": "160", prop: "eventName", "show-overflow-tooltip": "" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "作业标准", "min-width": "120", prop: "serviceDesc", "show-overflow-tooltip": "" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "后果描述", "min-width": "120", prop: "checkDesc", "show-overflow-tooltip": "" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "标准分值", "min-width": "100", prop: "performanceScore", "show-overflow-tooltip": "" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "扣分标准", "min-width": "120", prop: "deductionStandard", "show-overflow-tooltip": "" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "单项扣分比例", "min-width": "120", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v(e2._s(t3.row.deductionRate ? (100 * t3.row.deductionRate).toFixed(2) + "%" : "-"))];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "整改措施", "min-width": "100", prop: "rectificationMeasures", "show-overflow-tooltip": "" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "当前发生可能性", "min-width": "140", prop: "currentPossibility", "show-overflow-tooltip": "" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "当前严重性", "min-width": "100", prop: "currentSeriousness", "show-overflow-tooltip": "" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "作业菜单分类", "min-width": "120", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(e2._f("getItemType")(t3.row.controlType, e2.planModeLArr)) + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "作业分类", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(e2._f("getItemType")(t3.row.jobCategory, e2.workType)) + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "专业分类", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(e2._f("getItemType")(t3.row.professionalCategory, e2.professionalList)) + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "100", label: "最近更新人", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v(e2._s(t3.row.updateUserName || "-"))];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "180", label: "更新时间", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v(e2._s(t3.row.updateDate || "-"))];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { label: "操作", align: "center", fixed: "right", "min-width": "80" }, 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.seeDetail(t3.row);
|
||
} } }, [e2._v("查看")])];
|
||
} }]) })], 1), e2._v(" "), a2("div", { staticClass: "pagination" }, [a2("el-pagination", { attrs: { "current-page": e2.query.pageNumber, "page-sizes": [10, 20, 30, 100], "page-size": e2.query.pageSize, layout: "total, sizes, prev, pager, next, jumper", total: e2.pageTotal }, on: { "update:currentPage": function(t3) {
|
||
return e2.$set(e2.query, "pageNumber", t3);
|
||
}, "update:current-page": function(t3) {
|
||
return e2.$set(e2.query, "pageNumber", t3);
|
||
}, "size-change": e2.handleOrderSizeChange, "current-change": e2.handleOrderCurrentChange } })], 1)], 1), e2._v(" "), a2("el-drawer", { attrs: { title: "措施详情", size: "20%", visible: e2.drawerShow, direction: e2.direction, "before-close": e2.handleClose }, on: { "update:visible": function(t3) {
|
||
e2.drawerShow = t3;
|
||
} } }, [a2("div", { staticClass: "showSeeMain" }, [a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("危险源描述:")]), e2._v(" "), a2("div", { staticClass: "txtStyle" }, [e2._v(e2._s(e2.info.eventName || "-"))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("作业标准:")]), e2._v(" "), a2("div", { staticClass: "txtStyle" }, [e2._v(e2._s(e2.info.serviceDesc || "-"))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("后果描述:")]), e2._v(" "), a2("div", { staticClass: "txtStyle" }, [e2._v(e2._s(e2.info.checkDesc || "-"))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("图片上传:")]), e2._v(" "), a2("div", { staticClass: "txtStyle" }, [e2._v("\n " + e2._s(1 == e2.info.isShowCapture ? "是" : 2 == e2.info.isShowCapture ? "否" : "-") + "\n ")])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("轻量化标准:")]), e2._v(" "), a2("div", { staticClass: "txtStyle" }, [e2._v("\n " + e2._s(1 == e2.info.isLightWeight ? "是" : 2 == e2.info.isLightWeight ? "否" : "-") + "\n ")])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("允许照片来自相册:")]), e2._v(" "), a2("div", { staticClass: "txtStyle" }, [e2._v("\n " + e2._s(1 == e2.info.photoAlbum ? "是" : 2 == e2.info.photoAlbum ? "否" : "-") + "\n ")])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("定量:")]), e2._v(" "), a2("div", { staticClass: "txtStyle" }, [e2._v("\n " + e2._s(e2.info.spuQuantity ? e2.info.spuQuantity : "-") + "\n ")])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("定价:")]), e2._v(" "), a2("div", { staticClass: "txtStyle" }, [e2._v(e2._s(e2.info.spuSpend ? e2.info.spuSpend : "-"))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("价值:")]), e2._v(" "), a2("div", { staticClass: "txtStyle" }, [e2._v("\n " + e2._s(e2.info.spuLaborResource ? e2.info.spuLaborResource : "-") + "\n ")])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("标准分值:")]), e2._v(" "), a2("span", [e2._v(e2._s(e2.info.performanceScore || "-"))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("扣分标准:")]), e2._v(" "), a2("div", [e2._v(e2._s(e2.info.deductionStandard || "-"))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("单项扣分比例:")]), e2._v(" "), a2("span", [e2._v(e2._s(e2.info.deductionRate ? (100 * e2.info.deductionRate).toFixed(2) + "%" : "-"))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("整改措施:")]), e2._v(" "), a2("div", [e2._v(e2._s(e2.info.rectificationMeasures || "-"))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("版本号:")]), e2._v(" "), a2("span", [e2._v(e2._s(e2.info.versionNumber ? "v" + e2.info.versionNumber : "-"))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("作业菜单分类:")]), e2._v(" "), a2("span", [e2._v(e2._s(e2._f("getItemType")(e2.info.controlType, e2.planModeLArr)))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("作业分类:")]), e2._v(" "), a2("span", [e2._v(e2._s(e2._f("getItemType")(e2.info.jobCategory, e2.workType)))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("事故后果:")]), e2._v(" "), a2("span", [e2._v(e2._s(e2.filterStr(e2.info.eventType)))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("专业分类:")]), e2._v(" "), a2("span", [e2._v(e2._s(e2._f("getItemType")(e2.info.professionalCategory, e2.professionalList)))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("危险源类型:")]), e2._v(" "), a2("span", [e2._v(e2._s(e2.info.subcontractingCategoryName || "-"))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("内外分类:")]), e2._v(" "), a2("span", [e2._v(e2._s(e2._f("getItemType")(e2.info.internalExternalCategory, e2.aroundClsssArr)))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("固移分类:")]), e2._v(" "), a2("span", [e2._v(e2._s(e2._f("getItemType")(e2.info.movementCategory, e2.fixedClsssArr)))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("查办分类:")]), e2._v(" "), a2("span", [e2._v(e2._s(e2._f("getItemType")(e2.info.investigationCategory, e2.investigationClsssArr)))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("对象分类:")]), e2._v(" "), a2("span", [e2._v(e2._s(e2._f("getItemType")(e2.info.objectCategory, e2.objClsssArr)))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("发生可能性:")]), e2._v(" "), a2("span", [e2._v(e2._s(e2._f("getItemType")(e2.info.possibility, e2.seriousnessList)))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("严重性:")]), e2._v(" "), a2("span", [e2._v(e2._s(e2._f("getItemType")(e2.info.seriousness, e2.seriousnessList)))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("风险度:")]), e2._v(" "), a2("span", [e2._v(e2._s(e2.culRiskLevel(e2.info)))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("专业等级:")]), e2._v(" "), a2("span", [e2._v(e2._s(e2.info.professionalLevel || "-"))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("安全等级:")]), e2._v(" "), a2("span", [e2._v(e2._s(e2.info.dangerousLevel || "-"))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("重要等级:")]), e2._v(" "), a2("span", [e2._v(e2._s(e2.info.importantLevel || "-"))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("温度:")]), e2._v(" "), a2("span", [e2._v(e2._s(e2.info.temperatureLevel || "-"))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("私密度:")]), e2._v(" "), a2("span", [e2._v(e2._s(e2.info.privacyLevel || "-"))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("职责归属:")]), e2._v(" "), a2("span", [e2._v(e2._s(e2.info.jobName || "-"))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("参考频次:")]), e2._v(" "), a2("span", [e2._v(e2._s(e2.info.freName || "-"))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("人:")]), e2._v(" "), a2("span", [e2._v(e2._s(e2.info.c1 || "-"))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("财:")]), e2._v(" "), a2("span", [e2._v(e2._s(e2.info.c2 || "-"))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("事:")]), e2._v(" "), a2("span", [e2._v(e2._s(e2.info.c3 || "-"))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("物:")]), e2._v(" "), a2("span", [e2._v(e2._s(e2.info.c4 || "-"))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("星级:")]), e2._v(" "), a2("span", [e2._v(e2._s(e2.info.star || "-"))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("四个全员:")]), e2._v(" "), a2("span", [e2._v(e2._s(e2._f("getItemType")(e2.info.fullParticipation, e2.allList)))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("引用次数:")]), e2._v(" "), a2("span", [e2._v(e2._s(e2.info.citedNum || "-"))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("最近更新人:")]), e2._v(" "), a2("span", [e2._v(e2._s(e2.info.updateUserName || "-"))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("更新时间:")]), e2._v(" "), a2("span", [e2._v(e2._s(e2.info.updateDate || "-"))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("备注:")]), e2._v(" "), a2("div", [e2._v(e2._s(e2.info.remark || "-"))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("图片:")]), e2._v(" "), e2.info.standImageUrl ? a2("div", e2._l(e2.formatImg(e2.info.standImageUrl), (function(t3, s2) {
|
||
return a2("el-image", { key: s2, staticStyle: { width: "100px" }, attrs: { src: t3, "preview-src-list": e2.formatImg(e2.info.standImageUrl) } });
|
||
})), 1) : a2("span", [e2._v("-")])])])])], 1);
|
||
}, f = [], g = a("0b37");
|
||
function h(e2) {
|
||
return h = "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;
|
||
}, h(e2);
|
||
}
|
||
var _ = { props: { detail: { type: Object, default: function() {
|
||
return {};
|
||
} } }, data: function() {
|
||
return { planModeLArr: o["w"], workType: o["M"], professionalList: o["A"], allList: o["d"], seriousnessList: r["fc"], objClsssArr: o["q"], investigationClsssArr: o["m"], fixedClsssArr: o["h"], aroundClsssArr: o["e"], taskType2: r["sc"], tableData: [], query: { pageSize: 10, pageNumber: 1 }, pageTotal: 0, drawerShow: false, direction: "rtl", info: {} };
|
||
}, watch: { detail: { handler: function(e2) {
|
||
this.getRelStandList();
|
||
}, deep: true } }, mounted: function() {
|
||
}, methods: { filterStr: function(e2) {
|
||
var t2 = this;
|
||
if (e2 || 0 === e2) {
|
||
var a2 = "string" === typeof e2 ? e2 : String(e2);
|
||
if (console.log(a2, "str"), console.log(h(a2), "str++++++++++++++"), "string" === typeof a2 && a2.includes(",")) {
|
||
var s2 = a2.split(",").map((function(e3) {
|
||
return Number(e3);
|
||
}));
|
||
return s2.map((function(e3) {
|
||
var a3 = t2.taskType2.find((function(t3) {
|
||
return t3.value == e3;
|
||
}));
|
||
return a3 ? a3.label : "未知";
|
||
})).join("/");
|
||
}
|
||
var n2 = this.taskType2.find((function(e3) {
|
||
return e3.value == Number(a2);
|
||
}));
|
||
return n2 ? n2.label : "-";
|
||
}
|
||
return "-";
|
||
}, getRelStandList: function() {
|
||
var e2 = this, t2 = { id: this.detail.id, pageSize: this.query.pageSize, pageNumber: this.query.pageNumber };
|
||
Object(p["d"])(t2).then((function(t3) {
|
||
0 === t3.code ? (e2.tableData = t3.data.records, e2.pageTotal = t3.data.rowsCount) : (e2.tableData = [], e2.pageTotal = 0);
|
||
}));
|
||
}, handleOrderSizeChange: function(e2) {
|
||
this.query.pageSize = e2, this.query.pageNumber = 1, this.getRelStandList();
|
||
}, handleOrderCurrentChange: function(e2) {
|
||
this.query.pageNumber = e2, this.getRelStandList();
|
||
}, resetForm: function() {
|
||
this.query.pageNumber = 1, this.getRelStandList();
|
||
}, seeDetail: function(e2) {
|
||
this.info = e2, this.drawerShow = true;
|
||
}, handleClose: function(e2) {
|
||
e2();
|
||
}, culRiskLevel: function(e2) {
|
||
return e2 && e2.possibility && e2.seriousness ? Object(g["c"])(e2.possibility, e2.seriousness) : "-";
|
||
}, formatImg: function(e2) {
|
||
if (e2) return e2.split(",");
|
||
}, headClass: function() {
|
||
return "text-align:center;background:#FAFAFA;";
|
||
} } }, b = _, y = (a("df0c"), a("829d")), w = Object(y["a"])(b, v, f, false, null, "0e317c42", null), C = w.exports, k = function() {
|
||
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
|
||
return a2("div", [a2("el-table", { attrs: { data: e2.tableData, border: "", "header-cell-style": e2.headClass } }, [a2("el-table-column", { attrs: { label: "#", align: "center", width: "80", fixed: "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("span", [e2._v(e2._s(t3.$index + (e2.query.pageNumber - 1) * e2.query.pageSize + 1) + "\n ")])];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "计划名称", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.planName || "-") + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "计划类型", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(e2._f("getItemType")(t3.row.planModel, e2.planModeLArr)) + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "计划编码", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.planNo || "-") + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { label: "操作", align: "center", fixed: "right", "min-width": "80" }, 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.seeDetail(t3.row);
|
||
} } }, [e2._v("查看")])];
|
||
} }]) })], 1), e2._v(" "), a2("div", { staticClass: "pagination" }, [a2("el-pagination", { attrs: { "current-page": e2.query.pageNumber, "page-sizes": [10, 20, 30, 100], "page-size": e2.query.pageSize, layout: "total, sizes, prev, pager, next, jumper", total: e2.pageTotal }, on: { "update:currentPage": function(t3) {
|
||
return e2.$set(e2.query, "pageNumber", t3);
|
||
}, "update:current-page": function(t3) {
|
||
return e2.$set(e2.query, "pageNumber", t3);
|
||
}, "size-change": e2.handleOrderSizeChange, "current-change": e2.handleOrderCurrentChange } })], 1), e2._v(" "), a2("el-dialog", { attrs: { title: "危险源计划详情", visible: e2.detailVisible, width: "80%" }, on: { "update:visible": function(t3) {
|
||
e2.detailVisible = t3;
|
||
}, close: e2.handleClose } }, [a2("taskHistory", { attrs: { planModel: e2.planModel, planNo: e2.planNo } })], 1)], 1);
|
||
}, S = [], I = a("f8b7"), T = a("5cfe"), L = { props: { detail: { type: Object, default: function() {
|
||
return {};
|
||
} } }, components: { taskHistory: T["a"] }, data: function() {
|
||
return { detailVisible: false, planModeLArr: o["w"], workType: o["M"], professionalList: o["A"], tableData: [], query: { pageSize: 10, pageNumber: 1 }, pageTotal: 0, planModel: 0, planNo: "" };
|
||
}, watch: { detail: { handler: function(e2) {
|
||
this.getList();
|
||
}, deep: true } }, mounted: function() {
|
||
}, methods: { getList: function() {
|
||
var e2 = this, t2 = { projectUuid: this.$store.state.community_uuid, dangerSource: 1, dangerousSourceMonitorId: this.detail.id, pageSize: this.query.pageSize, pageNumber: this.query.pageNumber };
|
||
Object(I["A"])(t2).then((function(t3) {
|
||
0 === t3.code ? (e2.tableData = t3.data.records, e2.pageTotal = t3.data.rowsCount) : (e2.tableData = [], e2.pageTotal = 0);
|
||
}));
|
||
}, handleOrderSizeChange: function(e2) {
|
||
this.query.pageSize = e2, this.query.pageNumber = 1, this.getList();
|
||
}, handleOrderCurrentChange: function(e2) {
|
||
this.query.pageNumber = e2, this.getList();
|
||
}, resetForm: function() {
|
||
this.query.pageNumber = 1, this.getList();
|
||
}, seeDetail: function(e2) {
|
||
this.detailVisible = true, this.planNo = e2.planNo;
|
||
}, handleClose: function() {
|
||
this.detailVisible = false;
|
||
}, headClass: function() {
|
||
return "text-align:center;background:#FAFAFA;";
|
||
} } }, x = L, D = (a("51bc"), Object(y["a"])(x, k, S, false, null, "4bf8772b", null)), N = D.exports, q = function() {
|
||
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
|
||
return a2("div", [a2("el-table", { attrs: { data: e2.tableData, border: "", "header-cell-style": e2.headClass } }, [a2("el-table-column", { attrs: { label: "#", align: "center", width: "80", fixed: "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("span", [e2._v(e2._s(t3.$index + (e2.query.pageNumber - 1) * e2.query.pageSize + 1) + "\n ")])];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "预案名称", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.name || "-") + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "预案场景", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(e2._f("getItemType")(t3.row.sceneMenuId, e2.typeList)) + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "预案类型", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(e2._f("getItemType")(t3.row.type, e2.sceneTypeList)) + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "执行实战", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.actualTimes) + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "执行演练", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.drillTimes || 0) + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { label: "操作", align: "center", fixed: "right", "min-width": "80" }, 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.seeDetail(t3.row);
|
||
} } }, [e2._v("查看")])];
|
||
} }]) })], 1), e2._v(" "), a2("div", { staticClass: "pagination" }, [a2("el-pagination", { attrs: { "current-page": e2.query.pageNumber, "page-sizes": [10, 20, 30, 100], "page-size": e2.query.pageSize, layout: "total, sizes, prev, pager, next, jumper", total: e2.pageTotal }, on: { "update:currentPage": function(t3) {
|
||
return e2.$set(e2.query, "pageNumber", t3);
|
||
}, "update:current-page": function(t3) {
|
||
return e2.$set(e2.query, "pageNumber", t3);
|
||
}, "size-change": e2.handleOrderSizeChange, "current-change": e2.handleOrderCurrentChange } })], 1)], 1);
|
||
}, O = [], U = { props: { detail: { type: Object, default: function() {
|
||
return {};
|
||
} }, typeList: { type: Array, default: function() {
|
||
return [];
|
||
} } }, data: function() {
|
||
return { planModeLArr: o["w"], workType: o["M"], professionalList: o["A"], sceneTypeList: r["ec"], tableData: [], query: { pageSize: 10, pageNumber: 1 }, pageTotal: 0 };
|
||
}, watch: { detail: { handler: function(e2) {
|
||
this.getList();
|
||
}, deep: true } }, mounted: function() {
|
||
}, methods: { getList: function() {
|
||
var e2 = this, t2 = { projectUuid: this.$store.state.community_uuid, dangerousSourceMonitorId: this.detail.id, type: 1, pageSize: this.query.pageSize, pageNumber: this.query.pageNumber };
|
||
Object(m["e"])(t2).then((function(t3) {
|
||
0 === t3.code ? (e2.tableData = t3.data.records, e2.pageTotal = t3.data.rowsCount) : (e2.tableData = [], e2.pageTotal = 0);
|
||
}));
|
||
}, handleOrderSizeChange: function(e2) {
|
||
this.query.pageSize = e2, this.query.pageNumber = 1, this.getList();
|
||
}, handleOrderCurrentChange: function(e2) {
|
||
this.query.pageNumber = e2, this.getList();
|
||
}, resetForm: function() {
|
||
this.query.pageNumber = 1, this.getList();
|
||
}, seeDetail: function(e2) {
|
||
this.$router.push({ path: "/propertySMG/securityProduction/rectificationImplementation/emergencyPlan", query: { name: e2.name, type: e2.type, sceneMenuId: e2.sceneMenuId } });
|
||
}, headClass: function() {
|
||
return "text-align:center;background:#FAFAFA;";
|
||
} } }, A = U, j = (a("e284"), Object(y["a"])(A, q, O, false, null, "53a8c678", null)), M = j.exports, R = function() {
|
||
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
|
||
return a2("div", [a2("el-table", { attrs: { data: e2.tableData, border: "", "header-cell-style": e2.headClass } }, [a2("el-table-column", { attrs: { label: "#", align: "center", width: "80", fixed: "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("span", [e2._v(e2._s(t3.$index + (e2.query.pageNumber - 1) * e2.query.pageSize + 1) + "\n ")])];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "预案名称", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.name || "-") + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "预案场景", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(e2._f("getItemType")(t3.row.sceneMenuId, e2.typeList)) + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "预案类型", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(e2._f("getItemType")(t3.row.type, e2.sceneTypeList)) + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "执行实战", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.actualTimes) + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "执行演练", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.drillTimes || 0) + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { label: "操作", align: "center", fixed: "right", "min-width": "80" }, 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.seeDetail(t3.row);
|
||
} } }, [e2._v("查看")])];
|
||
} }]) })], 1), e2._v(" "), a2("div", { staticClass: "pagination" }, [a2("el-pagination", { attrs: { "current-page": e2.query.pageNumber, "page-sizes": [10, 20, 30, 100], "page-size": e2.query.pageSize, layout: "total, sizes, prev, pager, next, jumper", total: e2.pageTotal }, on: { "update:currentPage": function(t3) {
|
||
return e2.$set(e2.query, "pageNumber", t3);
|
||
}, "update:current-page": function(t3) {
|
||
return e2.$set(e2.query, "pageNumber", t3);
|
||
}, "size-change": e2.handleOrderSizeChange, "current-change": e2.handleOrderCurrentChange } })], 1)], 1);
|
||
}, z = [], E = { props: { detail: { type: Object, default: function() {
|
||
return {};
|
||
} }, typeList: { type: Array, default: function() {
|
||
return [];
|
||
} } }, data: function() {
|
||
return { planModeLArr: o["w"], workType: o["M"], professionalList: o["A"], sceneTypeList: r["ec"], tableData: [], query: { pageSize: 10, pageNumber: 1 }, pageTotal: 0 };
|
||
}, watch: { detail: { handler: function(e2) {
|
||
this.getList();
|
||
}, deep: true } }, mounted: function() {
|
||
}, methods: { getList: function() {
|
||
var e2 = this, t2 = { projectUuid: this.$store.state.community_uuid, dangerousSourceMonitorId: this.detail.id, type: 2, pageSize: this.query.pageSize, pageNumber: this.query.pageNumber };
|
||
Object(m["e"])(t2).then((function(t3) {
|
||
0 === t3.code ? (e2.tableData = t3.data.records, e2.pageTotal = t3.data.rowsCount) : (e2.tableData = [], e2.pageTotal = 0);
|
||
}));
|
||
}, handleOrderSizeChange: function(e2) {
|
||
this.query.pageSize = e2, this.query.pageNumber = 1, this.getList();
|
||
}, handleOrderCurrentChange: function(e2) {
|
||
this.query.pageNumber = e2, this.getList();
|
||
}, resetForm: function() {
|
||
this.query.pageNumber = 1, this.getList();
|
||
}, seeDetail: function(e2) {
|
||
this.$router.push({ path: "/propertySMG/securityProduction/rectificationImplementation/emergencyPlan", query: { name: e2.name, type: e2.type, sceneMenuId: e2.sceneMenuId } });
|
||
}, headClass: function() {
|
||
return "text-align:center;background:#FAFAFA;";
|
||
} } }, $ = E, P = (a("3f44"), Object(y["a"])($, R, z, false, null, "722f03e7", null)), B = P.exports, V = { name: "hazardIdentificationDel", components: { measureList: C, actionPlan: N, safeList: M, planList: B }, props: { type: { type: String, default: "add" }, content: { type: String, default: "危险源识别详情" } }, data: function() {
|
||
return { taskType2: r["sc"], targetTypeList: r["oc"], hazardLevel: r["cb"], hazardClassification: [{ value: 1, label: "一类" }, { value: 2, label: "二类" }], hazardStatus: [{ value: 0, label: "已禁用" }, { value: 1, label: "已启用" }], formLabelWidth: "140px", detailes: { betweenDays: "", createTime: "", creatorId: "", creatorName: "", currentDangerousLevel: "", dangerousLevel: "", dangerousTypeId: "", dangerousTypeName: "", eventType: [], lastResetTime: "", locationName: "", locationUuid: "", nextResetTime: "", sceneId: "", sceneName: "", sourceType: "", status: "", targetName: "", targetType: "", targetUuid: "", updateTime: "", updaterId: "", updaterName: "", monitorStartTime: "" }, detailesRelus: {}, btnLoading: false, activeName: "measure", sceneList: [], oneChangeMonitorStartTimeDisabled: false };
|
||
}, mounted: function() {
|
||
this.getSceneMenuList();
|
||
}, methods: { changeMonitorStartTimeDisabled: function() {
|
||
return !this.oneChangeMonitorStartTimeDisabled || "edit" != this.type;
|
||
}, initData: function(e2) {
|
||
if (e2) {
|
||
var t2 = this.hazardLevel.find((function(t3) {
|
||
return t3.value == e2.dangerousLevel;
|
||
})), a2 = this.hazardLevel.find((function(t3) {
|
||
return t3.value == e2.currentDangerousLevel;
|
||
}));
|
||
this.detailes = e2, this.detailes.eventType.includes(",") ? this.detailes.eventType = e2.eventType.split(",").map((function(e3) {
|
||
return Number(e3);
|
||
})) : this.detailes.eventType = [Number(e2.eventType)], this.detailes.filterDangerousLevel = t2.label, this.detailes.filterCurrentDangerousLevel = a2.label, null == this.detailes.monitorStartTime ? this.oneChangeMonitorStartTimeDisabled = true : this.oneChangeMonitorStartTimeDisabled = false;
|
||
}
|
||
}, getDetailes: function() {
|
||
var e2 = this, t2 = { id: this.detailes.id };
|
||
Object(p["b"])(t2).then((function(t3) {
|
||
0 === t3.code && t3.data && (e2.detailes = t3.data, null == e2.detailes.monitorStartTime ? e2.oneChangeMonitorStartTimeDisabled = true : e2.oneChangeMonitorStartTimeDisabled = false);
|
||
}));
|
||
}, getSceneMenuList: function() {
|
||
var e2 = this;
|
||
Object(m["j"])().then((function(t2) {
|
||
0 === t2.code && (e2.sceneList = t2.data.map((function(e3) {
|
||
return { label: e3.sceneName, value: e3.id };
|
||
})));
|
||
}));
|
||
}, submitDetailes: function() {
|
||
var e2 = this, t2 = { id: this.detailes.id, betweenDays: this.detailes.betweenDays, updaterId: this.$store.state.user.userInfo.memberId, updaterName: this.$store.state.user.userInfo.memberName };
|
||
this.btnLoading = true, Object(p["g"])(t2).then((function(t3) {
|
||
0 === t3.code ? (e2.$message({ message: "更新成功", type: "success" }), e2.getDetailes()) : e2.$message({ message: "更新失败", type: "error" }), e2.btnLoading = false;
|
||
})).catch((function() {
|
||
e2.btnLoading = false;
|
||
})), this.oneChangeMonitorStartTimeDisabled && Object(p["f"])({ id: this.detailes.id, monitorStartTime: this.detailes.monitorStartTime, updaterId: this.$store.state.user.userInfo.memberId, updaterName: this.$store.state.user.userInfo.memberName }).then((function(t3) {
|
||
0 == t3.code && e2.getDetailes();
|
||
}));
|
||
}, goBack: function() {
|
||
this.$emit("goBack");
|
||
} } }, F = V, W = (a("f80e"), Object(y["a"])(F, u, d, false, null, "4855868d", null)), H = W.exports;
|
||
function K(e2) {
|
||
return K = "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;
|
||
}, K(e2);
|
||
}
|
||
var Q = { name: "hazardIdentificationList", components: { hazardIdentificationDel: H }, data: function() {
|
||
return { workType2: o["N"], detailesStatus: "add", taskType2: r["sc"], targetTypeList: r["oc"], hazardLevel: r["cb"], hazardClassification: [{ value: 1, label: "一类" }, { value: 2, label: "二类" }], hazardStatus: [{ value: 0, label: "已禁用" }, { value: 1, label: "已启用" }], hazardLevel2: [{ value: "低风险", label: 3 }, { value: "一般风险", label: 5 }, { value: "中风险", label: 6 }, { value: "重大风险", label: 8 }, { value: "特大风险", label: 9 }], dangerousSource: [], is_show: false, height: "", servicelist: true, serviceDetailes: false, listLoading: false, listTable: [], pageTotal: 0, query: { pageNumber: 1, pageSize: 10, locationName: "", targetName: "", jobCategory: "", status: 1, eventType: "", eventTypeList: [], currentDangerousLevel: "", dangerousLevel: "", betweenDays: "", dangerousTypeId: "", projectUuid: "", selectionList: [] } };
|
||
}, created: function() {
|
||
this.query.projectUuid = this.$store.state.community_uuid;
|
||
}, mounted: function() {
|
||
if (this.$route.query.dangerousType && this.$route.query.dangerousValue && ("wu" == this.$route.query.type && (this.query.jobCategory = 4), "shi" == this.$route.query.type && (this.query.jobCategory = 3), this.$route.query.type, "one" == this.$route.query.dangerousType && (this.query.currentDangerousLevel = 9), "two" == this.$route.query.dangerousType && (this.query.currentDangerousLevel = 8), "three" == this.$route.query.dangerousType && (this.query.currentDangerousLevel = 6)), this.headClass(), this.getDangerousSourceList(), Number(this.$route.query.currentDangerousLevel) > 0) {
|
||
var e2 = Number(this.$route.query.currentDangerousLevel);
|
||
1 == e2 && (this.query.currentDangerousLevel = 0), this.query.currentDangerousLevel = e2;
|
||
}
|
||
this.getlistData();
|
||
}, methods: { filterStr: function(e2) {
|
||
var t2 = this;
|
||
if (e2 || 0 === e2) {
|
||
var a2 = "string" === typeof e2 ? e2 : String(e2);
|
||
if (console.log(a2, "str"), console.log(K(a2), "str++++++++++++++"), "string" === typeof a2 && a2.includes(",")) {
|
||
var s2 = a2.split(",").map((function(e3) {
|
||
return Number(e3);
|
||
}));
|
||
return s2.map((function(e3) {
|
||
var a3 = t2.taskType2.find((function(t3) {
|
||
return t3.value == e3;
|
||
}));
|
||
return a3 ? a3.label : "未知";
|
||
})).join("/");
|
||
}
|
||
var n2 = this.taskType2.find((function(e3) {
|
||
return e3.value == Number(a2);
|
||
}));
|
||
return n2 ? n2.label : "-";
|
||
}
|
||
return "-";
|
||
}, selectChange: function(e2) {
|
||
this.selectionList = e2;
|
||
}, createdPlan: function() {
|
||
if (this.selectionList && this.selectionList.length > 0) if (this.selectionList.every((function(e3) {
|
||
return 1 == e3.status;
|
||
}))) {
|
||
var e2 = [];
|
||
this.selectionList.map((function(t3) {
|
||
e2.push(t3.id);
|
||
}));
|
||
var t2 = this.$router.resolve({ path: "/ptuToPlan", query: { dangerSourceIds: e2.toString() } });
|
||
this.$refs.tableList.clearSelection(), window.open(t2.href, "_blank");
|
||
} else this.$message.error("有禁用的危险源识别项,请检查.");
|
||
else this.$message.error("请选择危险源识别项");
|
||
}, filterDangerList: function(e2) {
|
||
var t2 = this.hazardLevel2.find((function(t3) {
|
||
return t3.label == e2;
|
||
}));
|
||
return t2.value;
|
||
}, getlistData: function() {
|
||
var e2 = this, t2 = this.query;
|
||
this.listLoading = true, Object(p["c"])(t2).then((function(t3) {
|
||
0 === t3.code && t3.data.records ? (e2.listTable = t3.data.records, e2.pageTotal = t3.data.rowsCount) : e2.listTable = [], e2.listLoading = false;
|
||
})).catch((function() {
|
||
e2.listTable = [], e2.listLoading = false;
|
||
}));
|
||
}, getDangerousSourceList: function() {
|
||
var e2 = this, t2 = { pageNumber: -1, pageSize: -1, status: 1 };
|
||
Object(c["a"])(t2).then((function(t3) {
|
||
0 === t3.code && t3.data.records ? e2.dangerousSource = t3.data.records : e2.dangerousSource = [];
|
||
}));
|
||
}, seeDetail: function(e2, t2) {
|
||
var a2 = this;
|
||
this.servicelist = false, this.serviceDetailes = true, this.detailesStatus = t2, this.$nextTick((function() {
|
||
a2.$refs.hazardIdentificationDel.initData(Object.assign({}, e2));
|
||
}));
|
||
}, updataStatus: function(e2) {
|
||
var t2 = this, a2 = JSON.parse(JSON.stringify(e2)), s2 = Object.assign(a2, { status: 0 == a2.status ? 1 : 0, updaterId: this.$store.state.user.userInfo.memberId, updaterName: this.$store.state.user.userInfo.memberName }), n2 = 1 == a2.status ? "启用" : "禁用";
|
||
this.$confirm("确定".concat(n2, "该数据吗?"), "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "info" }).then((function() {
|
||
Object(p["h"])(s2).then((function(e3) {
|
||
0 == e3.code ? (t2.$message({ message: "".concat(n2, "成功"), type: "success" }), t2.getlistData()) : t2.$message({ message: "".concat(n2, "失败"), type: "error" });
|
||
})).catch((function() {
|
||
}));
|
||
}));
|
||
}, onSearch: function() {
|
||
this.query.pageNumber = 1, this.getlistData();
|
||
}, handleSizeChange: function(e2) {
|
||
this.query.pageSize = e2, this.getlistData();
|
||
}, handleCurrentChange: function(e2) {
|
||
this.query.pageNumber = e2, this.getlistData();
|
||
}, resetForm: function(e2) {
|
||
this.query.pageNumber = 1, this.getlistData(), this.$refs[e2].resetFields();
|
||
}, showViewList: function() {
|
||
this.getlistData(), this.servicelist = true, this.serviceDetailes = false;
|
||
}, handleSlow: function() {
|
||
this.isShow = !this.isShow;
|
||
}, headClass: function() {
|
||
return "text-align:center;background:#FAFAFA;";
|
||
}, upAndDown: function() {
|
||
this.is_show ? this.$refs.box.style.height = "80px" : this.$refs.box.style.height = this.height, this.is_show = !this.is_show;
|
||
}, getRealHeight: function() {
|
||
this.$nextTick((function() {
|
||
this.height = this.$refs.form_box.offsetHeight + "px";
|
||
}));
|
||
} } }, X = Q, Y = (a("9c4c"), Object(y["a"])(X, i, l, false, null, null, null)), J = Y.exports, G = 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", { ref: "box", staticClass: "searchStys transition_dom" }, [a2("el-form", { ref: "query", attrs: { model: e2.query } }, [a2("div", { ref: "form_box", staticClass: "searchBar" }, [a2("div", { staticClass: "searchInput" }, [a2("el-row", { attrs: { gutter: 20 } }, [a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "jobCategory" } }, [a2("el-select", { attrs: { placeholder: "危险源分类", clearable: "" }, model: { value: e2.query.jobCategory, callback: function(t3) {
|
||
e2.$set(e2.query, "jobCategory", t3);
|
||
}, expression: "query.jobCategory" } }, e2._l(e2.workType2, (function(e3, t3) {
|
||
return a2("el-option", { key: t3, attrs: { label: e3.label, value: e3.value } });
|
||
})), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "dangerousTypeId" } }, [a2("el-select", { attrs: { placeholder: "危险源子类", filterable: "", clearable: "" }, model: { value: e2.query.dangerousTypeId, callback: function(t3) {
|
||
e2.$set(e2.query, "dangerousTypeId", t3);
|
||
}, expression: "query.dangerousTypeId" } }, e2._l(e2.dangerousSource, (function(e3, t3) {
|
||
return a2("el-option", { key: t3, attrs: { label: e3.name, value: e3.id } });
|
||
})), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "eventName" } }, [a2("el-input", { attrs: { placeholder: "危险源描述", clearable: "" }, model: { value: e2.query.eventName, callback: function(t3) {
|
||
e2.$set(e2.query, "eventName", t3);
|
||
}, expression: "query.eventName" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "eventTypeList" } }, [a2("el-select", { attrs: { placeholder: "事故后果", filterable: "", clearable: "", multiple: "", "collapse-tags": "" }, model: { value: e2.query.eventTypeList, callback: function(t3) {
|
||
e2.$set(e2.query, "eventTypeList", t3);
|
||
}, expression: "query.eventTypeList" } }, e2._l(e2.taskType2, (function(e3, t3) {
|
||
return a2("el-option", { key: t3, attrs: { label: e3.label, value: e3.value } });
|
||
})), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "dangerousLevel" } }, [a2("el-select", { attrs: { placeholder: "风险等级", clearable: "" }, model: { value: e2.query.dangerousLevel, callback: function(t3) {
|
||
e2.$set(e2.query, "dangerousLevel", t3);
|
||
}, expression: "query.dangerousLevel" } }, e2._l(e2.hazardLevel, (function(e3, t3) {
|
||
return a2("el-option", { key: t3, attrs: { label: e3.label, value: e3.value } });
|
||
})), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "checkDesc" } }, [a2("el-input", { attrs: { placeholder: "后果描述", clearable: "" }, model: { value: e2.query.checkDesc, callback: function(t3) {
|
||
e2.$set(e2.query, "checkDesc", t3);
|
||
}, expression: "query.checkDesc" } })], 1)], 1)], 1)], 1), e2._v(" "), a2("div", { staticClass: "searchBtn" }, [a2("el-form-item", [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], on: { click: function(t3) {
|
||
return e2.resetForm("query");
|
||
} } }, [e2._v("重置")]), e2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: e2.onSearch } }, [e2._v("查询")]), e2._v(" "), e2.is_show || "80px" == e2.height ? e2._e() : a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "text" }, on: { click: e2.upAndDown } }, [e2._v("展开"), a2("i", { staticClass: "el-icon-arrow-down" })]), e2._v(" "), e2.is_show && "80px" != e2.height ? a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "text" }, on: { click: e2.upAndDown } }, [e2._v("收起"), a2("i", { staticClass: "el-icon-arrow-up" })]) : e2._e()], 1)], 1)])])], 1)]), e2._v(" "), a2("el-card", { staticClass: "box-card", attrs: { shadow: "never" } }, [a2("div", { staticClass: "planLst", attrs: { slot: "header" }, slot: "header" }, [a2("span", { staticClass: "planTitle" }, [e2._v("危险源描述列表")])]), e2._v(" "), a2("el-table", { directives: [{ name: "loading", rawName: "v-loading", value: e2.listLoading, expression: "listLoading" }], attrs: { border: "", data: e2.listTable, "header-cell-style": e2.headClass, "tooltip-effect": "dark" } }, [a2("el-table-column", { attrs: { label: "#", align: "center", "min-width": "50" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("span", [e2._v(e2._s(t3.$index + (e2.query.pageNumber - 1) * e2.query.pageSize + 1) + "\n ")])];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "60", label: "危险源类", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(e2._f("getItemType")(t3.row.jobCategory, e2.workType2)) + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "150", label: "危险源子类", prop: "dangerousTypeName", "show-overflow-tooltip": "" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "150", label: "事故后果", prop: "eventType", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(e2.filterStr(t3.row.eventType)) + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { label: "无销项措施前风险评价" } }, [a2("el-table-column", { attrs: { align: "center", "min-width": "60", label: "可能性", prop: "possibility" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "60", label: "严重性", prop: "seriousness" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "60", label: "风险性", prop: "dangerousLevelScore" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "90", label: "风险等级", prop: "dangerousLevel" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("el-tag", { class: [3 == t3.row.dangerousLevel ? "danger-3" : 5 == t3.row.dangerousLevel ? "danger-5" : 6 == t3.row.dangerousLevel ? "danger-6" : 8 == t3.row.dangerousLevel ? "danger-8" : 9 == t3.row.dangerousLevel ? "danger-9" : ""], attrs: { size: "medium", effect: "dark" } }, [e2._v("\n " + e2._s(e2.filterDangerList(t3.row.dangerousLevel)) + "\n ")])];
|
||
} }]) })], 1), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "150", label: "销项/控制措施", prop: "serviceDesc", "show-overflow-tooltip": "" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "150", label: "危险源描述", prop: "eventName", "show-overflow-tooltip": "" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "150", label: "后果描述", prop: "checkDesc", "show-overflow-tooltip": "" } }), e2._v(" "), a2("el-table-column", { attrs: { label: "操作", align: "center", "min-width": "80" }, 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.seeDetail(t3.row);
|
||
} } }, [e2._v("查看")])];
|
||
} }]) })], 1), e2._v(" "), a2("div", { staticClass: "paginations" }, [a2("el-pagination", { attrs: { background: "", "current-page": e2.query.pageNumber, "page-sizes": [10, 30, 50, 100, 200], "page-size": e2.query.pageSize, layout: "total, sizes, prev, pager, next, jumper", total: e2.pageTotal }, on: { "update:currentPage": function(t3) {
|
||
return e2.$set(e2.query, "pageNumber", t3);
|
||
}, "update:current-page": function(t3) {
|
||
return e2.$set(e2.query, "pageNumber", t3);
|
||
}, "size-change": e2.handleSizeChange, "current-change": e2.handleCurrentChange } })], 1)], 1), e2._v(" "), a2("el-drawer", { attrs: { title: "危险源描述详情", size: "20%", visible: e2.drawerShow, direction: e2.direction, "before-close": e2.handleClose }, on: { "update:visible": function(t3) {
|
||
e2.drawerShow = t3;
|
||
} } }, [a2("div", { staticClass: "showSeeMain" }, [a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("危险源描述:")]), e2._v(" "), a2("div", { staticClass: "txtStyle" }, [e2._v(e2._s(e2.info.eventName || "-"))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("作业标准:")]), e2._v(" "), a2("div", { staticClass: "txtStyle" }, [e2._v(e2._s(e2.info.serviceDesc || "-"))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("后果描述:")]), e2._v(" "), a2("div", { staticClass: "txtStyle" }, [e2._v(e2._s(e2.info.checkDesc || "-"))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("图片上传:")]), e2._v(" "), a2("div", { staticClass: "txtStyle" }, [e2._v("\n " + e2._s(1 == e2.info.isShowCapture ? "是" : 2 == e2.info.isShowCapture ? "否" : "-") + "\n ")])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("轻量化标准:")]), e2._v(" "), a2("div", { staticClass: "txtStyle" }, [e2._v("\n " + e2._s(1 == e2.info.isLightWeight ? "是" : 2 == e2.info.isLightWeight ? "否" : "-") + "\n ")])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("允许照片来自相册:")]), e2._v(" "), a2("div", { staticClass: "txtStyle" }, [e2._v("\n " + e2._s(1 == e2.info.photoAlbum ? "是" : 2 == e2.info.photoAlbum ? "否" : "-") + "\n ")])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("定量:")]), e2._v(" "), a2("div", { staticClass: "txtStyle" }, [e2._v("\n " + e2._s(e2.info.spuQuantity ? e2.info.spuQuantity : "-") + "\n ")])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("定价:")]), e2._v(" "), a2("div", { staticClass: "txtStyle" }, [e2._v(e2._s(e2.info.spuSpend ? e2.info.spuSpend : "-"))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("价值:")]), e2._v(" "), a2("div", { staticClass: "txtStyle" }, [e2._v("\n " + e2._s(e2.info.spuLaborResource ? e2.info.spuLaborResource : "-") + "\n ")])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("标准分值:")]), e2._v(" "), a2("span", [e2._v(e2._s(e2.info.performanceScore || "-"))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("扣分标准:")]), e2._v(" "), a2("div", [e2._v(e2._s(e2.info.deductionStandard || "-"))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("单项扣分比例:")]), e2._v(" "), a2("span", [e2._v(e2._s(e2.info.deductionRate ? (100 * e2.info.deductionRate).toFixed(2) + "%" : "-"))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("整改措施:")]), e2._v(" "), a2("div", [e2._v(e2._s(e2.info.rectificationMeasures || "-"))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("版本号:")]), e2._v(" "), a2("span", [e2._v(e2._s(e2.info.versionNumber ? "v" + e2.info.versionNumber : "-"))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("作业菜单分类:")]), e2._v(" "), a2("span", [e2._v(e2._s(e2._f("getItemType")(e2.info.controlType, e2.planModeLArr)))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("作业分类:")]), e2._v(" "), a2("span", [e2._v(e2._s(e2._f("getItemType")(e2.info.jobCategory, e2.workType2)))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("事故后果:")]), e2._v(" "), a2("span", [e2._v(e2._s(e2._f("getItemType")(e2.info.eventType, e2.taskType2)))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("专业分类:")]), e2._v(" "), a2("span", [e2._v(e2._s(e2._f("getItemType")(e2.info.professionalCategory, e2.professionalList)))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("危险源类型:")]), e2._v(" "), a2("span", [e2._v(e2._s(e2.info.subcontractingCategoryName || "-"))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("内外分类:")]), e2._v(" "), a2("span", [e2._v(e2._s(e2._f("getItemType")(e2.info.internalExternalCategory, e2.aroundClsssArr)))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("固移分类:")]), e2._v(" "), a2("span", [e2._v(e2._s(e2._f("getItemType")(e2.info.movementCategory, e2.fixedClsssArr)))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("查办分类:")]), e2._v(" "), a2("span", [e2._v(e2._s(e2._f("getItemType")(e2.info.investigationCategory, e2.investigationClsssArr)))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("对象分类:")]), e2._v(" "), a2("span", [e2._v(e2._s(e2._f("getItemType")(e2.info.objectCategory, e2.objClsssArr)))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("发生可能性:")]), e2._v(" "), a2("span", [e2._v(e2._s(e2._f("getItemType")(e2.info.possibility, e2.seriousnessList)))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("严重性:")]), e2._v(" "), a2("span", [e2._v(e2._s(e2._f("getItemType")(e2.info.seriousness, e2.seriousnessList)))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("风险度:")]), e2._v(" "), a2("span", [e2._v(e2._s(e2.culRiskLevel(e2.info)))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("专业等级:")]), e2._v(" "), a2("span", [e2._v(e2._s(e2.info.professionalLevel || "-"))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("安全等级:")]), e2._v(" "), a2("span", [e2._v(e2._s(e2.info.dangerousLevel || "-"))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("重要等级:")]), e2._v(" "), a2("span", [e2._v(e2._s(e2.info.importantLevel || "-"))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("温度:")]), e2._v(" "), a2("span", [e2._v(e2._s(e2.info.temperatureLevel || "-"))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("私密度:")]), e2._v(" "), a2("span", [e2._v(e2._s(e2.info.privacyLevel || "-"))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("职责归属:")]), e2._v(" "), a2("span", [e2._v(e2._s(e2.info.jobName || "-"))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("参考频次:")]), e2._v(" "), a2("span", [e2._v(e2._s(e2.info.freName || "-"))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("人:")]), e2._v(" "), a2("span", [e2._v(e2._s(e2.info.c1 || "-"))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("财:")]), e2._v(" "), a2("span", [e2._v(e2._s(e2.info.c2 || "-"))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("事:")]), e2._v(" "), a2("span", [e2._v(e2._s(e2.info.c3 || "-"))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("物:")]), e2._v(" "), a2("span", [e2._v(e2._s(e2.info.c4 || "-"))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("星级:")]), e2._v(" "), a2("span", [e2._v(e2._s(e2.info.star || "-"))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("四个全员:")]), e2._v(" "), a2("span", [e2._v(e2._s(e2._f("getItemType")(e2.info.fullParticipation, e2.allList)))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("引用次数:")]), e2._v(" "), a2("span", [e2._v(e2._s(e2.info.citedNum || "-"))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("最近更新人:")]), e2._v(" "), a2("span", [e2._v(e2._s(e2.info.updateUserName || "-"))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("更新时间:")]), e2._v(" "), a2("span", [e2._v(e2._s(e2.info.updateDate || "-"))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("备注:")]), e2._v(" "), a2("div", [e2._v(e2._s(e2.info.remark || "-"))])]), e2._v(" "), a2("div", { staticClass: "seeModel" }, [a2("span", { staticClass: "modelTitle" }, [e2._v("图片:")]), e2._v(" "), e2.info.standImageUrl ? a2("div", e2._l(e2.formatImg(e2.info.standImageUrl), (function(t3, s2) {
|
||
return a2("el-image", { key: s2, staticStyle: { width: "100px" }, attrs: { src: t3, "preview-src-list": e2.formatImg(e2.info.standImageUrl) } });
|
||
})), 1) : a2("span", [e2._v("-")])])])])], 1);
|
||
}, Z = [], ee = a("8826");
|
||
function te(e2) {
|
||
return te = "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;
|
||
}, te(e2);
|
||
}
|
||
var ae = { name: "hazardDescriptionList", data: function() {
|
||
return { workType2: o["N"], hazardLevel: r["cb"], taskType2: r["sc"], seriousnessList: r["fc"], controlTypeList: o["g"], professionalList: o["A"], taskType: o["I"], workType: o["M"], professionalLevel: o["z"], frequencyLevel: o["i"], allList: o["d"], mouldLevel: o["p"], subClassArr: o["H"], aroundClsssArr: o["e"], fixedClsssArr: o["h"], investigationClsssArr: o["m"], objClsssArr: o["q"], planModeLArr: o["w"], dangerousSource: [], drawerShow: false, is_show: false, height: "", servicelist: true, serviceDetailes: false, listLoading: false, listTable: [], hazardLevel2: [{ value: "低风险", label: 3 }, { value: "一般风险", label: 5 }, { value: "中风险", label: 6 }, { value: "重大风险", label: 8 }, { value: "特大风险", label: 9 }], pageTotal: 0, query: { pageNumber: 1, pageSize: 10, eventName: "", checkDesc: "", eventType: "", eventTypeList: [], dangerousTypeId: "", objectCategory: "", currentDangerousLevel: "" }, direction: "rtl", info: {} };
|
||
}, mounted: function() {
|
||
this.getRealHeight(), this.query.projectUuid = this.$store.state.community_uuid, this.headClass(), this.getDangerousSourceList(), this.getlistData();
|
||
}, methods: { filterStr: function(e2) {
|
||
var t2 = this;
|
||
if (e2 || 0 === e2) {
|
||
var a2 = "string" === typeof e2 ? e2 : String(e2);
|
||
if (console.log(a2, "str"), console.log(te(a2), "str++++++++++++++"), "string" === typeof a2 && a2.includes(",")) {
|
||
var s2 = a2.split(",").map((function(e3) {
|
||
return Number(e3);
|
||
}));
|
||
return s2.map((function(e3) {
|
||
var a3 = t2.taskType2.find((function(t3) {
|
||
return t3.value == e3;
|
||
}));
|
||
return a3 ? a3.label : "未知";
|
||
})).join("/");
|
||
}
|
||
var n2 = this.taskType2.find((function(e3) {
|
||
return e3.value == Number(a2);
|
||
}));
|
||
return n2 ? n2.label : "-";
|
||
}
|
||
return "-";
|
||
}, filterDangerList: function(e2) {
|
||
var t2 = this.hazardLevel2.find((function(t3) {
|
||
return t3.label == e2;
|
||
}));
|
||
return t2.value;
|
||
}, getlistData: function() {
|
||
var e2 = this, t2 = this.query;
|
||
Object(p["e"])(t2).then((function(t3) {
|
||
0 === t3.code && t3.data ? (e2.listTable = t3.data.records, e2.pageTotal = t3.data.rowsCount) : (e2.listTable = [], e2.pageTotal = 0);
|
||
}));
|
||
}, getDangerousSourceList: function() {
|
||
var e2 = this, t2 = { pageNumber: -1, pageSize: -1, status: 1 };
|
||
Object(c["a"])(t2).then((function(t3) {
|
||
0 === t3.code && t3.data.records ? e2.dangerousSource = t3.data.records : e2.dangerousSource = [];
|
||
}));
|
||
}, getStandDetailes: function(e2) {
|
||
var t2 = this, a2 = { uuid: e2.standUuid, projectUuid: this.$store.state.community_uuid };
|
||
Object(ee["g"])(a2).then((function(e3) {
|
||
0 == e3.code && e3.data && (t2.info = e3.data, t2.drawerShow = true);
|
||
}));
|
||
}, formatImg: function(e2) {
|
||
if (e2) return e2.split(",");
|
||
}, seeDetail: function(e2) {
|
||
this.getStandDetailes(e2);
|
||
}, handleClose: function(e2) {
|
||
e2();
|
||
}, culRiskLevel: function(e2) {
|
||
return e2 && e2.possibility && e2.seriousness ? Object(g["c"])(e2.possibility, e2.seriousness) : "-";
|
||
}, onSearch: function() {
|
||
this.query.pageNumber = 1, this.getlistData();
|
||
}, handleSizeChange: function(e2) {
|
||
this.query.pageSize = e2, this.getlistData();
|
||
}, handleCurrentChange: function(e2) {
|
||
this.query.pageNumber = e2, this.getlistData();
|
||
}, resetForm: function(e2) {
|
||
this.query.pageNumber = 1, this.getlistData(), this.$refs[e2].resetFields();
|
||
}, handleSlow: function() {
|
||
this.isShow = !this.isShow;
|
||
}, headClass: function() {
|
||
return "text-align:center;background:#FAFAFA;";
|
||
}, upAndDown: function() {
|
||
this.is_show ? this.$refs.box.style.height = "80px" : this.$refs.box.style.height = this.height, this.is_show = !this.is_show;
|
||
}, getRealHeight: function() {
|
||
this.$nextTick((function() {
|
||
this.height = this.$refs.form_box.offsetHeight + "px";
|
||
}));
|
||
} } }, se = ae, ne = (a("bba4"), Object(y["a"])(se, G, Z, false, null, "71cf87be", null)), ie = ne.exports, le = { name: "hazardIdentification", components: { hazardIdentificationList: J, hazardDescriptionList: ie }, data: function() {
|
||
return { activeName: "hazardDescriptionList" };
|
||
}, methods: { tabClick: function(e2) {
|
||
"hazardIdentificationList" == e2.name ? this.$refs.hazardIdentificationList.getRealHeight() : this.$refs.hazardDescriptionList.getRealHeight();
|
||
} }, mounted: function() {
|
||
this.$route.query.dangerousType && this.$route.query.dangerousValue && (this.activeName = "hazardIdentificationList", this.$refs.hazardIdentificationList.getRealHeight());
|
||
} }, re = le, oe = Object(y["a"])(re, s, n, false, null, null, null);
|
||
t["default"] = oe.exports;
|
||
}, d8f5: function(e, t, a) {
|
||
"use strict";
|
||
a("43fc");
|
||
}, df0c: function(e, t, a) {
|
||
"use strict";
|
||
a("3388");
|
||
}, e263: function(e, t, a) {
|
||
"use strict";
|
||
a("f35c");
|
||
}, e284: function(e, t, a) {
|
||
"use strict";
|
||
a("4771");
|
||
}, eccf: function(e, t, a) {
|
||
}, f35c: function(e, t, a) {
|
||
}, f725: function(e, t, a) {
|
||
"use strict";
|
||
a("9b1d");
|
||
}, f80e: function(e, t, a) {
|
||
"use strict";
|
||
a("4f9b");
|
||
}, fe59: function(e, t, a) {
|
||
"use strict";
|
||
a.d(t, "a", (function() {
|
||
return n;
|
||
}));
|
||
var s = a("b775");
|
||
function n(e2) {
|
||
return Object(s["a"])({ url: "/appproject/DangerousSourceType/pageList", method: "post", data: e2 });
|
||
}
|
||
} }]);
|