@ailaw/venus 0.3.8 → 0.3.9
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 -10
- package/package.json +1 -1
package/dist/venus.es.js
CHANGED
|
@@ -2351,13 +2351,21 @@ var useTaskActions = (addedTasks, emit) => {
|
|
|
2351
2351
|
removeTask
|
|
2352
2352
|
};
|
|
2353
2353
|
};
|
|
2354
|
+
var useSearchTaskConditions = () => ref$1({
|
|
2355
|
+
keywords: "",
|
|
2356
|
+
isEmployee: [
|
|
2357
|
+
AssigneeTypes.ATTORNEY,
|
|
2358
|
+
AssigneeTypes.PETITIONER,
|
|
2359
|
+
AssigneeTypes.BENEFICIARY
|
|
2360
|
+
]
|
|
2361
|
+
});
|
|
2354
2362
|
var useTaskTemplateTableData = (props, emit) => {
|
|
2355
2363
|
const initialPagination = ref$1({
|
|
2356
2364
|
current: 1,
|
|
2357
2365
|
pageSize: 6,
|
|
2358
2366
|
total: 0
|
|
2359
2367
|
});
|
|
2360
|
-
const { conditions, addedTasks = ref$1([]) } = toRefs$1(props);
|
|
2368
|
+
const { conditions = useSearchTaskConditions(), addedTasks = ref$1([]) } = toRefs$1(props);
|
|
2361
2369
|
const { result, loading, refetch } = useSearchTaskTemplates(initialPagination, conditions, props.lawFirmId);
|
|
2362
2370
|
const dataSource = computed(() => {
|
|
2363
2371
|
var _a2;
|
|
@@ -2449,14 +2457,6 @@ function __vue2_injectStyles$4(context) {
|
|
|
2449
2457
|
var TaskTable = /* @__PURE__ */ function() {
|
|
2450
2458
|
return __component__$4.exports;
|
|
2451
2459
|
}();
|
|
2452
|
-
var useSearchTaskConditions = () => ref$1({
|
|
2453
|
-
keywords: "",
|
|
2454
|
-
isEmployee: [
|
|
2455
|
-
AssigneeTypes.ATTORNEY,
|
|
2456
|
-
AssigneeTypes.PETITIONER,
|
|
2457
|
-
AssigneeTypes.BENEFICIARY
|
|
2458
|
-
]
|
|
2459
|
-
});
|
|
2460
2460
|
var __vue2_script$3 = defineComponent({
|
|
2461
2461
|
name: "MainModal",
|
|
2462
2462
|
components: {
|
|
@@ -6485,4 +6485,4 @@ function __vue2_injectStyles(context) {
|
|
|
6485
6485
|
var index = /* @__PURE__ */ function() {
|
|
6486
6486
|
return __component__.exports;
|
|
6487
6487
|
}();
|
|
6488
|
-
export { AssigneeTag, NewTask, index$3 as ProfileSelect, TagsWithTooltip, index$1 as TaskCart, TaskForm, TaskTable, TaskTemplateFilter, index as TestComponent, index$2 as forms, getLanguageMessage, refactorParams as refactorTaskTemplateParams, useSearchTaskConditions, useSearchTaskTemplates
|
|
6488
|
+
export { AssigneeTag, NewTask, index$3 as ProfileSelect, TagsWithTooltip, index$1 as TaskCart, TaskForm, TaskTable, TaskTemplateFilter, index as TestComponent, index$2 as forms, getLanguageMessage, refactorParams as refactorTaskTemplateParams, useCreateTaskTemplate, useMutateTaskTemplate, useSearchTaskConditions, useSearchTaskTemplates };
|