Files
wysite/output/sourcemaps/hc-pos.sqygj.cn/static/js/chunk-commons.cdc197bf.js

3258 lines
328 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["chunk-commons"], { "08f8": function(e, t, a) {
"use strict";
var r = function() {
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
return a2("el-popover", { directives: [{ name: "clickoutside", rawName: "v-clickoutside", value: function() {
e2.showPanel = false;
}, expression: "() => { showPanel = false }" }], ref: "popover", attrs: { placement: "bottom", "popper-class": "custom_year_range", trigger: "manual" }, model: { value: e2.showPanel, callback: function(t3) {
e2.showPanel = t3;
}, expression: "showPanel" } }, [a2("div", { staticClass: "_inner floatPanel" }, [a2("div", { staticClass: "_inner leftPanel" }, [a2("div", { staticClass: "_inner panelHead" }, [a2("i", { staticClass: "_inner el-icon-d-arrow-left", on: { click: e2.onClickLeft } }), e2._v(" "), a2("span", [e2._v(e2._s(e2.leftYearList[0] + "年 - " + e2.leftYearList[9] + "年"))])]), e2._v(" "), a2("div", { staticClass: "_inner panelContent" }, e2._l(e2.leftYearList, (function(t3) {
return a2("div", { key: t3, class: { oneSelected: t3 === e2.startYear && e2.oneSelected, startSelected: t3 === e2.startYear, endSelected: t3 === e2.endYear, betweenSelected: t3 > e2.startYear && t3 < e2.endYear } }, [a2("a", { class: { cell: true, _inner: true, selected: t3 === e2.startYear || t3 === e2.endYear }, on: { click: function(a3) {
return e2.onClickItem(t3);
}, mouseover: function(a3) {
return e2.onHoverItem(t3);
} } }, [e2._v(e2._s(t3))])]);
})), 0)]), e2._v(" "), a2("div", { staticClass: "_inner rightPanel" }, [a2("div", { staticClass: "_inner panelHead" }, [a2("i", { staticClass: "_inner el-icon-d-arrow-right", on: { click: e2.onClickRight } }), e2._v(" "), a2("span", [e2._v(e2._s(e2.rightYearList[0] + "年 - " + e2.rightYearList[9] + "年"))])]), e2._v(" "), a2("div", { staticClass: "_inner panelContent" }, e2._l(e2.rightYearList, (function(t3) {
return a2("div", { key: t3, class: { startSelected: t3 === e2.startYear, endSelected: t3 === e2.endYear, betweenSelected: t3 > e2.startYear && t3 < e2.endYear } }, [a2("a", { class: { cell: true, _inner: true, selected: t3 === e2.endYear || t3 === e2.startYear }, on: { click: function(a3) {
return e2.onClickItem(t3);
}, mouseover: function(a3) {
return e2.onHoverItem(t3);
} } }, [e2._v(e2._s(t3))])]);
})), 0)])]), e2._v(" "), a2("div", { attrs: { slot: "reference" }, slot: "reference" }, [a2("div", { ref: "yearPicker", staticClass: "el-date-editor el-range-editor el-input__inner el-date-editor--daterange yearPicker", class: ["el-range-editor--" + e2.size, e2.showPanel ? "is-active" : "", e2.startShowYear ? "is-val" : ""], staticStyle: { width: "100%" }, on: { mouseover: function(t3) {
return e2.handleHover(true);
}, mouseleave: function(t3) {
return e2.handleHover(false);
} } }, [a2("i", { staticClass: "el-input__icon el-range__icon el-icon-date" }), e2._v(" "), a2("input", { directives: [{ name: "model", rawName: "v-model", value: e2.startShowYear, expression: "startShowYear" }], ref: "inputLeft", staticClass: "_inner range_input", attrs: { size: "small", type: "text", name: "yearInput", placeholder: e2.startPlaceholder }, domProps: { value: e2.startShowYear }, on: { focus: e2.onFocus, keyup: function(t3) {
return e2.handleInput("start");
}, input: function(t3) {
t3.target.composing || (e2.startShowYear = t3.target.value);
} } }), e2._v(" "), a2("span", { staticClass: "el-range-separator" }, [e2._v(e2._s(e2.sp))]), e2._v(" "), a2("input", { directives: [{ name: "model", rawName: "v-model", value: e2.endShowYear, expression: "endShowYear" }], ref: "inputRight", staticClass: "_inner range_input", attrs: { size: "small", type: "text", name: "yearInput", placeholder: e2.endPlaceholder }, domProps: { value: e2.endShowYear }, on: { focus: e2.onFocus, keyup: function(t3) {
return e2.handleInput("end");
}, input: function(t3) {
t3.target.composing || (e2.endShowYear = t3.target.value);
} } }), e2._v(" "), a2("i", { staticClass: "el-input__icon el-range__close-icon", class: [e2.startShowYear && e2.isHover && e2.clearable ? "el-icon-circle-close" : ""], on: { click: e2.onClear } })])])]);
}, n = [], o = a("dd26"), i = a.n(o), s = { bind: function(e2, t2, a2) {
function r2(a3) {
if (e2.contains(a3.target)) return false;
t2 && t2.expression && t2.value && t2.value(a3) && t2.value(a3);
}
e2.__vueClickOutside__ = r2, document.addEventListener("click", r2);
}, unbind: function(e2, t2) {
document.removeEventListener("click", e2.__vueClickOutside__), delete e2.__vueClickOutside__;
} }, l = { unselect: 0, selecting: 1, selected: 2 };
function c(e2, t2) {
return f(e2) || m(e2, t2) || d(e2, t2) || u();
}
function u() {
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
function d(e2, t2) {
if (e2) {
if ("string" == typeof e2) return p(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) ? p(e2, t2) : void 0;
}
}
function p(e2, t2) {
(null == t2 || t2 > e2.length) && (t2 = e2.length);
for (var a2 = 0, r2 = Array(t2); a2 < t2; a2++) r2[a2] = e2[a2];
return r2;
}
function m(e2, t2) {
var a2 = null == e2 ? null : "undefined" != typeof Symbol && e2[Symbol.iterator] || e2["@@iterator"];
if (null != a2) {
var r2, n2, o2, i2, s2 = [], l2 = true, c2 = false;
try {
if (o2 = (a2 = a2.call(e2)).next, 0 === t2) {
if (Object(a2) !== a2) return;
l2 = false;
} else for (; !(l2 = (r2 = o2.call(a2)).done) && (s2.push(r2.value), s2.length !== t2); l2 = true) ;
} catch (e3) {
c2 = true, n2 = e3;
} finally {
try {
if (!l2 && null != a2.return && (i2 = a2.return(), Object(i2) !== i2)) return;
} finally {
if (c2) throw n2;
}
}
return s2;
}
}
function f(e2) {
if (Array.isArray(e2)) return e2;
}
function h() {
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
var e2, t2, a2 = "function" == typeof Symbol ? Symbol : {}, r2 = a2.iterator || "@@iterator", n2 = a2.toStringTag || "@@toStringTag";
function o2(a3, r3, n3, o3) {
var l3 = r3 && r3.prototype instanceof s2 ? r3 : s2, c3 = Object.create(l3.prototype);
return v(c3, "_invoke", (function(a4, r4, n4) {
var o4, s3, l4, c4 = 0, u3 = n4 || [], d3 = false, p3 = { p: 0, n: 0, v: e2, a: m2, f: m2.bind(e2, 4), d: function(t3, a5) {
return o4 = t3, s3 = 0, l4 = e2, p3.n = a5, i2;
} };
function m2(a5, r5) {
for (s3 = a5, l4 = r5, t2 = 0; !d3 && c4 && !n5 && t2 < u3.length; t2++) {
var n5, o5 = u3[t2], m3 = p3.p, f2 = o5[2];
a5 > 3 ? (n5 = f2 === r5) && (l4 = o5[(s3 = o5[4]) ? 5 : (s3 = 3, 3)], o5[4] = o5[5] = e2) : o5[0] <= m3 && ((n5 = a5 < 2 && m3 < o5[1]) ? (s3 = 0, p3.v = r5, p3.n = o5[1]) : m3 < f2 && (n5 = a5 < 3 || o5[0] > r5 || r5 > f2) && (o5[4] = a5, o5[5] = r5, p3.n = f2, s3 = 0));
}
if (n5 || a5 > 1) return i2;
throw d3 = true, r5;
}
return function(n5, u4, f2) {
if (c4 > 1) throw TypeError("Generator is already running");
for (d3 && 1 === u4 && m2(u4, f2), s3 = u4, l4 = f2; (t2 = s3 < 2 ? e2 : l4) || !d3; ) {
o4 || (s3 ? s3 < 3 ? (s3 > 1 && (p3.n = -1), m2(s3, l4)) : p3.n = l4 : p3.v = l4);
try {
if (c4 = 2, o4) {
if (s3 || (n5 = "next"), t2 = o4[n5]) {
if (!(t2 = t2.call(o4, l4))) throw TypeError("iterator result is not an object");
if (!t2.done) return t2;
l4 = t2.value, s3 < 2 && (s3 = 0);
} else 1 === s3 && (t2 = o4.return) && t2.call(o4), s3 < 2 && (l4 = TypeError("The iterator does not provide a '" + n5 + "' method"), s3 = 1);
o4 = e2;
} else if ((t2 = (d3 = p3.n < 0) ? l4 : a4.call(r4, p3)) !== i2) break;
} catch (t3) {
o4 = e2, s3 = 1, l4 = t3;
} finally {
c4 = 1;
}
}
return { value: t2, done: d3 };
};
})(a3, n3, o3), true), c3;
}
var i2 = {};
function s2() {
}
function l2() {
}
function c2() {
}
t2 = Object.getPrototypeOf;
var u2 = [][r2] ? t2(t2([][r2]())) : (v(t2 = {}, r2, (function() {
return this;
})), t2), d2 = c2.prototype = s2.prototype = Object.create(u2);
function p2(e3) {
return Object.setPrototypeOf ? Object.setPrototypeOf(e3, c2) : (e3.__proto__ = c2, v(e3, n2, "GeneratorFunction")), e3.prototype = Object.create(d2), e3;
}
return l2.prototype = c2, v(d2, "constructor", c2), v(c2, "constructor", l2), l2.displayName = "GeneratorFunction", v(c2, n2, "GeneratorFunction"), v(d2), v(d2, n2, "Generator"), v(d2, r2, (function() {
return this;
})), v(d2, "toString", (function() {
return "[object Generator]";
})), (h = function() {
return { w: o2, m: p2 };
})();
}
function v(e2, t2, a2, r2) {
var n2 = Object.defineProperty;
try {
n2({}, "", {});
} catch (e3) {
n2 = 0;
}
v = function(e3, t3, a3, r3) {
function o2(t4, a4) {
v(e3, t4, (function(e4) {
return this._invoke(t4, a4, e4);
}));
}
t3 ? n2 ? n2(e3, t3, { value: a3, enumerable: !r3, configurable: !r3, writable: !r3 }) : e3[t3] = a3 : (o2("next", 0), o2("throw", 1), o2("return", 2));
}, v(e2, t2, a2, r2);
}
function y(e2, t2, a2, r2, n2, o2, i2) {
try {
var s2 = e2[o2](i2), l2 = s2.value;
} catch (e3) {
return void a2(e3);
}
s2.done ? t2(l2) : Promise.resolve(l2).then(r2, n2);
}
function g(e2) {
return function() {
var t2 = this, a2 = arguments;
return new Promise((function(r2, n2) {
var o2 = e2.apply(t2, a2);
function i2(e3) {
y(o2, r2, n2, i2, s2, "next", e3);
}
function s2(e3) {
y(o2, r2, n2, i2, s2, "throw", e3);
}
i2(void 0);
}));
};
}
var b = { name: "ElYearPicker", directives: { clickoutside: s }, computed: { oneSelected: function() {
return this.curState === l.selecting && (this.startYear === this.endYear || null == this.endYear);
}, leftYearList: function() {
return this.yearList.slice(0, 10);
}, rightYearList: function() {
return this.yearList.slice(10, 20);
} }, props: { sp: { default: "至" }, value: { default: null }, size: { type: String, default: "medium" }, clearable: { type: Boolean, default: true }, startPlaceholder: { type: String, default: "开始年份" }, endPlaceholder: { type: String, default: "结束年份" } }, data: function() {
return { itemBg: {}, startShowYear: null, endShowYear: null, yearList: [], showPanel: false, startYear: null, endYear: null, curYear: 0, curSelectedYear: 0, curState: l.unselect, isHover: false };
}, methods: { handleInput: function(e2) {
switch (e2) {
case "start":
if (isNaN(this.startShowYear)) return void (this.startShowYear = this.startYear);
this.startYear = 1 * this.startShowYear;
break;
case "end":
if (isNaN(this.endShowYear)) return void (this.endShowYear = this.endYear);
this.endYear = 1 * this.endShowYear;
break;
}
var t2 = [this.endYear, this.startYear];
this.startYear = t2[0], this.endYear = t2[1], this.startShowYear = this.startYear, this.endShowYear = this.endYear;
}, onHoverItem: function(e2) {
if (this.curState === l.selecting) {
var t2 = this.curSelectedYear;
this.endYear = Math.max(t2, e2), this.startYear = Math.min(t2, e2);
}
}, onClickItem: (function() {
var e2 = g(h().m((function e3(t3) {
return h().w((function(e4) {
while (1) switch (e4.n) {
case 0:
if (this.curState !== l.unselect && this.curState !== l.selected) {
e4.n = 1;
break;
}
this.startYear = t3, this.curSelectedYear = t3, this.endYear = null, this.curState = l.selecting, e4.n = 3;
break;
case 1:
if (this.curState !== l.selecting) {
e4.n = 3;
break;
}
return this.endShowYear = this.endYear || this.startYear, this.startShowYear = this.startYear, this.curState = l.selected, e4.n = 2, this.$nextTick();
case 2:
this.showPanel = false, this.$emit("onChange", [this.startShowYear, this.endShowYear]);
case 3:
return e4.a(2);
}
}), e3, this);
})));
function t2(t3) {
return e2.apply(this, arguments);
}
return t2;
})(), onFocus: (function() {
var e2 = g(h().m((function e3() {
return h().w((function(e4) {
while (1) switch (e4.n) {
case 0:
return e4.n = 1, this.$nextTick();
case 1:
this.showPanel = true;
case 2:
return e4.a(2);
}
}), e3, this);
})));
function t2() {
return e2.apply(this, arguments);
}
return t2;
})(), handleHover: function(e2) {
this.isHover = e2;
}, updateYearList: function() {
var e2 = 10 * ~~(this.curYear / 10);
this.yearList = [];
for (var t2 = 0; t2 < 20; t2++) this.yearList.push(e2 + t2);
}, onClickLeft: function() {
this.curYear = 1 * this.curYear - 10, this.updateYearList();
}, onClickRight: function() {
this.curYear = 1 * this.curYear + 10, this.updateYearList();
}, onClear: function() {
this.startShowYear && this.isHover && this.clearable && (this.startYear = null, this.endYear = null, this.curSelectedYear = 0, this.curState = l.unselect, this.showPanel = false, this.curYear = i()().format("yyyy"), this.updateYearList(), this.startShowYear = "", this.endShowYear = "", this.$emit("onChange", null));
} }, watch: { value: { handler: function(e2) {
if (0 == e2.length) this.startShowYear = "", this.endShowYear = "", this.startYear = "", this.endYear = "";
else {
var t2 = e2 || [], a2 = c(t2, 2);
a2[0], a2[1];
this.startShowYear = e2[0], this.endShowYear = e2[1];
}
}, immediate: true, deep: true }, startShowYear: { handler: function(e2) {
this.$emit("input", [e2, this.endShowYear || ""]);
}, immediate: true, deep: true }, endShowYear: { handler: function(e2) {
this.$emit("input", [this.startShowYear || "", e2]);
}, immediate: true, deep: true } }, created: function() {
console.log("value", this.value);
var e2 = this.value || [], t2 = c(e2, 2), a2 = t2[0], r2 = t2[1];
a2 ? (this.startYear = Number(a2), this.endYear = Number(r2), this.curState = l.selected, this.curYear = a2) : this.curYear = i()().format("yyyy"), this.updateYearList();
}, mounted: function() {
window.Vue = this;
} }, _ = b, w = (a("a5de"), a("e3bf"), a("829d")), C = Object(w["a"])(_, r, n, false, null, "0f71f772", null);
t["a"] = C.exports;
}, "0bc7": function(e, t, a) {
"use strict";
a("ed13");
}, "0d91": function(e, t, a) {
"use strict";
a("7c3e");
}, "10a0": function(e, t, a) {
}, 1502: function(e, t, a) {
"use strict";
var r = function() {
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
return a2("el-form", { ref: "frequencyFrom", staticClass: "frequencyFrom", style: { marginTop: 0 === e2.index ? "30px" : "" }, attrs: { model: e2.frequencyFrom, rules: e2.frequencyFromRules, inline: true, "label-width": "200px" } }, [0 === e2.frequencyType ? [a2("el-form-item", { staticClass: "formItem", attrs: { label: "每日起止时间 " + (e2.index + 1), prop: "time" } }, [a2("el-time-picker", { key: "day" + e2.index, staticStyle: { width: "400px" }, attrs: { "is-range": "", editable: e2.timePickerEditable, format: "HH:mm", "value-format": "HH:mm", "range-separator": "至", disabled: e2.disabled, "start-placeholder": "开始时间", "end-placeholder": "结束时间", placeholder: "选择时间范围" }, on: { change: e2.planTimePickerChange, blur: e2.planTimePicker }, model: { value: e2.frequencyFrom.time, callback: function(t3) {
e2.$set(e2.frequencyFrom, "time", t3);
}, expression: "frequencyFrom.time" } })], 1)] : e2._e(), e2._v(" "), 1 === e2.frequencyType ? [a2("el-form-item", { staticClass: "formItem", attrs: { label: "每周执行频率 " + (e2.index + 1), prop: "startWeek" } }, [a2("el-select", { key: "startWeek" + e2.index, style: { width: e2.inputWdth }, attrs: { clearable: "", disabled: e2.disabled, placeholder: "请选择开始周" }, on: { change: e2.startWeekSelectChange }, model: { value: e2.frequencyFrom.startWeek, callback: function(t3) {
e2.$set(e2.frequencyFrom, "startWeek", t3);
}, expression: "frequencyFrom.startWeek" } }, e2._l(e2.cycleWeekArr, (function(e3) {
return a2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } });
})), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { prop: "startTime" } }, [a2("el-time-picker", { key: "startTime" + e2.index, style: { width: e2.inputWdth }, attrs: { clearable: "", editable: e2.timePickerEditable, disabled: e2.disabled, format: "HH:mm", "value-format": "HH:mm", placeholder: "开始时间" }, on: { change: e2.startWeekTimeChange }, model: { value: e2.frequencyFrom.startTime, callback: function(t3) {
e2.$set(e2.frequencyFrom, "startTime", t3);
}, expression: "frequencyFrom.startTime" } })], 1), e2._v(" "), a2("span", { staticClass: "link-text" }, [e2._v("至")]), e2._v(" "), a2("el-form-item", { attrs: { prop: "endWeek" } }, [a2("el-select", { key: "endWeek" + e2.index, style: { width: e2.inputWdth }, attrs: { clearable: "", disabled: e2.disabled, placeholder: "请选择结束周" }, on: { change: e2.weekSelectChange }, model: { value: e2.frequencyFrom.endWeek, callback: function(t3) {
e2.$set(e2.frequencyFrom, "endWeek", t3);
}, expression: "frequencyFrom.endWeek" } }, e2._l(e2.cycleWeekArr, (function(e3) {
return a2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } });
})), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { prop: "endTime" } }, [a2("el-time-picker", { key: "endTime" + e2.index, style: { width: e2.inputWdth }, attrs: { clearable: "", editable: e2.timePickerEditable, disabled: e2.disabled, format: "HH:mm", "value-format": "HH:mm", "picker-options": { minTime: e2.frequencyFrom.startTime }, placeholder: "结束时间" }, on: { change: e2.weekTimeChange }, model: { value: e2.frequencyFrom.endTime, callback: function(t3) {
e2.$set(e2.frequencyFrom, "endTime", t3);
}, expression: "frequencyFrom.endTime" } })], 1)] : e2._e(), e2._v(" "), 2 === e2.frequencyType ? [a2("el-form-item", { staticClass: "formItem", attrs: { label: "每月执行频率 " + (e2.index + 1), prop: "startMonth" } }, [a2("el-select", { key: "startMonth" + e2.index, style: { width: e2.inputWdth }, attrs: { clearable: "", disabled: e2.disabled, placeholder: "请选择开始日期" }, on: { change: e2.monthStartChage }, model: { value: e2.frequencyFrom.startMonth, callback: function(t3) {
e2.$set(e2.frequencyFrom, "startMonth", t3);
}, expression: "frequencyFrom.startMonth" } }, e2._l(e2.monthArr, (function(e3) {
return a2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } });
})), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { prop: "monthStartTime" } }, [a2("el-time-picker", { key: "monthStartTime" + e2.index, style: { width: e2.inputWdth }, attrs: { clearable: "", editable: e2.timePickerEditable, disabled: e2.disabled, format: "HH:mm", "value-format": "HH:mm", placeholder: "开始时间" }, on: { change: e2.monthStartTimeChage }, model: { value: e2.frequencyFrom.monthStartTime, callback: function(t3) {
e2.$set(e2.frequencyFrom, "monthStartTime", t3);
}, expression: "frequencyFrom.monthStartTime" } })], 1), e2._v(" "), a2("span", { staticClass: "link-text" }, [e2._v("至")]), e2._v(" "), a2("el-form-item", { attrs: { prop: "endMonth" } }, [a2("el-select", { key: "endMonth" + e2.index, style: { width: e2.inputWdth }, attrs: { disabled: e2.disabled, clearable: "", placeholder: "请选择结束日期" }, on: { change: e2.endMonthChage }, model: { value: e2.frequencyFrom.endMonth, callback: function(t3) {
e2.$set(e2.frequencyFrom, "endMonth", t3);
}, expression: "frequencyFrom.endMonth" } }, e2._l(e2.monthArr, (function(e3) {
return a2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } });
})), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { prop: "monthEndTime" } }, [a2("el-time-picker", { key: "monthEndTime" + e2.index, style: { width: e2.inputWdth }, attrs: { clearable: "", editable: e2.timePickerEditable, disabled: e2.disabled, format: "HH:mm", "value-format": "HH:mm", placeholder: "结束时间" }, on: { change: e2.monthEndTimeChage }, model: { value: e2.frequencyFrom.monthEndTime, callback: function(t3) {
e2.$set(e2.frequencyFrom, "monthEndTime", t3);
}, expression: "frequencyFrom.monthEndTime" } })], 1)] : e2._e(), e2._v(" "), 4 === e2.frequencyType ? [a2("el-form-item", { staticClass: "formItem", attrs: { label: "每年执行频率 " + (e2.index + 1), prop: "yearStartMonth" } }, [a2("el-select", { key: "yearStartMonth" + e2.index, style: { width: e2.inputWdth }, attrs: { clearable: "", disabled: e2.disabled, placeholder: "请选择开始月份" }, on: { change: e2.yaerMonthStartChage }, model: { value: e2.frequencyFrom.yearStartMonth, callback: function(t3) {
e2.$set(e2.frequencyFrom, "yearStartMonth", t3);
}, expression: "frequencyFrom.yearStartMonth" } }, e2._l(e2.yaerArr, (function(e3) {
return a2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } });
})), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { prop: "startDay" } }, [a2("el-select", { key: "startDay" + e2.index, style: { width: e2.inputWdth }, attrs: { clearable: "", disabled: e2.disabled, placeholder: "请选择开始日期" }, on: { change: e2.monthStartDayChage }, model: { value: e2.frequencyFrom.startDay, callback: function(t3) {
e2.$set(e2.frequencyFrom, "startDay", t3);
}, expression: "frequencyFrom.startDay" } }, e2._l(e2.monthArr, (function(e3) {
return a2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } });
})), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { prop: "monthStartTimer" } }, [a2("el-time-picker", { key: "monthStartTimer" + e2.index, style: { width: e2.inputWdth }, attrs: { clearable: "", editable: e2.timePickerEditable, disabled: e2.disabled, format: "HH:mm", "value-format": "HH:mm", placeholder: "开始时间" }, on: { change: e2.monthDayStartTimeChage }, model: { value: e2.frequencyFrom.monthStartTimer, callback: function(t3) {
e2.$set(e2.frequencyFrom, "monthStartTimer", t3);
}, expression: "frequencyFrom.monthStartTimer" } })], 1), e2._v(" "), a2("span", { staticClass: "link-text" }, [e2._v("至")]), e2._v(" "), a2("el-form-item", { attrs: { prop: "yaerEndMonth" } }, [a2("el-select", { key: "yaerEndMonth" + e2.index, style: { width: e2.inputWdth }, attrs: { disabled: e2.disabled, clearable: "", placeholder: "请选择结束月份" }, on: { change: e2.yaerEndMonthChage }, model: { value: e2.frequencyFrom.yaerEndMonth, callback: function(t3) {
e2.$set(e2.frequencyFrom, "yaerEndMonth", t3);
}, expression: "frequencyFrom.yaerEndMonth" } }, e2._l(e2.yaerArr, (function(e3) {
return a2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } });
})), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { prop: "endDay" } }, [a2("el-select", { key: "endDay" + e2.index, style: { width: e2.inputWdth }, attrs: { disabled: e2.disabled, clearable: "", placeholder: "请选择结束日期" }, on: { change: e2.endMonthDayChage }, model: { value: e2.frequencyFrom.endDay, callback: function(t3) {
e2.$set(e2.frequencyFrom, "endDay", t3);
}, expression: "frequencyFrom.endDay" } }, e2._l(e2.monthArr, (function(e3) {
return a2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } });
})), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { prop: "monthEndTimer" } }, [a2("el-time-picker", { key: "monthEndTimer" + e2.index, style: { width: e2.inputWdth }, attrs: { clearable: "", editable: e2.timePickerEditable, disabled: e2.disabled, format: "HH:mm", "value-format": "HH:mm", placeholder: "结束时间" }, on: { change: e2.monthEndDayTimeChage }, model: { value: e2.frequencyFrom.monthEndTimer, callback: function(t3) {
e2.$set(e2.frequencyFrom, "monthEndTimer", t3);
}, expression: "frequencyFrom.monthEndTimer" } })], 1)] : e2._e()], 2);
}, n = [], o = { name: "frequencyFrom", props: { frequencyType: { type: Number, default: 0 }, index: { type: Number, default: 0 }, disabled: { type: Boolean, default: false }, reviewData: { type: Object | Array, default: function() {
return [];
} }, isEdit: { type: Boolean, default: false } }, data: function() {
return { timePickerEditable: true, frequencyFrom: {}, dayObj: { time: "" }, weekObj: { startWeek: "", startTime: "", endWeek: "", endTime: "" }, monthObj: { startMonth: "", monthStartTime: "", endMonth: "", monthEndTime: "" }, yearObj: { yearStartMonth: "", startDay: "", monthStartTimer: "", yaerEndMonth: "", endDay: "", monthEndTimer: "" }, inputWdth: "150px", frequencyFromRules: { time: [{ required: true, message: "请选择起止时间", trigger: "blur" }], startWeek: [{ required: true, message: "请选择开始时间", trigger: "blur" }], startTime: [{ required: true, message: "请选择结束时间", trigger: "blur" }], endWeek: [{ required: true, message: "请选择起止时间", trigger: "blur" }], endTime: [{ required: true, message: "请选择结束时间", trigger: "blur" }], startMonth: [{ required: true, message: "请选择每月开始日期", trigger: "blur" }], endMonth: [{ required: true, message: "请选择每月结束日期", trigger: "blur" }], monthStartTime: [{ required: true, message: "请选择每月开始日期开始时间", trigger: "blur" }], monthEndTime: [{ required: true, message: "请选择每月结束日期结束时间", trigger: "blur" }], yearStartMonth: [{ required: true, message: "请选择每年开始月份", trigger: "blur" }], startDay: [{ required: true, message: "请选择每年开始日期", trigger: "blur" }], monthStartTimer: [{ required: true, message: "请选择每年开始日期开始时间", trigger: "blur" }], yaerEndMonth: [{ required: true, message: "请选择每年结束月份", trigger: "blur" }], endDay: [{ required: true, message: "请选择每年结束日期", trigger: "blur" }], monthEndTimer: [{ required: true, message: "请选择每年结束日期结束时间", trigger: "blur" }] }, cycleWeekArr: [{ label: "星期一", value: 1 }, { label: "星期二", value: 2 }, { label: "星期三", value: 3 }, { label: "星期四", value: 4 }, { label: "星期五", value: 5 }, { label: "星期六", value: 6 }, { label: "星期日", value: 7 }], monthArr: [{ label: "1号", value: "01" }, { label: "2号", value: "02" }, { label: "3号", value: "03" }, { label: "4号", value: "04" }, { label: "5号", value: "05" }, { label: "6号", value: "06" }, { label: "7号", value: "07" }, { label: "8号", value: "08" }, { label: "9号", value: "09" }, { label: "10号", value: "10" }, { label: "11号", value: "11" }, { label: "12号", value: "12" }, { label: "13号", value: "13" }, { label: "14号", value: "14" }, { label: "15号", value: "15" }, { label: "16号", value: "16" }, { label: "17号", value: "17" }, { label: "18号", value: "18" }, { label: "19号", value: "19" }, { label: "20号", value: "20" }, { label: "21号", value: "21" }, { label: "22号", value: "22" }, { label: "23号", value: "23" }, { label: "24号", value: "24" }, { label: "25号", value: "25" }, { label: "26号", value: "26" }, { label: "27号", value: "27" }, { label: "28号", value: "28" }, { label: "29号", value: "29" }, { label: "30号", value: "30" }, { label: "31号", value: "31" }], yaerArr: [{ label: "一月", value: "01" }, { label: "二月", value: "02" }, { label: "三月", value: "03" }, { label: "四月", value: "04" }, { label: "五月", value: "05" }, { label: "六月", value: "06" }, { label: "七月", value: "07" }, { label: "八月", value: "08" }, { label: "九月", value: "09" }, { label: "十月", value: "10" }, { label: "十一月", value: "11" }, { label: "十二月", value: "12" }] };
}, watch: { frequencyFrom: { handler: function() {
this.$emit("input", this.frequencyFrom);
}, deep: true }, isEdit: { handler: function(e2, t2) {
e2 && 0 === this.frequencyType && (this.frequencyFrom.time = this.reviewData);
}, deep: true } }, mounted: function() {
this.frequencyFrom = {}, console.log("this.isEdit", this.isEdit), console.log("this.reviewData", this.reviewData), 0 === this.frequencyType ? this.isEdit ? (this.dayObj = this.reviewData, this.frequencyFrom.time = this.dayObj) : this.frequencyFrom = this.dayObj : 1 === this.frequencyType ? this.isEdit ? this.frequencyFrom = this.reviewData : this.frequencyFrom = this.weekObj : 2 === this.frequencyType ? this.isEdit ? this.frequencyFrom = this.reviewData : this.frequencyFrom = this.monthObj : 4 === this.frequencyType && (this.isEdit ? this.frequencyFrom = this.reviewData : this.frequencyFrom = this.yearObj), this.$refs.frequencyFrom.resetFields(), console.log("this.frequencyFrom", this.frequencyFrom);
}, methods: { planTimePickerChange: function(e2) {
this.$forceUpdate();
}, planTimePicker: function(e2) {
var t2 = this;
this.$nextTick((function() {
0 === t2.frequencyType && e2 && (t2.frequencyFrom = { time: e2.value }, t2.$refs.frequencyFrom.clearValidate());
})), this.$forceUpdate();
}, compareDate: function(e2, t2) {
var a2 = new Date(e2), r2 = new Date(t2);
return a2.getTime() >= r2.getTime();
}, submitFrequencyFrom: function() {
var e2 = this, t2 = true;
return this.$refs["frequencyFrom"].validate((function(a2) {
a2 ? (e2.$emit("input", e2.frequencyFrom), t2 = true) : t2 = false;
})), console.log("%c [ status ]-", "font-size:13px; background:skyblue; color:#bf2c9f;", t2), t2;
}, startWeekSelectChange: function(e2) {
if (this.frequencyFrom.endWeek && e2 > this.frequencyFrom.endWeek) return this.$message({ type: "error", message: "计划执行频率开始周日期不能大于结束周日期,请重新选择开始周" }), this.frequencyFrom.startWeek = "", false;
}, weekSelectChange: function(e2) {
return this.frequencyFrom.startWeek ? this.frequencyFrom.startWeek > e2 ? (this.$message({ type: "error", message: "计划执行频率开始周不能大于结束周,请重新选择" }), this.frequencyFrom.endWeek = "", false) : void 0 : (this.$message({ type: "error", message: "计划执行频率开始周不能为空,请选择开始周" }), this.frequencyFrom.endWeek = "", false);
}, startWeekTimeChange: function(e2) {
if (!this.frequencyFrom.startWeek) return this.$message({ type: "error", message: "计划执行频率开始周时间不能为空,请选择开始时间" }), this.frequencyFrom.startTime = "", false;
if (this.frequencyFrom.endTime) {
var t2 = /* @__PURE__ */ new Date("2021-07-09 " + e2), a2 = /* @__PURE__ */ new Date("2021-07-09 " + this.frequencyFrom.endTime);
if (this.frequencyFrom.startWeek === this.frequencyFrom.endWeek && this.compareDate(t2, a2)) return this.$message({ type: "error", message: "计划执行频率开始周时间不能大于结束周时间,请重新选择" }), this.frequencyFrom.startTime = "", false;
}
}, weekTimeChange: function(e2) {
if (!this.frequencyFrom.startTime) return this.$message({ type: "error", message: "计划执行频率开始周时间不能为空,请选择开始时间" }), this.frequencyFrom.endTime = "", false;
if ("" === this.frequencyFrom.startWeek || "" === this.frequencyFrom.endWeek) return this.$message({ type: "error", message: "请选择计划执行频率日" }), this.frequencyFrom.endTime = "", false;
var t2 = /* @__PURE__ */ new Date("2021-07-09 " + this.frequencyFrom.startTime), a2 = /* @__PURE__ */ new Date("2021-07-09 " + e2);
return this.frequencyFrom.startWeek === this.frequencyFrom.endWeek && this.compareDate(t2, a2) ? (this.$message({ type: "error", message: "计划执行频率开始周时间不能大于结束周,请重新选择" }), this.frequencyFrom.endTime = "", false) : void 0;
}, monthStartChage: function(e2) {
if (this.frequencyFrom.endMonth && e2 > this.frequencyFrom.endMonth) return this.$message({ type: "error", message: "计划执行频率开始月日期不能大于结束月日期,请重新选择开始月日期" }), this.frequencyFrom.startMonth = "", false;
}, monthStartTimeChage: function(e2) {
if (!this.frequencyFrom.startMonth) return this.$message({ type: "error", message: "计划执行频率开始周时间不能为空,请选择开始时间" }), this.frequencyFrom.monthStartTime = "", false;
if (this.frequencyFrom.monthEndTime) {
var t2 = /* @__PURE__ */ new Date("2021-07-09 " + e2), a2 = /* @__PURE__ */ new Date("2021-07-09 " + this.frequencyFrom.monthEndTime);
if (this.frequencyFrom.startMonth === this.frequencyFrom.endMonth && this.compareDate(t2, a2)) return this.$message({ type: "error", message: "计划执行频率开始周时间不能大于结束周时间,请重新选择" }), this.frequencyFrom.monthStartTime = "", false;
}
}, endMonthChage: function(e2) {
return this.frequencyFrom.startMonth ? this.frequencyFrom.startMonth > e2 ? (this.$message({ type: "error", message: "计划执行频率开始月日期不能大于结束月日期,请重新选择" }), this.frequencyFrom.endMonth = "", false) : void 0 : (this.$message({ type: "error", message: "计划执行频率开始月日期不能为空,请选择开始月日期" }), this.frequencyFrom.endMonth = "", false);
}, monthEndTimeChage: function(e2) {
if (!this.frequencyFrom.monthStartTime) return this.$message({ type: "error", message: "计划执行频率开始月日期时间不能为空,请选择开始月日期时间" }), this.frequencyFrom.monthEndTime = "", false;
if ("" === this.frequencyFrom.startMonth || "" === this.frequencyFrom.endMonth) return this.$message({ type: "error", message: "请选择计划执行频率日" }), this.frequencyFrom.monthEndTime = "", false;
var t2 = /* @__PURE__ */ new Date("2021-07-09 " + this.frequencyFrom.monthStartTime), a2 = /* @__PURE__ */ new Date("2021-07-09 " + e2);
return this.frequencyFrom.startMonth === this.frequencyFrom.endMonth && this.compareDate(t2, a2) ? (this.$message({ type: "error", message: "计划执行频率开始月日期时间不能大于结束月日期时间,请重新选择" }), this.frequencyFrom.monthEndTime = "", false) : void 0;
}, yaerMonthStartChage: function(e2) {
if (this.frequencyFrom.yaerEndMonth && e2 > this.frequencyFrom.yaerEndMonth) return this.$message({ type: "error", message: "计划执行频率开始月份不能大于结束月份,请重新选择开始月份" }), this.frequencyFrom.yearStartMonth = "", false;
}, monthStartDayChage: function(e2) {
return this.frequencyFrom.yearStartMonth ? this.frequencyFrom.endDay && this.frequencyFrom.yearStartMonth === this.frequencyFrom.yaerEndMonth && this.frequencyFrom.startDay > this.frequencyFrom.endDay ? (this.$message({ type: "error", message: "计划执行频率开始日期不能大于结束日期时间,请重新选择" }), this.frequencyFrom.startDay = "", false) : void 0 : (this.$message({ type: "error", message: "计划执行频率开始月份不能为空,请选择开始月份" }), this.frequencyFrom.startDay = "", false);
}, monthDayStartTimeChage: function(e2) {
if (!this.frequencyFrom.yearStartMonth || !this.frequencyFrom.startDay) return this.$message({ type: "error", message: "计划执行频率开始月份或日期不能为空,请选择开始月份或日期" }), this.frequencyFrom.monthStartTimer = "", false;
if (this.frequencyFrom.monthEndTimer) {
var t2 = /* @__PURE__ */ new Date("2021-07-09 " + e2), a2 = /* @__PURE__ */ new Date("2021-07-09 " + this.frequencyFrom.monthEndTimer);
if (this.frequencyFrom.yearStartMonth === this.frequencyFrom.yaerEndMonth && this.frequencyFrom.startDay === this.frequencyFrom.endDay && this.compareDate(t2, a2)) return this.$message({ type: "error", message: "计划执行频率开始日期时间不能大于开始日期时间,请重新选择" }), this.frequencyFrom.monthStartTimer = "", false;
}
}, yaerEndMonthChage: function(e2) {
if (this.frequencyFrom.yearStartMonth > this.frequencyFrom.yaerEndMonth) return this.$message({ type: "error", message: "计划执行频率结束月份不能小于开始月份,请重新选择" }), this.frequencyFrom.yaerEndMonth = "", false;
}, endMonthDayChage: function(e2) {
if (this.frequencyFrom.yearStartMonth === this.frequencyFrom.yaerEndMonth && this.frequencyFrom.startDay > this.frequencyFrom.endDay) return this.$message({ type: "error", message: "计划执行频率结束月日期不能小于开始月日期,请重新选择" }), this.frequencyFrom.endDay = "", false;
}, monthEndDayTimeChage: function(e2) {
if (!this.frequencyFrom.monthStartTimer) return this.$message({ type: "error", message: "计划执行频率开始月日期时间不能为空,请选择开始月日期时间" }), this.frequencyFrom.monthStartTimer = "", false;
if ("" === this.frequencyFrom.startDay || "" === this.frequencyFrom.endDay) return this.$message({ type: "error", message: "请选择计划执行频率日" }), this.frequencyFrom.monthEndTimer = "", false;
var t2 = /* @__PURE__ */ new Date("2021-07-09 " + this.frequencyFrom.monthStartTimer), a2 = /* @__PURE__ */ new Date("2021-07-09 " + e2);
return this.frequencyFrom.yearStartMonth === this.frequencyFrom.yaerEndMonth && this.frequencyFrom.startDay === this.frequencyFrom.endDay && this.compareDate(t2, a2) ? (this.$message({ type: "error", message: "计划执行频率开始月日期时间不能大于结束月日期时间,请重新选择" }), this.frequencyFrom.monthEndTimer = "", false) : void 0;
} } }, i = o, s = (a("0d91"), a("829d")), l = Object(s["a"])(i, r, n, false, null, "1dbe5eb2", null);
t["a"] = l.exports;
}, 1530: function(e, t, a) {
}, 1994: function(e, t, a) {
}, "1a80": function(e, t, a) {
"use strict";
var r = function() {
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
return a2("div", { staticClass: "picturePreview" }, [a2("el-dialog", { staticClass: "dialogHead", attrs: { title: "图片预览", visible: e2.imgDialogVisible, "before-close": e2.handleClose }, on: { "update:visible": function(t3) {
e2.imgDialogVisible = t3;
} } }, [a2("img", { attrs: { width: "100%", src: e2.dialogImageUrl, alt: "" } })])], 1);
}, n = [], o = { props: ["dialogImageUrl", "imgDialogVisible"], methods: { handleClose: function() {
this.$emit("handleClose", false);
} } }, i = o, s = (a("e0c6"), a("829d")), l = Object(s["a"])(i, r, n, false, null, "580a9db2", null);
t["a"] = l.exports;
}, "1b1c": function(e, t, a) {
"use strict";
a("b31a");
}, "1f40": function(e, t, a) {
"use strict";
a("2c7f");
}, "29fe": function(e, t, a) {
"use strict";
a("93b1");
}, "2c7f": function(e, t, a) {
}, "2f9e": function(e, t, a) {
}, "2fbb": function(e, t, a) {
"use strict";
var r = function() {
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
return a2("div", { staticClass: "workPointsManage" }, [e2.infoList ? a2("div", { staticClass: "workPointsRuleList" }, [a2("el-card", { staticClass: "box-card secarch-box" }, [a2("el-row", [a2("el-col", { staticClass: "elCol", attrs: { span: 5 } }, [a2("el-input", { attrs: { type: "text", clearable: "", placeholder: "合同编号" }, model: { value: e2.query.contractNo, callback: function(t3) {
e2.$set(e2.query, "contractNo", "string" === typeof t3 ? t3.trim() : t3);
}, expression: "query.contractNo" } })], 1), e2._v(" "), a2("el-col", { staticClass: "elCol", attrs: { span: 5 } }, [a2("el-select", { staticClass: "select-dom", attrs: { clearable: "", placeholder: "请选择合同类型" }, model: { value: e2.query.type, callback: function(t3) {
e2.$set(e2.query, "type", t3);
}, expression: "query.type" } }, e2._l(e2.contractTypeList, (function(e3) {
return a2("el-option", { key: e3.value, attrs: { label: e3.name, value: e3.value } });
})), 1)], 1), e2._v(" "), a2("el-col", { staticClass: "elCol", attrs: { span: 5 } }, [a2("el-input", { attrs: { type: "text", clearable: "", placeholder: "合同名称" }, model: { value: e2.query.name, callback: function(t3) {
e2.$set(e2.query, "name", "string" === typeof t3 ? t3.trim() : t3);
}, expression: "query.name" } })], 1), e2._v(" "), a2("el-col", { staticClass: "elCol", attrs: { span: 5 } }, [a2("el-input", { attrs: { type: "text", clearable: "", placeholder: "甲方" }, model: { value: e2.query.firstName, callback: function(t3) {
e2.$set(e2.query, "firstName", "string" === typeof t3 ? t3.trim() : t3);
}, expression: "query.firstName" } })], 1), e2._v(" "), a2("el-col", { staticClass: "elCol", attrs: { span: 4 } }, [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], on: { click: function(t3) {
return e2.resetForm();
} } }, [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("查询")])], 1)], 1), e2._v(" "), a2("el-row", [a2("el-col", { staticClass: "elCol", attrs: { span: 5 } }, [a2("el-input", { attrs: { type: "text", clearable: "", placeholder: "甲方代表" }, model: { value: e2.query.firstDelegateName, callback: function(t3) {
e2.$set(e2.query, "firstDelegateName", "string" === typeof t3 ? t3.trim() : t3);
}, expression: "query.firstDelegateName" } })], 1), e2._v(" "), a2("el-col", { staticClass: "elCol", attrs: { span: 5 } }, [a2("el-input", { attrs: { type: "text", clearable: "", placeholder: "乙方" }, model: { value: e2.query.secondName, callback: function(t3) {
e2.$set(e2.query, "secondName", "string" === typeof t3 ? t3.trim() : t3);
}, expression: "query.secondName" } })], 1), e2._v(" "), a2("el-col", { staticClass: "elCol", attrs: { span: 5 } }, [a2("el-input", { attrs: { type: "text", clearable: "", placeholder: "乙方代表" }, model: { value: e2.query.secondDelegateName, callback: function(t3) {
e2.$set(e2.query, "secondDelegateName", "string" === typeof t3 ? t3.trim() : t3);
}, expression: "query.secondDelegateName" } })], 1), e2._v(" "), a2("el-col", { staticClass: "elCol", attrs: { span: 5 } }, [a2("el-select", { staticClass: "select-dom", attrs: { clearable: "", placeholder: "请选择合同归属" }, model: { value: e2.query.category, callback: function(t3) {
e2.$set(e2.query, "category", t3);
}, expression: "query.category" } }, e2._l(e2.ascription, (function(e3) {
return a2("el-option", { key: e3.value, attrs: { label: e3.name, value: e3.value } });
})), 1)], 1)], 1)], 1), e2._v(" "), a2("el-card", { staticClass: "box-card", staticStyle: { "margin-top": "15px" } }, [a2("div", { staticClass: "planLst", attrs: { slot: "header" }, slot: "header" }, [a2("span", { staticClass: "planTitle" }, [e2._v(e2._s(e2.titleType) + "合同列表")]), e2._v(" "), a2("div", [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], staticClass: "el-icon-plus", attrs: { type: "primary" }, on: { click: e2.addRuleGroup } }, [e2._v("新建合同")])], 1)]), e2._v(" "), a2("el-table", { staticStyle: { width: "100%", "margin-top": "15px" }, attrs: { border: "", data: e2.tableData, "header-cell-style": e2.headClass } }, [a2("el-table-column", { attrs: { label: "#", align: "center", "min-width": "50", fixed: "", "show-overflow-tooltip": "" }, 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) + " ")])];
} }], null, false, 3830243315) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "category", label: "合同归属", "min-width": "80", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [a2("span", [e2._v(e2._s(e2.categoryArr(t3.row.category)))])];
} }], null, false, 748369958) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "contractNo", label: "合同编号", "min-width": "120", "show-overflow-tooltip": "" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "type", 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.type, e2.contractTypeList, "value", "name")) + "\n ")];
} }], null, false, 98569679) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "name", label: "合同名称", "min-width": "180", "show-overflow-tooltip": "" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "right", prop: "amount", label: "合同金额", "min-width": "130", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(e2.formatNum(t3.row.amount)) + "\n ")];
} }], null, false, 3447029957) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "firstName", label: "甲方", "min-width": "150", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [4 != t3.row.type ? a2("span", [e2._v(e2._s(t3.row.firstName))]) : a2("span", [e2._v(e2._s(e2.reViewPartyInfor(t3.row, "partyAName")))])];
} }], null, false, 2335734002) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "startTime", label: "开始日期", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [a2("span", [e2._v(e2._s(e2._f("formatDate")(t3.row.startTime, "Y/M/D")))])];
} }], null, false, 52763585) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "endTime", label: "结束日期", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [a2("span", [e2._v(e2._s(e2._f("formatDate")(t3.row.endTime, "Y/M/D")))])];
} }], null, false, 1926568910) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "signTime", label: "签订日期", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [a2("span", [e2._v(e2._s(e2._f("formatDate")(t3.row.signTime, "Y/M/D")))])];
} }], null, false, 2951409554) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "firstDelegateName", label: "甲方代表", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [a2("span", [e2._v(e2._s(t3.row.firstDelegateName))])];
} }], null, false, 3406781956) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "secondDelegateName", label: "乙方代表", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [a2("span", [e2._v(e2._s(t3.row.secondDelegateName))])];
} }], null, false, 4076204526) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", fixed: "right", label: "操作", "min-width": "140", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [a2("span", [a2("el-button", { attrs: { type: "text" }, on: { click: function(a3) {
return e2.detailsClick(t3.row, "view");
} } }, [e2._v("查看")])], 1), e2._v(" "), a2("span", [a2("el-button", { attrs: { type: "text" }, on: { click: function(a3) {
return e2.detailsClick(t3.row, "edit");
} } }, [e2._v("编辑")])], 1), e2._v(" "), a2("span", [a2("el-button", { attrs: { type: "text" }, on: { click: function(a3) {
return e2.deleteClick(t3.row);
} } }, [e2._v("删除")])], 1)];
} }], null, false, 1324635132) })], 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.addEditCon ? a2("div", { staticClass: "viewDetails" }, [a2("contractInfor", { ref: "contractInfor", attrs: { ascription: e2.ascription, type: e2.type, titleType: e2.titleType, contractType: e2.contractType }, on: { goBack: e2.goBack } })], 1) : e2._e(), e2._v(" "), e2.viewInfor ? a2("div", { staticClass: "viewDetails" }, [a2("viewContractInfor", { ref: "viewContractInfor", attrs: { ascription: e2.ascription, type: e2.type, titleType: e2.titleType }, on: { goBack: e2.goBack } })], 1) : e2._e()]);
}, n = [], o = a("35ad"), i = 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", { attrs: { content: e2.content }, on: { back: e2.goBack } }), e2._v(" "), "view" === e2.type ? a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], staticClass: "editBtn", attrs: { type: "primary", plain: "", size: "small" }, on: { click: function(t3) {
return e2.editBusiness();
} } }, [e2._v("编辑")]) : e2._e(), e2._v(" "), a2("el-form", { ref: "ontractForm", staticClass: "demo-ontractForm", attrs: { model: e2.ontractForm, rules: e2.rules, "label-width": "140px" } }, [a2("div", { staticClass: "rule typeface" }, [e2._v(e2._s(e2.classifyTitle) + "基本信息")]), e2._v(" "), a2("div", { staticClass: "vote-form" }, [a2("el-row", [a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "合同编号", prop: "contractNo" } }, [a2("el-input", { attrs: { disabled: e2.disabled, placeholder: "请输入合同编号", maxlength: "64", "show-word-limit": "" }, model: { value: e2.ontractForm.contractNo, callback: function(t3) {
e2.$set(e2.ontractForm, "contractNo", "string" === typeof t3 ? t3.trim() : t3);
}, expression: "ontractForm.contractNo" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { offset: 2, span: 6 } }, [a2("el-form-item", { attrs: { label: "合同类型", prop: "type" } }, [a2("el-select", { staticClass: "select-dom", attrs: { disabled: e2.disabled, clearable: "", placeholder: "请选择合同类型" }, on: { change: e2.contractTypeChange }, model: { value: e2.ontractForm.type, callback: function(t3) {
e2.$set(e2.ontractForm, "type", t3);
}, expression: "ontractForm.type" } }, e2._l(e2.contractTypeList, (function(e3) {
return a2("el-option", { key: e3.value, attrs: { label: e3.name, value: e3.value } });
})), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { offset: 2, span: 6 } }, [a2("el-form-item", { attrs: { label: "合同名称", prop: "name" } }, [a2("el-input", { attrs: { disabled: e2.disabled, placeholder: "请输入合同名称", maxlength: "64", "show-word-limit": "" }, model: { value: e2.ontractForm.name, callback: function(t3) {
e2.$set(e2.ontractForm, "name", "string" === typeof t3 ? t3.trim() : t3);
}, expression: "ontractForm.name" } })], 1)], 1)], 1), e2._v(" "), a2("el-row", [a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "合同金额", prop: "amount" } }, [a2("el-input", { attrs: { disabled: e2.disabled, placeholder: "请输入合同金额", maxlength: "13", "show-word-limit": "" }, on: { input: function(t3) {
return e2.priceInput(t3, "amount");
} }, model: { value: e2.ontractForm.amount, callback: function(t3) {
e2.$set(e2.ontractForm, "amount", "string" === typeof t3 ? t3.trim() : t3);
}, expression: "ontractForm.amount" } }, [a2("template", { slot: "append" }, [e2._v("元")])], 2)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { offset: 2, span: 6 } }, [a2("el-form-item", { attrs: { label: "覆盖项目", prop: "projectUuid" } }, [a2("el-select", { staticClass: "select-dom", attrs: { disabled: e2.disabled, multiple: "", "collapse-tags": "", clearable: "", placeholder: "请选择覆盖项目" }, on: { change: e2.projectChange, clear: e2.projectClear }, model: { value: e2.ontractForm.projectUuid, callback: function(t3) {
e2.$set(e2.ontractForm, "projectUuid", t3);
}, expression: "ontractForm.projectUuid" } }, e2._l(e2.projectList, (function(e3) {
return a2("el-option", { key: e3.uuid, attrs: { label: e3.name, value: e3.uuid } });
})), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { offset: 2, span: 6 } }, [a2("el-form-item", { attrs: { label: "合同归属", prop: "category" } }, [a2("el-select", { staticClass: "select-dom", attrs: { multiple: "", disabled: e2.disabled, "collapse-tags": "", clearable: "", placeholder: "请选择合同归属" }, on: { change: e2.categoryChange, clear: e2.categoryClear }, model: { value: e2.ontractForm.category, callback: function(t3) {
e2.$set(e2.ontractForm, "category", t3);
}, expression: "ontractForm.category" } }, e2._l(e2.ascriptionList, (function(e3) {
return a2("el-option", { key: e3.value, attrs: { label: e3.name, value: e3.value } });
})), 1)], 1)], 1)], 1), e2._v(" "), a2("el-row", [a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "合同签订时间", prop: "signTime" } }, [a2("el-date-picker", { staticClass: "select-dom", attrs: { disabled: e2.disabled, format: "yyyy-MM-dd", "value-format": "yyyy-MM-dd 23:59:59", type: "date", placeholder: "选择日期" }, model: { value: e2.ontractForm.signTime, callback: function(t3) {
e2.$set(e2.ontractForm, "signTime", t3);
}, expression: "ontractForm.signTime" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { offset: 2, span: 6 } }, [a2("el-form-item", { attrs: { label: "合同开始时间", prop: "startTime" } }, [a2("el-date-picker", { staticClass: "select-dom", attrs: { disabled: e2.disabled, format: "yyyy-MM-dd", "value-format": "yyyy-MM-dd 23:59:59", type: "date", placeholder: "选择日期" }, model: { value: e2.ontractForm.startTime, callback: function(t3) {
e2.$set(e2.ontractForm, "startTime", t3);
}, expression: "ontractForm.startTime" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { offset: 2, span: 6 } }, [a2("el-form-item", { attrs: { label: "合同结束时间", prop: "endTime" } }, [a2("el-date-picker", { staticClass: "select-dom", attrs: { disabled: e2.disabled, format: "yyyy-MM-dd", "value-format": "yyyy-MM-dd 23:59:59", type: "date", placeholder: "选择日期" }, model: { value: e2.ontractForm.endTime, callback: function(t3) {
e2.$set(e2.ontractForm, "endTime", t3);
}, expression: "ontractForm.endTime" } })], 1)], 1)], 1)], 1), e2._v(" "), 4 === e2.ontractForm.type ? a2("div", [a2("div", { staticClass: "rule typeface" }, [e2._v("租赁信息")]), e2._v(" "), a2("div", { staticClass: "vote-questions" }, e2._l(e2.ontractForm.targetInfo, (function(t3, r2) {
return a2("el-row", { key: r2 }, [a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "资源类型", prop: "targetInfo[" + r2 + "].leaseType", rules: { required: true, message: "请选择租赁资源类型", trigger: "change" } } }, [a2("el-select", { staticClass: "select-dom", attrs: { disabled: e2.disabled, placeholder: "请选择租赁资源类型" }, model: { value: t3.leaseType, callback: function(a3) {
e2.$set(t3, "leaseType", a3);
}, expression: "item.leaseType" } }, e2._l(e2.leaseTypeList, (function(e3) {
return a2("el-option", { key: e3.value, attrs: { label: e3.name, value: e3.value } });
})), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { offset: 1, span: 6 } }, [a2("el-form-item", { staticClass: "is-required", attrs: { label: e2.setThisleaseType(e2.ontractForm.targetInfo[r2].leaseType) + "编号", prop: "targetInfo[" + r2 + "].target", rules: { required: true, message: "请输入租赁类型信息", trigger: "blur" } } }, [a2("el-input", { attrs: { disabled: e2.disabled, placeholder: "请输入" + e2.setThisleaseType(e2.ontractForm.targetInfo[r2].leaseType) + "编号", maxlength: "120", "show-word-limit": "" }, model: { value: t3.target, callback: function(a3) {
e2.$set(t3, "target", "string" === typeof a3 ? a3.trim() : a3);
}, expression: "item.target" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { offset: 1, span: 4 } }, [r2 === e2.ontractForm.targetInfo.length - 1 ? a2("el-button", { staticClass: "payTypeOptBtn", attrs: { disabled: e2.disabled, type: "primary", icon: "el-icon-circle-plus-outline", size: "mini" }, on: { click: function(t4) {
return e2.addcontracttargetInfoList(r2);
} } }) : e2._e(), e2._v(" "), r2 < e2.ontractForm.targetInfo.length - 1 ? a2("el-button", { staticClass: "payTypeOptBtn", attrs: { disabled: e2.disabled, type: "primary", icon: "el-icon-delete", size: "mini" }, on: { click: function(t4) {
return e2.deletecontracttargetInfoList(r2);
} } }) : e2._e()], 1)], 1);
})), 1)]) : e2._e(), e2._v(" "), 4 != e2.ontractForm.type ? a2("div", [a2("div", { staticClass: "rule typeface" }, [e2._v(e2._s(e2.classifyTitle) + "甲方信息")]), e2._v(" "), a2("div", { staticClass: "vote-questions" }, [a2("el-row", [a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "甲方名称", prop: "firstSupplierId" } }, [a2("el-select", { staticClass: "select-dom", attrs: { disabled: e2.disabled, placeholder: "请选择甲方" }, on: { change: e2.selectChangefirstSupplier }, model: { value: e2.ontractForm.firstSupplierId, callback: function(t3) {
e2.$set(e2.ontractForm, "firstSupplierId", t3);
}, expression: "ontractForm.firstSupplierId" } }, e2._l(e2.firstSupplierList, (function(e3) {
return a2("el-option", { key: e3.id, attrs: { label: e3.name, value: e3.id } });
})), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 2 } }, [a2("el-select", { staticClass: "select-type-dom", attrs: { disabled: e2.disabled }, on: { change: function(t3) {
return e2.supplierTypeChange(t3, 1);
} }, model: { value: e2.firstSupplierType, callback: function(t3) {
e2.firstSupplierType = t3;
}, expression: "firstSupplierType" } }, e2._l(e2.supplierType, (function(e3) {
return a2("el-option", { key: e3.value, attrs: { label: e3.name, value: e3.value } });
})), 1)], 1), e2._v(" "), a2("el-col", { attrs: { offset: 0, span: 6 } }, [a2("el-form-item", { attrs: { label: "甲方代表姓名", prop: "firstDelegateName" } }, [a2("el-input", { attrs: { disabled: e2.disabled, placeholder: "请输入甲方代表姓名", maxlength: "6", "show-word-limit": "" }, model: { value: e2.ontractForm.firstDelegateName, callback: function(t3) {
e2.$set(e2.ontractForm, "firstDelegateName", "string" === typeof t3 ? t3.trim() : t3);
}, expression: "ontractForm.firstDelegateName" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { offset: 2, span: 6 } }, [a2("el-form-item", { attrs: { label: "联系方式", prop: "firstContactPhone" } }, [a2("el-input", { attrs: { disabled: e2.disabled, placeholder: "请输入甲方代表联系方式", oninput: "value=value.replace(/\\D/g,'')", maxlength: "11", "show-word-limit": "" }, model: { value: e2.ontractForm.firstContactPhone, callback: function(t3) {
e2.$set(e2.ontractForm, "firstContactPhone", e2._n(t3));
}, expression: "ontractForm.firstContactPhone" } })], 1)], 1)], 1), e2._v(" "), a2("el-row", [a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "开户银行", prop: "firstBank" } }, [a2("el-input", { attrs: { disabled: e2.disabled, placeholder: "请输入甲方开户银行", maxlength: "64", "show-word-limit": "" }, model: { value: e2.ontractForm.firstBank, callback: function(t3) {
e2.$set(e2.ontractForm, "firstBank", e2._n(t3));
}, expression: "ontractForm.firstBank" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { offset: 2, span: 6 } }, [a2("el-form-item", { attrs: { label: "甲方银行账号", prop: "firstBankAccount" } }, [a2("el-input", { attrs: { disabled: e2.disabled, placeholder: "请输入甲方银行账号", oninput: "value=value.replace(/\\D/g,'')", maxlength: "25", "show-word-limit": "" }, model: { value: e2.ontractForm.firstBankAccount, callback: function(t3) {
e2.$set(e2.ontractForm, "firstBankAccount", e2._n(t3));
}, expression: "ontractForm.firstBankAccount" } })], 1)], 1)], 1)], 1), e2._v(" "), a2("div", { staticClass: "rule typeface" }, [e2._v(e2._s(e2.classifyTitle) + "乙方信息")]), e2._v(" "), a2("div", { staticClass: "vote-questions" }, [a2("el-row", [a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "乙方名称", prop: "secondSupplierId" } }, [a2("el-select", { staticClass: "select-dom", attrs: { disabled: e2.disabled, placeholder: "请选择乙方" }, on: { change: e2.selectChangeSecondSupplier }, model: { value: e2.ontractForm.secondSupplierId, callback: function(t3) {
e2.$set(e2.ontractForm, "secondSupplierId", t3);
}, expression: "ontractForm.secondSupplierId" } }, e2._l(e2.secondSupplierList, (function(e3) {
return a2("el-option", { key: e3.id, attrs: { label: e3.name, value: e3.id } });
})), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 2 } }, [a2("el-select", { staticClass: "select-type-dom", attrs: { disabled: e2.disabled }, on: { change: function(t3) {
return e2.supplierTypeChange(t3, 2);
} }, model: { value: e2.secondSupplierType, callback: function(t3) {
e2.secondSupplierType = t3;
}, expression: "secondSupplierType" } }, e2._l(e2.supplierType, (function(e3) {
return a2("el-option", { key: e3.value, attrs: { label: e3.name, value: e3.value } });
})), 1)], 1), e2._v(" "), a2("el-col", { attrs: { offset: 0, span: 6 } }, [a2("el-form-item", { attrs: { label: "乙方代表姓名", prop: "secondDelegateName" } }, [a2("el-input", { attrs: { disabled: e2.disabled, placeholder: "请输入乙方代表姓名", maxlength: "64", "show-word-limit": "" }, model: { value: e2.ontractForm.secondDelegateName, callback: function(t3) {
e2.$set(e2.ontractForm, "secondDelegateName", "string" === typeof t3 ? t3.trim() : t3);
}, expression: "ontractForm.secondDelegateName" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { offset: 2, span: 6 } }, [a2("el-form-item", { attrs: { label: "联系方式", prop: "secondContactPhone" } }, [a2("el-input", { attrs: { disabled: e2.disabled, placeholder: "请输入乙方代表联系方式", oninput: "value=value.replace(/\\D/g,'')", maxlength: "11", "show-word-limit": "" }, nativeOn: { input: function(t3) {
return !t3.type.indexOf("key") && e2._k(t3.keyCode, "enter", 13, t3.key, "Enter") ? null : e2.updataInputChanges(t3, "ontractForm", "secondContactPhone");
} }, model: { value: e2.ontractForm.secondContactPhone, callback: function(t3) {
e2.$set(e2.ontractForm, "secondContactPhone", "string" === typeof t3 ? t3.trim() : t3);
}, expression: "ontractForm.secondContactPhone" } })], 1)], 1)], 1), e2._v(" "), a2("el-row", [a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "开户银行", prop: "secondBank" } }, [a2("el-input", { attrs: { disabled: e2.disabled, placeholder: "请输入乙方开户银行", maxlength: "64", "show-word-limit": "" }, model: { value: e2.ontractForm.secondBank, callback: function(t3) {
e2.$set(e2.ontractForm, "secondBank", "string" === typeof t3 ? t3.trim() : t3);
}, expression: "ontractForm.secondBank" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { offset: 2, span: 6 } }, [a2("el-form-item", { attrs: { label: "乙方银行账号", prop: "secondBankAccount" } }, [a2("el-input", { attrs: { disabled: e2.disabled, placeholder: "请输入乙方银行账号", oninput: "value=value.replace(/\\D/g,'')", maxlength: "25", "show-word-limit": "" }, nativeOn: { input: function(t3) {
return !t3.type.indexOf("key") && e2._k(t3.keyCode, "enter", 13, t3.key, "Enter") ? null : e2.updataInputChanges(t3, "ontractForm", "secondBankAccount");
} }, model: { value: e2.ontractForm.secondBankAccount, callback: function(t3) {
e2.$set(e2.ontractForm, "secondBankAccount", "string" === typeof t3 ? t3.trim() : t3);
}, expression: "ontractForm.secondBankAccount" } })], 1)], 1)], 1)], 1)]) : a2("div", [a2("div", { staticClass: "rule typeface" }, [e2._v("甲方信息")]), e2._v(" "), a2("div", { staticClass: "vote-questions" }, [a2("el-row", [a2("el-col", { attrs: { span: 6 } }, [1 === e2.ontractForm.contractInfo.partyAType ? a2("el-form-item", { attrs: { label: "甲方名称", prop: "contractInfo.partyAName", rules: { required: true, message: "请输入甲方名称", trigger: "blur" } } }, [a2("el-input", { attrs: { disabled: e2.disabled, placeholder: "请输入甲方名称", maxlength: "64", "show-word-limit": "" }, model: { value: e2.ontractForm.contractInfo.partyAName, callback: function(t3) {
e2.$set(e2.ontractForm.contractInfo, "partyAName", "string" === typeof t3 ? t3.trim() : t3);
}, expression: "ontractForm.contractInfo.partyAName" } })], 1) : a2("el-form-item", { attrs: { label: "甲方姓名", prop: "contractInfo.partyAPerson", rules: { required: true, message: "请输入甲方姓名", trigger: "blur" } } }, [a2("el-input", { attrs: { disabled: e2.disabled, placeholder: "请输入甲方姓名", maxlength: "6", "show-word-limit": "" }, model: { value: e2.ontractForm.contractInfo.partyAPerson, callback: function(t3) {
e2.$set(e2.ontractForm.contractInfo, "partyAPerson", "string" === typeof t3 ? t3.trim() : t3);
}, expression: "ontractForm.contractInfo.partyAPerson" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 2 } }, [a2("el-select", { staticClass: "select-type-dom", attrs: { disabled: e2.disabled }, model: { value: e2.ontractForm.contractInfo.partyAType, callback: function(t3) {
e2.$set(e2.ontractForm.contractInfo, "partyAType", t3);
}, expression: "ontractForm.contractInfo.partyAType" } }, e2._l(e2.contractInfoPartyTypeList, (function(e3) {
return a2("el-option", { key: e3.value, attrs: { label: e3.name, value: e3.value } });
})), 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 8 } }, [1 === e2.ontractForm.contractInfo.partyAType ? a2("el-form-item", { attrs: { label: "公司社会信用代码", prop: "contractInfo.partyAIdCard", rules: { required: true, message: "请输入公司统一社会信用代码", trigger: "blur" } } }, [a2("el-input", { attrs: { disabled: e2.disabled, placeholder: "请输入公司统一社会信用代码", maxlength: "32", "show-word-limit": "" }, model: { value: e2.ontractForm.contractInfo.partyAIdCard, callback: function(t3) {
e2.$set(e2.ontractForm.contractInfo, "partyAIdCard", "string" === typeof t3 ? t3.trim() : t3);
}, expression: "ontractForm.contractInfo.partyAIdCard" } })], 1) : a2("el-form-item", { attrs: { label: "身份证号码", prop: "contractInfo.partyAIdCard", rules: e2.contractInfoRules.partyBIdCard } }, [a2("el-input", { attrs: { disabled: e2.disabled, placeholder: "请输入甲方身份证号码", maxlength: "18", "show-word-limit": "" }, model: { value: e2.ontractForm.contractInfo.partyAIdCard, callback: function(t3) {
e2.$set(e2.ontractForm.contractInfo, "partyAIdCard", "string" === typeof t3 ? t3.trim() : t3);
}, expression: "ontractForm.contractInfo.partyAIdCard" } })], 1)], 1), e2._v(" "), 1 === e2.ontractForm.contractInfo.partyAType ? a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "企业法人", prop: "contractInfo.partyAPerson", rules: { required: true, message: "请输入甲方企业法人", trigger: "blur" } } }, [a2("el-input", { attrs: { disabled: e2.disabled, placeholder: "请输入甲方企业法人", maxlength: "6", "show-word-limit": "" }, model: { value: e2.ontractForm.contractInfo.partyAPerson, callback: function(t3) {
e2.$set(e2.ontractForm.contractInfo, "partyAPerson", "string" === typeof t3 ? t3.trim() : t3);
}, expression: "ontractForm.contractInfo.partyAPerson" } })], 1)], 1) : a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "联系方式", prop: "contractInfo.partyAPhone", rules: e2.contractInfoRules.partyBPhone } }, [a2("el-input", { attrs: { disabled: e2.disabled, placeholder: "请输入甲方联系方式", oninput: "value=value.replace(/\\D/g,'')", maxlength: "11", "show-word-limit": "" }, model: { value: e2.ontractForm.contractInfo.partyAPhone, callback: function(t3) {
e2.$set(e2.ontractForm.contractInfo, "partyAPhone", "string" === typeof t3 ? t3.trim() : t3);
}, expression: "ontractForm.contractInfo.partyAPhone" } })], 1)], 1)], 1)], 1), e2._v(" "), a2("div", { staticClass: "rule typeface" }, [e2._v("乙方信息")]), e2._v(" "), a2("div", { staticClass: "vote-questions" }, [a2("el-row", [a2("el-col", { attrs: { span: 6 } }, [1 === e2.ontractForm.contractInfo.partyBType ? a2("el-form-item", { attrs: { label: "乙方名称", prop: "contractInfo.partyBName", rules: { required: true, message: "请输入乙方名称", trigger: "blur" } } }, [a2("el-input", { attrs: { disabled: e2.disabled, placeholder: "请输入乙方名称", maxlength: "64", "show-word-limit": "" }, model: { value: e2.ontractForm.contractInfo.partyBName, callback: function(t3) {
e2.$set(e2.ontractForm.contractInfo, "partyBName", "string" === typeof t3 ? t3.trim() : t3);
}, expression: "ontractForm.contractInfo.partyBName" } })], 1) : a2("el-form-item", { attrs: { label: "乙方姓名", prop: "contractInfo.partyBPerson", rules: { required: true, message: "请输入乙方姓名", trigger: "blur" } } }, [a2("el-input", { attrs: { disabled: e2.disabled, placeholder: "请输入乙方姓名", maxlength: "6", "show-word-limit": "" }, model: { value: e2.ontractForm.contractInfo.partyBPerson, callback: function(t3) {
e2.$set(e2.ontractForm.contractInfo, "partyBPerson", "string" === typeof t3 ? t3.trim() : t3);
}, expression: "ontractForm.contractInfo.partyBPerson" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 2 } }, [a2("el-select", { staticClass: "select-type-dom", attrs: { disabled: e2.disabled }, model: { value: e2.ontractForm.contractInfo.partyBType, callback: function(t3) {
e2.$set(e2.ontractForm.contractInfo, "partyBType", t3);
}, expression: "ontractForm.contractInfo.partyBType" } }, e2._l(e2.contractInfoPartyTypeList, (function(e3) {
return a2("el-option", { key: e3.value, attrs: { label: e3.name, value: e3.value } });
})), 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 8 } }, [1 === e2.ontractForm.contractInfo.partyBType ? a2("el-form-item", { attrs: { label: "公司社会信用代码", prop: "contractInfo.partyBIdCard", rules: { required: true, message: "请输入公司统一社会信用代码", trigger: "blur" } } }, [a2("el-input", { attrs: { disabled: e2.disabled, placeholder: "请输入公司统一社会信用代码", maxlength: "32", "show-word-limit": "" }, model: { value: e2.ontractForm.contractInfo.partyBIdCard, callback: function(t3) {
e2.$set(e2.ontractForm.contractInfo, "partyBIdCard", "string" === typeof t3 ? t3.trim() : t3);
}, expression: "ontractForm.contractInfo.partyBIdCard" } })], 1) : a2("el-form-item", { attrs: { label: "身份证号码", prop: "contractInfo.partyBIdCard", rules: e2.contractInfoRules.partyBIdCard } }, [a2("el-input", { attrs: { disabled: e2.disabled, placeholder: "请输入乙方身份证号码", maxlength: "18", "show-word-limit": "" }, model: { value: e2.ontractForm.contractInfo.partyBIdCard, callback: function(t3) {
e2.$set(e2.ontractForm.contractInfo, "partyBIdCard", "string" === typeof t3 ? t3.trim() : t3);
}, expression: "ontractForm.contractInfo.partyBIdCard" } })], 1)], 1), e2._v(" "), 1 === e2.ontractForm.contractInfo.partyBType ? a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "企业法人", prop: "contractInfo.partyBPerson", rules: { required: true, message: "请输入乙方企业法人", trigger: "blur" } } }, [a2("el-input", { attrs: { disabled: e2.disabled, placeholder: "请输入乙方企业法人", maxlength: "6", "show-word-limit": "" }, model: { value: e2.ontractForm.contractInfo.partyBPerson, callback: function(t3) {
e2.$set(e2.ontractForm.contractInfo, "partyBPerson", "string" === typeof t3 ? t3.trim() : t3);
}, expression: "ontractForm.contractInfo.partyBPerson" } })], 1)], 1) : a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "联系方式", prop: "contractInfo.partyBPhone", rules: e2.contractInfoRules.partyBPhone } }, [a2("el-input", { attrs: { disabled: e2.disabled, placeholder: "请输入乙方代表联系方式", oninput: "value=value.replace(/\\D/g,'')", maxlength: "11", "show-word-limit": "" }, model: { value: e2.ontractForm.contractInfo.partyBPhone, callback: function(t3) {
e2.$set(e2.ontractForm.contractInfo, "partyBPhone", "string" === typeof t3 ? t3.trim() : t3);
}, expression: "ontractForm.contractInfo.partyBPhone" } })], 1)], 1)], 1)], 1)]), e2._v(" "), a2("div", { staticClass: "rule typeface" }, [e2._v(e2._s(e2.classifyTitle) + "付款信息")]), e2._v(" "), a2("div", { staticClass: "vote-questions" }, [a2("el-row", [a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "付款方式", prop: "payType" } }, [a2("el-select", { staticClass: "select-dom", attrs: { disabled: e2.disabled, placeholder: "请选择付款方式" }, on: { change: e2.payTypeChange }, model: { value: e2.payType, callback: function(t3) {
e2.payType = t3;
}, expression: "payType" } }, e2._l(e2.payTypeList, (function(e3) {
return a2("el-option", { key: e3.value, attrs: { label: e3.name, value: e3.value } });
})), 1)], 1)], 1)], 1), e2._v(" "), e2._l(e2.ontractForm.contractPaymentInfoList, (function(t3, r2) {
return a2("el-row", { key: r2 }, [a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "付款时间", prop: "contractPaymentInfoList[" + r2 + "].paymentTime", rules: { required: true, message: "请选择付款时间", trigger: "change" } } }, [a2("el-date-picker", { staticClass: "select-dom", attrs: { format: "yyyy-MM-dd", "value-format": "yyyy-MM-dd 23:59:59", disabled: e2.disabled, type: "date", placeholder: "选择日期" }, on: { change: function(t4) {
return e2.paymentTimeChange(t4, r2);
} }, model: { value: t3.paymentTime, callback: function(a3) {
e2.$set(t3, "paymentTime", a3);
}, expression: "item.paymentTime" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [1 === e2.payType ? a2("el-form-item", { key: "ratio" + r2, attrs: { label: "付款比例", prop: "contractPaymentInfoList[" + r2 + "].ratio", rules: { required: true, message: "请输入付款比例", trigger: "blur" } } }, [a2("el-input", { attrs: { disabled: e2.disabled, placeholder: "请输入付款比例", maxlength: "5", "show-word-limit": "" }, on: { input: function(t4) {
return e2.priceInput(t4, "ratio", 1, r2);
}, blur: function(t4) {
return e2.paymentValueChange(t4, r2, 1);
} }, model: { value: t3.ratio, callback: function(a3) {
e2.$set(t3, "ratio", a3);
}, expression: "item.ratio" } }, [a2("template", { slot: "append" }, [e2._v("%")])], 2)], 1) : a2("el-form-item", { key: "amount" + r2, attrs: { label: "付款金额", prop: "contractPaymentInfoList[" + r2 + "].amount", rules: { required: true, message: "请输入付款金额", trigger: "blur" } } }, [a2("el-input", { attrs: { disabled: e2.disabled, placeholder: "请输入付款金额", maxlength: "13", "show-word-limit": "" }, on: { input: function(t4) {
return e2.priceInput(t4, "amount", 1, r2);
}, blur: function(t4) {
return e2.paymentValueChange(t4, r2, 2);
} }, model: { value: t3.amount, callback: function(a3) {
e2.$set(t3, "amount", a3);
}, expression: "item.amount" } }, [a2("template", { slot: "append" }, [e2._v("元")])], 2)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { key: "amount" + r2, attrs: { label: "付款状态", prop: "contractPaymentInfoList[" + r2 + "].payStatus", rules: { required: true, message: "请选择付款状态", trigger: "change" } } }, [a2("el-select", { staticClass: "select-dom", attrs: { disabled: e2.disabled, placeholder: "请选择付款状态" }, model: { value: t3.payStatus, callback: function(a3) {
e2.$set(t3, "payStatus", a3);
}, expression: "item.payStatus" } }, [a2("el-option", { attrs: { label: "已付款", value: 1 } }), e2._v(" "), a2("el-option", { attrs: { label: "未付款", value: 0 } })], 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { offset: 1, span: 4 } }, [r2 === e2.ontractForm.contractPaymentInfoList.length - 1 ? a2("el-button", { staticClass: "payTypeOptBtn", attrs: { disabled: e2.disabled, type: "primary", icon: "el-icon-circle-plus-outline", size: "mini" }, on: { click: function(t4) {
return e2.addcontractPaymentInfoList(r2);
} } }) : e2._e(), e2._v(" "), r2 < e2.ontractForm.contractPaymentInfoList.length - 1 ? a2("el-button", { staticClass: "payTypeOptBtn", attrs: { disabled: e2.disabled, type: "primary", icon: "el-icon-delete", size: "mini" }, on: { click: function(t4) {
return e2.deletecontractPaymentInfoList(r2);
} } }) : e2._e()], 1)], 1);
}))], 2), e2._v(" "), a2("div", { staticClass: "rule typeface" }, [e2._v(e2._s(e2.classifyTitle) + "文件资料")]), e2._v(" "), a2("div", { staticClass: "vote-questions" }, [a2("el-row", [a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { staticClass: "is-required", attrs: { label: "上传附件:", prop: "fileUrl" } }, [a2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: "支持扩展名: .pdf ", placement: "top" } }, [a2("span", { staticClass: "el-icon-info" })]), e2._v(" "), "view" !== e2.type ? a2("span", { staticClass: "imagvVdeo" }, [a2("AliOSSUpload", { attrs: { limit: 6, disabled: e2.disabled, isShowClose: e2.disabled, accept: e2.accept, allowFileType: e2.allowFileType2, fileList: e2.fileListInfo, isChangeFileName: false, showFileList: true, listType: "text", fileSize: 20 }, on: { getUploadData: e2.getUploadData2 }, scopedSlots: e2._u([{ key: "uploadButton", fn: function() {
return [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], staticClass: "el-icon-upload", attrs: { type: "primary", disabled: e2.disabled, plain: "", size: "small" } }, [e2._v("选择附件")])];
}, proxy: true }], null, false, 3736315497) })], 1) : a2("div", { staticClass: "file-list" }, e2._l(e2.fileListInfo, (function(t3, r2) {
return a2("div", { key: r2, staticClass: "file-name", on: { click: function(a3) {
return e2.fileViewS(t3.url);
} } }, [e2._v(e2._s(t3.name))]);
})), 0)], 1)], 1)], 1)], 1)]), e2._v(" "), a2("div", { staticClass: "vote-submit-options" }, [a2("el-button", { on: { click: e2.cancel } }, [e2._v("取消")]), e2._v(" "), a2("el-button", { attrs: { type: "primary", disabled: e2.disabled, loading: e2.isPost }, on: { click: function(t3) {
return e2.save("ontractForm");
} } }, [e2._v("保存")])], 1)], 1)], 1);
}, s = [], l = a("61f7"), c = a("8988"), u = a("dce5"), d = a("0b37");
function p(e2, t2) {
var a2 = "undefined" != typeof Symbol && e2[Symbol.iterator] || e2["@@iterator"];
if (!a2) {
if (Array.isArray(e2) || (a2 = m(e2)) || t2 && e2 && "number" == typeof e2.length) {
a2 && (e2 = a2);
var r2 = 0, n2 = function() {
};
return { s: n2, n: function() {
return r2 >= e2.length ? { done: true } : { done: false, value: e2[r2++] };
}, e: function(e3) {
throw e3;
}, f: n2 };
}
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
var o2, i2 = true, s2 = false;
return { s: function() {
a2 = a2.call(e2);
}, n: function() {
var e3 = a2.next();
return i2 = e3.done, e3;
}, e: function(e3) {
s2 = true, o2 = e3;
}, f: function() {
try {
i2 || null == a2.return || a2.return();
} finally {
if (s2) throw o2;
}
} };
}
function m(e2, t2) {
if (e2) {
if ("string" == typeof e2) return f(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) ? f(e2, t2) : void 0;
}
}
function f(e2, t2) {
(null == t2 || t2 > e2.length) && (t2 = e2.length);
for (var a2 = 0, r2 = Array(t2); a2 < t2; a2++) r2[a2] = e2[a2];
return r2;
}
var h = { components: { AliOSSUpload: c["a"] }, props: { titleType: { type: String, default: "" }, type: { type: String, default: "add" }, ascription: { type: Array, default: function() {
return [];
} }, contractType: { type: Number, default: 1 } }, data: function() {
var e2 = function(e3, t3, a2) {
t3.length < 11 ? a2(new Error("联系电话不能少于11位")) : Object(l["f"])(t3) ? a2() : a2(new Error("联系电话输入不符合规则,例13xxxxxxxxx"));
}, t2 = function(e3, t3, a2) {
var r2 = Object(l["a"])(t3);
r2[0] ? a2(new Error(r2[1])) : a2();
};
return { allowFileType2: ["file"], accept: ".pdf", fileListInfo: [], content: "新建", classifyTitle: "合同", disabled: false, projectList: [], ontractForm: { amount: "", contractNo: "", firstBank: "", firstBankAccount: "", firstContactPhone: "", firstDelegateName: "", firstSupplierId: "", name: "", secondSupplierId: "", secondBank: "", secondBankAccount: "", secondContactPhone: "", secondDelegateName: "", endTime: "", signTime: "", startTime: "", type: 1, projectUuid: [], fileUrl: "", category: 7 === this.contractType ? [] : [this.contractType], contractPaymentInfoList: [{ paymentTime: "", amount: "", ratio: "", payStatus: 0, type: 1 }], targetInfo: [{ leaseType: 1, target: "" }], contractInfo: { partyAType: 1, partyAId: "", partyAName: "", partyAIdCard: "", partyAPerson: "", partyAPhone: "", partyBType: 2, partyBId: "", partyBName: "", partyBIdCard: "", partyBPerson: "", partyBPhone: "" } }, isPost: false, payType: 1, firstSupplierType: 1, firstSupplierList: [], secondSupplierType: 1, secondSupplierList: [], rules: { contractNo: [{ required: true, message: "请填写合同金额", trigger: "blur" }], name: [{ required: true, message: "请填写合同名称", trigger: "blur" }], amount: [{ required: true, message: "请填写金额", trigger: "blur" }], projectUuid: [{ required: true, message: "请选择覆盖项目", trigger: "change" }], type: [{ required: true, message: "请选择合同类型", trigger: "change" }], endTime: [{ required: true, message: "请选择合同结束时间", trigger: "change" }], signTime: [{ required: true, message: "请选择合同签订时间", trigger: "change" }], startTime: [{ required: true, message: "请选择合同开始时间", trigger: "change" }], firstSupplierId: [{ required: true, message: "请选择甲方名称", trigger: "change" }], firstDelegateName: [{ required: true, message: "请输入甲方代表姓名", trigger: "blur" }], firstContactPhone: [{ required: true, message: "请填写甲方代表联系方式", trigger: "blur" }, { required: true, validator: e2, trigger: "blur" }], firstBank: [{ required: true, message: "请填写甲方开户银行", trigger: "blur" }], firstBankAccount: [{ required: true, message: "请填写甲方开户银行", trigger: "blur" }], secondSupplierId: [{ required: true, message: "请选择乙方名称", trigger: "change" }], secondDelegateName: [{ required: true, message: "请输入乙方代表姓名", trigger: "blur" }], secondContactPhone: [{ required: true, message: "请填写乙方代表联系方式", trigger: "blur" }, { required: true, validator: e2, trigger: "blur" }], secondBank: [{ required: true, message: "请填写乙方开户银行", trigger: "blur" }], secondBankAccount: [{ required: true, message: "请填写乙方开户银行", trigger: "blur" }], category: [{ required: true, message: "请选择合同归属", trigger: "change" }] }, contractInfoRules: { partyBPhone: [{ required: true, message: "请输入乙方代表联系方式", trigger: "blur" }, { required: true, validator: e2, trigger: "blur" }], partyBIdCard: [{ required: true, message: "请输入身份证号码", trigger: "blur" }, { required: true, validator: t2, trigger: "blur" }] }, payTypeList: [{ name: "付款比例", value: 1 }, { name: "付款金额", value: 2 }, { name: "按月付款", value: 3 }], supplierType: [{ name: "供应商", value: 1 }, { name: "分公司", value: 2 }], contractTypeList: u["J"], ascriptionList: u["p"], leaseTypeList: u["mb"], contractInfoPartyTypeList: [{ name: "公司", value: 1 }, { name: "个人", value: 2 }] };
}, computed: { allSupplierList: function() {
return this.$store.state.user.allSupplierList;
} }, mounted: function() {
}, methods: { getInfoLst: function(e2) {
if (this.ontractForm.companyId = this.$store.state.companyId, this.getProjectInfo(), void 0 != e2 && e2.id && this.getContractById(e2.id), "view" === this.type || "edit" === this.type) "view" === this.type ? (this.content = "查看".concat(this.titleType).concat(this.classifyTitle), this.disabled = true) : (this.content = "编辑".concat(this.titleType).concat(this.classifyTitle), this.disabled = false);
else if ("add" === this.type) {
var t2 = this.groupArr(this.allSupplierList, (function(e3) {
return [e3.type];
}));
this.firstSupplierList = t2[0], this.secondSupplierList = t2[0], this.content = "新建".concat(this.titleType).concat(this.classifyTitle);
}
}, getContractById: function(e2) {
var t2 = this, a2 = { id: e2 };
Object(o["l"])(a2).then((function(e3) {
0 === e3.code && e3.data && (t2.ontractForm = Object.assign({}, e3.data), e3.data.category.indexOf(",") > 0 ? t2.ontractForm.category = e3.data.category.split(",").map((function(e4) {
return Number(e4);
})) : e3.data.category ? t2.ontractForm.category = [Number(e3.data.category)] : t2.ontractForm.category = [], e3.data.projectUuid.indexOf(",") > 0 ? t2.ontractForm.projectUuid = e3.data.projectUuid.split(",") : t2.ontractForm.projectUuid = [e3.data.projectUuid], t2.payType = e3.data.contractPaymentInfoRespDTOList[0].type, t2.ontractForm.contractPaymentInfoList = e3.data.contractPaymentInfoRespDTOList, 4 === e3.data.type && (t2.ontractForm.targetInfo = JSON.parse(e3.data.targetInfo), t2.ontractForm.contractInfo = JSON.parse(e3.data.contractInfo)), t2.reviewSupplierType(), t2.getfFile());
}));
}, reviewSupplierType: function() {
var e2 = this;
"view" !== this.type && "edit" !== this.type || (this.$nextTick((function() {
var t2 = e2.allSupplierList.filter((function(t3) {
return t3.id === e2.ontractForm.firstSupplierId;
})), a2 = e2.allSupplierList.filter((function(t3) {
return t3.id === e2.ontractForm.secondSupplierId;
}));
t2.length > 0 ? (e2.firstSupplierType = t2[0].type, e2.querySupplierList(1, e2.firstSupplierType)) : e2.firstSupplierType = 1, a2.length > 0 ? (e2.secondSupplierType = a2[0].type, e2.querySupplierList(2, e2.secondSupplierType)) : e2.secondSupplierType = 1;
})), this.$forceUpdate());
}, querySupplierList: function(e2, t2) {
var a2 = this, r2 = { pageSize: -1, pageNumber: -1, type: t2, companyId: this.$store.state.companyId };
Object(o["m"])(r2).then((function(r3) {
if (0 === r3.code && r3.data) {
var n2 = r3.data.records;
if (0 === t2) {
a2.allSupplierList = n2;
var o2 = a2.groupArr(n2, (function(e3) {
return [e3.type];
}));
a2.firstSupplierList = o2[0], a2.secondSupplierList = o2[0];
} else 1 === e2 ? a2.firstSupplierList = n2 : a2.secondSupplierList = n2;
}
}));
}, projectChange: function(e2) {
var t2 = this;
e2.includes(this.$store.state.community_uuid) || (this.$nextTick((function() {
t2.ontractForm.projectUuid.push(t2.$store.state.community_uuid);
})), this.$forceUpdate());
}, projectClear: function() {
var e2 = this;
this.$nextTick((function() {
e2.ontractForm.projectUuid = [e2.$store.state.community_uuid], e2.$refs.ontractForm.clearValidate("projectUuid");
})), this.$forceUpdate();
}, categoryChange: function(e2) {
var t2 = this;
e2.includes(this.contractType) || 7 == this.contractType || (this.$nextTick((function() {
t2.ontractForm.category.push(t2.contractType);
})), this.$forceUpdate());
}, categoryClear: function() {
var e2 = this;
this.$nextTick((function() {
e2.ontractForm.category = 7 === e2.contractType ? [] : [e2.contractType], e2.$refs.ontractForm.clearValidate("category");
})), this.$forceUpdate();
}, contractTypeChange: function(e2) {
4 === e2 ? (this.ontractForm.category = [7], this.payType = 3, this.$set(this.ontractForm.contractPaymentInfoList[0], "type", 3)) : (this.payType = 1, this.$set(this.ontractForm.contractPaymentInfoList[0], "type", 1));
}, groupArr: function(e2, t2) {
var a2 = {};
return e2.forEach((function(e3) {
var r2 = JSON.stringify(t2(e3));
a2[r2] = a2[r2] || [], a2[r2].push(e3);
})), Object.keys(a2).map((function(e3) {
return a2[e3];
}));
}, getProjectInfo: function() {
this.$store.state.user.project.length > 0 ? (this.projectList = this.$store.state.user.project, this.ontractForm.projectUuid = [this.$store.state.community_uuid]) : this.projectList = [];
}, supplierTypeChange: function(e2, t2) {
1 === t2 ? (this.ontractForm.firstSupplierId = "", this.ontractForm.firstBank = "", this.ontractForm.firstBankAccount = "", this.ontractForm.firstContactPhone = "", this.ontractForm.firstDelegateName = "", this.ontractForm.firstName = "", this.querySupplierList(t2, e2)) : (this.ontractForm.secondBank = "", this.ontractForm.secondBankAccount = "", this.ontractForm.secondContactPhone = "", this.ontractForm.secondDelegateName = "", this.ontractForm.secondName = "", this.ontractForm.secondSupplierId = "", this.querySupplierList(t2, e2));
}, save: function(e2) {
var t2 = this;
this.$refs[e2].validate((function(e3) {
if (e3) {
var a2, r2 = t2.ontractForm.contractPaymentInfoList, n2 = 0, i2 = p(r2);
try {
for (i2.s(); !(a2 = i2.n()).done; ) {
var s2 = a2.value;
if ("" === s2.paymentTime) return t2.$message({ type: "error", message: "付款时间为空,请输入付款时间" }), false;
if (1 === t2.payType) {
if ("" === s2.ratio) return t2.$message({ type: "error", message: "付款比例为空,请输入分期付款比例" }), false;
n2 = Object(d["a"])(n2, s2.ratio);
} else {
if ("" === s2.amount) return t2.$message({ type: "error", message: "付款金额违抗,请输入分期付款金额" }), false;
n2 = Object(d["a"])(n2, s2.amount);
}
}
} catch (c2) {
i2.e(c2);
} finally {
i2.f();
}
if (1 === t2.payType && 100 !== n2) return t2.$message({ type: "error", message: "付款比例之和不等于100%,请重新输入付款比例" }), false;
if (2 === t2.payType && n2 !== Number(t2.ontractForm.amount)) return t2.$message({ type: "error", message: "分期付款之和不等于合同金额,请重新输入分期付款金额" }), false;
if ("" === t2.ontractForm.fileUrl) return t2.$message({ type: "error", message: "请选择合同文件资料上传" }), false;
var l2 = Object.assign({}, t2.ontractForm);
l2.category = t2.ontractForm.category.join(","), l2.projectUuid = t2.ontractForm.projectUuid.join(","), 4 === t2.ontractForm.type && t2.ontractForm.targetInfo.length > 0 ? (l2.targetInfo = JSON.stringify(t2.ontractForm.targetInfo), l2.contractInfo = JSON.stringify(t2.ontractForm.contractInfo), l2.firstDelegateName = t2.ontractForm.contractInfo.partyAPerson, l2.secondDelegateName = t2.ontractForm.contractInfo.partyBPerson) : (l2.targetInfo = "", l2.contractInfo = ""), t2.isPost = true, console.log("contractSubmit", l2), "edit" === t2.type ? t2.updataForm(l2) : Object(o["a"])(l2).then((function(e4) {
t2.$message({ message: "添加成功", type: "success" }), t2.isPost = false, t2.goBack();
})).catch((function() {
t2.isPost = false;
}));
}
}));
}, updataForm: function(e2) {
var t2 = this;
Object(o["n"])(e2).then((function(e3) {
t2.$message({ message: "修改成功", type: "success" }), t2.isPost = false, t2.goBack();
})).catch((function() {
t2.isPost = false;
}));
}, editBusiness: function() {
this.type = "edit", this.content = "编辑合同", this.disabled = false;
}, cancel: function() {
this.goBack();
}, selectChangefirstSupplier: function(e2) {
this.getAIAlearmType(e2, 1);
}, selectChangeSecondSupplier: function(e2) {
this.getAIAlearmType(e2, 2);
}, getAIAlearmType: function(e2, t2) {
var a2 = 1 === t2 ? this.firstSupplierList : this.secondSupplierList;
if (null != e2 && "" != e2 && void 0 != e2) {
var r2 = a2.filter((function(t3) {
return t3.id == e2;
}));
r2.length > 0 && (1 === t2 ? (this.ontractForm.firstBank = r2[0].bankName, this.ontractForm.firstBankAccount = r2[0].bankAccount) : (this.ontractForm.secondBank = r2[0].bankName, this.ontractForm.secondBankAccount = r2[0].bankAccount));
}
}, paymentTimeChange: function(e2, t2) {
}, paymentValueChange: function(e2, t2, a2) {
}, payTypeChange: function(e2) {
var t2 = this, a2 = this.ontractForm.contractPaymentInfoList;
a2.map((function(a3, r2) {
t2.$set(t2.ontractForm.contractPaymentInfoList[r2], "type", t2.payType), 1 === e2 ? t2.$set(t2.ontractForm.contractPaymentInfoList[r2], "ratio", "") : t2.$set(t2.ontractForm.contractPaymentInfoList[r2], "amount", "");
}));
}, addcontractPaymentInfoList: function(e2) {
var t2 = this, a2 = { paymentTime: "", amount: "", ratio: "", payStatus: 0, type: this.payType }, r2 = "add" === this.type ? a2 : Object.assign({ contractId: this.ontractForm.id }, a2), n2 = "paymentTime".concat(e2 + 1), o2 = "value".concat(e2 + 1), i2 = {};
i2[n2] = [{ required: true, message: "请选择付款时间", trigger: "change" }], i2[o2] = [{ required: true, message: "请输入", trigger: "blur" }], this.$nextTick((function() {
t2.ontractForm.contractPaymentInfoList.push(r2);
})), this.$forceUpdate();
}, deletecontractPaymentInfoList: function(e2) {
var t2 = this;
this.$confirm("确定该选项吗?", "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "info", center: true }).then((function() {
var a2 = t2.ontractForm.contractPaymentInfoList, r2 = a2[e2];
void 0 != r2.id ? Object(o["k"])({ id: r2.id }).then((function(r3) {
0 === r3.code ? (a2.splice(e2, 1), t2.$nextTick((function() {
t2.$set(t2.ontractForm, "contractPaymentInfoList", a2);
})), t2.$forceUpdate(), t2.$message({ type: "success", message: "删除成功" })) : t2.$message({ type: "error", message: "删除失败" });
})) : (a2.splice(e2, 1), t2.$nextTick((function() {
t2.$set(t2.ontractForm, "contractPaymentInfoList", a2);
})), t2.$forceUpdate());
})).catch((function() {
}));
}, addcontracttargetInfoList: function(e2) {
var t2 = this, a2 = { leaseType: 1, target: "" };
this.$nextTick((function() {
t2.ontractForm.targetInfo.push(a2);
})), this.$forceUpdate();
}, deletecontracttargetInfoList: function(e2) {
var t2 = this;
this.$confirm("确定删除该信息吗?", "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "info", center: true }).then((function() {
var a2 = t2.ontractForm.targetInfo;
a2[e2];
a2.splice(e2, 1), t2.$nextTick((function() {
t2.$set(t2.ontractForm, "targetInfo", a2);
})), t2.$forceUpdate();
})).catch((function() {
}));
}, setThisleaseType: function(e2) {
var t2 = this.leaseTypeList.find((function(t3) {
return t3.value === e2;
}));
return t2.name;
}, getfFile: function() {
var e2 = this, t2 = this.ontractForm.fileUrl;
t2 ? t2.indexOf(",") > 0 ? this.fileListInfo = t2.split(",").map((function(t3) {
return { url: t3, name: e2.getFileName(t3) };
})) : t2.indexOf(";") > 0 ? this.fileListInfo = t2.split(";").map((function(t3) {
return { url: t3, name: e2.getFileName(t3) };
})) : this.fileListInfo.push({ url: t2, name: this.getFileName(t2) }) : this.fileListInfo = [];
}, getFileName: function(e2) {
var t2 = e2.lastIndexOf("/");
return -1 !== t2 ? decodeURI(e2.slice(t2 + 1)) : "";
}, getUploadData2: function(e2) {
var t2 = [];
e2 && e2.length > 0 && e2.forEach((function(e3) {
t2.push(e3.filePath);
})), this.ontractForm.fileUrl = t2.join(",");
}, updataInputChanges: function(e2, t2, a2) {
this.$refs[t2]["model"][a2] = e2.target.value;
}, priceInput: function(e2, t2, a2, r2) {
var n2 = this;
a2 = a2 || 0, e2 = e2.replace(/[^\d\.]/g, ""), e2 = e2.replace(/^\./g, ""), e2 = e2.replace(/^0\d[0-9]*/g, ""), e2 = e2.replace(/\.{2,}/g, "."), e2 = e2.replace(".", "$#$").replace(/\./g, "").replace("$#$", "."), e2 = e2.replace(/^(\-)*(\d+)\.(\d\d).*$/, "$1$2.$3"), this.$nextTick((function() {
0 === a2 ? n2.ontractForm[t2] = e2 : n2.ontractForm.contractPaymentInfoList[r2][t2] = e2;
}));
}, fileViewS: function(e2) {
window.open(e2);
}, goBack: function() {
this.$emit("goBack");
} } }, v = h, y = (a("5198"), a("829d")), g = Object(y["a"])(v, i, s, false, null, "3aa46e7b", null), b = g.exports, _ = function() {
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
return a2("div", { staticClass: "viewContractInfor" }, [a2("el-card", { staticClass: "box-card" }, [a2("el-page-header", { attrs: { content: e2.content }, on: { back: e2.goBack } }), e2._v(" "), a2("div", { staticClass: "contractInforStand" }, [a2("el-tabs", { attrs: { type: "border-card" }, on: { "tab-click": e2.handleClick }, model: { value: e2.activeName, callback: function(t3) {
e2.activeName = t3;
}, expression: "activeName" } }, [a2("el-tab-pane", { attrs: { label: "合同信息", name: "contractInfor" } }, [a2("contractDetailes", { ref: "contractDetailes", attrs: { ascription: e2.ascription, type: e2.type, titleType: e2.titleType }, on: { goBack: e2.goBack } })], 1), e2._v(" "), a2("el-tab-pane", { attrs: { label: "关联标准", name: "contractStand" } }, ["contractStand" === e2.activeName ? a2("contractStand", { ref: "contractStand", attrs: { contractID: e2.contractID, ascription: e2.ascription, type: e2.type, titleType: e2.titleType }, on: { goBack: e2.goBack } }) : e2._e()], 1)], 1)], 1)], 1)], 1);
}, w = [], C = function() {
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
return a2("div", { staticClass: "ruleGroupInfo" }, [a2("el-form", { ref: "ontractForm", staticClass: "demo-ontractForm", attrs: { model: e2.ontractForm, rules: e2.rules, "label-width": "130px" } }, [a2("div", { staticClass: "rule typeface" }, [e2._v(e2._s(e2.classifyTitle) + "基本信息")]), e2._v(" "), a2("div", { staticClass: "vote-form" }, [a2("el-row", [a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "合同编号", prop: "contractNo" } }, [a2("el-input", { attrs: { disabled: e2.disabled, placeholder: "请输入合同编号", maxlength: "64", "show-word-limit": "" }, model: { value: e2.ontractForm.contractNo, callback: function(t3) {
e2.$set(e2.ontractForm, "contractNo", "string" === typeof t3 ? t3.trim() : t3);
}, expression: "ontractForm.contractNo" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { offset: 2, span: 6 } }, [a2("el-form-item", { attrs: { label: "合同类型", prop: "type" } }, [a2("el-select", { staticClass: "select-dom", attrs: { disabled: e2.disabled, clearable: "", placeholder: "请选择合同类型" }, model: { value: e2.ontractForm.type, callback: function(t3) {
e2.$set(e2.ontractForm, "type", t3);
}, expression: "ontractForm.type" } }, e2._l(e2.contractTypeList, (function(e3) {
return a2("el-option", { key: e3.value, attrs: { label: e3.name, value: e3.value } });
})), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { offset: 2, span: 6 } }, [a2("el-form-item", { attrs: { label: "合同名称", prop: "name" } }, [a2("el-input", { attrs: { disabled: e2.disabled, placeholder: "请输入合同名称", maxlength: "64", "show-word-limit": "" }, model: { value: e2.ontractForm.name, callback: function(t3) {
e2.$set(e2.ontractForm, "name", "string" === typeof t3 ? t3.trim() : t3);
}, expression: "ontractForm.name" } })], 1)], 1)], 1), e2._v(" "), a2("el-row", [a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "合同金额", prop: "amount" } }, [a2("el-input", { attrs: { disabled: e2.disabled, placeholder: "请输入合同金额", maxlength: "13", "show-word-limit": "" }, on: { input: function(t3) {
return e2.priceInput(t3, "amount");
} }, model: { value: e2.ontractForm.amount, callback: function(t3) {
e2.$set(e2.ontractForm, "amount", "string" === typeof t3 ? t3.trim() : t3);
}, expression: "ontractForm.amount" } }, [a2("template", { slot: "append" }, [e2._v("元")])], 2)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { offset: 2, span: 6 } }, [a2("el-form-item", { attrs: { label: "覆盖项目", prop: "projectUuid" } }, [a2("el-select", { staticClass: "select-dom", attrs: { disabled: e2.disabled, multiple: "", "collapse-tags": "", clearable: "", placeholder: "请选择覆盖项目" }, on: { change: e2.projectChange, clear: e2.projectClear }, model: { value: e2.ontractForm.projectUuid, callback: function(t3) {
e2.$set(e2.ontractForm, "projectUuid", t3);
}, expression: "ontractForm.projectUuid" } }, e2._l(e2.projectList, (function(e3) {
return a2("el-option", { key: e3.uuid, attrs: { label: e3.name, value: e3.uuid } });
})), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { offset: 2, span: 6 } }, [a2("el-form-item", { attrs: { label: "合同归属", prop: "category" } }, [a2("el-select", { staticClass: "select-dom", attrs: { multiple: "", disabled: e2.disabled, "collapse-tags": "", clearable: "", placeholder: "请选择合同归属" }, on: { change: e2.categoryChange, clear: e2.categoryClear }, model: { value: e2.ontractForm.category, callback: function(t3) {
e2.$set(e2.ontractForm, "category", t3);
}, expression: "ontractForm.category" } }, e2._l(e2.ascriptionList, (function(e3) {
return a2("el-option", { key: e3.value, attrs: { label: e3.name, value: e3.value } });
})), 1)], 1)], 1)], 1), e2._v(" "), a2("el-row", [a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "合同签订时间", prop: "signTime" } }, [a2("el-date-picker", { staticClass: "select-dom", attrs: { disabled: e2.disabled, format: "yyyy-MM-dd", "value-format": "yyyy-MM-dd 23:59:59", type: "date", placeholder: "选择日期" }, model: { value: e2.ontractForm.signTime, callback: function(t3) {
e2.$set(e2.ontractForm, "signTime", t3);
}, expression: "ontractForm.signTime" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { offset: 2, span: 6 } }, [a2("el-form-item", { attrs: { label: "合同开始时间", prop: "startTime" } }, [a2("el-date-picker", { staticClass: "select-dom", attrs: { disabled: e2.disabled, format: "yyyy-MM-dd", "value-format": "yyyy-MM-dd 23:59:59", type: "date", placeholder: "选择日期" }, model: { value: e2.ontractForm.startTime, callback: function(t3) {
e2.$set(e2.ontractForm, "startTime", t3);
}, expression: "ontractForm.startTime" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { offset: 2, span: 6 } }, [a2("el-form-item", { attrs: { label: "合同结束时间", prop: "endTime" } }, [a2("el-date-picker", { staticClass: "select-dom", attrs: { disabled: e2.disabled, format: "yyyy-MM-dd", "value-format": "yyyy-MM-dd 23:59:59", type: "date", placeholder: "选择日期" }, model: { value: e2.ontractForm.endTime, callback: function(t3) {
e2.$set(e2.ontractForm, "endTime", t3);
}, expression: "ontractForm.endTime" } })], 1)], 1)], 1)], 1), e2._v(" "), 4 === e2.ontractForm.type ? a2("div", [a2("div", { staticClass: "rule typeface" }, [e2._v("租赁信息")]), e2._v(" "), a2("div", { staticClass: "vote-questions" }, e2._l(e2.ontractForm.targetInfo, (function(t3, r2) {
return a2("el-row", { key: r2 }, [a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "资源类型", prop: "targetInfo[" + r2 + "].leaseType", rules: { required: true, message: "请选择租赁资源类型", trigger: "change" } } }, [a2("el-select", { staticClass: "select-dom", attrs: { disabled: e2.disabled, placeholder: "请选择租赁资源类型" }, model: { value: t3.leaseType, callback: function(a3) {
e2.$set(t3, "leaseType", a3);
}, expression: "item.leaseType" } }, e2._l(e2.leaseTypeList, (function(e3) {
return a2("el-option", { key: e3.value, attrs: { label: e3.name, value: e3.value } });
})), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { staticClass: "is-required", attrs: { label: e2.setThisleaseType(e2.ontractForm.targetInfo[r2].leaseType) + "编号", prop: "targetInfo[" + r2 + "].target", rules: { required: true, message: "请输入租赁类型信息", trigger: "change" } } }, [a2("el-input", { attrs: { disabled: e2.disabled, placeholder: "请输入" + e2.setThisleaseType(e2.ontractForm.targetInfo[r2].leaseType) + "编号", maxlength: "120", "show-word-limit": "" }, model: { value: t3.target, callback: function(a3) {
e2.$set(t3, "target", "string" === typeof a3 ? a3.trim() : a3);
}, expression: "item.target" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { offset: 1, span: 4 } }, [r2 === e2.ontractForm.targetInfo.length - 1 ? a2("el-button", { staticClass: "payTypeOptBtn", attrs: { disabled: e2.disabled, type: "primary", icon: "el-icon-circle-plus-outline", size: "mini" }, on: { click: function(t4) {
return e2.addcontracttargetInfoList(r2);
} } }) : e2._e(), e2._v(" "), r2 < e2.ontractForm.targetInfo.length - 1 ? a2("el-button", { staticClass: "payTypeOptBtn", attrs: { disabled: e2.disabled, type: "primary", icon: "el-icon-delete", size: "mini" }, on: { click: function(t4) {
return e2.deletecontracttargetInfoList(r2);
} } }) : e2._e()], 1)], 1);
})), 1)]) : e2._e(), e2._v(" "), 4 != e2.ontractForm.type ? a2("div", [a2("div", { staticClass: "rule typeface" }, [e2._v(e2._s(e2.classifyTitle) + "甲方信息")]), e2._v(" "), a2("div", { staticClass: "vote-questions" }, [a2("el-row", [a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "甲方名称", prop: "firstSupplierId" } }, [a2("el-select", { staticClass: "select-dom", attrs: { disabled: e2.disabled, placeholder: "请选择甲方" }, on: { change: e2.selectChangefirstSupplier }, model: { value: e2.ontractForm.firstSupplierId, callback: function(t3) {
e2.$set(e2.ontractForm, "firstSupplierId", t3);
}, expression: "ontractForm.firstSupplierId" } }, e2._l(e2.firstSupplierList, (function(e3) {
return a2("el-option", { key: e3.id, attrs: { label: e3.name, value: e3.id } });
})), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 2 } }, [a2("el-select", { staticClass: "select-type-dom", attrs: { disabled: e2.disabled }, on: { change: function(t3) {
return e2.supplierTypeChange(t3, 1);
} }, model: { value: e2.firstSupplierType, callback: function(t3) {
e2.firstSupplierType = t3;
}, expression: "firstSupplierType" } }, e2._l(e2.supplierType, (function(e3) {
return a2("el-option", { key: e3.value, attrs: { label: e3.name, value: e3.value } });
})), 1)], 1), e2._v(" "), a2("el-col", { attrs: { offset: 0, span: 6 } }, [a2("el-form-item", { attrs: { label: "甲方代表姓名", prop: "firstDelegateName" } }, [a2("el-input", { attrs: { disabled: e2.disabled, placeholder: "请输入甲方代表姓名", maxlength: "6", "show-word-limit": "" }, model: { value: e2.ontractForm.firstDelegateName, callback: function(t3) {
e2.$set(e2.ontractForm, "firstDelegateName", "string" === typeof t3 ? t3.trim() : t3);
}, expression: "ontractForm.firstDelegateName" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { offset: 2, span: 6 } }, [a2("el-form-item", { attrs: { label: "联系方式", prop: "firstContactPhone" } }, [a2("el-input", { attrs: { disabled: e2.disabled, placeholder: "请输入甲方代表联系方式", oninput: "value=value.replace(/\\D/g,'')", maxlength: "11", "show-word-limit": "" }, nativeOn: { input: function(t3) {
return !t3.type.indexOf("key") && e2._k(t3.keyCode, "enter", 13, t3.key, "Enter") ? null : e2.updataInputChanges(t3, "ontractForm", "firstContactPhone");
} }, model: { value: e2.ontractForm.firstContactPhone, callback: function(t3) {
e2.$set(e2.ontractForm, "firstContactPhone", "string" === typeof t3 ? t3.trim() : t3);
}, expression: "ontractForm.firstContactPhone" } })], 1)], 1)], 1), e2._v(" "), a2("el-row", [a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "开户银行", prop: "firstBank" } }, [a2("el-input", { attrs: { disabled: e2.disabled, placeholder: "请输入甲方开户银行", maxlength: "64", "show-word-limit": "" }, model: { value: e2.ontractForm.firstBank, callback: function(t3) {
e2.$set(e2.ontractForm, "firstBank", "string" === typeof t3 ? t3.trim() : t3);
}, expression: "ontractForm.firstBank" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { offset: 2, span: 6 } }, [a2("el-form-item", { attrs: { label: "甲方银行账号", prop: "firstBankAccount" } }, [a2("el-input", { attrs: { disabled: e2.disabled, placeholder: "请输入甲方银行账号", oninput: "value=value.replace(/\\D/g,'')", maxlength: "25", "show-word-limit": "" }, nativeOn: { input: function(t3) {
return !t3.type.indexOf("key") && e2._k(t3.keyCode, "enter", 13, t3.key, "Enter") ? null : e2.updataInputChanges(t3, "ontractForm", "firstBankAccount");
} }, model: { value: e2.ontractForm.firstBankAccount, callback: function(t3) {
e2.$set(e2.ontractForm, "firstBankAccount", "string" === typeof t3 ? t3.trim() : t3);
}, expression: "ontractForm.firstBankAccount" } })], 1)], 1)], 1)], 1), e2._v(" "), a2("div", { staticClass: "rule typeface" }, [e2._v(e2._s(e2.classifyTitle) + "乙方信息")]), e2._v(" "), a2("div", { staticClass: "vote-questions" }, [a2("el-row", [a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "乙方名称", prop: "secondSupplierId" } }, [a2("el-select", { staticClass: "select-dom", attrs: { disabled: e2.disabled, placeholder: "请选择乙方" }, on: { change: e2.selectChangeSecondSupplier }, model: { value: e2.ontractForm.secondSupplierId, callback: function(t3) {
e2.$set(e2.ontractForm, "secondSupplierId", t3);
}, expression: "ontractForm.secondSupplierId" } }, e2._l(e2.secondSupplierList, (function(e3) {
return a2("el-option", { key: e3.id, attrs: { label: e3.name, value: e3.id } });
})), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 2 } }, [a2("el-select", { staticClass: "select-type-dom", attrs: { disabled: e2.disabled }, on: { change: function(t3) {
return e2.supplierTypeChange(t3, 2);
} }, model: { value: e2.secondSupplierType, callback: function(t3) {
e2.secondSupplierType = t3;
}, expression: "secondSupplierType" } }, e2._l(e2.supplierType, (function(e3) {
return a2("el-option", { key: e3.value, attrs: { label: e3.name, value: e3.value } });
})), 1)], 1), e2._v(" "), a2("el-col", { attrs: { offset: 0, span: 6 } }, [a2("el-form-item", { attrs: { label: "乙方代表姓名", prop: "secondDelegateName" } }, [a2("el-input", { attrs: { disabled: e2.disabled, placeholder: "请输入乙方代表姓名", maxlength: "64", "show-word-limit": "" }, model: { value: e2.ontractForm.secondDelegateName, callback: function(t3) {
e2.$set(e2.ontractForm, "secondDelegateName", "string" === typeof t3 ? t3.trim() : t3);
}, expression: "ontractForm.secondDelegateName" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { offset: 2, span: 6 } }, [a2("el-form-item", { attrs: { label: "联系方式", prop: "secondContactPhone" } }, [a2("el-input", { attrs: { disabled: e2.disabled, placeholder: "请输入乙方代表联系方式", oninput: "value=value.replace(/\\D/g,'')", maxlength: "11", "show-word-limit": "" }, nativeOn: { input: function(t3) {
return !t3.type.indexOf("key") && e2._k(t3.keyCode, "enter", 13, t3.key, "Enter") ? null : e2.updataInputChanges(t3, "ontractForm", "secondContactPhone");
} }, model: { value: e2.ontractForm.secondContactPhone, callback: function(t3) {
e2.$set(e2.ontractForm, "secondContactPhone", "string" === typeof t3 ? t3.trim() : t3);
}, expression: "ontractForm.secondContactPhone" } })], 1)], 1)], 1), e2._v(" "), a2("el-row", [a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "开户银行", prop: "secondBank" } }, [a2("el-input", { attrs: { disabled: e2.disabled, placeholder: "请输入乙方开户银行", maxlength: "64", "show-word-limit": "" }, model: { value: e2.ontractForm.secondBank, callback: function(t3) {
e2.$set(e2.ontractForm, "secondBank", "string" === typeof t3 ? t3.trim() : t3);
}, expression: "ontractForm.secondBank" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { offset: 2, span: 6 } }, [a2("el-form-item", { attrs: { label: "乙方银行账号", prop: "secondBankAccount" } }, [a2("el-input", { attrs: { disabled: e2.disabled, placeholder: "请输入乙方银行账号", oninput: "value=value.replace(/\\D/g,'')", maxlength: "25", "show-word-limit": "" }, nativeOn: { input: function(t3) {
return !t3.type.indexOf("key") && e2._k(t3.keyCode, "enter", 13, t3.key, "Enter") ? null : e2.updataInputChanges(t3, "ontractForm", "secondBankAccount");
} }, model: { value: e2.ontractForm.secondBankAccount, callback: function(t3) {
e2.$set(e2.ontractForm, "secondBankAccount", "string" === typeof t3 ? t3.trim() : t3);
}, expression: "ontractForm.secondBankAccount" } })], 1)], 1)], 1)], 1)]) : a2("div", [a2("div", { staticClass: "rule typeface" }, [e2._v("甲方信息")]), e2._v(" "), a2("div", { staticClass: "vote-questions" }, [a2("el-row", [a2("el-col", { attrs: { span: 6 } }, [1 === e2.ontractForm.contractInfo.partyAType ? a2("el-form-item", { attrs: { label: "甲方名称", prop: "contractInfo.partyAName" } }, [a2("el-input", { attrs: { disabled: e2.disabled, placeholder: "请输入甲方名称", maxlength: "64", "show-word-limit": "" }, model: { value: e2.ontractForm.contractInfo.partyAName, callback: function(t3) {
e2.$set(e2.ontractForm.contractInfo, "partyAName", "string" === typeof t3 ? t3.trim() : t3);
}, expression: "ontractForm.contractInfo.partyAName" } })], 1) : a2("el-form-item", { attrs: { label: "甲方姓名", prop: "contractInfo.partyAPerson" } }, [a2("el-input", { attrs: { disabled: e2.disabled, placeholder: "请输入甲方姓名", maxlength: "6", "show-word-limit": "" }, model: { value: e2.ontractForm.contractInfo.partyAPerson, callback: function(t3) {
e2.$set(e2.ontractForm.contractInfo, "partyAPerson", "string" === typeof t3 ? t3.trim() : t3);
}, expression: "ontractForm.contractInfo.partyAPerson" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 2 } }, [a2("el-select", { staticClass: "select-type-dom", attrs: { disabled: e2.disabled }, model: { value: e2.ontractForm.contractInfo.partyAType, callback: function(t3) {
e2.$set(e2.ontractForm.contractInfo, "partyAType", t3);
}, expression: "ontractForm.contractInfo.partyAType" } }, e2._l(e2.contractInfoPartyTypeList, (function(e3) {
return a2("el-option", { key: e3.value, attrs: { label: e3.name, value: e3.value } });
})), 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 8 } }, [1 === e2.ontractForm.contractInfo.partyAType ? a2("el-form-item", { attrs: { label: "公司社会信用代码", prop: "contractInfo.partyAIdCard" } }, [a2("el-input", { attrs: { disabled: e2.disabled, placeholder: "请输入公司统一社会信用代码", maxlength: "64", "show-word-limit": "" }, model: { value: e2.ontractForm.contractInfo.partyAIdCard, callback: function(t3) {
e2.$set(e2.ontractForm.contractInfo, "partyAIdCard", "string" === typeof t3 ? t3.trim() : t3);
}, expression: "ontractForm.contractInfo.partyAIdCard" } })], 1) : a2("el-form-item", { attrs: { label: "身份证号码", prop: "contractInfo.partyAIdCard" } }, [a2("el-input", { attrs: { disabled: e2.disabled, placeholder: "请输入甲方身份证号码", maxlength: "18", "show-word-limit": "" }, model: { value: e2.ontractForm.contractInfo.partyAIdCard, callback: function(t3) {
e2.$set(e2.ontractForm.contractInfo, "partyAIdCard", "string" === typeof t3 ? t3.trim() : t3);
}, expression: "ontractForm.contractInfo.partyAIdCard" } })], 1)], 1), e2._v(" "), 1 === e2.ontractForm.contractInfo.partyAType ? a2("el-col", { attrs: { offset: 2, span: 6 } }, [a2("el-form-item", { attrs: { label: "企业法人", prop: "contractInfo.partyAPerson" } }, [a2("el-input", { attrs: { disabled: e2.disabled, placeholder: "请输入甲方企业法人", maxlength: "6", "show-word-limit": "" }, model: { value: e2.ontractForm.contractInfo.partyAPerson, callback: function(t3) {
e2.$set(e2.ontractForm.contractInfo, "partyAPerson", "string" === typeof t3 ? t3.trim() : t3);
}, expression: "ontractForm.contractInfo.partyAPerson" } })], 1)], 1) : a2("el-col", { attrs: { offset: 2, span: 6 } }, [a2("el-form-item", { attrs: { label: "联系方式", prop: "contractInfo.partyAPhone" } }, [a2("el-input", { attrs: { disabled: e2.disabled, placeholder: "请输入甲方联系方式", oninput: "value=value.replace(/\\D/g,'')", maxlength: "11", "show-word-limit": "" }, nativeOn: { input: function(t3) {
return !t3.type.indexOf("key") && e2._k(t3.keyCode, "enter", 13, t3.key, "Enter") ? null : e2.updataInputChanges(t3, "ontractForm", "firstContactPhone");
} }, model: { value: e2.ontractForm.contractInfo.partyAPhone, callback: function(t3) {
e2.$set(e2.ontractForm.contractInfo, "partyAPhone", "string" === typeof t3 ? t3.trim() : t3);
}, expression: "ontractForm.contractInfo.partyAPhone" } })], 1)], 1)], 1)], 1), e2._v(" "), a2("div", { staticClass: "rule typeface" }, [e2._v("乙方信息")]), e2._v(" "), a2("div", { staticClass: "vote-questions" }, [a2("el-row", [a2("el-col", { attrs: { span: 6 } }, [1 === e2.ontractForm.contractInfo.partyBType ? a2("el-form-item", { attrs: { label: "乙方名称", prop: "contractInfo.partyBName" } }, [a2("el-input", { attrs: { disabled: e2.disabled, placeholder: "请输入乙方名称", maxlength: "64", "show-word-limit": "" }, model: { value: e2.ontractForm.contractInfo.partyBName, callback: function(t3) {
e2.$set(e2.ontractForm.contractInfo, "partyBName", "string" === typeof t3 ? t3.trim() : t3);
}, expression: "ontractForm.contractInfo.partyBName" } })], 1) : a2("el-form-item", { attrs: { label: "乙方姓名", prop: "contractInfo.partyBPerson" } }, [a2("el-input", { attrs: { disabled: e2.disabled, placeholder: "请输入乙方姓名", maxlength: "6", "show-word-limit": "" }, model: { value: e2.ontractForm.contractInfo.partyBPerson, callback: function(t3) {
e2.$set(e2.ontractForm.contractInfo, "partyBPerson", "string" === typeof t3 ? t3.trim() : t3);
}, expression: "ontractForm.contractInfo.partyBPerson" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 2 } }, [a2("el-select", { staticClass: "select-type-dom", attrs: { disabled: e2.disabled }, model: { value: e2.ontractForm.contractInfo.partyBType, callback: function(t3) {
e2.$set(e2.ontractForm.contractInfo, "partyBType", t3);
}, expression: "ontractForm.contractInfo.partyBType" } }, e2._l(e2.contractInfoPartyTypeList, (function(e3) {
return a2("el-option", { key: e3.value, attrs: { label: e3.name, value: e3.value } });
})), 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 8 } }, [1 === e2.ontractForm.contractInfo.partyBType ? a2("el-form-item", { attrs: { label: "公司社会信用代码", prop: "contractInfo.partyBIdCard" } }, [a2("el-input", { attrs: { disabled: e2.disabled, placeholder: "请输入公司统一社会信用代码", maxlength: "64", "show-word-limit": "" }, model: { value: e2.ontractForm.contractInfo.partyBIdCard, callback: function(t3) {
e2.$set(e2.ontractForm.contractInfo, "partyBIdCard", "string" === typeof t3 ? t3.trim() : t3);
}, expression: "ontractForm.contractInfo.partyBIdCard" } })], 1) : a2("el-form-item", { attrs: { label: "身份证号码", prop: "contractInfo.partyBIdCard" } }, [a2("el-input", { attrs: { disabled: e2.disabled, placeholder: "请输入乙方身份证号码", maxlength: "18", "show-word-limit": "" }, model: { value: e2.ontractForm.contractInfo.partyBIdCard, callback: function(t3) {
e2.$set(e2.ontractForm.contractInfo, "partyBIdCard", "string" === typeof t3 ? t3.trim() : t3);
}, expression: "ontractForm.contractInfo.partyBIdCard" } })], 1)], 1), e2._v(" "), 1 === e2.ontractForm.contractInfo.partyBType ? a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "企业法人", prop: "contractInfo.partyBPerson" } }, [a2("el-input", { attrs: { disabled: e2.disabled, placeholder: "请输入乙方企业法人", maxlength: "6", "show-word-limit": "" }, model: { value: e2.ontractForm.contractInfo.partyBPerson, callback: function(t3) {
e2.$set(e2.ontractForm.contractInfo, "partyBPerson", "string" === typeof t3 ? t3.trim() : t3);
}, expression: "ontractForm.contractInfo.partyBPerson" } })], 1)], 1) : a2("el-col", { attrs: { offset: 2, span: 6 } }, [a2("el-form-item", { attrs: { label: "联系方式", prop: "contractInfo.partyBPhone" } }, [a2("el-input", { attrs: { disabled: e2.disabled, placeholder: "请输入乙方代表联系方式", oninput: "value=value.replace(/\\D/g,'')", maxlength: "11", "show-word-limit": "" }, model: { value: e2.ontractForm.contractInfo.partyBPhone, callback: function(t3) {
e2.$set(e2.ontractForm.contractInfo, "partyBPhone", "string" === typeof t3 ? t3.trim() : t3);
}, expression: "ontractForm.contractInfo.partyBPhone" } })], 1)], 1)], 1)], 1)]), e2._v(" "), a2("div", { staticClass: "rule typeface" }, [e2._v(e2._s(e2.classifyTitle) + "付款信息")]), e2._v(" "), a2("div", { staticClass: "vote-questions" }, [a2("el-row", [a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "付款方式", prop: "payType" } }, [a2("el-select", { staticClass: "select-dom", attrs: { disabled: e2.disabled, placeholder: "请选择付款方式" }, on: { change: e2.payTypeChange }, model: { value: e2.payType, callback: function(t3) {
e2.payType = t3;
}, expression: "payType" } }, e2._l(e2.payTypeList, (function(e3) {
return a2("el-option", { key: e3.value, attrs: { label: e3.name, value: e3.value } });
})), 1)], 1)], 1)], 1), e2._v(" "), e2._l(e2.ontractForm.contractPaymentInfoList, (function(t3, r2) {
return a2("el-row", { key: r2 }, [a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { staticClass: "is-required", attrs: { label: "付款时间", prop: "paymentTime" + r2 } }, [a2("el-date-picker", { staticClass: "select-dom", attrs: { format: "yyyy-MM-dd", "value-format": "yyyy-MM-dd 23:59:59", disabled: e2.disabled, type: "date", placeholder: "选择日期" }, on: { change: function(t4) {
return e2.paymentTimeChange(t4, r2);
} }, model: { value: t3.paymentTime, callback: function(a3) {
e2.$set(t3, "paymentTime", a3);
}, expression: "item.paymentTime" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [1 === e2.payType ? a2("el-form-item", { key: "ratio" + r2, staticClass: "is-required", attrs: { label: "付款比例", prop: "value" + r2 } }, [a2("el-input", { attrs: { disabled: e2.disabled, placeholder: "请输入付款比例", maxlength: "5", "show-word-limit": "" }, on: { input: function(t4) {
return e2.priceInput(t4, "ratio", 1, r2);
}, blur: function(t4) {
return e2.paymentValueChange(t4, r2, 1);
} }, model: { value: t3.ratio, callback: function(a3) {
e2.$set(t3, "ratio", a3);
}, expression: "item.ratio" } }, [a2("template", { slot: "append" }, [e2._v("%")])], 2)], 1) : a2("el-form-item", { key: "amount" + r2, staticClass: "is-required", attrs: { label: "付款金额", prop: "value" + r2 } }, [a2("el-input", { attrs: { disabled: e2.disabled, placeholder: "请输入付款金额", maxlength: "13", "show-word-limit": "" }, on: { input: function(t4) {
return e2.priceInput(t4, "amount", 1, r2);
}, blur: function(t4) {
return e2.paymentValueChange(t4, r2, 2);
} }, model: { value: t3.amount, callback: function(a3) {
e2.$set(t3, "amount", a3);
}, expression: "item.amount" } }, [a2("template", { slot: "append" }, [e2._v("元")])], 2)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { key: "amount" + r2, staticClass: "is-required", attrs: { label: "付款状态", prop: "value" + r2 } }, [a2("el-select", { staticClass: "select-dom", attrs: { disabled: e2.disabled, placeholder: "请选择付款状态" }, model: { value: t3.payStatus, callback: function(a3) {
e2.$set(t3, "payStatus", a3);
}, expression: "item.payStatus" } }, [a2("el-option", { attrs: { label: "已付款", value: 1 } }), e2._v(" "), a2("el-option", { attrs: { label: "未付款", value: 0 } })], 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { offset: 1, span: 4 } }, [r2 === e2.ontractForm.contractPaymentInfoList.length - 1 ? a2("el-button", { staticClass: "payTypeOptBtn", attrs: { disabled: e2.disabled, type: "primary", icon: "el-icon-circle-plus-outline", size: "mini" }, on: { click: function(t4) {
return e2.addcontractPaymentInfoList(r2);
} } }) : e2._e(), e2._v(" "), r2 < e2.ontractForm.contractPaymentInfoList.length - 1 ? a2("el-button", { staticClass: "payTypeOptBtn", attrs: { disabled: e2.disabled, type: "primary", icon: "el-icon-delete", size: "mini" }, on: { click: function(t4) {
return e2.deletecontractPaymentInfoList(r2);
} } }) : e2._e()], 1)], 1);
}))], 2), e2._v(" "), a2("div", { staticClass: "rule typeface" }, [e2._v(e2._s(e2.classifyTitle) + "文件资料")]), e2._v(" "), a2("div", { staticClass: "vote-questions" }, [a2("el-row", [a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { staticClass: "is-required", attrs: { label: "上传附件:", prop: "fileUrl" } }, [a2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: "支持扩展名: .pdf ", placement: "top" } }, [a2("span", { staticClass: "el-icon-info" })]), e2._v(" "), "view" !== e2.type ? a2("span", { staticClass: "imagvVdeo" }, [a2("AliOSSUpload", { attrs: { limit: 6, disabled: e2.disabled, isShowClose: e2.disabled, accept: e2.accept, allowFileType: e2.allowFileType2, fileList: e2.fileListInfo, isChangeFileName: false, showFileList: true, listType: "text" }, on: { getUploadData: e2.getUploadData2 }, scopedSlots: e2._u([{ key: "uploadButton", fn: function() {
return [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], staticClass: "el-icon-upload", attrs: { type: "primary", disabled: e2.disabled, plain: "", size: "small" } }, [e2._v("选择附件")])];
}, proxy: true }], null, false, 3736315497) })], 1) : a2("div", { staticClass: "file-list" }, e2._l(e2.fileListInfo, (function(t3, r2) {
return a2("div", { key: r2, staticClass: "file-name", on: { click: function(a3) {
return e2.fileViewS(t3.url);
} } }, [e2._v(e2._s(t3.name))]);
})), 0)], 1)], 1)], 1)], 1)]), e2._v(" "), a2("div", { staticClass: "vote-submit-options" }, [a2("el-button", { attrs: { type: "primary" }, on: { click: e2.goBack } }, [e2._v("返回")])], 1)], 1);
}, S = [];
function T(e2, t2) {
var a2 = "undefined" != typeof Symbol && e2[Symbol.iterator] || e2["@@iterator"];
if (!a2) {
if (Array.isArray(e2) || (a2 = k(e2)) || t2 && e2 && "number" == typeof e2.length) {
a2 && (e2 = a2);
var r2 = 0, n2 = function() {
};
return { s: n2, n: function() {
return r2 >= e2.length ? { done: true } : { done: false, value: e2[r2++] };
}, e: function(e3) {
throw e3;
}, f: n2 };
}
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
var o2, i2 = true, s2 = false;
return { s: function() {
a2 = a2.call(e2);
}, n: function() {
var e3 = a2.next();
return i2 = e3.done, e3;
}, e: function(e3) {
s2 = true, o2 = e3;
}, f: function() {
try {
i2 || null == a2.return || a2.return();
} finally {
if (s2) throw o2;
}
} };
}
function k(e2, t2) {
if (e2) {
if ("string" == typeof e2) return F(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) ? F(e2, t2) : void 0;
}
}
function F(e2, t2) {
(null == t2 || t2 > e2.length) && (t2 = e2.length);
for (var a2 = 0, r2 = Array(t2); a2 < t2; a2++) r2[a2] = e2[a2];
return r2;
}
var x = { name: "contractDetailes", components: { AliOSSUpload: c["a"] }, props: { titleType: { type: String, default: "" }, type: { type: String, default: "add" }, ascription: { type: Array, default: function() {
return [];
} } }, data: function() {
var e2 = function(e3, t2, a2) {
t2.length < 11 ? a2(new Error("联系电话不能少于11位")) : Object(l["f"])(t2) ? a2() : a2(new Error("联系电话输入不符合规则,例1xxxxxxxxxx"));
};
return { allowFileType2: ["file"], accept: ".pdf", fileListInfo: [], content: "新建", classifyTitle: "合同", disabled: false, projectList: [], ontractForm: { amount: "", contractNo: "", firstBank: "", firstBankAccount: "", firstContactPhone: "", firstDelegateName: "", firstSupplierId: "", name: "", secondSupplierId: "", secondBank: "", secondBankAccount: "", secondContactPhone: "", secondDelegateName: "", endTime: "", signTime: "", startTime: "", type: 1, projectUuid: [], fileUrl: "", category: [], contractPaymentInfoList: [{ paymentTime: "", amount: "", ratio: "", payStatus: 0, type: 1 }] }, isPost: false, payType: 1, firstSupplierType: 1, firstSupplierList: [], secondSupplierType: 1, secondSupplierList: [], rules: { contractNo: [{ required: true, message: "请填写合同金额", trigger: "blur" }], name: [{ required: true, message: "请填写合同名称", trigger: "blur" }], amount: [{ required: true, message: "请填写金额", trigger: "blur" }], projectUuid: [{ required: true, message: "请选择覆盖项目", trigger: "change" }], type: [{ required: true, message: "请选择合同类型", trigger: "change" }], endTime: [{ required: true, message: "请选择合同结束时间", trigger: "change" }], signTime: [{ required: true, message: "请选择合同签订时间", trigger: "change" }], startTime: [{ required: true, message: "请选择合同开始时间", trigger: "change" }], firstSupplierId: [{ required: true, message: "请选择甲方名称", trigger: "change" }], firstDelegateName: [{ required: true, message: "请输入甲方代表姓名", trigger: "blur" }], firstContactPhone: [{ required: true, message: "请填写甲方代表联系方式", trigger: "blur" }, { required: true, validator: e2, trigger: "blur" }], firstBank: [{ required: true, message: "请填写甲方开户银行", trigger: "blur" }], firstBankAccount: [{ required: true, message: "请填写甲方开户银行", trigger: "blur" }], secondSupplierId: [{ required: true, message: "请选择乙方名称", trigger: "change" }], secondDelegateName: [{ required: true, message: "请输入乙方代表姓名", trigger: "blur" }], secondContactPhone: [{ required: true, message: "请填写乙方代表联系方式", trigger: "blur" }, { required: true, validator: e2, trigger: "blur" }], secondBank: [{ required: true, message: "请填写乙方开户银行", trigger: "blur" }], secondBankAccount: [{ required: true, message: "请填写乙方开户银行", trigger: "blur" }], category: [{ required: true, message: "请选择合同归属", trigger: "change" }] }, payTypeList: [{ name: "付款比例", value: 1 }, { name: "付款金额", value: 2 }, { name: "按月付款", value: 3 }], supplierType: [{ name: "供应商", value: 1 }, { name: "分公司", value: 2 }], contractTypeList: u["J"], ascriptionList: u["p"], leaseTypeList: u["mb"], contractInfoPartyTypeList: [{ name: "公司", value: 1 }, { name: "个人", value: 2 }] };
}, computed: { allSupplierList: function() {
return this.$store.state.user.allSupplierList;
} }, mounted: function() {
}, methods: { getInfoLst: function(e2) {
if (this.ontractForm.companyId = this.$store.state.companyId, this.getProjectInfo(), void 0 != e2 && e2.id && this.getContractById(e2.id), "view" === this.type || "edit" === this.type) "view" === this.type ? (this.content = "查看".concat(this.titleType).concat(this.classifyTitle), this.disabled = true) : (this.content = "编辑".concat(this.titleType).concat(this.classifyTitle), this.disabled = false);
else if ("add" === this.type) {
var t2 = this.groupArr(this.allSupplierList, (function(e3) {
return [e3.type];
}));
this.firstSupplierList = t2[0], this.secondSupplierList = t2[0], this.content = "新建".concat(this.titleType).concat(this.classifyTitle);
}
}, getContractById: function(e2) {
var t2 = this, a2 = { id: e2 };
Object(o["l"])(a2).then((function(e3) {
0 === e3.code && e3.data && (t2.ontractForm = Object.assign({}, e3.data), e3.data.category.indexOf(",") > 0 ? t2.ontractForm.category = e3.data.category.split(",").map((function(e4) {
return Number(e4);
})) : e3.data.category ? t2.ontractForm.category = [Number(e3.data.category)] : t2.ontractForm.category = [], e3.data.projectUuid.indexOf(",") > 0 ? t2.ontractForm.projectUuid = e3.data.projectUuid.split(",") : t2.ontractForm.projectUuid = [e3.data.projectUuid], t2.payType = e3.data.contractPaymentInfoRespDTOList[0].type, t2.ontractForm.contractPaymentInfoList = e3.data.contractPaymentInfoRespDTOList, 4 === e3.data.type && (t2.ontractForm.targetInfo = JSON.parse(e3.data.targetInfo), t2.ontractForm.contractInfo = JSON.parse(e3.data.contractInfo)), t2.reviewSupplierType(), t2.getfFile());
}));
}, reviewSupplierType: function() {
var e2 = this;
"view" !== this.type && "edit" !== this.type || (this.$nextTick((function() {
var t2 = e2.allSupplierList.filter((function(t3) {
return t3.id === e2.ontractForm.firstSupplierId;
})), a2 = e2.allSupplierList.filter((function(t3) {
return t3.id === e2.ontractForm.secondSupplierId;
}));
t2.length > 0 ? (e2.firstSupplierType = t2[0].type, e2.querySupplierList(1, e2.firstSupplierType)) : e2.firstSupplierType = 1, a2.length > 0 ? (e2.secondSupplierType = a2[0].type, e2.querySupplierList(2, e2.secondSupplierType)) : e2.secondSupplierType = 1;
})), this.$forceUpdate());
}, setThisleaseType: function(e2) {
var t2 = this.leaseTypeList.find((function(t3) {
return t3.value === e2;
}));
return t2.name;
}, querySupplierList: function(e2, t2) {
var a2 = this, r2 = { pageSize: -1, pageNumber: -1, type: t2, companyId: this.$store.state.companyId };
Object(o["m"])(r2).then((function(r3) {
if (0 === r3.code && r3.data) {
var n2 = r3.data.records;
if (0 === t2) {
a2.allSupplierList = n2;
var o2 = a2.groupArr(n2, (function(e3) {
return [e3.type];
}));
a2.firstSupplierList = o2[0], a2.secondSupplierList = o2[0];
} else 1 === e2 ? a2.firstSupplierList = n2 : a2.secondSupplierList = n2;
}
}));
}, projectChange: function(e2) {
var t2 = this;
e2.includes(this.$store.state.community_uuid) || (this.$nextTick((function() {
t2.ontractForm.projectUuid.push(t2.$store.state.community_uuid);
})), this.$forceUpdate());
}, projectClear: function() {
var e2 = this;
this.$nextTick((function() {
e2.ontractForm.projectUuid = [e2.$store.state.community_uuid], e2.$refs.ontractForm.clearValidate("projectUuid");
})), this.$forceUpdate();
}, categoryChange: function(e2) {
var t2 = this;
e2.includes(this.ascription[0].value) || (this.$nextTick((function() {
t2.ontractForm.category.push(t2.ascription[0].value);
})), this.$forceUpdate());
}, categoryClear: function() {
var e2 = this;
this.$nextTick((function() {
e2.ontractForm.category = [e2.ascription[0].value], e2.$refs.ontractForm.clearValidate("category");
})), this.$forceUpdate();
}, groupArr: function(e2, t2) {
var a2 = {};
return e2.forEach((function(e3) {
var r2 = JSON.stringify(t2(e3));
a2[r2] = a2[r2] || [], a2[r2].push(e3);
})), Object.keys(a2).map((function(e3) {
return a2[e3];
}));
}, getProjectInfo: function() {
this.$store.state.user.project.length > 0 ? (this.projectList = this.$store.state.user.project, this.ontractForm.projectUuid = [this.$store.state.community_uuid]) : this.projectList = [];
}, supplierTypeChange: function(e2, t2) {
1 === t2 ? (this.ontractForm.firstSupplierId = "", this.ontractForm.firstBank = "", this.ontractForm.firstBankAccount = "", this.ontractForm.firstContactPhone = "", this.ontractForm.firstDelegateName = "", this.ontractForm.firstName = "", this.querySupplierList(t2, e2)) : (this.ontractForm.secondBank = "", this.ontractForm.secondBankAccount = "", this.ontractForm.secondContactPhone = "", this.ontractForm.secondDelegateName = "", this.ontractForm.secondName = "", this.ontractForm.secondSupplierId = "", this.querySupplierList(t2, e2));
}, save: function(e2) {
var t2 = this;
this.$refs[e2].validate((function(e3) {
if (e3) {
var a2, r2 = t2.ontractForm.contractPaymentInfoList, n2 = 0, i2 = T(r2);
try {
for (i2.s(); !(a2 = i2.n()).done; ) {
var s2 = a2.value;
if ("" === s2.paymentTime) return t2.$message({ type: "error", message: "付款时间为空,请输入付款时间" }), false;
if (1 === t2.payType) {
if ("" === s2.ratio) return t2.$message({ type: "error", message: "付款比例为空,请输入分期付款比例" }), false;
n2 = Object(d["a"])(n2, s2.ratio);
} else {
if ("" === s2.amount) return t2.$message({ type: "error", message: "付款金额违抗,请输入分期付款金额" }), false;
n2 = Object(d["a"])(n2, s2.amount);
}
}
} catch (c2) {
i2.e(c2);
} finally {
i2.f();
}
if (1 === t2.payType && 100 !== n2) return t2.$message({ type: "error", message: "付款比例之和不等于100%,请重新输入付款比例" }), false;
if (2 === t2.payType && n2 !== Number(t2.ontractForm.amount)) return t2.$message({ type: "error", message: "分期付款之和不等于合同金额,请重新输入分期付款金额" }), false;
if ("" === t2.ontractForm.fileUrl) return t2.$message({ type: "error", message: "请选择合同文件资料上传" }), false;
var l2 = Object.assign({}, t2.ontractForm);
l2.category = t2.ontractForm.category.join(","), l2.projectUuid = t2.ontractForm.projectUuid.join(","), t2.isPost = true, "edit" === t2.type ? t2.updataForm(l2) : Object(o["a"])(l2).then((function(e4) {
t2.$message({ message: "添加成功", type: "success" }), t2.isPost = false, t2.goBack();
})).catch((function() {
t2.isPost = false;
}));
}
}));
}, updataForm: function(e2) {
var t2 = this;
Object(o["n"])(e2).then((function(e3) {
t2.$message({ message: "修改成功", type: "success" }), t2.isPost = false, t2.goBack();
})).catch((function() {
t2.isPost = false;
}));
}, editBusiness: function() {
this.type = "edit", this.content = "编辑合同", this.disabled = false;
}, cancel: function() {
this.goBack();
}, selectChangefirstSupplier: function(e2) {
this.getAIAlearmType(e2, 1);
}, selectChangeSecondSupplier: function(e2) {
this.getAIAlearmType(e2, 2);
}, getAIAlearmType: function(e2, t2) {
var a2 = 1 === t2 ? this.firstSupplierList : this.secondSupplierList;
if (null != e2 && "" != e2 && void 0 != e2) {
var r2 = a2.filter((function(t3) {
return t3.id == e2;
}));
r2.length > 0 && (1 === t2 ? (this.ontractForm.firstBank = r2[0].bankName, this.ontractForm.firstBankAccount = r2[0].bankAccount) : (this.ontractForm.secondBank = r2[0].bankName, this.ontractForm.secondBankAccount = r2[0].bankAccount));
}
}, paymentTimeChange: function(e2, t2) {
}, paymentValueChange: function(e2, t2, a2) {
}, payTypeChange: function(e2) {
var t2 = this, a2 = this.ontractForm.contractPaymentInfoList;
a2.map((function(a3, r2) {
t2.$set(t2.ontractForm.contractPaymentInfoList[r2], "type", t2.payType), 1 === e2 ? t2.$set(t2.ontractForm.contractPaymentInfoList[r2], "ratio", "") : t2.$set(t2.ontractForm.contractPaymentInfoList[r2], "amount", "");
}));
}, addcontractPaymentInfoList: function(e2) {
var t2 = this, a2 = { paymentTime: "", amount: "", ratio: "", payStatus: 0, type: this.payType }, r2 = "add" === this.type ? a2 : Object.assign({ contractId: this.ontractForm.id }, a2), n2 = "paymentTime".concat(e2 + 1), o2 = "value".concat(e2 + 1), i2 = {};
i2[n2] = [{ required: true, message: "请选择付款时间", trigger: "change" }], i2[o2] = [{ required: true, message: "请输入", trigger: "blur" }], this.$nextTick((function() {
t2.ontractForm.contractPaymentInfoList.push(r2);
})), this.$forceUpdate();
}, deletecontractPaymentInfoList: function(e2) {
var t2 = this;
this.$confirm("确定该选项吗?", "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "info", center: true }).then((function() {
var a2 = t2.ontractForm.contractPaymentInfoList, r2 = a2[e2];
void 0 != r2.id ? Object(o["k"])({ id: r2.id }).then((function(r3) {
0 === r3.code ? (a2.splice(e2, 1), t2.$nextTick((function() {
t2.$set(t2.ontractForm, "contractPaymentInfoList", a2);
})), t2.$forceUpdate(), t2.$message({ type: "success", message: "删除成功" })) : t2.$message({ type: "error", message: "删除失败" });
})) : (a2.splice(e2, 1), t2.$nextTick((function() {
t2.$set(t2.ontractForm, "contractPaymentInfoList", a2);
})), t2.$forceUpdate());
})).catch((function() {
}));
}, getfFile: function() {
var e2 = this, t2 = this.ontractForm.fileUrl;
t2 ? t2.indexOf(",") > 0 ? this.fileListInfo = t2.split(",").map((function(t3) {
return { url: t3, name: e2.getFileName(t3) };
})) : t2.indexOf(";") > 0 ? this.fileListInfo = t2.split(";").map((function(t3) {
return { url: t3, name: e2.getFileName(t3) };
})) : this.fileListInfo.push({ url: t2, name: this.getFileName(t2) }) : this.fileListInfo = [];
}, getFileName: function(e2) {
var t2 = e2.lastIndexOf("/");
return -1 !== t2 ? decodeURI(e2.slice(t2 + 1)) : "";
}, getUploadData2: function(e2) {
var t2 = [];
e2 && e2.length > 0 && e2.forEach((function(e3) {
t2.push(e3.filePath);
})), this.ontractForm.fileUrl = t2.join(",");
}, updataInputChanges: function(e2, t2, a2) {
this.$refs[t2]["model"][a2] = e2.target.value;
}, priceInput: function(e2, t2, a2, r2) {
var n2 = this;
a2 = a2 || 0, e2 = e2.replace(/[^\d\.]/g, ""), e2 = e2.replace(/^\./g, ""), e2 = e2.replace(/^0\d[0-9]*/g, ""), e2 = e2.replace(/\.{2,}/g, "."), e2 = e2.replace(".", "$#$").replace(/\./g, "").replace("$#$", "."), e2 = e2.replace(/^(\-)*(\d+)\.(\d\d).*$/, "$1$2.$3"), this.$nextTick((function() {
0 === a2 ? n2.ontractForm[t2] = e2 : n2.ontractForm.contractPaymentInfoList[r2][t2] = e2;
}));
}, fileViewS: function(e2) {
window.open(e2);
}, goBack: function() {
this.$emit("goBack");
} } }, I = x, N = (a("32b0"), Object(y["a"])(I, C, S, false, null, "72c4bb8e", null)), $ = N.exports, L = function() {
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
return a2("div", { staticClass: "contractStand" }, [e2.viewCard ? a2("div", [a2("el-card", { staticClass: "box-card", staticStyle: { "margin-top": "15px" } }, [a2("div", { staticClass: "clearfix", attrs: { slot: "header" }, slot: "header" }, [a2("div", { staticClass: "contractStand-header-box" }, [a2("span", { staticClass: "contractStand-header-title" }, [e2._v("合同关联标准")]), e2._v(" "), a2("div", { staticClass: "contractStand-header-buttons" }, [a2("el-button", { staticStyle: { "margin-right": "10px" }, attrs: { type: "primary" }, on: { click: e2.showContractList } }, [e2._v("AI识别合同标准")]), e2._v(" "), a2("AliOSSUpload", { directives: [{ name: "show", rawName: "v-show", value: false, expression: "false" }], ref: "uploadContract", attrs: { limit: 1, isShowClose: e2.disabled, accept: e2.accept, allowFileType: e2.allowFileType2, fileList: e2.fileListInfo, isChangeFileName: false, showFileList: true, listType: "text", fileSize: e2.fileSize }, on: { getUploadData: e2.getUploadData }, scopedSlots: e2._u([{ key: "uploadButton", fn: function() {
return [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], staticClass: "el-icon-upload", attrs: { type: "primary", plain: "", size: "small" } }, [e2._v("AI识别合同")])];
}, proxy: true }], null, false, 2284252748) })], 1)])]), e2._v(" "), a2("el-card", [a2("el-row", [a2("el-col", { staticClass: "elCol", attrs: { span: 4 } }, [a2("el-input", { attrs: { type: "text", clearable: "", placeholder: "作业事项" }, model: { value: e2.query.eventName, callback: function(t3) {
e2.$set(e2.query, "eventName", "string" === typeof t3 ? t3.trim() : t3);
}, expression: "query.eventName" } })], 1), e2._v(" "), a2("el-col", { staticClass: "elCol", attrs: { span: 4 } }, [a2("el-select", { staticClass: "select-dom", attrs: { clearable: "", placeholder: "请选择职责归属" }, model: { value: e2.query.jobName, callback: function(t3) {
e2.$set(e2.query, "jobName", t3);
}, expression: "query.jobName" } }, e2._l(e2.jobListArr, (function(e3, t3) {
return a2("el-option", { key: t3, attrs: { label: e3.name, value: e3.name } });
})), 1)], 1), e2._v(" "), a2("el-col", { staticClass: "elCol", attrs: { span: 4 } }, [a2("el-cascader", { staticClass: "select-dom", attrs: { placeholder: "选择省、市、区", options: e2.options, props: { checkStrictly: true }, clearable: "", filterable: "" }, model: { value: e2.query.areaNoList, callback: function(t3) {
e2.$set(e2.query, "areaNoList", t3);
}, expression: "query.areaNoList" } })], 1), e2._v(" "), a2("el-col", { staticClass: "elCol", attrs: { span: 4 } }, [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], on: { click: function(t3) {
return e2.resetStandForm();
} } }, [e2._v("重置")]), e2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: e2.onStandSearch } }, [e2._v("查询")])], 1)], 1)], 1), e2._v(" "), a2("div", { staticClass: "planLst" }, [a2("span", { staticStyle: { color: "#2f2c2c", "font-size": "16px" } }, [e2._v("合同关联标准列表")]), e2._v(" "), a2("span", { staticClass: "add" }, [a2("span", [a2("el-tooltip", { attrs: { effect: "dark", placement: "top" } }, [a2("template", { slot: "content" }, [a2("div", [e2._v("仅更新项目3.0标准")])]), e2._v(" "), a2("span", { staticClass: "el-icon-info" })], 2), e2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary", title: "仅更新项目3.0标准", icon: "el-icon-download" }, on: { click: function(t3) {
e2.areaNoShow = true;
} } }, [e2._v("云下载")])], 1), e2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: e2.deleteConyractStand } }, [e2._v("批量解绑")]), e2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: e2.showConyractStand } }, [e2._v("引用标准")]), e2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: e2.addStand } }, [e2._v("新增标准")])], 1)]), e2._v(" "), a2("el-table", { ref: "standTable", staticStyle: { width: "100%", "margin-top": "15px" }, attrs: { border: "", data: e2.tableData, "row-key": "id", "header-cell-style": e2.headClass }, on: { "selection-change": e2.selectionChange } }, [a2("el-table-column", { attrs: { type: "selection", align: "center", fixed: "", "min-width": "50", "show-overflow-tooltip": "", "reserve-selection": true } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "150", label: "作业事项", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.eventName || "-"))];
} }], null, false, 2108454907) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "200", label: "作业标准", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.serviceDesc || "-"))];
} }], null, false, 457840124) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "200", width: "200", label: "检查标准", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.checkDesc || "-"))];
} }], null, false, 3564229895) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "100", label: "上传照片", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(1 == t3.row.isShowCapture ? "是" : 2 == t3.row.isShowCapture ? "否" : "-"))];
} }], null, false, 353062362) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "100", label: "轻量化标准", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(1 == t3.row.isLightWeight ? "是" : 2 == t3.row.isLightWeight ? "否" : "-"))];
} }], null, false, 738444218) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "100", label: "标准分值", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.performanceScore || "-"))];
} }], null, false, 2499012992) }), 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 [e2._v(e2._s(t3.row.deductionStandard || "-"))];
} }], null, false, 21746788) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "120", label: "单项扣分比例", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.deductionRate ? (100 * t3.row.deductionRate).toFixed(2) + "%" : "-"))];
} }], null, false, 3049892504) }), 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 [e2._v(e2._s(t3.row.rectificationMeasures || "-"))];
} }], null, false, 2542792483) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "100", label: "来源", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.source || "-"))];
} }], null, false, 3092727213) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "100", label: "版本号", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.versionNumber ? "v" + t3.row.versionNumber : "-"))];
} }], null, false, 4247767528) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "100", label: "作业分类", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(e2._f("getItemType")(t3.row.jobCategory, e2.workType)) + "\n ")];
} }], null, false, 2659929565) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "100", label: "事故后果", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(e2._f("getItemType")(t3.row.eventType, e2.taskType2)) + "\n ")];
} }], null, false, 31696800) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "130", label: "专业分类", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(e2._f("getItemType")(t3.row.professionalCategory, e2.professionalList)) + "\n ")];
} }], null, false, 3594229953) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "100", label: "危险源类型", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(t3.row.subcontractingCategoryName) + "\n ")];
} }], null, false, 493039228) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "100", label: "内外分类", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(e2._f("getItemType")(t3.row.internalExternalCategory, e2.aroundClsssArr)) + "\n ")];
} }], null, false, 501248935) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "100", label: "固移分类", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(e2._f("getItemType")(t3.row.movementCategory, e2.fixedClsssArr)) + "\n ")];
} }], null, false, 2362536107) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "100", label: "查办分类", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(e2._f("getItemType")(t3.row.investigationCategory, e2.investigationClsssArr)) + "\n ")];
} }], null, false, 2053486718) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "100", label: "对象分类", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(e2._f("getItemType")(t3.row.objectCategory, e2.objClsssArr)) + "\n ")];
} }], null, false, 4114704172) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "120", label: "专业等级", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.professionalLevel || "-"))];
} }], null, false, 806572557) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "120", label: "安全等级", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.dangerousLevel || "-"))];
} }], null, false, 1226398388) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "120", label: "平均安全系数", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.avgDangerousLevel || "-"))];
} }], null, false, 3564119492) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "120", label: "重要等级", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.importantLevel || "-"))];
} }], null, false, 1873336064) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "120", label: "平均重要系数", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.avgImportantLevel || "-"))];
} }], null, false, 1235441328) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "100", label: "温度", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.temperatureLevel || "-"))];
} }], null, false, 2174983082) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "120", label: "平均温度系数", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.avgTemperatureLevel || "-"))];
} }], null, false, 2400355738) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "100", label: "私密度", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.privacyLevel || "-"))];
} }], null, false, 3721481312) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "150", label: "平均私密度系数", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.avgPrivacyLevel || "-"))];
} }], null, false, 1182901904) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "150", label: "职责归属", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.jobName || "-"))];
} }], null, false, 2574707600) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "150", label: "频次", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.freName || "-"))];
} }], null, false, 1599541990) }), e2._v(" "), 7 == e2.type ? a2("el-table-column", { attrs: { align: "center", "min-width": "200", label: "人", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.c1 || "-"))];
} }], null, false, 520345602) }) : e2._e(), e2._v(" "), 7 == e2.type ? a2("el-table-column", { attrs: { align: "center", "min-width": "200", label: "财", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.c2 || "-"))];
} }], null, false, 1633619489) }) : e2._e(), e2._v(" "), 7 == e2.type ? a2("el-table-column", { attrs: { align: "center", "min-width": "200", label: "事", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.c3 || "-"))];
} }], null, false, 3845849792) }) : e2._e(), e2._v(" "), 7 == e2.type ? a2("el-table-column", { attrs: { align: "center", "min-width": "200", label: "物", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.c4 || "-"))];
} }], null, false, 3436222439) }) : e2._e(), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "120", label: "作业菜单分类", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(e2._f("getItemType")(t3.row.controlType, e2.planModeLArr)))];
} }], null, false, 1767562609) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "120", label: "星级", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.star || "-"))];
} }], null, false, 2474980772) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "120", label: "四个全员", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(e2._f("getItemType")(t3.row.fullParticipation, e2.allList)) + "\n ")];
} }], null, false, 3657828506) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "100", label: "引用次数", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.citedNum || "-"))];
} }], null, false, 3240717817) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "100", label: "最近更新人", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.updateUserName || "-"))];
} }], null, false, 3087307415) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "180", label: "更新时间", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.updateDate || "-"))];
} }], null, false, 1307290197) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "150", prop: "applyNo", label: "操作", fixed: "right", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [a2("el-button", { attrs: { type: "text" }, on: { click: function(a3) {
return e2.seeDetail(t3.row);
} } }, [e2._v("查看")]), e2._v(" "), a2("el-button", { attrs: { type: "text" }, on: { click: function(a3) {
return e2.editStandard(t3.row);
} } }, [e2._v("编辑")]), e2._v(" "), a2("el-button", { attrs: { type: "text" }, on: { click: function(a3) {
return e2.unbindStand(t3.row);
} } }, [e2._v("解绑")])];
} }], null, false, 3607925913) })], 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-card", { staticClass: "box-card", staticStyle: { "margin-top": "15px" } }, [a2("div", { staticClass: "clearfix", attrs: { slot: "header" }, slot: "header" }, [a2("span", [e2._v("合同关联计划")])]), e2._v(" "), a2("el-card", [a2("el-row", [a2("el-col", { staticClass: "elCol", attrs: { span: 4 } }, [a2("el-input", { attrs: { type: "text", clearable: "", placeholder: "请输入计划名称" }, model: { value: e2.planQuery.planName, callback: function(t3) {
e2.$set(e2.planQuery, "planName", "string" === typeof t3 ? t3.trim() : t3);
}, expression: "planQuery.planName" } })], 1), e2._v(" "), a2("el-col", { staticClass: "elCol", attrs: { span: 4 } }, [a2("el-select", { staticClass: "select-dom", attrs: { clearable: "", placeholder: "请选择计划类型" }, model: { value: e2.planQuery.planModel, callback: function(t3) {
e2.$set(e2.planQuery, "planModel", t3);
}, expression: "planQuery.planModel" } }, e2._l(e2.planModeLArr, (function(e3, t3) {
return a2("el-option", { key: t3, attrs: { label: e3.label, value: e3.value } });
})), 1)], 1), e2._v(" "), a2("el-col", { staticClass: "elCol", attrs: { span: 4 } }, [a2("el-select", { staticClass: "select-dom", attrs: { clearable: "", placeholder: "请选择计划状态" }, model: { value: e2.planQuery.planStatus, callback: function(t3) {
e2.$set(e2.planQuery, "planStatus", t3);
}, expression: "planQuery.planStatus" } }, e2._l(e2.statusArr, (function(e3, t3) {
return a2("el-option", { key: t3, attrs: { label: e3.label, value: e3.value } });
})), 1)], 1), e2._v(" "), a2("el-col", { staticClass: "elCol", attrs: { span: 4 } }, [a2("el-select", { staticClass: "select-dom", attrs: { clearable: "", placeholder: "请选择执行岗位" }, model: { value: e2.planQuery.jobName, callback: function(t3) {
e2.$set(e2.planQuery, "jobName", t3);
}, expression: "planQuery.jobName" } }, e2._l(e2.jobListArr, (function(e3, t3) {
return a2("el-option", { key: t3, attrs: { label: e3.name, value: e3.name } });
})), 1)], 1), e2._v(" "), a2("el-col", { staticClass: "elCol", attrs: { span: 4 } }, [a2("el-input", { attrs: { type: "text", clearable: "", placeholder: "请输入执行人员" }, model: { value: e2.planQuery.userName, callback: function(t3) {
e2.$set(e2.planQuery, "userName", "string" === typeof t3 ? t3.trim() : t3);
}, expression: "planQuery.userName" } })], 1), e2._v(" "), a2("el-col", { staticClass: "elCol", attrs: { span: 4 } }, [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], on: { click: function(t3) {
return e2.resetPlanForm();
} } }, [e2._v("重置")]), e2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: e2.onPlanSearch } }, [e2._v("查询")])], 1)], 1)], 1), e2._v(" "), a2("div", { staticClass: "planLst" }, [a2("span", { staticStyle: { color: "#2f2c2c", "font-size": "16px" } }, [e2._v("合同关联计划列表")])]), e2._v(" "), a2("el-table", { attrs: { data: e2.planTableData, align: "center", 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.planQuery.pageNumber - 1) * e2.planQuery.pageSize + 1) + "\n ")])];
} }], null, false, 3905421249) }), e2._v(" "), a2("el-table-column", { attrs: { prop: "planNo", align: "center", "min-width": "150", label: "计划编码", fixed: "" } }), e2._v(" "), a2("el-table-column", { attrs: { prop: "planName", align: "center", "min-width": "160", label: "计划名称", "show-overflow-tooltip": "", fixed: "" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "状态", fixed: "", "min-width": "100" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [a2("i", { class: { iconStatus: true, normal: 1 === t3.row.planStatus, error: 2 === t3.row.planStatus || 4 === t3.row.planStatus, end: 3 === t3.row.planStatus, invalid: 5 === t3.row.planStatus } }), e2._v(" "), a2("span", [e2._v(e2._s(e2._f("getItemType")(t3.row.planStatus, e2.statusArr)))])];
} }], null, false, 544022741) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "计划类型", "min-width": "160" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [a2("span", [e2._v(e2._s(e2._f("getItemType")(t3.row.planModel, e2.planModeLArr)))])];
} }], null, false, 2562950089) }), 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("span", [e2._v(e2._s(e2._f("formatDate")(t3.row.planStartDate, "Y/M/D")) + "~" + e2._s(e2._f("formatDate")(t3.row.planEndDate, "Y/M/D")))])];
} }], null, false, 2998085018) }), e2._v(" "), a2("el-table-column", { attrs: { prop: "frequencyName", align: "center", label: "执行频率", "min-width": "100" } }), e2._v(" "), a2("el-table-column", { attrs: { prop: "jobName", align: "center", "min-width": "160", "show-overflow-tooltip": "", label: "执行岗位" } }), e2._v(" "), a2("el-table-column", { attrs: { prop: "userName", align: "center", "min-width": "150", label: "执行人员", "show-overflow-tooltip": "" } }), e2._v(" "), a2("el-table-column", { attrs: { prop: "createUserName", align: "center", "min-width": "150", label: "创建人", "show-overflow-tooltip": "" } }), e2._v(" "), a2("el-table-column", { attrs: { prop: "createDate", align: "center", "min-width": "180", label: "创建时间", "show-overflow-tooltip": "" } }), e2._v(" "), a2("el-table-column", { attrs: { label: "操作", align: "center", "min-width": "80", fixed: "right" }, 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.viewPlanDetailes(t3.row);
} } }, [e2._v("查看")])];
} }], null, false, 3923309311) })], 1), e2._v(" "), a2("div", { staticClass: "paginations" }, [a2("el-pagination", { attrs: { background: "", "current-page": e2.planQuery.pageNumber, "page-sizes": [10, 30, 50, 100, 200], "page-size": e2.planQuery.pageSize, layout: "total, sizes, prev, pager, next, jumper", total: e2.planTotal }, on: { "size-change": e2.handlePlanSizeChange, "current-change": e2.handlePlanCurrentChange } })], 1)], 1), e2._v(" "), a2("div", { staticClass: "backBtn" }, [a2("el-button", { attrs: { type: "primary" }, on: { click: e2.goBack } }, [e2._v("返回")])], 1)], 1) : e2._e(), e2._v(" "), e2.viewPlan ? a2("div", {}, [a2("planOrder", { ref: "planOrder", attrs: { planModel: e2.planModel, content: e2.planContent }, on: { goBack: e2.showCardInfor } })], 1) : e2._e(), e2._v(" "), e2.showAdd ? a2("addStandard", { ref: "addStandard", attrs: { isBandBindFun: true }, on: { goBack: e2.showStandList, bindStand: e2.bindStand } }) : e2._e(), e2._v(" "), e2.showEdit ? a2("editStandard", { ref: "editStandard", on: { goBack: e2.showStandList } }) : e2._e(), e2._v(" "), a2("el-drawer", { attrs: { title: "项目标准详情", size: "20%", visible: e2.showSee, direction: e2.direction }, on: { "update:visible": function(t3) {
e2.showSee = 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.areaName || "-"))])]), e2._v(" "), 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("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, r2) {
return a2("el-image", { key: r2, staticStyle: { width: "100px" }, attrs: { src: t3, "preview-src-list": e2.formatImg(e2.info.standImageUrl) } });
})), 1) : a2("span", [e2._v("-")])])])]), e2._v(" "), a2("el-dialog", { attrs: { title: e2.standDialogtitle, visible: e2.standDialogVisible, width: "80%", "before-close": e2.resetstandDialog }, on: { "update:visible": function(t3) {
e2.standDialogVisible = t3;
} } }, [a2("div", { staticClass: "standQuerySearch" }, [a2("el-row", [a2("el-col", { staticClass: "elCol", attrs: { span: 4 } }, [a2("el-input", { attrs: { type: "text", clearable: "", placeholder: "作业事项" }, model: { value: e2.standQuery.eventName, callback: function(t3) {
e2.$set(e2.standQuery, "eventName", "string" === typeof t3 ? t3.trim() : t3);
}, expression: "standQuery.eventName" } })], 1), e2._v(" "), a2("el-col", { staticClass: "elCol", attrs: { span: 4 } }, [a2("el-select", { staticClass: "select-dom", attrs: { clearable: "", placeholder: "请选择职责归属" }, model: { value: e2.standQuery.jobName, callback: function(t3) {
e2.$set(e2.standQuery, "jobName", t3);
}, expression: "standQuery.jobName" } }, e2._l(e2.jobListArr, (function(e3, t3) {
return a2("el-option", { key: t3, attrs: { label: e3.name, value: e3.name } });
})), 1)], 1), e2._v(" "), a2("el-col", { staticClass: "elCol", attrs: { span: 4 } }, [a2("el-cascader", { staticClass: "select-dom", attrs: { placeholder: "选择省、市、区", options: e2.options, props: { checkStrictly: true, label: "name", value: "code", children: "children" }, clearable: "", filterable: "" }, model: { value: e2.standQuery.areaNoList, callback: function(t3) {
e2.$set(e2.standQuery, "areaNoList", t3);
}, expression: "standQuery.areaNoList" } })], 1), e2._v(" "), a2("el-col", { staticClass: "elCol", attrs: { span: 10 } }, [a2("div", { staticStyle: { float: "right" } }, [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], on: { click: function(t3) {
return e2.resetstandQueryForm();
} } }, [e2._v("重置")]), e2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: e2.onstandQuerySearch } }, [e2._v("查询")])], 1)])], 1)], 1), e2._v(" "), a2("el-table", { ref: "multipleTable", attrs: { border: "", size: "mini", "header-cell-style": e2.headClass, data: e2.standList, "row-key": "standUuid" }, on: { "selection-change": e2.handleSelectionChange } }, [a2("el-table-column", { attrs: { type: "selection", align: "center", width: "55", "reserve-selection": true } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "作业事项", prop: "eventName", "show-overflow-tooltip": "", "min-width": "200" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "作业标准", prop: "serviceDesc", "show-overflow-tooltip": "", "min-width": "150" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "150", label: "检查标准", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(t3.row.serviceDesc || "-") + "\n ")];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "120", label: "频次", prop: "freName", "show-overflow-tooltip": "" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "140", label: "职责归属", prop: "jobName", "show-overflow-tooltip": "" } })], 1), e2._v(" "), a2("div", { staticClass: "paginations" }, [a2("el-pagination", { attrs: { background: "", "current-page": e2.standQuery.pageNumber, "page-sizes": [10], "page-size": e2.standQuery.pageSize, layout: "total, prev, pager, next, jumper", total: e2.standTotal }, on: { "size-change": e2.handlestandSizeChange, "current-change": e2.handlestandCurrentChange } })], 1), e2._v(" "), a2("span", { staticClass: "dialog-footer", attrs: { slot: "footer" }, slot: "footer" }, [a2("el-button", { on: { click: function(t3) {
return e2.resetstandDialog();
} } }, [e2._v("取 消")]), e2._v(" "), a2("el-button", { attrs: { type: "primary", disabled: !(e2.multipleSelection.length > 0) }, on: { click: function(t3) {
return e2.submitstandDialog();
} } }, [e2._v("确认添加")])], 1)], 1), e2._v(" "), a2("el-dialog", { attrs: { "close-on-press-escape": false, "close-on-click-modal": false, visible: e2.areaNoShow, title: "请选择区域范围", width: "30%" }, on: { "update:visible": function(t3) {
e2.areaNoShow = t3;
} } }, [a2("div", { staticClass: "f-c-c" }, [a2("el-cascader", { attrs: { placeholder: "选择省、市、区", options: e2.options, props: { checkStrictly: true }, clearable: "", filterable: "" }, model: { value: e2.areaNoRoute, callback: function(t3) {
e2.areaNoRoute = t3;
}, expression: "areaNoRoute" } })], 1), e2._v(" "), a2("div", { staticClass: "f-c-c", staticStyle: { "margin-top": "20px" } }, [a2("el-button", { attrs: { loading: e2.downloadBtn, type: "primary" }, on: { click: e2.uploadForCTcloud } }, [e2._v("提交")]), e2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], on: { click: function(t3) {
e2.areaNoShow = false, e2.areaNoRoute = [];
} } }, [e2._v("取消")])], 1)]), e2._v(" "), a2("el-dialog", { attrs: { visible: e2.recognizeDialogVisible, width: "90%", "close-on-click-modal": false, "before-close": e2.handleRecognizeDialogClose }, on: { "update:visible": function(t3) {
e2.recognizeDialogVisible = t3;
} } }, [a2("span", { attrs: { slot: "title" }, slot: "title" }, [e2._v("\n AI自动识别合同标准信息\n "), a2("span", { staticStyle: { color: "red", "font-size": "12px", "margin-left": "10px" } }, [e2._v("每次上传合同需要10分钟左右解析请之后点击查询查看识别结果")])]), e2._v(" "), a2("div", { staticClass: "recognize-dialog-header" }, [a2("div", { staticClass: "recognize-dialog-buttons" }, [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary", icon: "el-icon-search" }, on: { click: e2.handleQueryRecognize } }, [e2._v("查询")]), e2._v(" "), a2("el-button", { attrs: { disabled: e2.recognizeTableData && e2.recognizeTableData[0] && 2 == e2.recognizeTableData[0].status }, on: { click: e2.handleReRecognize } }, [e2._v("识别合同/重新识别合同")]), e2._v(" "), e2.recognizeTableData.length > 0 ? a2("el-button", { attrs: { disabled: e2.recognizeTableData[0] && 2 == e2.recognizeTableData[0].status }, on: { click: e2.handleSubmitSystem } }, [e2._v("提交系统")]) : e2._e()], 1)]), e2._v(" "), a2("el-table", { staticStyle: { width: "100%", "margin-top": "20px" }, attrs: { border: "", data: e2.recognizeTableData, "header-cell-style": e2.headClass } }, [a2("el-table-column", { attrs: { align: "center", "min-width": "180", label: "所属行政区域", prop: "areaName", "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": "200", label: "作业标准", prop: "serviceDesc", "show-overflow-tooltip": "" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "200", label: "检查标准", prop: "checkDesc", "show-overflow-tooltip": "" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "150", label: "作业菜单分类", prop: "controlTypeStr", "show-overflow-tooltip": "" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "120", label: "频次周期类型", prop: "cycleTypeStr", "show-overflow-tooltip": "" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "120", label: "频次周期次数", prop: "cycleTimes", "show-overflow-tooltip": "" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "120", label: "操作", fixed: "right" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [a2("el-button", { attrs: { type: "text" }, on: { click: function(a3) {
return e2.handleEditRecognize(t3.row);
} } }, [e2._v("编辑")]), e2._v(" "), a2("el-button", { attrs: { type: "text" }, on: { click: function(a3) {
return e2.handleDeleteRecognize(t3.row);
} } }, [e2._v("删除")])];
} }]) })], 1), e2._v(" "), a2("div", { staticClass: "paginations", staticStyle: { "margin-top": "20px" } }, [a2("el-pagination", { attrs: { background: "", "current-page": e2.recognizeQuery.pageNumber, "page-sizes": [10, 30, 50, 100], "page-size": e2.recognizeQuery.pageSize, layout: "total, sizes, prev, pager, next, jumper", total: e2.recognizeTotal }, on: { "size-change": e2.handleRecognizeSizeChange, "current-change": e2.handleRecognizeCurrentChange } })], 1)], 1), e2._v(" "), a2("el-dialog", { attrs: { title: "编辑识别结果", visible: e2.editRecognizeDialogVisible, width: "60%", "close-on-click-modal": false, "before-close": e2.handleEditRecognizeDialogClose } }, [a2("el-form", { ref: "editRecognizeForm", attrs: { model: e2.editRecognizeForm, rules: e2.editRecognizeRules, "label-width": "150px" } }, [a2("el-form-item", { attrs: { label: "所属行政区域", prop: "areaNoRoute" } }, [a2("el-cascader", { staticStyle: { width: "100%" }, attrs: { placeholder: "选择省、市、区", options: e2.options, props: { checkStrictly: true, label: "name", value: "code", children: "children" }, clearable: "", filterable: "" }, model: { value: e2.editRecognizeForm.areaNoRoute, callback: function(t3) {
e2.$set(e2.editRecognizeForm, "areaNoRoute", t3);
}, expression: "editRecognizeForm.areaNoRoute" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "作业事项", prop: "eventName" } }, [a2("el-input", { attrs: { placeholder: "请输入作业事项", clearable: "" }, model: { value: e2.editRecognizeForm.eventName, callback: function(t3) {
e2.$set(e2.editRecognizeForm, "eventName", "string" === typeof t3 ? t3.trim() : t3);
}, expression: "editRecognizeForm.eventName" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "作业标准", prop: "serviceDesc" } }, [a2("el-input", { attrs: { type: "textarea", rows: 4, placeholder: "请输入作业标准", clearable: "" }, model: { value: e2.editRecognizeForm.serviceDesc, callback: function(t3) {
e2.$set(e2.editRecognizeForm, "serviceDesc", "string" === typeof t3 ? t3.trim() : t3);
}, expression: "editRecognizeForm.serviceDesc" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "检查标准", prop: "checkDesc" } }, [a2("el-input", { attrs: { type: "textarea", rows: 4, placeholder: "请输入检查标准", clearable: "" }, model: { value: e2.editRecognizeForm.checkDesc, callback: function(t3) {
e2.$set(e2.editRecognizeForm, "checkDesc", "string" === typeof t3 ? t3.trim() : t3);
}, expression: "editRecognizeForm.checkDesc" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "作业菜单分类", prop: "controlTypeStr" } }, [a2("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: "请选择作业菜单分类", clearable: "" }, model: { value: e2.editRecognizeForm.controlTypeStr, callback: function(t3) {
e2.$set(e2.editRecognizeForm, "controlTypeStr", t3);
}, expression: "editRecognizeForm.controlTypeStr" } }, e2._l(e2.planModeLArr, (function(e3, t3) {
return a2("el-option", { key: t3, attrs: { label: e3.label, value: e3.label } });
})), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "频次周期类型", prop: "cycleTypeStr" } }, [a2("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: "请选择频次周期类型" }, model: { value: e2.editRecognizeForm.cycleTypeStr, callback: function(t3) {
e2.$set(e2.editRecognizeForm, "cycleTypeStr", t3);
}, expression: "editRecognizeForm.cycleTypeStr" } }, [a2("el-option", { attrs: { value: "日", label: "日" } }), e2._v(" "), a2("el-option", { attrs: { value: "周", label: "周" } }), e2._v(" "), a2("el-option", { attrs: { value: "月", label: "月" } }), e2._v(" "), a2("el-option", { attrs: { value: "年", label: "年" } })], 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "频次周期次数", prop: "cycleTimes" } }, [a2("el-input-number", { staticStyle: { width: "100%" }, attrs: { "controls-position": "right", min: 0, precision: 0, placeholder: "请输入频次周期次数" }, model: { value: e2.editRecognizeForm.cycleTimes, callback: function(t3) {
e2.$set(e2.editRecognizeForm, "cycleTimes", t3);
}, expression: "editRecognizeForm.cycleTimes" } })], 1)], 1), e2._v(" "), a2("span", { staticClass: "dialog-footer", attrs: { slot: "footer" }, slot: "footer" }, [a2("el-button", { on: { click: e2.handleEditRecognizeDialogClose } }, [e2._v("取 消")]), e2._v(" "), a2("el-button", { attrs: { type: "primary" }, on: { click: e2.handleSubmitEditRecognize } }, [e2._v("确 定")])], 1)], 1)], 1);
}, q = [], D = a("8f53"), M = a("f8b7"), j = a("a99b"), P = a("9d07"), A = a("9a64"), O = a("7a3b"), z = a("be2e");
function B(e2, t2) {
var a2 = "undefined" != typeof Symbol && e2[Symbol.iterator] || e2["@@iterator"];
if (!a2) {
if (Array.isArray(e2) || (a2 = R(e2)) || t2 && e2 && "number" == typeof e2.length) {
a2 && (e2 = a2);
var r2 = 0, n2 = function() {
};
return { s: n2, n: function() {
return r2 >= e2.length ? { done: true } : { done: false, value: e2[r2++] };
}, e: function(e3) {
throw e3;
}, f: n2 };
}
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
var o2, i2 = true, s2 = false;
return { s: function() {
a2 = a2.call(e2);
}, n: function() {
var e3 = a2.next();
return i2 = e3.done, e3;
}, e: function(e3) {
s2 = true, o2 = e3;
}, f: function() {
try {
i2 || null == a2.return || a2.return();
} finally {
if (s2) throw o2;
}
} };
}
function R(e2, t2) {
if (e2) {
if ("string" == typeof e2) return E(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) ? E(e2, t2) : void 0;
}
}
function E(e2, t2) {
(null == t2 || t2 > e2.length) && (t2 = e2.length);
for (var a2 = 0, r2 = Array(t2); a2 < t2; a2++) r2[a2] = e2[a2];
return r2;
}
function U(e2, t2) {
var a2 = Object.keys(e2);
if (Object.getOwnPropertySymbols) {
var r2 = Object.getOwnPropertySymbols(e2);
t2 && (r2 = r2.filter((function(t3) {
return Object.getOwnPropertyDescriptor(e2, t3).enumerable;
}))), a2.push.apply(a2, r2);
}
return a2;
}
function Q(e2) {
for (var t2 = 1; t2 < arguments.length; t2++) {
var a2 = null != arguments[t2] ? arguments[t2] : {};
t2 % 2 ? U(Object(a2), true).forEach((function(t3) {
H(e2, t3, a2[t3]);
})) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e2, Object.getOwnPropertyDescriptors(a2)) : U(Object(a2)).forEach((function(t3) {
Object.defineProperty(e2, t3, Object.getOwnPropertyDescriptor(a2, t3));
}));
}
return e2;
}
function H(e2, t2, a2) {
return (t2 = Y(t2)) in e2 ? Object.defineProperty(e2, t2, { value: a2, enumerable: true, configurable: true, writable: true }) : e2[t2] = a2, e2;
}
function Y(e2) {
var t2 = V(e2, "string");
return "symbol" == W(t2) ? t2 : t2 + "";
}
function V(e2, t2) {
if ("object" != W(e2) || !e2) return e2;
var a2 = e2[Symbol.toPrimitive];
if (void 0 !== a2) {
var r2 = a2.call(e2, t2 || "default");
if ("object" != W(r2)) return r2;
throw new TypeError("@@toPrimitive must return a primitive value.");
}
return ("string" === t2 ? String : Number)(e2);
}
function W(e2) {
return W = "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;
}, W(e2);
}
var G = { name: "contractStand", components: { planOrder: j["default"], addStandard: P["default"], editStandard: A["default"], AliOSSUpload: c["a"] }, props: { titleType: { type: String, default: "" }, type: { type: String, default: "add" }, ascription: { type: Array, default: function() {
return [];
} }, contractID: { type: Number, default: 0 } }, data: function() {
return { areaNoRoute: [], areaNoShow: false, options: O, viewCard: true, viewPlan: false, planModel: "", planContent: "", jobListArr: [], professionalList: D["A"], taskType: D["I"], workType: D["M"], taskType2: u["sc"], seriousnessList: u["fc"], professionalLevel: D["z"], frequencyLevel: D["i"], allList: D["d"], mouldLevel: D["p"], subClassArr: D["H"], aroundClsssArr: D["e"], fixedClsssArr: D["h"], investigationClsssArr: D["m"], objClsssArr: D["q"], controlTypeList: D["g"], planModeLArr: D["w"], isQuery: 1, query: { eventName: "", jobName: "", pageNumber: 1, pageSize: 10, areaNoList: [] }, pageTotal: 0, tableData: [], selectList: [], standDialogtitle: "标准列表", standTotal: 0, standQuery: { eventName: "", jobName: "", pageNumber: 1, pageSize: 10, areaNoList: [] }, standDialogVisible: false, standList: [], multipleSelection: [], showSee: false, direction: "rtl", info: {}, statusArr: [{ value: 1, label: "已启用" }, { value: 2, label: "已禁用" }, { value: 3, label: "已结束" }, { value: 4, label: "未启用" }, { value: 5, label: "已作废" }], levelArr: [{ value: 1, label: "普通" }, { value: 2, label: "培训" }, { value: 3, label: "认证" }], planTotal: 0, planQuery: { planName: "", planModel: "", planStatus: "", jobName: "", userName: "", pageNumber: 1, pageSize: 10 }, planTableData: [], showAdd: false, showEdit: false, downloadBtn: false, allowFileType2: ["file"], accept: ".pdf,.doc,.docx,.xls,.xlsx,.ppt,.pptx,application/pdf,application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.ms-excel,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/vnd.ms-powerpoint,application/vnd.openxmlformats-officedocument.presentationml.presentation", fileListInfo: [], disabled: false, fileSize: 20, recognizeDialogVisible: false, recognizeTableData: [], recognizeTotal: 0, recognizeQuery: { contractId: 0, projectUuid: "", pageNumber: 1, pageSize: 10 }, editRecognizeDialogVisible: false, editRecognizeForm: { id: null, areaNo: "", areaNoRoute: [], eventName: "", serviceDesc: "", checkDesc: "", controlTypeStr: "", cycleTypeStr: "", cycleTimes: null }, editRecognizeRules: { areaNoRoute: [{ required: true, validator: function(e2, t2, a2) {
!t2 || Array.isArray(t2) && 0 === t2.length ? a2(new Error("请选择所属行政区域")) : a2();
}, trigger: "change" }], eventName: [{ required: true, message: "请输入作业事项", trigger: "blur" }], serviceDesc: [{ required: true, message: "请输入作业标准", trigger: "blur" }], checkDesc: [{ required: true, message: "请输入检查标准", trigger: "blur" }], controlTypeStr: [{ required: true, message: "请选择作业菜单分类", trigger: "change" }], cycleTypeStr: [{ required: true, message: "请输入频次周期类型", trigger: "blur" }], cycleTimes: [{ required: true, validator: function(e2, t2, a2) {
null === t2 || void 0 === t2 || "" === t2 ? a2(new Error("请输入频次周期次数")) : "number" !== typeof t2 || isNaN(t2) ? a2(new Error("频次周期次数必须为数字")) : t2 < 0 ? a2(new Error("频次周期次数不能小于0")) : a2();
}, trigger: "blur" }] } };
}, mounted: function() {
this.getJobListPeople(), this.query.pageNumber = 1, this.isQuery = 1, this.getlistData(), this.getPlanList();
}, 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(W(a2), "str++++++++++++++"), "string" === typeof a2 && a2.includes(",")) {
var r2 = a2.split(",").map((function(e3) {
return Number(e3);
}));
return r2.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 "-";
}, uploadForCTcloud: function() {
var e2 = this;
if (0 == this.areaNoRoute.length) return this.$message.warning("请选择区域");
this.downloadBtn = true, Object(z["nb"])({ projectUuid: this.$store.state.community_uuid, areaNo: this.areaNoRoute[this.areaNoRoute.length - 1] }).then((function(t2) {
e2.$message({ type: "success", message: "操作成功,请等待数据更新!" }), e2.downloadBtn = false, e2.areaNoShow = false, e2.areaNoRoute = [], e2.getlistData();
})).catch((function() {
e2.areaNoShow = false, e2.areaNoRoute = [], e2.downloadBtn = false;
}));
}, getJobListPeople: function() {
var e2 = this, t2 = { projectUuid: this.$store.state.community_uuid, flag: 1 };
Object(M["q"])(t2).then((function(t3) {
0 === t3.code && (e2.jobListArr = t3.data);
}));
}, getlistData: function() {
var e2 = this, t2 = { contractId: this.contractID, projectUuid: this.$store.state.community_uuid, type: this.isQuery };
2 == this.isQuery && this.standQuery.areaNoList.length > 0 && (t2.areaNo = this.standQuery.areaNoList[this.standQuery.areaNoList.length - 1]), 1 == this.isQuery && this.query.areaNoList.length > 0 && (t2.areaNo = this.query.areaNoList[this.query.areaNoList.length - 1]), t2 = Object.assign(t2, 1 === this.isQuery ? this.query : this.standQuery), Object(o["c"])(t2).then((function(t3) {
0 === t3.code && (1 == e2.isQuery ? (e2.tableData = t3.data.records, e2.pageTotal = t3.data.rowsCount) : (e2.standList = t3.data.records, e2.standTotal = t3.data.rowsCount));
}));
}, getPlanList: function() {
var e2 = this, t2 = { contractId: this.contractID, projectUuid: this.$store.state.community_uuid };
t2 = Object.assign(t2, this.planQuery), Object(M["G"])(t2).then((function(t3) {
0 === t3.code ? (e2.planTableData = t3.data.records, e2.planTotal = t3.data.rowsCount) : (e2.planTableData = [], e2.planTotal = 0);
}));
}, selectionChange: function(e2) {
this.selectList = e2;
}, deleteConyractStand: function() {
var e2 = this;
if (0 === this.selectList.length) return this.$message({ type: "error", message: "请选择标准" }), false;
this.$confirm("确认解除绑定关系?", "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning", center: true }).then((function() {
var t2 = e2.selectList.map((function(e3) {
return e3["standUuid"];
}));
e2.contractStandOperation(1, t2);
})).catch((function() {
}));
}, showConyractStand: function() {
this.standDialogVisible = true, this.isQuery = 2, this.getlistData();
}, submitstandDialog: function() {
if (0 === this.multipleSelection.length) return this.$message({ type: "error", message: "请选择标准" }), false;
var e2 = this.multipleSelection.map((function(e3) {
return e3["standUuid"];
}));
this.contractStandOperation(2, e2);
}, contractStandOperation: function(e2, t2) {
var a2 = this, r2 = { contractId: this.contractID, projectUuid: this.$store.state.community_uuid, standUuidList: t2, type: e2 };
Object(o["i"])(r2).then((function(t3) {
0 === t3.code ? (2 === e2 ? (a2.$message({ type: "success", message: "标准绑定成功" }), a2.query.pageNumber = 1, a2.isQuery = 1, a2.getlistData(), a2.$refs.multipleTable.clearSelection(), a2.resetstandDialog()) : (a2.$message({ type: "success", message: "解除标准绑定成功" }), a2.query.pageNumber = 1, a2.isQuery = 1, a2.$refs.standTable.clearSelection(), a2.getlistData()), a2.planQuery.pageNumber = 1, a2.getPlanList()) : 2 === e2 ? a2.$message({ type: "error", message: "标准绑定失败" }) : a2.$message({ type: "error", message: "解除标准绑定失败" });
}));
}, seeDetail: function(e2) {
this.showSee = true, this.info = e2;
}, addStand: function() {
var e2 = this;
this.viewCard = false, this.viewPlan = false, this.showSee = false, this.showAdd = true, this.showEdit = false, this.$nextTick((function() {
e2.$refs.addStandard.initData();
}));
}, editStandard: function(e2) {
var t2 = this;
this.viewCard = false, this.viewPlan = false, this.showSee = false, this.showAdd = false, this.showEdit = true, this.$nextTick((function() {
t2.$refs.editStandard.initData(e2);
}));
}, bindStand: function(e2) {
this.viewCard = true, this.viewPlan = false, this.showSee = false, this.showAdd = false, this.showEdit = false;
var t2 = [e2];
this.contractStandOperation(2, t2);
}, unbindStand: function(e2) {
var t2 = this;
this.$confirm("确认解除绑定关系?", "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning", center: true }).then((function() {
var a2 = [e2.standUuid];
t2.contractStandOperation(1, a2);
})).catch((function() {
}));
}, resetstandQueryForm: function() {
this.standQuery.eventName = "", this.standQuery.jobName = "", this.standQuery.pageNumber = 1, this.standQuery.areaNoList = [], this.standQuery.areaNo = "", this.isQuery = 2, this.getlistData();
}, onstandQuerySearch: function() {
this.query.pageNumber = 1, this.isQuery = 2, this.getlistData();
}, resetStandForm: function() {
this.query.eventName = "", this.query.jobName = "", this.query.pageNumber = 1, this.query.areaNoList = [], this.query.areaNo = "", this.getlistData();
}, onStandSearch: function() {
this.query.pageNumber = 1, this.isQuery = 1, this.getlistData();
}, resetPlanForm: function() {
this.planQuery.planName = "", this.planQuery.planStatus = "", this.planQuery.userName = "", this.planQuery.jobName = "", this.planQuery.planModel = "", this.planQuery.pageNumber = 1, this.getPlanList();
}, onPlanSearch: function() {
this.planQuery.pageNumber = 1, this.getPlanList();
}, handleSizeChange: function(e2) {
this.query.pageSize = e2, this.getlistData();
}, handleCurrentChange: function(e2) {
this.query.pageNumber = e2, this.getlistData();
}, handlestandSizeChange: function(e2) {
this.standQuery.pageSize = e2, this.standQuery.pageNumber = 1, this.isQuery = 2, this.getlistData();
}, handlestandCurrentChange: function(e2) {
this.standQuery.pageNumber = e2, this.isQuery = 2, this.getlistData();
}, handlePlanSizeChange: function(e2) {
this.planQuery.pageSize = e2, this.planQuery.pageNumber = 1, this.getPlanList();
}, handlePlanCurrentChange: function(e2) {
this.planQuery.pageNumber = e2, this.getPlanList();
}, resetstandDialog: function() {
this.$refs.multipleTable.clearSelection(), this.standDialogVisible = false;
}, handleSelectionChange: function(e2) {
this.multipleSelection = e2;
}, headClass: function() {
return "text-align:center;background:#FAFAFA;";
}, formatImg: function(e2) {
if (e2) return e2.split(",");
}, viewPlanDetailes: function(e2) {
var t2 = this;
e2.opentype = "view", this.viewCard = false, this.viewPlan = true, this.$nextTick((function() {
t2.$refs.planOrder.titleInfoLst(e2);
}));
}, showCardInfor: function() {
this.viewCard = true, this.viewPlan = false;
}, showStandList: function() {
this.viewCard = true, this.viewPlan = false, this.showSee = false, this.showAdd = false, this.showEdit = false, this.query.pageNumber = 1, this.isQuery = 1, this.getlistData(), this.getPlanList();
}, goBack: function() {
this.$emit("goBack");
}, culRiskLevel: function(e2) {
return e2 && e2.possibility && e2.seriousness ? Object(d["c"])(e2.possibility, e2.seriousness) : "-";
}, getUploadData: function(e2) {
if (e2 && e2.length > 0) {
var t2 = e2[0], a2 = t2.filePath;
this.recognizeContract(a2);
}
}, recognizeContract: function(e2) {
var t2 = this;
if (e2) {
var a2 = { contractId: this.contractID, companyId: this.$store.state.companyId, projectUuid: this.$store.state.community_uuid, fileUrl: e2, updaterName: this.$store.state.user.userInfo.memberName };
this.$message({ type: "info", message: "正在识别合同,请稍候..." }), Object(o["d"])(a2).then((function(e3) {
t2.fileListInfo = [], 0 === e3.code ? (t2.showContractList(), t2.query.pageNumber = 1, t2.isQuery = 1, t2.getlistData()) : t2.$message({ type: "error", message: e3.message || "合同识别失败" });
})).catch((function(e3) {
t2.fileListInfo = [], t2.$message({ type: "error", message: "合同识别失败,请重试" });
}));
} else this.$message({ type: "error", message: "文件路径不能为空" });
}, getFileName: function(e2) {
if (!e2) return "";
var t2 = e2.lastIndexOf("/");
return -1 !== t2 ? decodeURI(e2.slice(t2 + 1)) : "";
}, showContractList: function() {
this.recognizeDialogVisible = true, this.isEditMode = false, this.recognizeQuery.contractId = this.contractID, this.recognizeQuery.projectUuid = this.$store.state.community_uuid, this.recognizeQuery.pageNumber = 1, this.getRecognizeList();
}, getRecognizeList: function() {
var e2 = this, t2 = Q({}, this.recognizeQuery);
Object(o["g"])(t2).then((function(t3) {
0 === t3.code && t3.data ? (e2.recognizeTableData = t3.data.records || [], e2.recognizeTotal = t3.data.rowsCount || 0) : (e2.recognizeTableData = [], e2.recognizeTotal = 0, e2.$message({ type: "error", message: t3.message || "获取识别列表失败" }));
})).catch((function(t3) {
e2.recognizeTableData = [], e2.recognizeTotal = 0, e2.$message({ type: "error", message: "获取识别列表失败,请重试" });
}));
}, handleRecognizeSizeChange: function(e2) {
this.recognizeQuery.pageSize = e2, this.recognizeQuery.pageNumber = 1, this.getRecognizeList();
}, handleRecognizeCurrentChange: function(e2) {
this.recognizeQuery.pageNumber = e2, this.getRecognizeList();
}, handleRecognizeDialogClose: function() {
this.recognizeDialogVisible = false, this.recognizeTableData = [], this.recognizeTotal = 0;
}, handleQueryRecognize: function() {
this.recognizeQuery.pageNumber = 1, this.getRecognizeList();
}, handleReRecognize: function() {
var e2 = this;
this.recognizeDialogVisible = false, this.$nextTick((function() {
if (e2.$refs.uploadContract && e2.$refs.uploadContract.$refs.upload) {
var t2 = e2.$refs.uploadContract.$refs.upload;
if (t2.$refs && t2.$refs.input) t2.$refs.input.click();
else {
var a2 = t2.$el, r2 = a2.querySelector('input[type="file"]');
r2 ? r2.click() : e2.$message({ type: "info", message: "请点击上方'AI识别合同'按钮重新上传文件" });
}
} else e2.$message({ type: "info", message: "请点击上方'AI识别合同'按钮重新上传文件" });
}));
}, handleSubmitSystem: function() {
var e2 = this;
0 !== this.recognizeTableData.length ? this.$confirm("确认提交所有识别结果到系统吗?", "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning", center: true }).then((function() {
Object(o["e"])({ contractId: e2.contractID, projectUuid: e2.$store.state.community_uuid, updaterName: e2.$store.state.user.userInfo.memberName, updaterId: e2.$store.state.user.userInfo.memberId }).then((function(t2) {
0 === t2.code && e2.$message({ type: "success", message: "提交成功" });
})), e2.getRecognizeList(), e2.query.pageNumber = 1, e2.isQuery = 1, e2.getlistData();
})).catch((function() {
})) : this.$message({ type: "warning", message: "没有可提交的数据" });
}, handleEditRecognize: function(e2) {
var t2 = this;
this.editRecognizeDialogVisible = true, this.editRecognizeForm = { id: e2.id, areaNo: e2.areaNo || "", areaName: e2.areaName || "", areaType: e2.areaType || "", eventName: e2.eventName || "", serviceDesc: e2.serviceDesc || "", checkDesc: e2.checkDesc || "", controlTypeStr: e2.controlTypeStr || "", cycleTypeStr: e2.cycleTypeStr || "", cycleTimes: e2.cycleTimes || null }, e2.areaType && e2.areaNoRoute ? (this.editRecognizeForm.areaNoRoute = JSON.parse(e2.areaNoRoute), this.editRecognizeForm.areaType = e2.areaType, this.editRecognizeForm.areaNo = e2.areaNo, this.editRecognizeForm.areaName = e2.areaName) : (this.editRecognizeForm.areaNoRoute = [], this.editRecognizeForm.areaType = "", this.editRecognizeForm.areaNo = "", this.editRecognizeForm.areaName = ""), this.$nextTick((function() {
t2.$refs.editRecognizeForm && t2.$refs.editRecognizeForm.clearValidate();
}));
}, handleEditRecognizeDialogClose: function() {
this.editRecognizeDialogVisible = false, this.editRecognizeForm = { id: null, areaNo: "", areaNoRoute: [], areaType: "", eventName: "", serviceDesc: "", checkDesc: "", controlTypeStr: "", cycleTypeStr: "", cycleTimes: null }, this.$refs.editRecognizeForm && this.$refs.editRecognizeForm.clearValidate();
}, handleSubmitEditRecognize: function() {
var e2 = this;
this.$refs.editRecognizeForm.validate((function(t2) {
if (!t2) return false;
var a2 = { id: e2.editRecognizeForm.id, contractId: e2.contractID, projectUuid: e2.$store.state.community_uuid, eventName: e2.editRecognizeForm.eventName, serviceDesc: e2.editRecognizeForm.serviceDesc, checkDesc: e2.editRecognizeForm.checkDesc, controlTypeStr: e2.editRecognizeForm.controlTypeStr, cycleTypeStr: e2.editRecognizeForm.cycleTypeStr, cycleTimes: e2.editRecognizeForm.cycleTimes, updaterName: e2.$store.state.user.userInfo.memberName };
e2.editRecognizeForm.areaNoRoute && e2.editRecognizeForm.areaNoRoute.length > 0 ? (a2.areaType = e2.editRecognizeForm.areaNoRoute.length, a2.areaNo = e2.editRecognizeForm.areaNoRoute[e2.editRecognizeForm.areaNoRoute.length - 1], a2.areaName = e2.findFullPathByCodes(e2.options, e2.editRecognizeForm.areaNoRoute), a2.areaNoRoute = JSON.stringify(e2.editRecognizeForm.areaNoRoute)) : (a2.areaType = "", a2.areaNo = "", a2.areaName = "", a2.areaNoRoute = ""), Object(o["h"])(a2).then((function(t3) {
0 === t3.code ? (e2.$message({ type: "success", message: "编辑成功" }), e2.handleEditRecognizeDialogClose(), e2.getRecognizeList()) : e2.$message({ type: "error", message: t3.message || "编辑失败" });
})).catch((function(t3) {
e2.$message({ type: "error", message: "编辑失败,请重试" });
}));
}));
}, findFullPathByCodes: function(e2, t2) {
var a2, r2 = e2, n2 = [], o2 = B(t2);
try {
var i2 = function() {
var e3 = a2.value, t3 = r2.find((function(t4) {
return t4.code === e3;
}));
t3 && (n2.push(t3.name), r2 = t3.children || []);
};
for (o2.s(); !(a2 = o2.n()).done; ) i2();
} catch (s2) {
o2.e(s2);
} finally {
o2.f();
}
return n2.join("/");
}, handleDeleteRecognize: function(e2) {
var t2 = this;
this.$confirm("确认删除该识别结果吗?", "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning", center: true }).then((function() {
Object(o["f"])({ idList: [e2.id] }).then((function(e3) {
0 == e3.code && (t2.getRecognizeList(), t2.$message({ type: "success", message: "删除成功" }), console.log(e3, "res+++++"));
}));
})).catch((function() {
}));
} } }, J = G, Z = (a("1f40"), Object(y["a"])(J, L, q, false, null, "12437ce4", null)), X = Z.exports, K = { name: "viewContractInfor", components: { contractDetailes: $, contractStand: X }, props: { titleType: { type: String, default: "" }, type: { type: String, default: "add" }, ascription: { type: Array, default: function() {
return [];
} } }, data: function() {
return { content: "查看合同及关联标准和计划", activeName: "contractInfor", contractID: 0 };
}, mounted: function() {
}, methods: { getInfoLst: function(e2) {
this.contractID = e2.id, this.$refs.contractDetailes.getInfoLst(e2);
}, handleClick: function(e2) {
var t2 = e2.paneName;
this.activeName = t2;
}, goBack: function() {
this.$emit("goBack");
} } }, ee = K, te = (a("735e"), Object(y["a"])(ee, _, w, false, null, "b9d55622", null)), ae = te.exports, re = { components: { contractInfor: b, viewContractInfor: ae }, props: { titleType: { type: String, default: "" }, ascription: { type: Array, default: function() {
return [];
} }, contractType: { type: Number, default: 1 } }, data: function() {
return { type: "", pageTotal: 0, addEditCon: false, viewInfor: false, infoList: true, projectList: [], contractTypeList: u["J"], statusList: [{ name: "未发布", value: 1 }, { name: "已发布", value: 2 }, { name: "已结束", value: 3 }], query: { contractNo: "", type: "", name: "", companyId: this.$store.state.companyId, projectUuid: this.$store.state.community_uuid, firstDelegateName: "", firstName: "", secondDelegateName: "", secondName: "", category: 7 === this.contractType ? "" : this.contractType, pageNumber: 1, pageSize: 10 }, tableData: [], ascriptionList: u["p"] };
}, mounted: function() {
this.headClass(), this.getProjectInfo(), this.getlistData();
}, beforeRouteLeave: function(e2, t2, a2) {
this.addEditCon = false, this.viewInfor = false, this.infoList = true, a2();
}, methods: { getProjectInfo: function() {
this.$store.state.user.project.length > 0 ? this.projectList = this.$store.state.user.project : this.projectList = [];
}, categoryArr: function(e2) {
var t2 = [], a2 = e2.split(",");
return this.ascriptionList.forEach((function(e3) {
a2.forEach((function(a3) {
e3.value === Number(a3) && t2.push(e3.name);
}));
})), t2.join(",");
}, reviewProjectName: function(e2) {
var t2 = this.projectList;
if (t2.length > 0) {
if (e2.indexOf(",") > 0) {
var a2 = e2.split(","), r2 = [];
return t2.map((function(e3) {
a2.map((function(t3) {
e3.uuid === t3 && r2.push(e3.name);
}));
})), r2.join(",");
}
if (null != e2 && "" != e2 && void 0 != e2) {
var n2 = t2.filter((function(t3) {
return t3.uuid == e2;
}));
return n2.length > 0 ? n2[0].name : "-";
}
return "-";
}
return "-";
}, reViewPartyInfor: function(e2, t2) {
if (e2.contractInfo) {
var a2 = JSON.parse(e2.contractInfo);
return a2[t2];
}
return "-";
}, deleteClick: function(e2) {
var t2 = this;
this.$confirm("确定删除该数据吗?", "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "info", center: true }).then((function() {
Object(o["j"])({ id: e2.id }).then((function(e3) {
0 === e3.code && (t2.$message({ type: "success", message: "删除投票成功" }), t2.getlistData());
}));
})).catch((function() {
}));
}, detailsClick: function(e2, t2) {
var a2 = e2;
this.querySupplierList(a2, t2);
}, addRuleGroup: function() {
this.querySupplierList("", "add");
}, querySupplierList: function(e2, t2) {
var a2 = this, r2 = { pageSize: -1, pageNumber: -1, type: 0, companyId: this.$store.state.companyId };
Object(o["m"])(r2).then((function(r3) {
if (0 === r3.code && r3.data) {
var n2 = r3.data.records;
a2.$store.dispatch("user/setAllSupplierList", n2);
}
a2.openEditView(e2, t2);
})).catch((function(r3) {
a2.openEditView(e2, t2);
}));
}, openEditView: function(e2, t2) {
var a2 = this;
this.type = t2, "add" === t2 ? (this.addEditCon = true, this.viewInfor = false) : "view" === t2 ? (this.addEditCon = false, this.viewInfor = true) : (this.addEditCon = true, this.viewInfor = false), this.infoList = false, this.$nextTick((function() {
"add" === t2 ? a2.$refs.contractInfor.getInfoLst() : "view" === t2 ? a2.$refs.viewContractInfor.getInfoLst(e2) : a2.$refs.contractInfor.getInfoLst(e2);
}));
}, onSearch: function() {
this.query.pageNumber = 1, this.query.category.toString(), this.getlistData();
}, getlistData: function() {
var e2 = this, t2 = Object.assign({}, this.query);
Object(o["b"])(t2).then((function(t3) {
0 === t3.code && t3.data ? (e2.tableData = t3.data.records, e2.pageTotal = t3.data.rowsCount) : e2.tableData = [];
}));
}, formatNum: function(e2) {
var t2 = e2 || 0;
return "¥ " + Object(d["g"])(t2, 2);
}, goBack: function() {
this.addEditCon = false, this.viewInfor = false, this.infoList = true, this.getlistData();
}, handleSizeChange: function(e2) {
this.query.pageSize = e2, this.getlistData();
}, handleCurrentChange: function(e2) {
this.query.pageNumber = e2, this.getlistData();
}, resetForm: function() {
this.query.pageNumber = 1, this.query.contractNo = "", this.query.type = "", this.query.name = "", this.query.firstDelegateName = "", this.query.firstName = "", this.query.secondDelegateName = "", this.query.secondName = "", 7 == this.ascription.length && (this.query.category = ""), this.getlistData();
}, headClass: function() {
return "text-align:center;background:#FAFAFA;";
} } }, ne = re, oe = (a("e6d7"), a("e3db"), Object(y["a"])(ne, r, n, false, null, "d0b8bdde", null));
t["a"] = oe.exports;
}, "32b0": function(e, t, a) {
"use strict";
a("1994");
}, "333d": function(e, t, a) {
"use strict";
var r = function() {
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
return a2("div", { staticClass: "pagination-container", class: { hidden: e2.hidden } }, [a2("el-pagination", e2._b({ attrs: { background: e2.background, "current-page": e2.currentPage, "page-size": e2.pageSize, layout: e2.layout, "page-sizes": e2.pageSizes, total: e2.total }, on: { "update:currentPage": function(t3) {
e2.currentPage = t3;
}, "update:current-page": function(t3) {
e2.currentPage = t3;
}, "update:pageSize": function(t3) {
e2.pageSize = t3;
}, "update:page-size": function(t3) {
e2.pageSize = t3;
}, "size-change": e2.handleSizeChange, "current-change": e2.handleCurrentChange } }, "el-pagination", e2.$attrs, false))], 1);
}, n = [], o = (a("6396"), { name: "Pagination", props: { total: { required: true, type: Number }, page: { type: Number, default: 1 }, limit: { type: Number, default: 10 }, pageSizes: { type: Array, default: function() {
return [10, 30, 50, 100, 200];
} }, layout: { type: String, default: "total, sizes, prev, pager, next, jumper" }, background: { type: Boolean, default: true }, autoScroll: { type: Boolean, default: true }, hidden: { type: Boolean, default: false } }, computed: { currentPage: { get: function() {
return this.page;
}, set: function(e2) {
this.$emit("update:page", e2);
} }, pageSize: { get: function() {
return this.limit;
}, set: function(e2) {
this.$emit("update:limit", e2);
} } }, methods: { handleSizeChange: function(e2) {
this.$emit("handleSizeChange", { pageSize: this.pageSize, limit: e2 });
}, handleCurrentChange: function(e2) {
this.$emit("handleCurrentChange", { currentPage: e2, limit: this.currentPage });
} } }), i = o, s = (a("29fe"), a("829d")), l = Object(s["a"])(i, r, n, false, null, "69e23206", null);
t["a"] = l.exports;
}, "3a3b": function(e, t, a) {
"use strict";
var r = function() {
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
return a2("div", { staticClass: "markdown-renderer", style: { color: e2.textColor }, domProps: { innerHTML: e2._s(e2.renderedHtml) } });
}, n = [], o = a("11c2");
function i(e2) {
return u(e2) || c(e2) || l(e2) || s();
}
function s() {
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 l(e2, t2) {
if (e2) {
if ("string" == typeof e2) return d(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) ? d(e2, t2) : void 0;
}
}
function c(e2) {
if ("undefined" != typeof Symbol && null != e2[Symbol.iterator] || null != e2["@@iterator"]) return Array.from(e2);
}
function u(e2) {
if (Array.isArray(e2)) return d(e2);
}
function d(e2, t2) {
(null == t2 || t2 > e2.length) && (t2 = e2.length);
for (var a2 = 0, r2 = Array(t2); a2 < t2; a2++) r2[a2] = e2[a2];
return r2;
}
var p = { name: "MarkdownRenderer", props: { mdContent: { type: String, required: true }, textColor: { type: String, default: "#333" }, tableTheme: { type: Object, default: function() {
return { headerBg: "#f5f5f5", headerText: "#333", borderColor: "#ccc", rowHover: "#f0f0f0", evenRow: "#f9f9f9", tableBorder: "#333", cellBg: "#ffffff", cellText: "#333" };
} } }, data: function() {
return { renderedHtml: "", mermaidCharts: [] };
}, watch: { mdContent: function(e2) {
this.renderMarkdown(e2);
}, textColor: function() {
this.updateTextColor();
} }, mounted: function() {
this.renderMarkdown(this.mdContent), this.updateTextColor(), this.loadMermaid();
}, methods: { loadMermaid: function() {
var e2 = this;
if (window.mermaid) this.initializeMermaid();
else if (document.querySelector('script[src*="mermaid"]')) this.waitForMermaid();
else {
console.log("Loading Mermaid from CDN...");
var t2 = document.createElement("script");
t2.src = "https://unpkg.com/mermaid@9.4.3/dist/mermaid.min.js", t2.onload = function() {
console.log("Mermaid loaded successfully"), e2.initializeMermaid(), e2.$nextTick((function() {
e2.renderMermaidDiagrams();
}));
}, t2.onerror = function() {
console.error("Failed to load Mermaid from unpkg, trying jsdelivr...");
var t3 = document.createElement("script");
t3.src = "https://cdn.jsdelivr.net/npm/mermaid@9.4.3/dist/mermaid.min.js", t3.onload = function() {
console.log("Mermaid loaded from backup CDN"), e2.initializeMermaid(), e2.$nextTick((function() {
e2.renderMermaidDiagrams();
}));
}, t3.onerror = function() {
console.error("Failed to load Mermaid from both CDNs");
}, document.head.appendChild(t3);
}, document.head.appendChild(t2);
}
}, waitForMermaid: function() {
var e2 = this, t2 = function() {
window.mermaid ? (e2.initializeMermaid(), e2.$nextTick((function() {
e2.renderMermaidDiagrams();
}))) : setTimeout(t2, 100);
};
t2();
}, initializeMermaid: function() {
window.mermaid ? (console.log("Initializing Mermaid..."), window.mermaid.initialize({ startOnLoad: false, theme: "default", securityLevel: "loose" }), console.log("Mermaid initialized successfully")) : console.error("Mermaid not available on window object");
}, renderMarkdown: function(e2) {
var t2 = this, a2 = e2;
"string" === typeof a2 && (a2 = a2.replace(/\\r\\n/g, "\n").replace(/\\n/g, "\n")), this.mermaidCharts = [];
var r2 = [];
a2 = this.extractMermaidChartsWithPlaceholders(a2, r2), a2 = this.preprocessImageLinks(a2), o["marked"].use({ pedantic: false, gfm: true, tables: true, breaks: false, smartLists: true, smartypants: false }), this.renderedHtml = Object(o["marked"])(a2), console.log("[Mermaid替换] 开始替换 ".concat(r2.length, " 个占位符")), console.log("[Mermaid替换] 渲染后的 HTML 预览: ".concat(this.renderedHtml.substring(0, 500), "...")), r2.forEach((function(e3, a3) {
var r3 = e3.placeholder, n2 = e3.mermaidDiv;
if (console.log("[Mermaid替换] 处理第 ".concat(a3 + 1, " 个占位符: ").concat(r3)), t2.renderedHtml.includes(r3)) {
var o2 = t2.escapeRegExp(r3), i2 = t2.renderedHtml.length, s2 = false, l2 = new RegExp("<p>\\s*".concat(o2, "\\s*</p>"), "g"), c2 = t2.renderedHtml;
if (t2.renderedHtml = t2.renderedHtml.replace(l2, n2), t2.renderedHtml !== c2) s2 = true, console.log("[Mermaid替换] 第 ".concat(a3 + 1, " 个占位符:匹配为段落标签"));
else {
var u2 = new RegExp("<code>\\s*".concat(o2, "\\s*</code>"), "g"), d2 = t2.renderedHtml;
if (t2.renderedHtml = t2.renderedHtml.replace(u2, n2), t2.renderedHtml !== d2) s2 = true, console.log("[Mermaid替换] 第 ".concat(a3 + 1, " 个占位符:匹配为代码标签"));
else {
var p2 = new RegExp("<pre>\\s*".concat(o2, "\\s*</pre>"), "g"), m2 = t2.renderedHtml;
if (t2.renderedHtml = t2.renderedHtml.replace(p2, n2), t2.renderedHtml !== m2) s2 = true, console.log("[Mermaid替换] 第 ".concat(a3 + 1, " 个占位符:匹配为预格式化标签"));
else {
var f2 = new RegExp(o2, "g"), h2 = t2.renderedHtml;
t2.renderedHtml = t2.renderedHtml.replace(f2, n2), t2.renderedHtml !== h2 && (s2 = true, console.log("[Mermaid替换] 第 ".concat(a3 + 1, " 个占位符:直接文本匹配")));
}
}
}
var v = t2.renderedHtml.length;
if (s2) console.log("[Mermaid替换] 第 ".concat(a3 + 1, " 个占位符替换成功HTML长度变化: ").concat(i2, " -> ").concat(v));
else {
console.warn("[Mermaid替换] 第 ".concat(a3 + 1, " 个占位符未能找到匹配,占位符: ").concat(r3));
var y = r3.replace(/_/g, "\\_"), g = t2.escapeRegExp(y);
new RegExp(g, "g").test(t2.renderedHtml) && (t2.renderedHtml = t2.renderedHtml.replace(new RegExp(g, "g"), n2), console.log("[Mermaid替换] 第 ".concat(a3 + 1, " 个占位符:使用转义模式匹配成功")));
}
} else {
console.warn("[Mermaid替换] 第 ".concat(a3 + 1, " 个占位符不在渲染后的 HTML 中,尝试查找变体..."));
var b = r3.replace(/^__/, "").replace(/__$/, "");
console.log("[Mermaid替换] 核心占位符: ".concat(b));
for (var _ = [b, r3.replace(/__/g, "_"), r3.replace(/__/g, ""), r3], w = false, C = 0, S = _; C < S.length; C++) {
var T = S[C];
if (t2.renderedHtml.includes(T)) {
console.log("[Mermaid替换] 找到变体(直接文本): ".concat(T));
var k = t2.escapeRegExp(T);
t2.renderedHtml = t2.renderedHtml.replace(new RegExp(k, "g"), n2), w = true;
break;
}
var F = new RegExp("<p>\\s*".concat(t2.escapeRegExp(T), "\\s*</p>"), "g"), x = t2.renderedHtml;
if (t2.renderedHtml = t2.renderedHtml.replace(F, n2), t2.renderedHtml !== x) {
console.log("[Mermaid替换] 找到变体(段落标签): ".concat(T)), w = true;
break;
}
}
if (!w) {
console.error("[Mermaid替换] 第 ".concat(a3 + 1, " 个占位符的所有变体都未找到!"));
var I = /MERMAID_PLACEHOLDER_[a-zA-Z0-9-]+/g, N = t2.renderedHtml.match(I);
if (N) {
console.log("[Mermaid替换] 在 HTML 中找到可能的占位符:", N);
var $ = r3.split("-").pop();
console.log("[Mermaid替换] 查找占位符 ID: ".concat($));
var L = N.find((function(e4) {
return e4.endsWith($);
}));
if (L) {
console.log("[Mermaid替换] 通过 ID 匹配找到占位符: ".concat(L));
var q = new RegExp("<p>\\s*".concat(t2.escapeRegExp(L), "\\s*</p>"), "g"), D = t2.renderedHtml;
if (t2.renderedHtml = t2.renderedHtml.replace(q, n2), t2.renderedHtml !== D) w = true;
else {
var M = new RegExp(t2.escapeRegExp(L), "g"), j = t2.renderedHtml;
t2.renderedHtml = t2.renderedHtml.replace(M, n2), t2.renderedHtml !== j && (w = true);
}
}
}
}
w && console.log("[Mermaid替换] 第 ".concat(a3 + 1, " 个占位符通过变体匹配成功"));
}
})), console.log("[Mermaid替换] 占位符替换完成最终HTML中有 ".concat((this.renderedHtml.match(/class="mermaid"/g) || []).length, " 个 mermaid div")), (this.renderedHtml.includes("&lt;") || this.renderedHtml.includes("&gt;")) && (this.renderedHtml = this.renderedHtml.replace(/&lt;/g, "<").replace(/&gt;/g, ">").replace(/&amp;/g, "&")), this.renderedHtml = this.renderedHtml.replace(/alt="图表" style="[^"]*" \/>/g, "").replace(/alt="图表" style="[^"]*"/g, "").replace(/style="max-width: 100%; height: auto; border-radius: 4px; box-shadow: 0 2px 8px rgba\(0,0,0,0\.1\);"/g, "").replace(/alt="图表"/g, ""), this.renderedHtml = this.renderedHtml.replace(/(\d+%)(红)/g, '<span style="color: red;">$1</span>').replace(/(\d+%)(绿)/g, '<span style="color: green;">$1</span>').replace(/(\d+%)(黄)/g, '<span style="color: orange;">$1</span>').replace(/(\d+%)(蓝)/g, '<span style="color: blue;">$1</span>'), this.$nextTick((function() {
t2.updateTextColor(), t2.processImagesInDOM(), t2.applyTableTheme(), setTimeout((function() {
t2.renderMermaidDiagrams();
}), 100);
}));
}, extractMermaidChartsWithPlaceholders: function(e2, t2) {
var a2 = this, r2 = (e2.match(/```mermaid/g) || []).length;
console.log("[Mermaid提取] 原始内容中发现 ".concat(r2, " 个 mermaid 代码块开始标记"));
var n2, o2 = 0, i2 = 0, s2 = /```mermaid\s*[\r\n]+([\s\S]*?)```[\r\n]*/g, l2 = [];
while (null !== (n2 = s2.exec(e2))) l2.push({ fullMatch: n2[0], code: n2[1], index: n2.index });
if (console.log("[Mermaid提取] 正则表达式找到 ".concat(l2.length, " 个匹配项")), l2.length < r2) {
console.warn("[Mermaid提取] 匹配数量不匹配!尝试使用更宽松的正则表达式...");
var c2, u2 = /```mermaid([\s\S]*?)```/g, d2 = [];
while (null !== (c2 = u2.exec(e2))) d2.push({ fullMatch: c2[0], code: c2[1], index: c2.index });
console.log("[Mermaid提取] 宽松模式找到 ".concat(d2.length, " 个匹配项")), i2 = 0, o2 = 0;
var p2 = e2.replace(u2, (function(e3, r3) {
i2++;
var n3 = a2.processMermaidMatch(e3, r3, t2, o2, i2 - 1);
return n3 !== e3 && o2++, n3;
}));
return console.log("[Mermaid提取] 总共处理了 ".concat(i2, " 个 mermaid 代码块,创建了 ").concat(t2.length, " 个占位符")), p2;
}
var m2 = e2.replace(/```mermaid\s*[\r\n]+([\s\S]*?)```[\r\n]*/g, (function(e3, r3) {
i2++, console.log("[Mermaid提取] 找到第 ".concat(i2, " 个 mermaid 代码块,长度: ").concat(e3.length));
var n3 = a2.processMermaidMatch(e3, r3, t2, o2, i2 - 1);
return n3 !== e3 && o2++, n3;
}));
return console.log("[Mermaid提取] 总共处理了 ".concat(i2, " 个 mermaid 代码块,创建了 ").concat(t2.length, " 个占位符")), m2;
}, processMermaidMatch: function(e2, t2, a2, r2, n2) {
console.log("[Mermaid提取] 处理第 ".concat(n2 + 1, " 个 mermaid 代码块,长度: ").concat(e2.length, ", placeholderIndex: ").concat(r2)), console.log("[Mermaid提取] 当前 placeholders 数组长度: ".concat(a2.length));
var o2 = t2.trim();
if (o2 = o2.replace(/\\"/g, '"'), o2 = o2.replace(/\\r\\n/g, "\n").replace(/\\n/g, "\n"), o2 = o2.trim(), !o2) return console.warn("[Mermaid提取] 第 ".concat(n2 + 1, " 个代码块为空,跳过")), e2;
console.log("[Mermaid提取] 清理后的代码: ".concat(o2.substring(0, 50), "..."));
var i2 = "mermaid-".concat(Date.now(), "-").concat(Math.floor(1e4 * Math.random()), "-").concat(r2);
this.mermaidCharts.push({ id: i2, code: o2, rendered: false, svg: "" });
var s2 = "__MERMAID_PLACEHOLDER_".concat(i2, "__"), l2 = '<div class="mermaid" id="'.concat(i2, '" data-mermaid-code="').concat(encodeURIComponent(o2), '"></div>');
return a2.push({ placeholder: s2, mermaidDiv: l2 }), console.log("[Mermaid提取] 第 ".concat(n2 + 1, " 个代码块创建占位符成功,当前 placeholders 数组长度: ").concat(a2.length)), console.log("[Mermaid提取] 占位符: ".concat(s2.substring(0, 60), "...")), s2;
}, extractMermaidCharts: function(e2) {
var t2 = this, a2 = e2.replace(/```mermaid\s*[\r\n]+([\s\S]*?)[\r\n]+```/g, (function(e3, a3) {
var r2 = a3.trim();
if (r2 = r2.replace(/\\"/g, '"'), r2 = r2.replace(/\\r\\n/g, "\n").replace(/\\n/g, "\n"), r2 = r2.trim(), !r2) return e3;
var n2 = "mermaid-".concat(Date.now(), "-").concat(Math.floor(1e4 * Math.random()));
return t2.mermaidCharts.push({ id: n2, code: r2, rendered: false, svg: "" }), '<div class="mermaid" id="'.concat(n2, '" data-mermaid-code="').concat(encodeURIComponent(r2), '" style="min-height: 200px; display: block; margin: 1em 0; text-align: center;"></div>');
}));
return a2;
}, escapeRegExp: function(e2) {
return e2.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
}, preprocessMermaidCode: function(e2) {
return e2.replace(/```mermaid\s*\n([\s\S]*?)\n```/g, (function(e3, t2) {
var a2 = t2.trim(), r2 = "mermaid-".concat(Date.now(), "-").concat(Math.floor(1e4 * Math.random()));
return '<div class="mermaid" id="'.concat(r2, '" data-mermaid-code="').concat(encodeURIComponent(a2), '" style="text-align: center; margin: 1em 0; display: block;">\n <div style="color: #666; font-style: italic;">正在渲染图表...</div>\n </div>');
}));
}, preprocessImageLinks: function(e2) {
var t2 = e2.replace(/<details>[\s\S]*?```json\s*\n(https:\/\/quickchart\.io\/chart\?c=[A-Za-z0-9%]+)\s*\n```[\s\S]*?<\/details>/g, (function(e3, t3) {
var a2 = e3.match(/<summary>([\s\S]*?)<\/summary>/), r2 = a2 ? a2[1] : "Called MCP Tool: generate_chart";
return "<details>\n <summary>".concat(r2, '</summary>\n <div style="text-align: center; margin: 1em 0; padding: 1em; background: #f5f5f5; border-radius: 8px;">\n <img src="').concat(t3, '" alt="图表" style="max-width: 100%; height: auto; border-radius: 4px; box-shadow: 0 2px 8px rgba(0,0,0,0.1);" />\n <p style="margin-top: 0.5em; color: #666; font-size: 0.9em;">图表</p>\n </div>\n </details>');
}));
return t2 = t2.replace(/```json\s*\n(https:\/\/quickchart\.io\/chart\?c=[A-Za-z0-9%]+)\s*\n```/g, (function(e3, t3) {
return '<div style="text-align: center; margin: 1em 0; padding: 1em; background: #f5f5f5; border-radius: 8px;">\n <img src="'.concat(t3, '" alt="图表" style="max-width: 100%; height: auto; border-radius: 4px; box-shadow: 0 2px 8px rgba(0,0,0,0.1);" />\n <p style="margin-top: 0.5em; color: #666; font-size: 0.9em;">图表</p>\n </div>');
})), t2 = t2.replace(/https:\/\/quickchart\.io\/chart\?c=([A-Za-z0-9%]+)/g, (function(e3, t3) {
return '<div style="text-align: center; margin: 1em 0; padding: 1em; background: #f5f5f5; border-radius: 8px;">\n <img src="'.concat(e3, '" alt="图表" style="max-width: 100%; height: auto; border-radius: 4px; box-shadow: 0 2px 8px rgba(0,0,0,0.1);" />\n <p style="margin-top: 0.5em; color: #666; font-size: 0.9em;">图表</p>\n </div>');
})), console.log("处理后的内容:", t2), t2;
}, processImagesInDOM: function() {
if (this.$el) {
var e2, t2 = document.createTreeWalker(this.$el, NodeFilter.SHOW_TEXT, null, false), a2 = [];
while (e2 = t2.nextNode()) if (e2.textContent.includes("quickchart.io/chart?c=")) {
var r2 = e2.parentNode, n2 = false;
while (r2 && r2 !== this.$el) {
if ("DETAILS" === r2.tagName) {
n2 = true;
break;
}
r2 = r2.parentNode;
}
n2 || a2.push(e2);
}
a2.forEach((function(e3) {
var t3 = e3.parentNode, a3 = e3.textContent, r3 = /https:\/\/quickchart\.io\/chart\?c=([A-Za-z0-9%]+)/g, n3 = i(a3.matchAll(r3));
if (n3.length > 0) {
var o2 = a3;
n3.forEach((function(e4) {
var t4 = e4[0], a4 = '<div style="text-align: center; margin: 1em 0; padding: 1em; background: #f5f5f5; border-radius: 8px;">\n <img src="'.concat(t4, '" alt="图表" style="max-width: 100%; height: auto; border-radius: 4px; box-shadow: 0 2px 8px rgba(0,0,0,0.1);" />\n <p style="margin-top: 0.5em; color: #666; font-size: 0.9em;">图表</p>\n </div>');
o2 = o2.replace(t4, a4);
}));
var s2 = document.createElement("div");
s2.innerHTML = o2;
while (s2.firstChild) t3.insertBefore(s2.firstChild, e3);
t3.removeChild(e3);
}
}));
}
}, applyTableTheme: function() {
var e2 = this;
if (this.$el) {
var t2 = this.$el.querySelectorAll("table");
t2.forEach((function(t3) {
t3.style.cssText = "\n width: 100% !important;\n border-collapse: collapse !important;\n margin: 1em 0 !important;\n background-color: ".concat(e2.tableTheme.cellBg, " !important;\n border: 1px solid ").concat(e2.tableTheme.tableBorder, " !important;\n border-radius: ").concat(e2.tableTheme.borderRadius || "4px", " !important;\n overflow: hidden !important;\n box-shadow: ").concat(e2.tableTheme.boxShadow || "none", " !important;\n ");
var a2 = t3.querySelectorAll("th");
a2.forEach((function(t4) {
t4.style.cssText = "\n background-color: ".concat(e2.tableTheme.headerBg, " !important;\n color: ").concat(e2.tableTheme.headerText, " !important;\n border: 1px solid ").concat(e2.tableTheme.borderColor, " !important;\n padding: ").concat(e2.tableTheme.headerPadding || "8px 12px", " !important;\n font-size: ").concat(e2.tableTheme.headerFontSize || "13px", " !important;\n font-weight: 600 !important;\n text-align: left !important;\n border-bottom: 1px solid ").concat(e2.tableTheme.borderColor, " !important;\n ");
}));
var r2 = t3.querySelectorAll("td");
r2.forEach((function(t4) {
t4.style.cssText = "\n background-color: ".concat(e2.tableTheme.cellBg, " !important;\n color: ").concat(e2.tableTheme.cellText, " !important;\n border: 1px solid ").concat(e2.tableTheme.borderColor, " !important;\n padding: ").concat(e2.tableTheme.cellPadding || "6px 12px", " !important;\n font-size: ").concat(e2.tableTheme.cellFontSize || "12px", " !important;\n text-align: left !important;\n border-bottom: 1px solid ").concat(e2.tableTheme.borderColor, " !important;\n ");
}));
var n2 = t3.querySelectorAll("tr");
n2.forEach((function(t4, a3) {
if (a3 % 2 === 1) {
t4.style.backgroundColor = e2.tableTheme.evenRow;
var r3 = t4.querySelectorAll("td");
r3.forEach((function(t5) {
t5.style.backgroundColor = e2.tableTheme.evenRow;
}));
} else {
var n3 = t4.querySelectorAll("td");
n3.forEach((function(t5) {
t5.style.backgroundColor = e2.tableTheme.cellBg;
}));
}
t4.addEventListener("mouseenter", (function() {
t4.style.backgroundColor = e2.tableTheme.rowHover;
var a4 = t4.querySelectorAll("td");
a4.forEach((function(t5) {
t5.style.backgroundColor = e2.tableTheme.rowHover;
}));
})), t4.addEventListener("mouseleave", (function() {
var r4 = a3 % 2 === 1;
t4.style.backgroundColor = r4 ? e2.tableTheme.evenRow : e2.tableTheme.cellBg;
var n4 = t4.querySelectorAll("td");
n4.forEach((function(t5) {
t5.style.backgroundColor = r4 ? e2.tableTheme.evenRow : e2.tableTheme.cellBg;
}));
}));
}));
}));
}
}, renderMermaidDiagrams: function() {
if (console.log("Starting Mermaid diagram rendering..."), window.mermaid) {
console.log("Using Mermaid built-in rendering...");
var e2 = this.$el.querySelectorAll(".mermaid");
console.log("Found mermaid elements:", e2.length), e2.length > 0 && (e2.forEach((function(e3) {
var t2 = e3.getAttribute("data-mermaid-code");
if (t2) {
var a2 = decodeURIComponent(t2);
e3.textContent = a2;
}
})), window.mermaid.init(void 0, e2));
} else console.log("Mermaid not available");
}, replacePlaceholder: function(e2) {
var t2 = this.$el.querySelector('[data-chart-id="'.concat(e2.id, '"]'));
if (t2) {
console.log("Found placeholder, replacing with SVG"), t2.innerHTML = e2.svg, t2.style.height = "auto", t2.style.lineHeight = "normal", t2.style.minHeight = "300px", t2.style.display = "block";
var a2 = t2.querySelector("svg");
a2 && (a2.style.width = "100%", a2.style.height = "auto", a2.style.display = "block", a2.style.maxWidth = "100%");
} else console.log("Placeholder not found for chart:", e2.id);
}, renderMermaidChart: function(e2) {
var t2 = this;
if (console.log("renderMermaidChart called, window.mermaid:", !!window.mermaid), console.log("Chart data:", e2), !window.mermaid) return e2.svg = '<div style="color: orange; padding: 10px; border: 1px solid orange; border-radius: 4px; text-align: left;">Mermaid库正在加载中...</div>', void setTimeout((function() {
t2.renderMermaidChart(e2);
}), 1e3);
var a2 = e2.code.trim();
if (a2.startsWith("mermaid") && (a2 = a2.replace(/^mermaid\s*/, "")), a2.includes("pie")) {
var r2 = a2.match(/pie\s+(.*)/);
if (r2) {
var n2 = r2[1], o2 = n2.match(/title\s+([^"]+)/), i2 = "pie\n";
o2 && (i2 += " title " + o2[1].trim() + "\n");
var s2 = n2.match(/"([^"]+)"\s*:\s*(\d+)/g);
s2 && s2.forEach((function(e3) {
var t3 = e3.match(/"([^"]+)"\s*:\s*(\d+)/);
t3 && (i2 += ' "' + t3[1] + '" : ' + t3[2] + "\n");
})), a2 = i2.trim();
}
}
console.log("Cleaned Mermaid code:", a2);
try {
console.log("Attempting to render Mermaid chart...");
var l2 = window.mermaid.render(e2.id, a2);
console.log("Mermaid render result:", l2), l2 && "string" === typeof l2 && l2.includes("<svg") ? (console.log("Mermaid chart rendered successfully"), console.log("SVG content length:", l2.length), console.log("SVG preview:", l2.substring(0, 200) + "..."), e2.svg = l2, e2.rendered = true) : l2 && l2.svg ? (console.log("Mermaid chart rendered successfully (object format)"), console.log("SVG content length:", l2.svg.length), console.log("SVG preview:", l2.svg.substring(0, 200) + "..."), e2.svg = l2.svg, e2.rendered = true) : (console.error("Mermaid render returned no valid SVG"), e2.svg = '<div style="color: red; padding: 10px; border: 1px solid red; border-radius: 4px; text-align: left;">Mermaid渲染返回空结果</div>', e2.rendered = true);
} catch (c2) {
console.error("Mermaid渲染失败:", c2), e2.svg = '<div style="color: red; padding: 10px; border: 1px solid red; border-radius: 4px; text-align: left;">Mermaid图表渲染失败: '.concat(c2.message, "</div>"), e2.rendered = true;
}
}, updateTextColor: function() {
var e2 = this;
if (this.$el) {
var t2 = this.$el.querySelectorAll("h1, h2, h3, h4, h5, h6, p, ul, ol, li, th, td");
t2.forEach((function(t3) {
t3.hasAttribute("style") && t3.getAttribute("style").includes("color") || (t3.style.color = e2.textColor);
}));
}
} } }, m = p, f = (a("e27f"), a("829d")), h = Object(f["a"])(m, r, n, false, null, null, null);
t["a"] = h.exports;
}, 4059: function(e, t, a) {
"use strict";
var r = function() {
var e2 = this, t2 = e2.$createElement, r2 = e2._self._c || t2;
return r2("div", { staticClass: "scanModel" }, [r2("el-dialog", { attrs: { title: "扫码支付", visible: e2.show, "close-on-click-modal": false, "close-on-press-escape": false, width: "35%", "before-close": e2.handleClose }, on: { "update:visible": function(t3) {
e2.show = t3;
}, opened: e2.qrCodeCreate } }, [r2("div", { staticClass: "scanBody" }, [r2("div", { staticClass: "payBg_default" }), e2._v(" "), r2("div", { staticClass: "scanInfo" }, [r2("div", { staticClass: "orderNo" }, [e2._v("订单号:" + e2._s(e2.info.expensesNo))])]), e2._v(" "), r2("div", { staticClass: "scanContent" }, [e2.pay_status ? r2("div", [r2("div", { staticClass: "moneyTitle" }, [e2._v("\n 付款金额:"), r2("span", { staticClass: "weixin_default" }, [e2._v("¥" + e2._s(e2.toMoney(e2.info.totalAmount)))]), e2._v("\n 元\n ")]), e2._v(" "), r2("div", { staticClass: "cardContent" }, [r2("img", { attrs: { src: a("f4f1"), alt: "" } }), e2._v(" "), r2("div", { staticClass: "payQRCode" }, [r2("div", { ref: "qrcode", staticClass: "qrcode", attrs: { id: "qrcode" } })]), e2._v(" "), r2("div", { staticClass: "payTip" }, [e2._v("有效期30分钟请及时付款")])]), e2._v(" "), r2("div", { staticClass: "orderTip" }, [e2._v("请使用微信、支付宝扫一扫完成支付")])]) : e2._e(), e2._v(" "), e2.pay_status ? e2._e() : r2("div", { staticStyle: { margin: "60px 0" } }, [e2.pay_success ? r2("el-result", { attrs: { icon: "success", title: "支付成功", subTitle: "到账后系统会自动处理缴费账单,请耐心等待!" } }, [r2("template", { slot: "extra" }, [r2("el-button", { staticClass: "btn_weixin", attrs: { type: "success", size: "medium" }, on: { click: e2.back } }, [e2._v("返回")])], 1)], 2) : e2._e(), e2._v(" "), e2.pay_error ? r2("el-result", { attrs: { icon: "error", title: "支付失败", subTitle: "请点击下方按钮再次支付或重新下单,谢谢!" } }, [r2("template", { slot: "extra" }, [r2("el-button", { staticClass: "btn_weixin", attrs: { type: "success", size: "medium" }, on: { click: e2.toPay } }, [e2._v("继续支付")])], 1)], 2) : e2._e()], 1)])]), e2._v(" "), e2.pay_status ? r2("div", { staticClass: "payBtn" }, [r2("el-button", { staticClass: "btn_default", attrs: { type: "success", loading: e2.btnLoading }, on: { click: e2.searchPay } }, [e2._v("完成支付")]), e2._v(" "), r2("el-button", { on: { click: e2.closeItem } }, [e2._v("暂不支付")])], 1) : e2._e()])], 1);
}, n = [], o = a("e654"), i = a("ca2a"), s = { props: ["show", "info"], data: function() {
return { btnLoading: false, pay_success: false, pay_error: false, pay_status: true, count: 0, url: "" };
}, methods: { qrCodeCreate: function() {
var e2 = this;
this.url = "", this.pay_success = false, this.pay_error = false, this.pay_status = true, this.count = 0, this.$nextTick((function() {
1 != e2.info.channel ? (console.log("".concat("https://hc-offiaccount.sqygj.cn", "/cashier?type=1&no=").concat(e2.info.expensesNo)), e2.url = "".concat("https://hc-offiaccount.sqygj.cn", "/cashier?type=1&no=").concat(e2.info.expensesNo)) : (e2.url = e2.info.code_url, console.log("".concat(e2.info.code_url)));
var t2 = Object(i["a"])(0, "M");
t2.addData(e2.url), t2.make(), e2.$nextTick((function() {
var a2 = t2.createImgTag(3, 1);
e2.$refs.qrcode.innerHTML = a2;
}));
}));
}, toMoney: function(e2) {
return e2 ? e2.toFixed(2) : "";
}, handleClose: function() {
this.back();
}, closeItem: function() {
var e2 = this;
this.$confirm("当前订单已生成,后续需缴费请前往销单页面进行支付!", "温馨提示", { confirmButtonText: "确定", showCancelButton: false, type: "warning" }).then((function() {
e2.back();
})).catch((function() {
}));
}, back: function() {
this.$emit("back");
}, toPay: function() {
this.$emit("back"), this.$router.push({ path: "/propertySMG/businessTaxCank/revenueManage/salesOrder" });
}, searchPay: function() {
this.btnLoading = true, this.payCallback();
}, payCallback: function() {
var e2 = this, t2 = this;
Object(o["A"])({ expensesNo: this.info.expensesNo }).then((function(a2) {
2 == a2.data.byOrderNo.eistatus ? (e2.btnLoading = false, e2.pay_status = false, e2.pay_success = true, e2.pay_error = false, e2.count = 0) : 1 == a2.data.byOrderNo.eistatus && (e2.count < 5 ? setTimeout((function() {
t2.payCallback(), t2.count++;
}), 3e3) : (e2.pay_status = false, e2.pay_success = false, e2.pay_error = true, e2.btnLoading = false));
}));
} } }, l = s, c = (a("708a6b"), a("829d")), u = Object(c["a"])(l, r, n, false, null, null, null);
t["a"] = u.exports;
}, "435a": function(e, t, a) {
"use strict";
a("5fae");
}, "47eb": function(e, t, a) {
"use strict";
a("2f9e");
}, 5138: function(e, t, a) {
}, 5198: function(e, t, a) {
"use strict";
a("ab6f");
}, "5cfe": function(e, t, a) {
"use strict";
var r = function() {
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
return a2("div", { staticClass: "app-container" }, [a2("el-tabs", { staticClass: "tabsBox", attrs: { type: "border-card" }, model: { value: e2.activeName, callback: function(t3) {
e2.activeName = t3;
}, expression: "activeName" } }, [a2("el-tab-pane", { attrs: { label: "当前和历史记录", name: "history" } }, ["history" === e2.activeName ? a2("taskList", { attrs: { planModel: e2.planModel, historyType: 1, planNo: e2.planNo, content: e2.content + "当前和历史记录" } }) : e2._e()], 1), e2._v(" "), a2("el-tab-pane", { attrs: { label: "即将开展", name: "future" } }, ["future" === e2.activeName ? a2("taskList", { attrs: { planModel: e2.planModel, historyType: 2, planNo: e2.planNo, content: e2.content + "即将开展" } }) : e2._e()], 1)], 1)], 1);
}, n = [], o = a("6cad"), i = { name: "taskHistory", components: { taskList: o["a"] }, props: { planModel: { type: Number, default: "" }, content: { type: String, default: "" }, planNo: { type: String, default: "" } }, data: function() {
return { activeName: "history" };
}, mounted: function() {
} }, s = i, l = (a("95aa"), a("829d")), c = Object(l["a"])(s, r, n, false, null, "480b134e", null);
t["a"] = c.exports;
}, "5fae": function(e, t, a) {
}, 6354: function(e, t, a) {
"use strict";
var r = function() {
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
return a2("div", { staticClass: "transferOrder" }, [a2("el-dialog", { staticClass: "dialogHead", attrs: { title: "请选择转单求助对象", "show-close": true, "close-on-press-escape": false, "close-on-click-modal": false, visible: e2.transferOrderVisible }, on: { "update:visible": function(t3) {
e2.transferOrderVisible = t3;
} } }, [a2("div", { staticClass: "content" }, [a2("el-row", { attrs: { gutter: 20 } }, [a2("el-col", { attrs: { span: 16 } }, [e2._v("求助个人")]), e2._v(" "), a2("el-col", { attrs: { span: 8 } }, [a2("el-radio", { attrs: { label: "1", value: "1" }, model: { value: e2.radio, callback: function(t3) {
e2.radio = t3;
}, expression: "radio" } })], 1)], 1), e2._v(" "), a2("el-row", [a2("el-col", { attrs: { span: 24 } }, [a2("span", [e2._v("求助对象")]), e2._v(" "), a2("span", { staticClass: "spanLeft" }, [a2("el-select", { attrs: { clearable: "", "value-key": "id", filterable: "", placeholder: "请选择求助对象" }, model: { value: e2.executor, callback: function(t3) {
e2.executor = t3;
}, expression: "executor" } }, e2._l(e2.engineerList, (function(e3) {
return a2("el-option", { key: e3.id, attrs: { label: e3.name, value: e3 } });
})), 1)], 1)])], 1), e2._v(" "), a2("el-row", { attrs: { gutter: 20 } }, [a2("el-col", { attrs: { span: 16 } }, [e2._v("求助全体(选择该项则项目全体人员均可接单)")]), e2._v(" "), a2("el-col", { attrs: { span: 8 } }, [a2("el-radio", { attrs: { label: "0", value: "0" }, nativeOn: { click: function(t3) {
return e2.handleColumns(t3);
} }, model: { value: e2.radio, callback: function(t3) {
e2.radio = t3;
}, expression: "radio" } })], 1)], 1), e2._v(" "), a2("el-row", { staticClass: "elRowBtn" }, [a2("el-button", { on: { click: e2.cancelTransferOrder } }, [e2._v("取消")]), e2._v(" "), a2("el-button", { attrs: { type: "primary" }, on: { click: e2.onSubmit } }, [e2._v("确定")])], 1)], 1)])], 1);
}, n = [], o = a("e10e"), i = a("22ce"), s = { props: { applicantid: { type: String, default: "" }, dataInfo: { type: Object, default: function() {
return {};
} } }, data: function() {
return { transferOrderVisible: false, radio: "1", executor: "", engineerList: [], type: "" };
}, mounted: function() {
}, methods: { handleColumns: function() {
this.executor = "";
}, getTransferHelp: function(e2) {
var t2 = this;
this.type = e2, this.transferOrderVisible = true;
var a2 = { id: this.$store.state.id };
Object(o["m"])(a2).then((function(e3) {
0 === e3.code && (t2.engineerList = e3.data);
}));
}, onSubmit: function() {
var e2 = this, t2 = { orderNo: this.dataInfo.postponeOrderNo || this.dataInfo.orderNo, type: this.type, operatorUuid: this.$store.state.user.userInfo.memberUuid, operatorName: this.$store.state.user.userInfo.memberName };
if ("0" === this.radio) t2.processorId = 0, this.executor = "", t2.remake = "我进行了转单求助操作,转单对象为:全体(选择该项则项目全体人员均可接单)", delete t2.processorName;
else {
if ("" === this.executor || this.executor === {}) return void this.$message({ type: "error", message: "请选择求助对象!" });
t2.remake = "我进行了转单求助操作,转单对象为:" + this.executor.name, t2.processorId = this.executor.uuid, t2.processorName = this.executor.name;
}
t2.operatorUuid != this.executor.uuid ? this.applicantid !== this.executor.uuid ? Object(i["i"])(t2).then((function(t3) {
t3 && 0 === t3.code && (e2.$message({ type: "success", message: "您已成功提交转单求助信息,请耐心等待对方同意!" }), e2.radio = "1", e2.transferOrderVisible = false, e2.$emit("getInfoList", false));
})) : this.$message({ type: "error", message: "求助对象不能是发布人!" }) : this.$message({ type: "error", message: "求助对象不能是自己!" });
}, cancelTransferOrder: function() {
this.transferOrderVisible = false, this.radio = "1", this.executor = "";
} } }, l = s, c = (a("47eb"), a("829d")), u = Object(c["a"])(l, r, n, false, null, "4ff4806f", null);
t["a"] = u.exports;
}, "69b7": function(e, t, a) {
"use strict";
var r = function() {
var e2 = this, t2 = e2.$createElement;
e2._self._c;
return e2._m(0);
}, n = [function() {
var e2 = this, t2 = e2.$createElement, r2 = e2._self._c || t2;
return r2("div", { staticClass: "waitMain" }, [r2("div", { staticClass: "waitInfo" }, [r2("img", { attrs: { src: a("9af8"), alt: "" } }), e2._v(" "), r2("h4", [e2._v("敬请期待...")])])]);
}], o = { data: function() {
return {};
}, mounted: function() {
}, methods: {} }, i = o, s = (a("ebfc"), a("829d")), l = Object(s["a"])(i, r, n, false, null, "040c06b8", null);
t["a"] = l.exports;
}, "708a6b": function(e, t, a) {
"use strict";
a("e4b2");
}, "735e": function(e, t, a) {
"use strict";
a("f288");
}, 7533: function(e, t, a) {
"use strict";
a("a56e");
}, "7a71": function(e, t, a) {
}, "7c3e": function(e, t, a) {
}, 8417: function(e, t, a) {
}, 8988: function(e, t, a) {
"use strict";
var r = function() {
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
return a2("div", { staticClass: "uploadWrap" }, [e2._t("default", [e2.showFileList ? e2._e() : a2("ul", { staticClass: "uploadContent" }, e2._l(e2.uploadResult, (function(t3) {
return a2("li", { key: t3.filePath }, [a2("el-image", { staticStyle: { width: "100px", height: "100px" }, attrs: { src: t3.filePath, "preview-src-list": [t3.filePath] } }), e2._v(" "), "video" === t3.fileType ? a2("video", { attrs: { src: t3.filePath, controls: "controls" } }, [e2._v("\n 您的浏览器不支持视频播放\n ")]) : e2._e(), e2._v(" "), "file" === t3.fileType ? a2("span", [e2._v(e2._s(t3.fileName))]) : e2._e(), e2._v(" "), e2.isShowClose && !e2.disabled ? a2("span", { staticClass: "closeIcon", on: { click: function(a3) {
return e2.handleRemove(t3);
} } }, [a2("i", { staticClass: "el-icon-close" })]) : e2._e()], 1);
})), 0)]), e2._v(" "), a2("el-upload", { directives: [{ name: "loading", rawName: "v-loading", value: e2.isLoad, expression: "isLoad" }], ref: "upload", staticClass: "upload", class: { hide: e2.uploadResult.length >= e2.limit }, attrs: { action: "", "http-request": e2.uploadRequest, "before-upload": e2.beforeUpload, "on-success": e2.handleSuccess, "auto-upload": e2.autoUpload, "file-list": e2.computedFileList, "show-file-list": e2.showFileList, "on-remove": e2.handleRemove, limit: e2.limit, "list-type": e2.listType, "on-preview": e2.handlePreview, accept: e2.accept, "on-exceed": e2.handleExceed, multiple: e2.multiple, disabled: !!e2.disabled || !(e2.limit > 0) } }, [e2.uploadResult.length < e2.limit ? e2._t("uploadButton", [a2("i", { staticClass: "el-icon-plus upload-plus", attrs: { slot: "default" }, slot: "default" })]) : e2._e()], 2), e2._v(" "), a2("el-dialog", { attrs: { visible: e2.dialogVisible, "show-close": true, "close-on-press-escape": false, "close-on-click-modal": false, "destroy-on-close": "" }, on: { "update:visible": function(t3) {
e2.dialogVisible = t3;
} } }, ["image" === e2.allowFileType[0] ? a2("img", { staticClass: "fileIframe", attrs: { width: "100%", src: e2.dialogImageUrl, alt: "" } }) : "file" === e2.allowFileType[0] || "video" === e2.allowFileType[0] ? a2("iframe", { staticClass: "fileIframe", attrs: { src: e2.dialogImageUrl, frameborder: "0" } }) : e2._e(), e2._v(" "), a2("span", { staticClass: "dialog-footer", attrs: { slot: "footer" }, slot: "footer" }, [a2("el-button", { attrs: { type: "primary" }, on: { click: e2.closeFileDialog } }, [e2._v("关闭")])], 1)])], 2);
}, n = [], o = a("b562"), i = a("127f");
a("15d6");
function s(e2) {
return s = "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;
}, s(e2);
}
function l() {
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
var e2, t2, a2 = "function" == typeof Symbol ? Symbol : {}, r2 = a2.iterator || "@@iterator", n2 = a2.toStringTag || "@@toStringTag";
function o2(a3, r3, n3, o3) {
var l2 = r3 && r3.prototype instanceof s2 ? r3 : s2, u3 = Object.create(l2.prototype);
return c(u3, "_invoke", (function(a4, r4, n4) {
var o4, s3, l3, c2 = 0, u4 = n4 || [], d3 = false, p3 = { p: 0, n: 0, v: e2, a: m3, f: m3.bind(e2, 4), d: function(t3, a5) {
return o4 = t3, s3 = 0, l3 = e2, p3.n = a5, i2;
} };
function m3(a5, r5) {
for (s3 = a5, l3 = r5, t2 = 0; !d3 && c2 && !n5 && t2 < u4.length; t2++) {
var n5, o5 = u4[t2], m4 = p3.p, f3 = o5[2];
a5 > 3 ? (n5 = f3 === r5) && (l3 = o5[(s3 = o5[4]) ? 5 : (s3 = 3, 3)], o5[4] = o5[5] = e2) : o5[0] <= m4 && ((n5 = a5 < 2 && m4 < o5[1]) ? (s3 = 0, p3.v = r5, p3.n = o5[1]) : m4 < f3 && (n5 = a5 < 3 || o5[0] > r5 || r5 > f3) && (o5[4] = a5, o5[5] = r5, p3.n = f3, s3 = 0));
}
if (n5 || a5 > 1) return i2;
throw d3 = true, r5;
}
return function(n5, u5, f3) {
if (c2 > 1) throw TypeError("Generator is already running");
for (d3 && 1 === u5 && m3(u5, f3), s3 = u5, l3 = f3; (t2 = s3 < 2 ? e2 : l3) || !d3; ) {
o4 || (s3 ? s3 < 3 ? (s3 > 1 && (p3.n = -1), m3(s3, l3)) : p3.n = l3 : p3.v = l3);
try {
if (c2 = 2, o4) {
if (s3 || (n5 = "next"), t2 = o4[n5]) {
if (!(t2 = t2.call(o4, l3))) throw TypeError("iterator result is not an object");
if (!t2.done) return t2;
l3 = t2.value, s3 < 2 && (s3 = 0);
} else 1 === s3 && (t2 = o4.return) && t2.call(o4), s3 < 2 && (l3 = TypeError("The iterator does not provide a '" + n5 + "' method"), s3 = 1);
o4 = e2;
} else if ((t2 = (d3 = p3.n < 0) ? l3 : a4.call(r4, p3)) !== i2) break;
} catch (t3) {
o4 = e2, s3 = 1, l3 = t3;
} finally {
c2 = 1;
}
}
return { value: t2, done: d3 };
};
})(a3, n3, o3), true), u3;
}
var i2 = {};
function s2() {
}
function u2() {
}
function d2() {
}
t2 = Object.getPrototypeOf;
var p2 = [][r2] ? t2(t2([][r2]())) : (c(t2 = {}, r2, (function() {
return this;
})), t2), m2 = d2.prototype = s2.prototype = Object.create(p2);
function f2(e3) {
return Object.setPrototypeOf ? Object.setPrototypeOf(e3, d2) : (e3.__proto__ = d2, c(e3, n2, "GeneratorFunction")), e3.prototype = Object.create(m2), e3;
}
return u2.prototype = d2, c(m2, "constructor", d2), c(d2, "constructor", u2), u2.displayName = "GeneratorFunction", c(d2, n2, "GeneratorFunction"), c(m2), c(m2, n2, "Generator"), c(m2, r2, (function() {
return this;
})), c(m2, "toString", (function() {
return "[object Generator]";
})), (l = function() {
return { w: o2, m: f2 };
})();
}
function c(e2, t2, a2, r2) {
var n2 = Object.defineProperty;
try {
n2({}, "", {});
} catch (e3) {
n2 = 0;
}
c = function(e3, t3, a3, r3) {
function o2(t4, a4) {
c(e3, t4, (function(e4) {
return this._invoke(t4, a4, e4);
}));
}
t3 ? n2 ? n2(e3, t3, { value: a3, enumerable: !r3, configurable: !r3, writable: !r3 }) : e3[t3] = a3 : (o2("next", 0), o2("throw", 1), o2("return", 2));
}, c(e2, t2, a2, r2);
}
function u(e2, t2, a2, r2, n2, o2, i2) {
try {
var s2 = e2[o2](i2), l2 = s2.value;
} catch (e3) {
return void a2(e3);
}
s2.done ? t2(l2) : Promise.resolve(l2).then(r2, n2);
}
function d(e2) {
return function() {
var t2 = this, a2 = arguments;
return new Promise((function(r2, n2) {
var o2 = e2.apply(t2, a2);
function i2(e3) {
u(o2, r2, n2, i2, s2, "next", e3);
}
function s2(e3) {
u(o2, r2, n2, i2, s2, "throw", e3);
}
i2(void 0);
}));
};
}
function p(e2, t2) {
var a2 = Object.keys(e2);
if (Object.getOwnPropertySymbols) {
var r2 = Object.getOwnPropertySymbols(e2);
t2 && (r2 = r2.filter((function(t3) {
return Object.getOwnPropertyDescriptor(e2, t3).enumerable;
}))), a2.push.apply(a2, r2);
}
return a2;
}
function m(e2) {
for (var t2 = 1; t2 < arguments.length; t2++) {
var a2 = null != arguments[t2] ? arguments[t2] : {};
t2 % 2 ? p(Object(a2), true).forEach((function(t3) {
f(e2, t3, a2[t3]);
})) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e2, Object.getOwnPropertyDescriptors(a2)) : p(Object(a2)).forEach((function(t3) {
Object.defineProperty(e2, t3, Object.getOwnPropertyDescriptor(a2, t3));
}));
}
return e2;
}
function f(e2, t2, a2) {
return (t2 = h(t2)) in e2 ? Object.defineProperty(e2, t2, { value: a2, enumerable: true, configurable: true, writable: true }) : e2[t2] = a2, e2;
}
function h(e2) {
var t2 = v(e2, "string");
return "symbol" == s(t2) ? t2 : t2 + "";
}
function v(e2, t2) {
if ("object" != s(e2) || !e2) return e2;
var a2 = e2[Symbol.toPrimitive];
if (void 0 !== a2) {
var r2 = a2.call(e2, t2 || "default");
if ("object" != s(r2)) return r2;
throw new TypeError("@@toPrimitive must return a primitive value.");
}
return ("string" === t2 ? String : Number)(e2);
}
var y = { props: { autoUpload: { default: true, type: Boolean }, showFileList: { default: false, type: Boolean }, fileList: { default: function() {
return [];
}, type: Array }, listType: { default: "picture-card", type: String }, allowFileType: { default: function() {
return ["file", "image", "video"];
}, type: Array }, accept: { type: String, default: "image/jpeg,image/png,image/JPG,image/jpg,image/PNG" }, limit: { type: Number, default: 99 }, isShowClose: { type: Boolean, default: true }, imgStore: { type: String, default: "" }, isChangeFileName: { type: Boolean, default: true }, disabled: { type: Boolean, default: false }, fileSize: { type: Number, default: 10 }, isPNG: { type: Boolean, default: false }, aspectSize: { type: Boolean, default: false }, width: { type: Number, default: 300 }, height: { type: Number, default: 200 }, multiple: { type: Boolean, default: false } }, data: function() {
var e2 = [];
return { isLoad: false, isUploading: false, uploadList: [], uploadMap: {}, uploadResult: e2, dialogVisible: false, dialogImageUrl: "" };
}, computed: { computedFileList: function() {
return this.fileList.map((function(e2) {
return m(m({}, e2), {}, { fileId: i["a"] });
}));
} }, watch: { computedFileList: { deep: true, handler: function(e2, t2) {
if (!e2 || !e2.length) return this.uploadResult = [];
this.uploadResult = e2.map((function(e3) {
return m(m({}, e3), {}, { filePath: e3.url });
}));
} } }, mounted: function() {
var e2 = this;
void 0 != this.fileList && this.fileList.length > 0 && this.fileList.map((function(t2) {
e2.uploadResult.push({ filePath: t2.url, fileId: Object(i["a"])() });
}));
}, methods: { isImage: function(e2) {
var t2 = ["image/jpeg", "image/png", "image/gif"];
return -1 != t2.indexOf(e2.type);
}, isVideo: function(e2) {
return -1 != ["video/mp4", "video/ogg", "video/flv", "video/avi", "video/wmv", "video/rmvb"].indexOf(e2.type);
}, isFile: function(e2) {
var t2 = ["application/msword", "application/vnd.openxmlformats-officedocument.wordprocessingml.document", "application/vnd.ms-excel", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "application/pdf", "application/vnd.ms-powerpoint", "application/vnd.openxmlformats-officedocument.presentationml.presentation"], a2 = [".doc", ".docx", ".pdf", ".xls", ".xlsx", ".ppt", ".pptx"], r2 = e2.name.slice(e2.name.lastIndexOf("."));
return e2.type ? -1 != t2.indexOf(e2.type) : -1 != a2.indexOf(r2);
}, handlePreview: function(e2) {
console.log(e2), this.dialogImageUrl = e2.url, this.dialogVisible = true;
}, closeFileDialog: function() {
this.dialogVisible = false;
}, beforeUpload: function(e2) {
var t2 = this;
console.log(e2, "删除后再上传");
var a2 = e2.size / 1024 / 1024 < this.fileSize, r2 = this.allowFileType, n2 = this.isPNG, o2 = this.aspectSize;
if (!a2) return this.$message.error("上传的文件大小不能超过".concat(this.fileSize, "MB哦!")), false;
if (!(-1 !== r2.indexOf("image") && this.isImage(e2) || -1 !== r2.indexOf("file") && this.isFile(e2) || -1 !== r2.indexOf("video") && this.isVideo(e2))) return this.$message.error("请上传正确的文件类型!"), false;
if (n2 && "image/png" != e2.type) return this.$message.error("仅支持格式为.png的图片"), false;
if (o2) {
var i2 = this, s2 = new Promise((function(t3, a3) {
var r3 = i2.width, n3 = i2.height, o3 = window.URL || window.webkitURL, s3 = new Image();
s3.onload = function() {
var e3 = s3.width == r3 && s3.height == n3;
e3 ? t3() : a3();
}, s3.src = o3.createObjectURL(e2);
})).then((function() {
return e2;
}), (function() {
return t2.$message.warning("上传图片尺寸不符合,推荐分辨率 ".concat(i2.width, "*").concat(i2.height, " !")), Promise.reject();
}));
return s2;
}
}, uploadInfo: function() {
if (6 == this.uploadResult.length) {
var e2 = "", t2 = this.allowFileType;
if (-1 !== t2.indexOf("image")) return e2 = "图片最多上传6张", void this.message(e2);
if (-1 !== t2.indexOf("video")) e2 = "视频最多上传6个", this.message(e2);
else if (-1 !== t2.indexOf("file")) return e2 = "文件最多上传6份", void this.message(e2);
}
}, add0: function(e2) {
return e2 < 10 ? "0" + e2 : e2;
}, getYearMonthDay: function() {
var e2 = /* @__PURE__ */ new Date(), t2 = e2.getFullYear(), a2 = e2.getMonth() + 1, r2 = e2.getDate();
return "" + t2 + this.add0(a2) + this.add0(r2);
}, message: function(e2) {
this.$message({ message: e2, type: "error" });
}, uploadRequest: function(e2) {
var t2 = this;
t2.isLoad = true;
var a2 = e2.file, r2 = a2.name.lastIndexOf("."), n2 = a2.name.length, s2 = a2.name.substring(r2 + 1, n2), c2 = "";
c2 = this.isChangeFileName ? Object(i["a"])() + "." + s2 : a2.name;
var u2 = this.isImage(a2) ? "image" : this.isVideo(a2) ? "video" : this.isFile(a2) ? "file" : a2.type, p2 = new FormData();
p2.append("file", a2);
var m2 = (function() {
var r3 = d(l().m((function r4() {
var n3, s3, d2, m3, f2, h2;
return l().w((function(r5) {
while (1) switch (r5.p = r5.n) {
case 0:
return r5.p = 0, r5.n = 1, Object(o["b"])(p2);
case 1:
if (n3 = r5.v, !n3 || 0 != n3.data.code) {
r5.n = 2;
break;
}
n3.data && n3.data.data.fullUrl ? (s3 = n3.data.data.fullUrl, d2 = { fileType: u2, fileName: c2, filePath: s3, fileOrName: a2.name, uid: a2.uid, fileId: Object(i["a"])() }, t2.uploadResult.push(d2), console.log("文件信息已添加到 uploadResult:", d2)) : console.warn("响应中缺少 data 或 fullUrl 字段:", n3), r5.n = 3;
break;
case 2:
throw console.warn("上传接口返回错误码:", n3), new Error(n3.message || "上传失败");
case 3:
t2.uploadList.splice(t2.uploadList.indexOf(c2), 1), delete t2.uploadMap[c2], t2.uploadList.length ? (m3 = t2.uploadList[0], t2.uploadMap[m3] && t2.uploadMap[m3]()) : (t2.isLoad = false, t2.$message.success("上传成功!"), e2.onSuccess()), r5.n = 5;
break;
case 4:
r5.p = 4, h2 = r5.v, console.error("上传失败:", h2), t2.$message.error("上传失败: ".concat(h2.message || "未知错误")), t2.uploadList.splice(t2.uploadList.indexOf(c2), 1), delete t2.uploadMap[c2], t2.uploadList.length ? (f2 = t2.uploadList[0], t2.uploadMap[f2] && t2.uploadMap[f2]()) : t2.isLoad = false;
case 5:
return r5.a(2);
}
}), r4, null, [[0, 4]]);
})));
return function() {
return r3.apply(this, arguments);
};
})();
0 === this.uploadList.length && m2(), this.uploadList.push(c2), this.uploadMap[c2] = m2;
}, upload: function() {
this.$refs.upload.submit();
}, handleSuccess: function() {
this.uploadResult.length > 6 || (this.uploadInfo(), console.log(this.uploadResult, "成功抛出"), this.$emit("getUploadData", this.uploadResult));
}, handleRemove: function(e2, t2) {
console.log("file-------------", e2);
var a2 = this.uploadResult.findIndex((function(t3) {
return e2.url === t3.filePath;
}));
this.uploadResult.splice(a2, 1), console.log(this.uploadResult, "删除抛出"), this.$emit("getUploadData", this.uploadResult);
}, handleExceed: function(e2, t2) {
console.log("files", e2, "fileList", t2), console.log("11", this.maxCount, "222", this.limit), this.$message({ message: "最多只能上传" + this.limit + "张图片", type: "warning", duration: 1e3 });
} } }, g = y, b = (a("0bc7"), a("7533"), a("829d")), _ = Object(b["a"])(g, r, n, false, null, "0f9119fd", null);
t["a"] = _.exports;
}, "8ce9": function(e, t, a) {
}, "93b1": function(e, t, a) {
}, 9569: function(e, t, a) {
"use strict";
a("9623");
}, "95aa": function(e, t, a) {
"use strict";
a("1530");
}, 9623: function(e, t, a) {
}, a383: function(e, t, a) {
"use strict";
a("bcca");
}, a56e: function(e, t, a) {
}, a5de: function(e, t, a) {
"use strict";
a("ce79");
}, ab6f: function(e, t, a) {
}, acef: function(e, t, a) {
"use strict";
var r = function() {
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
return a2("div", { staticClass: "contractStand" }, [e2.viewCard ? a2("div", [a2("el-card", { staticClass: "box-card", staticStyle: { "margin-top": "15px" } }, [a2("el-card", [a2("el-row", [a2("el-col", { staticClass: "elCol", attrs: { span: 4 } }, [a2("el-input", { attrs: { type: "text", clearable: "", placeholder: "作业事项" }, model: { value: e2.query.eventProjectName, callback: function(t3) {
e2.$set(e2.query, "eventProjectName", "string" === typeof t3 ? t3.trim() : t3);
}, expression: "query.eventProjectName" } })], 1), e2._v(" "), a2("el-col", { staticClass: "elCol", attrs: { span: 4 } }, [a2("el-select", { staticClass: "select-dom", attrs: { clearable: "", placeholder: "请选择职责归属" }, model: { value: e2.query.jobName, callback: function(t3) {
e2.$set(e2.query, "jobName", t3);
}, expression: "query.jobName" } }, e2._l(e2.jobListArr, (function(e3, t3) {
return a2("el-option", { key: t3, attrs: { label: e3.name, value: e3.name } });
})), 1)], 1), e2._v(" "), a2("el-col", { staticClass: "elCol", attrs: { offset: 12, span: 4 } }, [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], on: { click: function(t3) {
return e2.resetStandForm();
} } }, [e2._v("重置")]), e2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: e2.onStandSearch } }, [e2._v("查询")])], 1)], 1)], 1), e2._v(" "), a2("div", { staticClass: "planLst" }, [a2("span", { staticStyle: { color: "#2f2c2c", "font-size": "16px" } }, [e2._v("关联标准列表")]), e2._v(" "), a2("span", { staticClass: "add" }, [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: e2.showConyractStand } }, [e2._v("新增标准")])], 1)]), e2._v(" "), a2("el-table", { ref: "standTable", staticStyle: { width: "100%", "margin-top": "15px" }, attrs: { border: "", data: e2.tableData, "row-key": "id", "header-cell-style": e2.headClass }, on: { "selection-change": e2.selectionChange } }, [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 ")])];
} }], null, false, 3311124033) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "150", label: "作业事项", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.eventName || "-"))];
} }], null, false, 2108454907) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "200", label: "作业标准", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.serviceDesc || "-"))];
} }], null, false, 457840124) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "200", width: "200", label: "检查标准", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.checkDesc || "-"))];
} }], null, false, 3564229895) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "100", label: "上传照片", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(1 == t3.row.isShowCapture ? "是" : 2 == t3.row.isShowCapture ? "否" : "-"))];
} }], null, false, 353062362) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "100", label: "轻量化标准", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(1 == t3.row.isLightWeight ? "是" : 2 == t3.row.isLightWeight ? "否" : "-"))];
} }], null, false, 738444218) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "100", label: "标准分值", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.performanceScore || "-"))];
} }], null, false, 2499012992) }), 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 [e2._v(e2._s(t3.row.deductionStandard || "-"))];
} }], null, false, 21746788) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "120", label: "单项扣分比例", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.deductionRate ? (100 * t3.row.deductionRate).toFixed(2) + "%" : "-"))];
} }], null, false, 3049892504) }), 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 [e2._v(e2._s(t3.row.rectificationMeasures || "-"))];
} }], null, false, 2542792483) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "100", label: "来源", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.source || "-"))];
} }], null, false, 3092727213) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "100", label: "版本号", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.versionNumber ? "v" + t3.row.versionNumber : "-"))];
} }], null, false, 4247767528) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "100", label: "作业分类", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(e2._f("getItemType")(t3.row.jobCategory, e2.workType)) + "\n ")];
} }], null, false, 2659929565) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "100", label: "事故后果", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(e2.filterStr(t3.row.eventType)) + "\n ")];
} }], null, false, 2425908477) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "130", label: "专业分类", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(e2._f("getItemType")(t3.row.professionalCategory, e2.professionalList)) + "\n ")];
} }], null, false, 3594229953) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "100", label: "危险源类型", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(t3.row.subcontractingCategoryName) + "\n ")];
} }], null, false, 493039228) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "100", label: "内外分类", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(e2._f("getItemType")(t3.row.internalExternalCategory, e2.aroundClsssArr)) + "\n ")];
} }], null, false, 501248935) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "100", label: "固移分类", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(e2._f("getItemType")(t3.row.movementCategory, e2.fixedClsssArr)) + "\n ")];
} }], null, false, 2362536107) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "100", label: "查办分类", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(e2._f("getItemType")(t3.row.investigationCategory, e2.investigationClsssArr)) + "\n ")];
} }], null, false, 2053486718) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "100", label: "对象分类", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(e2._f("getItemType")(t3.row.objectCategory, e2.objClsssArr)) + "\n ")];
} }], null, false, 4114704172) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "120", label: "专业等级", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.professionalLevel || "-"))];
} }], null, false, 806572557) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "120", label: "安全等级", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.dangerousLevel || "-"))];
} }], null, false, 1226398388) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "120", label: "平均安全系数", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.avgDangerousLevel || "-"))];
} }], null, false, 3564119492) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "120", label: "重要等级", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.importantLevel || "-"))];
} }], null, false, 1873336064) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "120", label: "平均重要系数", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.avgImportantLevel || "-"))];
} }], null, false, 1235441328) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "100", label: "温度", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.temperatureLevel || "-"))];
} }], null, false, 2174983082) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "120", label: "平均温度系数", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.avgTemperatureLevel || "-"))];
} }], null, false, 2400355738) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "100", label: "私密度", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.privacyLevel || "-"))];
} }], null, false, 3721481312) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "150", label: "平均私密度系数", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.avgPrivacyLevel || "-"))];
} }], null, false, 1182901904) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "150", label: "职责归属", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.jobName || "-"))];
} }], null, false, 2574707600) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "150", label: "频次", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.freName || "-"))];
} }], null, false, 1599541990) }), e2._v(" "), 7 == e2.type ? a2("el-table-column", { attrs: { align: "center", "min-width": "200", label: "人", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.c1 || "-"))];
} }], null, false, 520345602) }) : e2._e(), e2._v(" "), 7 == e2.type ? a2("el-table-column", { attrs: { align: "center", "min-width": "200", label: "财", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.c2 || "-"))];
} }], null, false, 1633619489) }) : e2._e(), e2._v(" "), 7 == e2.type ? a2("el-table-column", { attrs: { align: "center", "min-width": "200", label: "事", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.c3 || "-"))];
} }], null, false, 3845849792) }) : e2._e(), e2._v(" "), 7 == e2.type ? a2("el-table-column", { attrs: { align: "center", "min-width": "200", label: "物", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.c4 || "-"))];
} }], null, false, 3436222439) }) : e2._e(), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "120", label: "作业菜单分类", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(e2._f("getItemType")(t3.row.controlType, e2.planModeLArr)))];
} }], null, false, 1767562609) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "120", label: "星级", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.star || "-"))];
} }], null, false, 2474980772) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "120", label: "四个全员", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(e2._f("getItemType")(t3.row.fullParticipation, e2.allList)) + "\n ")];
} }], null, false, 3657828506) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "100", label: "引用次数", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.citedNum || "-"))];
} }], null, false, 3240717817) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "100", label: "最近更新人", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.updateUserName || "-"))];
} }], null, false, 3087307415) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "180", label: "更新时间", "show-overflow-tooltip": true }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.updateDate || "-"))];
} }], null, false, 1307290197) }), e2._v(" "), 1 === e2.targetType ? a2("el-table-column", { attrs: { align: "center", "min-width": "80", label: "引用标准", fixed: "right" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [a2("el-switch", { attrs: { "active-color": "#13ce66", "active-value": 1, "inactive-value": 0 }, on: { change: function(a3) {
return e2.standChange(a3, t3.row);
} }, model: { value: t3.row.quoted, callback: function(a3) {
e2.$set(t3.row, "quoted", a3);
}, expression: "scope.row.quoted" } })];
} }], null, false, 3217640482) }) : e2._e(), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "80", label: "操作", fixed: "right" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [a2("el-button", { attrs: { type: "text" }, on: { click: function(a3) {
return e2.unbindStand(t3.row);
} } }, [e2._v("解绑")])];
} }], null, false, 4268970101) })], 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("div", { staticClass: "backBtn" }, [a2("el-button", { attrs: { type: "primary" }, on: { click: e2.goBack } }, [e2._v("返回")])], 1)], 1) : e2._e(), e2._v(" "), a2("el-drawer", { attrs: { title: "项目标准详情", size: "20%", visible: e2.showSee, direction: e2.direction }, on: { "update:visible": function(t3) {
e2.showSee = 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("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._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, r2) {
return a2("el-image", { key: r2, staticStyle: { width: "100px" }, attrs: { src: t3, "preview-src-list": e2.formatImg(e2.info.standImageUrl) } });
})), 1) : a2("span", [e2._v("-")])])])]), e2._v(" "), a2("el-dialog", { attrs: { title: e2.standDialogtitle, visible: e2.standDialogVisible, width: "80%", "before-close": e2.resetstandDialog }, on: { "update:visible": function(t3) {
e2.standDialogVisible = t3;
} } }, [a2("div", { staticClass: "standQuerySearch" }, [a2("el-row", [a2("el-col", { staticClass: "elCol", attrs: { span: 4 } }, [a2("el-input", { attrs: { type: "text", clearable: "", placeholder: "作业事项" }, model: { value: e2.standQuery.eventName, callback: function(t3) {
e2.$set(e2.standQuery, "eventName", "string" === typeof t3 ? t3.trim() : t3);
}, expression: "standQuery.eventName" } })], 1), e2._v(" "), a2("el-col", { staticClass: "elCol", attrs: { span: 4 } }, [a2("el-select", { staticClass: "select-dom", attrs: { clearable: "", placeholder: "请选择职责归属" }, model: { value: e2.standQuery.jobName, callback: function(t3) {
e2.$set(e2.standQuery, "jobName", t3);
}, expression: "standQuery.jobName" } }, e2._l(e2.jobListArr, (function(e3, t3) {
return a2("el-option", { key: t3, attrs: { label: e3.name, value: e3.name } });
})), 1)], 1), e2._v(" "), a2("el-col", { staticClass: "elCol", attrs: { offset: 12, span: 4 } }, [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], on: { click: function(t3) {
return e2.resetstandQueryForm();
} } }, [e2._v("重置")]), e2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: e2.onstandQuerySearch } }, [e2._v("查询")])], 1)], 1)], 1), e2._v(" "), a2("el-table", { ref: "multipleTable", attrs: { border: "", size: "mini", "header-cell-style": e2.headClass, data: e2.standList, "row-key": "standUuid" }, on: { "selection-change": e2.handleSelectionChange } }, [a2("el-table-column", { attrs: { type: "selection", align: "center", width: "55", "reserve-selection": true } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "作业事项", prop: "eventName", "show-overflow-tooltip": "", "min-width": "200" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "作业标准", prop: "serviceDesc", "show-overflow-tooltip": "", "min-width": "150" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "150", label: "检查标准", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(t3.row.serviceDesc || "-") + "\n ")];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "120", label: "频次", prop: "freName", "show-overflow-tooltip": "" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "140", label: "职责归属", prop: "jobName", "show-overflow-tooltip": "" } })], 1), e2._v(" "), a2("div", { staticClass: "paginations" }, [a2("el-pagination", { attrs: { background: "", "current-page": e2.standQuery.pageNumber, "page-sizes": [10], "page-size": e2.standQuery.pageSize, layout: "total, prev, pager, next, jumper", total: e2.standTotal }, on: { "size-change": e2.handlestandSizeChange, "current-change": e2.handlestandCurrentChange } })], 1), e2._v(" "), a2("span", { staticClass: "dialog-footer", attrs: { slot: "footer" }, slot: "footer" }, [a2("el-button", { on: { click: function(t3) {
return e2.resetstandDialog();
} } }, [e2._v("取 消")]), e2._v(" "), a2("el-button", { attrs: { type: "primary", disabled: !(e2.multipleSelection.length > 0) || e2.submitloading, loading: e2.submitloading }, on: { click: function(t3) {
return e2.submitstandDialog();
} } }, [e2._v("确认添加")])], 1)], 1)], 1);
}, n = [], o = a("8f53"), i = a("f8b7"), s = a("c40e"), l = a("be2e"), c = a("a99b"), u = a("9d07"), d = a("9a64"), p = a("dce5"), m = a("0b37");
function f(e2) {
return f = "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;
}, f(e2);
}
var h = { name: "contractStand", components: { planOrder: c["default"], addStandard: u["default"], editStandard: d["default"] }, props: { titleType: { type: String, default: "" }, type: { type: String, default: "add" }, ascription: { type: Array, default: function() {
return [];
} }, targetUuid: { type: String, default: 0 }, targetName: { type: String, default: "" }, targetType: { type: Number, default: 3 } }, data: function() {
return { viewCard: true, viewPlan: false, planModel: "", planContent: "", jobListArr: [], professionalList: o["A"], taskType: o["I"], workType: o["M"], taskType2: p["sc"], seriousnessList: p["fc"], 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"], controlTypeList: o["g"], planModeLArr: o["w"], isQuery: 1, query: { eventProjectName: "", jobName: "", pageNumber: 1, pageSize: 10 }, pageTotal: 0, tableData: [], selectList: [], standDialogtitle: "标准列表", standTotal: 0, standQuery: { eventName: "", jobName: "", pageNumber: 1, pageSize: 10 }, standDialogVisible: false, standList: [], multipleSelection: [], showSee: false, direction: "rtl", info: {}, statusArr: [{ value: 1, label: "已启用" }, { value: 2, label: "已禁用" }, { value: 3, label: "已结束" }, { value: 4, label: "未启用" }, { value: 5, label: "已作废" }], levelArr: [{ value: 1, label: "普通" }, { value: 2, label: "培训" }, { value: 3, label: "认证" }], planTotal: 0, planQuery: { planName: "", planModel: "", planStatus: "", jobName: "", userName: "", pageNumber: 1, pageSize: 10 }, planTableData: [], showAdd: false, showEdit: false, submitloading: false };
}, mounted: function() {
this.getJobListPeople(), this.query.pageNumber = 1, this.isQuery = 1, 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(f(a2), "str++++++++++++++"), "string" === typeof a2 && a2.includes(",")) {
var r2 = a2.split(",").map((function(e3) {
return Number(e3);
}));
return r2.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 "-";
}, getJobListPeople: function() {
var e2 = this, t2 = { projectUuid: this.$store.state.community_uuid, flag: 1 };
Object(i["q"])(t2).then((function(t3) {
0 === t3.code && (e2.jobListArr = t3.data);
}));
}, getlistData: function() {
var e2 = this, t2 = { targetUuid: this.targetUuid, projectUuid: this.$store.state.community_uuid };
t2 = Object.assign(t2, this.query), Object(s["e"])(t2).then((function(t3) {
0 === t3.code && (e2.tableData = t3.data.records, e2.pageTotal = t3.data.rowsCount);
}));
}, getStandlistData: function() {
var e2 = this, t2 = Object.assign(this.standQuery, { projectUuid: this.$store.state.community_uuid });
Object(l["tb"])(t2).then((function(t3) {
0 === t3.code && (e2.standList = t3.data.records, e2.standTotal = t3.data.rowsCount);
}));
}, selectionChange: function(e2) {
this.selectList = e2;
}, deleteConyractStand: function() {
var e2 = this;
if (0 === this.selectList.length) return this.$message({ type: "error", message: "请选择标准" }), false;
this.$confirm("确认解除绑定关系?", "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning", center: true }).then((function() {
var t2 = e2.selectList.map((function(e3) {
return e3["standUuid"];
}));
e2.contractStandOperation(1, t2);
})).catch((function() {
}));
}, showConyractStand: function() {
this.standDialogVisible = true, this.getStandlistData();
}, submitstandDialog: function() {
if (0 === this.multipleSelection.length) return this.$message({ type: "error", message: "请选择标准" }), false;
var e2 = this.multipleSelection.map((function(e3) {
return { standardUuid: e3["standUuid"], eventProjectName: e3["eventName"], category: 8 };
})), t2 = [{ targetId: this.targetUuid, targetName: this.targetName, targetType: this.targetType, projectUuid: this.$store.state.community_uuid }];
this.submitloading = true, this.contractStandOperation(1, e2, t2);
}, contractStandOperation: function(e2, t2, a2) {
var r2 = this, n2 = { projectUuid: this.$store.state.community_uuid, standDataList: t2, targets: a2 };
console.log("params", n2), 1 === e2 ? Object(s["d"])(n2).then((function(e3) {
0 === e3.code ? (r2.$message({ type: "success", message: "标准绑定成功" }), r2.isQuery = 1, r2.getlistData(), r2.resetstandDialog()) : r2.$message({ type: "error", message: "标准绑定失败" }), r2.submitloading = false;
})).catch((function(e3) {
r2.submitloading = false;
})) : Object(s["f"])(n2).then((function(e3) {
0 === e3.code ? (r2.$message({ type: "success", message: "解除标准绑定成功" }), r2.isQuery = 2, r2.getlistData(), r2.resetstandDialog()) : r2.$message({ type: "error", message: "解除标准绑定失败" });
}));
}, seeDetail: function(e2) {
this.showSee = true, this.info = e2;
}, addStand: function() {
var e2 = this;
this.viewCard = false, this.viewPlan = false, this.showSee = false, this.showAdd = true, this.showEdit = false, this.$nextTick((function() {
e2.$refs.addStandard.initData();
}));
}, editStandard: function(e2) {
var t2 = this;
this.viewCard = false, this.viewPlan = false, this.showSee = false, this.showAdd = false, this.showEdit = true, this.$nextTick((function() {
t2.$refs.editStandard.initData(e2);
}));
}, bindStand: function(e2) {
this.viewCard = true, this.viewPlan = false, this.showSee = false, this.showAdd = false, this.showEdit = false;
var t2 = [e2];
this.contractStandOperation(2, t2);
}, unbindStand: function(e2) {
var t2 = this;
this.$confirm("确认解除绑定关系?", "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning", center: true }).then((function() {
var a2 = [{ standardUuid: e2.standardUuid, projectUuid: t2.$store.state.community_uuid }], r2 = [{ targetId: t2.targetUuid, targetType: t2.targetType, projectUuid: t2.$store.state.community_uuid }];
t2.contractStandOperation(2, a2, r2);
})).catch((function() {
}));
}, standChange: function(e2, t2) {
var a2 = this, r2 = { id: t2.id, quoted: e2 };
Object(s["i"])(r2).then((function(e3) {
0 === e3.code ? (a2.$message({ type: "success", message: "操作成功" }), a2.getStandlistData()) : a2.$message({ type: "error", message: "操作失败" });
}));
}, resetstandQueryForm: function() {
this.standQuery.eventName = "", this.standQuery.jobName = "", this.standQuery.pageNumber = 1, this.getStandlistData();
}, onstandQuerySearch: function() {
this.getStandlistData();
}, resetStandForm: function() {
this.query.eventProjectName = "", this.query.jobName = "", this.query.pageNumber = 1, this.getlistData();
}, onStandSearch: function() {
this.query.pageNumber = 1, this.getlistData();
}, resetPlanForm: function() {
this.planQuery.planName = "", this.planQuery.planStatus = "", this.planQuery.userName = "", this.planQuery.jobName = "", this.planQuery.planModel = "", this.planQuery.pageNumber = 1, this.getPlanList();
}, onPlanSearch: function() {
this.planQuery.pageNumber = 1, this.getPlanList();
}, handleSizeChange: function(e2) {
this.query.pageSize = e2, this.getlistData();
}, handleCurrentChange: function(e2) {
this.query.pageNumber = e2, this.getlistData();
}, handlestandSizeChange: function(e2) {
this.standQuery.pageSize = e2, this.standQuery.pageNumber = 1, this.isQuery = 2, this.getStandlistData();
}, handlestandCurrentChange: function(e2) {
this.standQuery.pageNumber = e2, this.isQuery = 2, this.getStandlistData();
}, resetstandDialog: function() {
this.$refs.multipleTable && this.$refs.multipleTable.clearSelection(), this.submitloading = false, this.standDialogVisible = false;
}, handleSelectionChange: function(e2) {
this.multipleSelection = e2;
}, headClass: function() {
return "text-align:center;background:#FAFAFA;";
}, formatImg: function(e2) {
if (e2) return e2.split(",");
}, viewPlanDetailes: function(e2) {
var t2 = this;
e2.opentype = "view", this.viewCard = false, this.viewPlan = true, this.$nextTick((function() {
t2.$refs.planOrder.titleInfoLst(e2);
}));
}, showCardInfor: function() {
this.viewCard = true, this.viewPlan = false;
}, showStandList: function() {
this.viewCard = true, this.viewPlan = false, this.showSee = false, this.showAdd = false, this.showEdit = false, this.query.pageNumber = 1, this.isQuery = 1, this.getlistData(), this.getPlanList();
}, goBack: function() {
this.$emit("closeBack");
}, culRiskLevel: function(e2) {
return e2 && e2.possibility && e2.seriousness ? Object(m["c"])(e2.possibility, e2.seriousness) : "-";
} } }, v = h, y = (a("a383"), a("829d")), g = Object(y["a"])(v, r, n, false, null, "26a5114e", null);
t["a"] = g.exports;
}, ad0e: function(e, t, a) {
}, adec: function(e, t, a) {
}, b31a: function(e, t, a) {
}, bcca: function(e, t, a) {
}, c6e4: function(e, t, a) {
"use strict";
var r = function() {
var e2 = this, t2 = e2.$createElement, r2 = e2._self._c || t2;
return r2("div", [r2("div", { staticClass: "waitMain" }, [r2("div", { staticClass: "waitInfo" }, [r2("img", { attrs: { src: a("9af8"), alt: "" } }), e2._v(" "), r2("h4", [e2._v(e2._s(e2.txt))])])])]);
}, n = [], o = { props: { txt: { typeof: String, default: "敬请期待..." } }, data: function() {
return {};
}, mounted: function() {
}, methods: {} }, i = o, s = (a("1b1c"), a("829d")), l = Object(s["a"])(i, r, n, false, null, "58a3a3f0", null);
t["a"] = l.exports;
}, cc57: function(e, t, a) {
"use strict";
var r = function() {
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
return a2("div", [[a2("el-upload", { staticClass: "upload-demo", attrs: { action: "", "http-request": e2.handleUpload, disabled: e2.disabled, "on-preview": e2.handlePreview, "on-remove": e2.handleRemove, "on-success": e2.handleSuccess, "before-remove": e2.beforeRemove, "show-file-list": e2.isShowFileList, accept: e2.accept, multiple: e2.multiple, limit: e2.limit, "on-exceed": e2.handleExceed, "file-list": e2.fileList, "list-type": e2.listType } }, ["picture-card" !== e2.listType ? [a2("el-button", { attrs: { size: "small", type: "primary" } }, [e2._v("点击上传")]), e2._v(" "), e2.disabled ? e2._e() : a2("div", { staticClass: "el-upload__tip", attrs: { slot: "tip" }, slot: "tip" }, [e2._v("\n 只能上传" + e2._s(e2.seeTrans[e2.uploadType]) + "文件,且不超过" + e2._s(e2.fileSizeLimit) + "MB\n ")])] : [!e2.isShowFileList && e2.fileList.length > 0 ? a2("img", { staticClass: "avatar", attrs: { src: e2.fileList[0].url } }) : a2("i", { staticClass: "el-icon-picture-outline avatar-uploader-icon" }), e2._v(" "), e2.disabled ? e2._e() : a2("div", { staticClass: "el-upload__tip", attrs: { slot: "tip" }, slot: "tip" }, [e2._v("\n 只能上传" + e2._s(e2.seeTrans[e2.uploadType]) + "文件,且不超过" + e2._s(e2.fileSizeLimit) + "MB\n ")])]], 2), e2._v(" "), a2("el-dialog", { attrs: { visible: e2.dialogVisible }, on: { "update:visible": function(t3) {
e2.dialogVisible = t3;
} } }, [a2("img", { attrs: { width: "100%", src: e2.dialogImageUrl, alt: "" } })])]], 2);
}, n = [], o = a("b562"), i = a("6b3c");
function s() {
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
var e2, t2, a2 = "function" == typeof Symbol ? Symbol : {}, r2 = a2.iterator || "@@iterator", n2 = a2.toStringTag || "@@toStringTag";
function o2(a3, r3, n3, o3) {
var s2 = r3 && r3.prototype instanceof c2 ? r3 : c2, u3 = Object.create(s2.prototype);
return l(u3, "_invoke", (function(a4, r4, n4) {
var o4, s3, l2, c3 = 0, u4 = n4 || [], d3 = false, p3 = { p: 0, n: 0, v: e2, a: m3, f: m3.bind(e2, 4), d: function(t3, a5) {
return o4 = t3, s3 = 0, l2 = e2, p3.n = a5, i2;
} };
function m3(a5, r5) {
for (s3 = a5, l2 = r5, t2 = 0; !d3 && c3 && !n5 && t2 < u4.length; t2++) {
var n5, o5 = u4[t2], m4 = p3.p, f3 = o5[2];
a5 > 3 ? (n5 = f3 === r5) && (l2 = o5[(s3 = o5[4]) ? 5 : (s3 = 3, 3)], o5[4] = o5[5] = e2) : o5[0] <= m4 && ((n5 = a5 < 2 && m4 < o5[1]) ? (s3 = 0, p3.v = r5, p3.n = o5[1]) : m4 < f3 && (n5 = a5 < 3 || o5[0] > r5 || r5 > f3) && (o5[4] = a5, o5[5] = r5, p3.n = f3, s3 = 0));
}
if (n5 || a5 > 1) return i2;
throw d3 = true, r5;
}
return function(n5, u5, f3) {
if (c3 > 1) throw TypeError("Generator is already running");
for (d3 && 1 === u5 && m3(u5, f3), s3 = u5, l2 = f3; (t2 = s3 < 2 ? e2 : l2) || !d3; ) {
o4 || (s3 ? s3 < 3 ? (s3 > 1 && (p3.n = -1), m3(s3, l2)) : p3.n = l2 : p3.v = l2);
try {
if (c3 = 2, o4) {
if (s3 || (n5 = "next"), t2 = o4[n5]) {
if (!(t2 = t2.call(o4, l2))) throw TypeError("iterator result is not an object");
if (!t2.done) return t2;
l2 = t2.value, s3 < 2 && (s3 = 0);
} else 1 === s3 && (t2 = o4.return) && t2.call(o4), s3 < 2 && (l2 = TypeError("The iterator does not provide a '" + n5 + "' method"), s3 = 1);
o4 = e2;
} else if ((t2 = (d3 = p3.n < 0) ? l2 : a4.call(r4, p3)) !== i2) break;
} catch (t3) {
o4 = e2, s3 = 1, l2 = t3;
} finally {
c3 = 1;
}
}
return { value: t2, done: d3 };
};
})(a3, n3, o3), true), u3;
}
var i2 = {};
function c2() {
}
function u2() {
}
function d2() {
}
t2 = Object.getPrototypeOf;
var p2 = [][r2] ? t2(t2([][r2]())) : (l(t2 = {}, r2, (function() {
return this;
})), t2), m2 = d2.prototype = c2.prototype = Object.create(p2);
function f2(e3) {
return Object.setPrototypeOf ? Object.setPrototypeOf(e3, d2) : (e3.__proto__ = d2, l(e3, n2, "GeneratorFunction")), e3.prototype = Object.create(m2), e3;
}
return u2.prototype = d2, l(m2, "constructor", d2), l(d2, "constructor", u2), u2.displayName = "GeneratorFunction", l(d2, n2, "GeneratorFunction"), l(m2), l(m2, n2, "Generator"), l(m2, r2, (function() {
return this;
})), l(m2, "toString", (function() {
return "[object Generator]";
})), (s = function() {
return { w: o2, m: f2 };
})();
}
function l(e2, t2, a2, r2) {
var n2 = Object.defineProperty;
try {
n2({}, "", {});
} catch (e3) {
n2 = 0;
}
l = function(e3, t3, a3, r3) {
function o2(t4, a4) {
l(e3, t4, (function(e4) {
return this._invoke(t4, a4, e4);
}));
}
t3 ? n2 ? n2(e3, t3, { value: a3, enumerable: !r3, configurable: !r3, writable: !r3 }) : e3[t3] = a3 : (o2("next", 0), o2("throw", 1), o2("return", 2));
}, l(e2, t2, a2, r2);
}
function c(e2, t2, a2, r2, n2, o2, i2) {
try {
var s2 = e2[o2](i2), l2 = s2.value;
} catch (e3) {
return void a2(e3);
}
s2.done ? t2(l2) : Promise.resolve(l2).then(r2, n2);
}
function u(e2) {
return function() {
var t2 = this, a2 = arguments;
return new Promise((function(r2, n2) {
var o2 = e2.apply(t2, a2);
function i2(e3) {
c(o2, r2, n2, i2, s2, "next", e3);
}
function s2(e3) {
c(o2, r2, n2, i2, s2, "throw", e3);
}
i2(void 0);
}));
};
}
var d = { name: "Upload", props: { value: String, tip: { type: String, default: "上传大小不能超过80M" }, limit: { type: Number, default: 1 }, action: { type: String, default: "" }, headers: { type: Object, default: function() {
} }, name: { type: String, default: "" }, listType: { type: String, default: "picture" }, fileSizeLimit: { type: Number, default: 1 }, accept: { type: String, default: "image/jpeg,image/png,image/JPG,image/jpg,image/PNG" }, uploadType: { type: String, default: function() {
return "images";
} }, multiple: { type: Boolean, default: false }, isShowFileList: { type: Boolean, default: false }, disabled: { type: Boolean, default: false }, imgStore: { type: String }, isChangeFileName: { type: Boolean, default: true } }, data: function() {
return { fileList: [], uploadTypeTrans: { images: { accept: "image/jpeg,image/png,image/JPG,image/jpg,image/PNG" }, music: { accept: "audio/mp3,video/mp4" }, doc: { accept: "text/plain,application/msword,application/excel,application/vnd.ms-excel,application/vnd.openxmlformats-officedocument.wordprocessingml.document" }, pdf: { accept: "application/pdf" } }, seeTrans: { music: "歌曲", images: "图片", doc: "文档", xlsx: "execl文件", pdf: "pdf文档" }, dialogVisible: false, dialogImageUrl: "" };
}, computed: { imageUrl: function() {
return this.value;
}, imageName: function() {
return null != this.value && "" !== this.value && void 0 != this.value ? this.value.substr(this.value.lastIndexOf("/") + 1) : null;
}, showFileList: { get: function() {
return null !== this.value && "" !== this.value && void 0 !== this.value;
}, set: function(e2) {
} } }, mounted: function() {
this.uploadType && this.uploadTypeTrans[this.uploadType].accept && (this.accept = this.uploadTypeTrans[this.uploadType].accept);
}, methods: { emitInput: function(e2) {
this.$emit("input", e2);
}, handleRemove: function(e2, t2) {
this.emitInput("");
}, handlePreview: function(e2) {
this.dialogImageUrl = e2.url, this.dialogVisible = true;
}, handleExceed: function(e2, t2) {
console.log("fileList", t2), this.$message.warning("每次只能上传 ".concat(this.limit, " 个文件"));
}, beforeRemove: function(e2, t2) {
return this.$confirm("确定移除 ".concat(e2.name, ""));
}, beforeAvatarUpload: function(e2) {
var t2 = e2.type === this.accept, a2 = e2.size / 1024 / 1024 < this.fileSizeLimit;
return t2 ? a2 ? void 0 : (this.$message.error("上传图片大小不能超过" + this.fileSizeLimit + "MB!"), false) : (this.$message.error("上传图片只能是 JPG 格式!"), false);
}, handleSuccess: function(e2, t2, a2) {
this.fileList = a2, this.$emit("on-success", t2, a2);
}, add0: function(e2) {
return e2 < 10 ? "0" + e2 : e2;
}, getYearMonthDay: function() {
var e2 = /* @__PURE__ */ new Date(), t2 = e2.getFullYear(), a2 = e2.getMonth() + 1, r2 = e2.getDate();
return "" + t2 + this.add0(a2) + this.add0(r2);
}, handleUpload: (function() {
var e2 = u(s().m((function e3(t3) {
var a2, r2, n2, l2, c2, u2, d2;
return s().w((function(e4) {
while (1) switch (e4.p = e4.n) {
case 0:
if (a2 = t3.file, r2 = a2.size / 1024 / 1024 < this.fileSizeLimit, r2) {
e4.n = 1;
break;
}
return this.$message.error("上传文件大小不能超过 ".concat(this.fileSizeLimit, "MB!")), e4.a(2, false);
case 1:
return "", this.isChangeFileName ? (n2 = Object(i["b"])(a2.name), Object(i["a"])() + n2) : a2.name, l2 = new FormData(), l2.append("file", a2), e4.p = 2, this.$emit("loading", true), e4.n = 3, Object(o["b"])(l2);
case 3:
c2 = e4.v, c2 && 0 === c2.data.code && c2.data.data.fullUrl ? (u2 = c2.data.data.fullUrl, this.fileList.splice(0, this.fileList.length), this.fileList.push({ name: a2.name, url: u2 }), this.emitInput(u2), this.$emit("on-success", a2, this.fileList), this.$message.success("上传成功")) : this.$message.error("上传失败,请重试"), e4.n = 5;
break;
case 4:
e4.p = 4, d2 = e4.v, this.$message.error("上传异常:" + (d2.message || "未知错误"));
case 5:
return e4.p = 5, this.$emit("loading", false), e4.f(5);
case 6:
return e4.a(2);
}
}), e3, this, [[2, 4, 5, 6]]);
})));
function t2(t3) {
return e2.apply(this, arguments);
}
return t2;
})() } }, p = d, m = (a("435a"), a("829d")), f = Object(m["a"])(p, r, n, false, null, "756bdf5f", null);
t["a"] = f.exports;
}, ce79: function(e, t, a) {
}, d68f: function(e, t, a) {
"use strict";
var r = function() {
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
return a2("div", { staticClass: "qualityStimate" }, [a2("div", { staticClass: "workOrderTitle" }, [e2._v("质量评估\n "), a2("el-tooltip", { attrs: { placement: "top" } }, [2 === e2.dataInfo.planType ? a2("div", { attrs: { slot: "content" }, slot: "content" }, [e2._v("\n 评估规则:\n "), a2("br"), e2._v("正常4-5星 且 无超时\n "), a2("br"), e2._v("警告3星 或 受理超时\n "), a2("br"), e2._v("黄牌2星 或 处理超时\n "), a2("br"), e2._v(" 红牌1星 或 (受理超时+处理超时)\n ")]) : e2._e(), e2._v(" "), 1 === e2.dataInfo.planType ? a2("div", { attrs: { slot: "content" }, slot: "content" }, [e2._v("\n 评估规则:\n "), a2("br"), e2._v("警告3星 或 受理超时\n "), a2("br"), e2._v("黄牌2星 或 处理超时\n "), a2("br"), e2._v("红牌1星 或 (受理超时+处理超时)\n "), a2("br"), e2._v("超时转单: 工单存在超时后进行转单,红黄牌结算计入转单人名下\n "), a2("br"), e2._v("未超时转单:如转单对象接受,工单红黄牌与转单人无关\n ")]) : e2._e(), e2._v(" "), a2("span", { staticClass: "el-icon-info" })])], 1), e2._v(" "), a2("div", { staticClass: "tab-title" }), e2._v(" "), a2("div", { staticClass: "orderInfos data" }, [a2("el-row", { staticStyle: { margin: "25px 0px" } }, [a2("el-col", { staticClass: "fontLin", attrs: { span: 4 } }, [e2._v(e2._s(e2.dataInfo.memberName))]), e2._v(" "), a2("el-col", { staticClass: "lfteStes", attrs: { span: 4 } }, [3 !== e2.dataInfo.accept ? a2("span", { staticClass: "circular2" }, [e2._v("受理")]) : e2._e(), e2._v(" "), 3 == e2.dataInfo.accept ? a2("span", { staticClass: "circular6" }, [e2._v("受理")]) : e2._e(), e2._v(" "), a2("br"), 3 !== e2.dataInfo.accept ? a2("span", { staticClass: "alignment" }, [e2._v("未超时")]) : e2._e(), e2._v(" "), a2("br"), 3 == e2.dataInfo.accept ? a2("span", { staticClass: "alignment2" }, [e2._v("超时")]) : e2._e()]), e2._v(" "), a2("el-col", { staticClass: "sytsFont el-icon-plus", attrs: { span: 4 } }), e2._v(" "), a2("el-col", { attrs: { span: 4 } }, [3 !== e2.dataInfo.handle ? a2("span", { staticClass: "circular2" }, [e2._v("处理")]) : e2._e(), e2._v(" "), 3 == e2.dataInfo.handle ? a2("span", { staticClass: "circular6" }, [e2._v("处理")]) : e2._e(), e2._v(" "), a2("br"), 3 !== e2.dataInfo.handle ? a2("span", { staticClass: "alignment" }, [e2._v("未超时")]) : e2._e(), e2._v(" "), a2("br"), 3 == e2.dataInfo.handle ? a2("span", { staticClass: "alignment2" }, [e2._v("超时")]) : e2._e()]), e2._v(" "), a2("el-col", { staticClass: "sytsFont el-icon-plus", attrs: { span: 4 } }), e2._v(" "), a2("el-col", { attrs: { span: 4 } }, [a2("span", { staticClass: "circular2" }, [e2._v("评价")]), e2._v(" "), a2("br"), a2("span", { staticClass: "alignment", staticStyle: { "padding-left": "3px" } }, [e2._v(e2._s(e2.dataInfo.evaluationStar) + "星")])]), e2._v(" "), a2("el-col", { staticClass: "sytsFont", attrs: { span: 4 } }, [e2._v("=")]), e2._v(" "), a2("el-col", { attrs: { span: 4 } }, [e2.dataInfo.warnType ? e2._e() : a2("span", { staticClass: "greenCircle" }, [e2._v("绿牌")]), e2._v(" "), 1 == e2.dataInfo.warnType ? a2("span", { staticClass: "yellowCir" }, [e2._v("警告")]) : e2._e(), e2._v(" "), 2 == e2.dataInfo.warnType ? a2("span", { staticClass: "yellowCir" }, [e2._v("黄牌")]) : e2._e(), e2._v(" "), 3 == e2.dataInfo.warnType ? a2("span", { staticClass: "redCircle" }, [e2._v("红牌")]) : e2._e()])], 1)], 1)]);
}, n = [], o = { props: { dataInfo: { type: Object, default: function() {
return {};
} } }, data: function() {
return {};
}, methods: {} }, i = o, s = (a("f10c"), a("829d")), l = Object(s["a"])(i, r, n, false, null, "7a9cbc75", null);
t["a"] = l.exports;
}, e058: function(e, t, a) {
"use strict";
var r = function() {
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
return a2("div", { staticClass: "flowm-card", class: e2.shadow ? "is-" + e2.shadow + "-shadow" : "is-always-shadow" }, [e2.$slots.header || e2.header ? a2("div", { staticClass: "flowm-card__header" }, [e2._t("header", [e2._v(e2._s(e2.header))])], 2) : e2._e(), e2._v(" "), a2("div", { staticClass: "flowm-card__body", style: e2.bodyStyle }, [e2._t("default")], 2), e2._v(" "), e2.$slots.footer || e2.footer ? a2("div", { staticClass: "flowm-card__footer", style: e2.footerStyle }, [e2._t("footer", [e2._v(e2._s(e2.footer))])], 2) : e2._e()]);
}, n = [], o = { name: "ElCard", props: { header: {}, bodyStyle: {}, footerStyle: {}, footer: {}, shadow: { type: String } } }, i = o, s = a("829d"), l = Object(s["a"])(i, r, n, false, null, null, null), c = l.exports;
c.install = function(e2) {
e2.component(c.name, c);
};
t["a"] = c;
}, e0c6: function(e, t, a) {
"use strict";
a("ad0e");
}, e27f: function(e, t, a) {
"use strict";
a("adec");
}, e3bf: function(e, t, a) {
"use strict";
a("10a0");
}, e3db: function(e, t, a) {
"use strict";
a("8ce9");
}, e4b2: function(e, t, a) {
}, e6d7: function(e, t, a) {
"use strict";
a("5138");
}, ebfc: function(e, t, a) {
"use strict";
a("8417");
}, ed13: function(e, t, a) {
}, f10c: function(e, t, a) {
"use strict";
a("7a71");
}, f139: function(e, t, a) {
"use strict";
var r = function() {
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
return a2("div", [a2("div", { staticClass: "workOrderTitle" }, [e2._v(" " + e2._s(e2.title) + " ")]), e2._v(" "), a2("div", { staticClass: "tab-title" })]);
}, n = [], o = { props: ["title"] }, i = o, s = (a("9569"), a("829d")), l = Object(s["a"])(i, r, n, false, null, "556f6351", null);
t["a"] = l.exports;
}, f288: function(e, t, a) {
} }]);