|
@@ -125,9 +125,11 @@
|
|
|
hc-btn
|
|
|
type="primary"
|
|
|
:disabled="infoTableData.length <= 0"
|
|
|
+ @click="editRowClick(row)"
|
|
|
>编辑</el-button
|
|
|
>
|
|
|
<el-button
|
|
|
+ @click="sortClick"
|
|
|
hc-btn
|
|
|
type="success"
|
|
|
:disabled="infoTableData.length <= 0"
|
|
@@ -378,6 +380,22 @@
|
|
|
></independentPage>
|
|
|
<!-- 归档文件时间 -->
|
|
|
<archiveTime v-model="isArchiveShow"></archiveTime>
|
|
|
+
|
|
|
+ <!-- 编辑元素表信息 -->
|
|
|
+ <editElePage
|
|
|
+ v-model="editEleShow"
|
|
|
+ @close="editClose"
|
|
|
+ :tableTypelist="tableTypelist"
|
|
|
+ :ownerTypeList="ownerTypeList"
|
|
|
+ :tab="infoTableData"
|
|
|
+ ></editElePage>
|
|
|
+ <!-- 表单调整排序 -->
|
|
|
+ <tableSort
|
|
|
+ v-model="tableSortShow"
|
|
|
+ @close="tableSortShowClose"
|
|
|
+ :tab="infoTableData"
|
|
|
+ >
|
|
|
+ </tableSort>
|
|
|
</hc-drawer>
|
|
|
</template>
|
|
|
|
|
@@ -398,6 +416,8 @@ import mainApi from "~api/wbs/private";
|
|
|
import nodeParamDialog from "../../desk/wbs/node-param-dialog.vue";
|
|
|
import independentPage from "./independent/index.vue";
|
|
|
import archiveTime from "./archiveTime.vue";
|
|
|
+import editElePage from "../../desk/wbs/edit-ele.vue";
|
|
|
+import tableSort from "../../desk/wbs/table-sort.vue";
|
|
|
|
|
|
const props = defineProps({
|
|
|
type: {
|
|
@@ -1097,6 +1117,24 @@ const isArchiveShow = ref(false);
|
|
|
const archiveClick = () => {
|
|
|
isArchiveShow.value = true;
|
|
|
};
|
|
|
+//编辑元素表单
|
|
|
+const editEleShow = ref(false);
|
|
|
+const editClose = () => {
|
|
|
+ editEleShow.value = false;
|
|
|
+};
|
|
|
+const editRowClick = (row) => {
|
|
|
+ editEleShow.value = true;
|
|
|
+};
|
|
|
+
|
|
|
+// 元素表排序
|
|
|
+const tableSortShow = ref(false);
|
|
|
+const sortClick = () => {
|
|
|
+ tableSortShow.value = true;
|
|
|
+};
|
|
|
+const tableSortShowClose = () => {
|
|
|
+ tableSortShow.value = false;
|
|
|
+ getInfoTableData();
|
|
|
+};
|
|
|
</script>
|
|
|
|
|
|
<style scoped lang="scss">
|