@ailaw/venus 1.263.0 → 1.265.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/venus.es.js +10 -7
- package/package.json +1 -1
package/dist/venus.es.js
CHANGED
|
@@ -2088,10 +2088,10 @@ var __vue2_script$8 = defineComponent({
|
|
|
2088
2088
|
return true;
|
|
2089
2089
|
});
|
|
2090
2090
|
watch(() => shouldShowBelongsTo.value, (shouldShow) => {
|
|
2091
|
-
if (!shouldShow) {
|
|
2092
|
-
changeVal("taskSmartType",
|
|
2091
|
+
if (shouldShow && !props.value.taskSmartType || !shouldShow) {
|
|
2092
|
+
changeVal("taskSmartType", BELONGS_TO.None);
|
|
2093
2093
|
}
|
|
2094
|
-
});
|
|
2094
|
+
}, { immediate: true });
|
|
2095
2095
|
return {
|
|
2096
2096
|
typeError,
|
|
2097
2097
|
nameError,
|
|
@@ -2125,11 +2125,13 @@ var render$8 = function() {
|
|
|
2125
2125
|
return _vm.changeVal("assigneeTypeList", $event);
|
|
2126
2126
|
} }, model: { value: _vm.value.assigneeTypeList, callback: function($$v) {
|
|
2127
2127
|
_vm.$set(_vm.value, "assigneeTypeList", $$v);
|
|
2128
|
-
}, expression: "value.assigneeTypeList" } }, [_c("a-checkbox", { attrs: { "value": 1, "disabled": _vm.value.isEmployee === "BENEFICIARY" } }, [_vm._v(_vm._s(_vm.$t("message.Beneficiary")))]), _c("a-checkbox", { attrs: { "value": 2, "disabled": _vm.value.isEmployee === "PETITIONER" } }, [_vm._v(_vm._s(_vm.$t("message.petitioner")))])], 1)], 1)], 1) : _vm._e(), _c("ant-row", { attrs: { "gutter": 40 } }, [_c("ant-col", { attrs: { "span": 12 } }, [_c("ant-form-item", { attrs: { "required": "", "label": _vm.$t("message.type"), "help": _vm.typeError ? _vm.$t("message.required") : void 0, "validate-status": _vm.typeError ? "error" : void 0 } }, [_vm.value.generalTaskType !== _vm.TaskTypes.worksheet ? _c("ant-radio-group", { attrs: { "disabled": _vm.value.presetDocs != null || _vm.disabled, "value": _vm.value.generalTaskType }, on: { "change": function($event) {
|
|
2128
|
+
}, expression: "value.assigneeTypeList" } }, [_c("a-checkbox", { attrs: { "value": 1, "disabled": _vm.value.isEmployee === "BENEFICIARY" } }, [_vm._v(_vm._s(_vm.$t("message.Beneficiary")) + " ")]), _c("a-checkbox", { attrs: { "value": 2, "disabled": _vm.value.isEmployee === "PETITIONER" } }, [_vm._v(_vm._s(_vm.$t("message.petitioner")) + " ")])], 1)], 1)], 1) : _vm._e(), _c("ant-row", { attrs: { "gutter": 40 } }, [_c("ant-col", { attrs: { "span": 12 } }, [_c("ant-form-item", { attrs: { "required": "", "label": _vm.$t("message.type"), "help": _vm.typeError ? _vm.$t("message.required") : void 0, "validate-status": _vm.typeError ? "error" : void 0 } }, [_vm.value.generalTaskType !== _vm.TaskTypes.worksheet ? _c("ant-radio-group", { attrs: { "disabled": _vm.value.presetDocs != null || _vm.disabled, "value": _vm.value.generalTaskType }, on: { "change": function($event) {
|
|
2129
2129
|
return _vm.changeVal("generalTaskType", $event.target.value);
|
|
2130
2130
|
} } }, [_c("ant-radio", { attrs: { "value": _vm.TaskTypes.clientUpload } }, [_vm._v(" " + _vm._s(_vm.$t("message.clientUpload")) + " ")]), _c("ant-radio", { attrs: { "value": _vm.TaskTypes.clientReview, "disabled": _vm.isAttorneySelected } }, [_vm._v(" " + _vm._s(_vm.$t("message.clientReview")) + " ")])], 1) : _c("div", [_vm._v(_vm._s(_vm.$t("message.worksheet")))])], 1)], 1), _vm.shouldShowBelongsTo ? _c("ant-col", { attrs: { "span": 12 } }, [_c("ant-form-item", { scopedSlots: _vm._u([{ key: "label", fn: function() {
|
|
2131
2131
|
return [_vm._v(" " + _vm._s(_vm.$t("message.belongsTo")) + " "), _c("ant-popover", { attrs: { "content": _vm.$t("message.toReuseThisDoc") } }, [_c("ant-icon", { staticClass: "pt-3.5 text-classic cursor-pointer", attrs: { "type": "question-circle" } })], 1)];
|
|
2132
|
-
}, proxy: true }], null, false, 4216407690) }, [_c("ant-select", {
|
|
2132
|
+
}, proxy: true }], null, false, 4216407690) }, [_c("ant-select", { on: { "change": function($event) {
|
|
2133
|
+
return _vm.changeVal("taskSmartType", $event);
|
|
2134
|
+
} }, model: { value: _vm.value.taskSmartType, callback: function($$v) {
|
|
2133
2135
|
_vm.$set(_vm.value, "taskSmartType", $$v);
|
|
2134
2136
|
}, expression: "value.taskSmartType" } }, _vm._l(_vm.belongsTo, function(item) {
|
|
2135
2137
|
return _c("ant-select-option", { key: item[0], attrs: { "value": item[1] } }, [_vm._v(" " + _vm._s(item[0]) + " ")]);
|
|
@@ -2146,7 +2148,7 @@ var render$8 = function() {
|
|
|
2146
2148
|
var staticRenderFns$8 = [];
|
|
2147
2149
|
var index_vue_vue_type_style_index_0_scoped_true_lang$3 = "";
|
|
2148
2150
|
const __cssModules$8 = {};
|
|
2149
|
-
var __component__$8 = /* @__PURE__ */ normalizeComponent(__vue2_script$8, render$8, staticRenderFns$8, false, __vue2_injectStyles$8, "
|
|
2151
|
+
var __component__$8 = /* @__PURE__ */ normalizeComponent(__vue2_script$8, render$8, staticRenderFns$8, false, __vue2_injectStyles$8, "0b1cbb47", null, null);
|
|
2150
2152
|
function __vue2_injectStyles$8(context) {
|
|
2151
2153
|
for (let o in __cssModules$8) {
|
|
2152
2154
|
this[o] = __cssModules$8[o];
|
|
@@ -2239,6 +2241,7 @@ var __vue2_script$7 = defineComponent({
|
|
|
2239
2241
|
});
|
|
2240
2242
|
};
|
|
2241
2243
|
const updateFormValue = (record) => {
|
|
2244
|
+
console.log(record);
|
|
2242
2245
|
const data = {
|
|
2243
2246
|
taskTemplateId: record.id,
|
|
2244
2247
|
selfUserId: props.userId,
|
|
@@ -2286,7 +2289,7 @@ var render$7 = function() {
|
|
|
2286
2289
|
var staticRenderFns$7 = [];
|
|
2287
2290
|
var index_vue_vue_type_style_index_0_scoped_true_lang$2 = "";
|
|
2288
2291
|
const __cssModules$7 = {};
|
|
2289
|
-
var __component__$7 = /* @__PURE__ */ normalizeComponent(__vue2_script$7, render$7, staticRenderFns$7, false, __vue2_injectStyles$7, "
|
|
2292
|
+
var __component__$7 = /* @__PURE__ */ normalizeComponent(__vue2_script$7, render$7, staticRenderFns$7, false, __vue2_injectStyles$7, "76e42884", null, null);
|
|
2290
2293
|
function __vue2_injectStyles$7(context) {
|
|
2291
2294
|
for (let o in __cssModules$7) {
|
|
2292
2295
|
this[o] = __cssModules$7[o];
|