|
@@ -240,6 +240,14 @@
|
|
|
<el-form-item label="划分编号">
|
|
|
<el-input v-model="formEditNodeModel.partitionCode" placeholder="请输入划分编号"/>
|
|
|
</el-form-item>
|
|
|
+ <!-- <el-form-item label="模板位置">
|
|
|
+ <el-input v-model="formEditNodeModel.position" id="copyText">
|
|
|
+ <template #append>
|
|
|
+ <el-button :icon="DocumentCopy" @click="copyText"/>
|
|
|
+ </template>
|
|
|
+
|
|
|
+ </el-input>
|
|
|
+ </el-form-item> -->
|
|
|
</el-form>
|
|
|
</HcDialog>
|
|
|
|
|
@@ -351,6 +359,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script setup>
|
|
|
+import { DocumentCopy } from '@element-plus/icons-vue'
|
|
|
import {ref,watch,onMounted} from "vue";
|
|
|
import {useRouter, useRoute} from 'vue-router'
|
|
|
import {useAppStore} from "~src/store";
|
|
@@ -680,7 +689,13 @@ const setTreeMenuDataClick = ({key,node,data}) => {
|
|
|
}
|
|
|
|
|
|
|
|
|
-
|
|
|
+//复制节点位置
|
|
|
+const copyText=()=> {
|
|
|
+ let copyCon = document.getElementById("copyText");
|
|
|
+ copyCon.select(); // 选中文本
|
|
|
+ document.execCommand("copy"); // 执行浏览器复制命令
|
|
|
+ window.$message?.success("复制成功!");
|
|
|
+}
|
|
|
//上传前
|
|
|
const loadingReactive = ref(null)
|
|
|
const beforeUpload = () => {
|