Commit 244f9769 authored by Wallen姚文辉's avatar Wallen姚文辉

造单

parent ebb7676d
......@@ -14,6 +14,7 @@ import TestReport from '@/views/tool/TestReport';
import ReportLsit from '@/views/tool/ReportLsit';
import AduitReportList from '@/views/tool/AduitReportList';
import TestCase from '@/views/autotest/TestCase.vue';
import CreateOrder from '@/views/tool/CreateOrder.vue';
import Echarts from "vue-echarts";
import 'echarts';
import ViewUIPlus from 'view-ui-plus';
......@@ -85,6 +86,10 @@ const routers = [
path: 'testcase',
name: 'testcase',
component: TestCase
},{
path:'createorder',
name:'createorder',
component: CreateOrder
}
]
......
......@@ -15,17 +15,30 @@
</template>
<script setup>
import { copy } from 'clipboard';
import { ref } from 'vue'
import { ref,getCurrentInstance } from 'vue'
import useClipboard from 'vue-clipboard3';
const { proxy, ctx } = getCurrentInstance()
let Message = proxy.$Message
const { toClipboard } = useClipboard();
const page_id = ref(22)
const title = ref("生产环境造单")
function copyUser(){
async function copyUser(){
const text="admin0001"
await toClipboard(text)
Message.success("复制成功")
}
function copyPass(){
async function copyPass(){
const text="123456"
await toClipboard(text)
Message.success("复制成功")
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment