|
@@ -89,7 +89,7 @@ const deleteTep = async (id) => {
|
|
const onSelected = async () => {
|
|
const onSelected = async () => {
|
|
const { data, code } = await add({
|
|
const { data, code } = await add({
|
|
baseFormIds: value1.value,
|
|
baseFormIds: value1.value,
|
|
- operationId: route.fullPath.split("/")[6],
|
|
|
|
|
|
+ operationId: route.fullPath.split("/")[4],
|
|
});
|
|
});
|
|
if (code == "200") {
|
|
if (code == "200") {
|
|
ElMessage.success("添加成功!");
|
|
ElMessage.success("添加成功!");
|
|
@@ -116,7 +116,7 @@ const { form, data, option, search, page, toDeleteIds, Methords, Utils } =
|
|
// value1.value.push(el.id);
|
|
// value1.value.push(el.id);
|
|
// });
|
|
// });
|
|
// };
|
|
// };
|
|
-search.value = { ...search.value, operationId: route.fullPath.split("/")[6] };
|
|
|
|
|
|
+search.value = { ...search.value, operationId: route.fullPath.split("/")[4] };
|
|
const { dataList, createRow, updateRow, deleteRow, searchChange, resetChange } =
|
|
const { dataList, createRow, updateRow, deleteRow, searchChange, resetChange } =
|
|
Methords; //增删改查
|
|
Methords; //增删改查
|
|
const { selectionChange, multipleDelete } = Methords; //选中和批量删除事件
|
|
const { selectionChange, multipleDelete } = Methords; //选中和批量删除事件
|