From 43c8253e62500ac742167f01646b25309427ce65 Mon Sep 17 00:00:00 2001 From: jiminglei <836545853@qq.com> Date: Wed, 24 Jan 2024 10:11:26 +0800 Subject: [PATCH 1/2] key --- psdc-ui/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/psdc-ui/index.html b/psdc-ui/index.html index 445e30e..29bb540 100644 --- a/psdc-ui/index.html +++ b/psdc-ui/index.html @@ -7,7 +7,7 @@ <meta name="renderer" content="webkit"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> <link rel="icon" href="/favicon.ico"> - <title>电能替代分布式控制试验平台</title> + <title>密钥管理</title> <!--[if lt IE 11]><script>window.location.href='/html/ie.html';</script><![endif]--> <style> html, From cad727c9ccc24f357229754db960c33993551066 Mon Sep 17 00:00:00 2001 From: jiminglei <836545853@qq.com> Date: Wed, 24 Jan 2024 10:23:11 +0800 Subject: [PATCH 2/2] key --- psdc-ui/src/views/bigview/index.vue | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/psdc-ui/src/views/bigview/index.vue b/psdc-ui/src/views/bigview/index.vue index 407fdef..b87e0f2 100644 --- a/psdc-ui/src/views/bigview/index.vue +++ b/psdc-ui/src/views/bigview/index.vue @@ -26,14 +26,14 @@ <el-input v-model="input2" placeholder="请输入cpuid" style="width: 25vh;margin-top: 1vh"></el-input> - <el-input v-for="(input, index) in inputs" :key="index" v-model="input.value" placeholder="请输入cpuid" style="width: 25vh;margin-top: 1vh" ></el-input> </div> </div> <el-button @click="addInput">添加</el-button> - <div class="inp2"> + <el-button @click="delInput">删除</el-button> + <div class="inp2" style="margin-top: 1vh"> <div class="tex">有效期至:</div> <el-date-picker v-model="value1" @@ -41,9 +41,9 @@ placeholder="选择日期"> </el-date-picker> </div> - <div class="inp2"> + <div class="inp2" style="margin-top: 1vh"> <div class="tex">授权单位:</div> - <el-select v-model="value2" placeholder="请选择" style="width: 23vh;margin-top: 1vh" > + <el-select v-model="value2" placeholder="请选择" style="width: 23vh;" > <el-option v-for="item in keyList" :key="item.unit" @@ -180,6 +180,10 @@ function addInput() { } } +function delInput() { + inputs.value.pop() +} + function toResult(){ const dateString = value1.value; const date = new Date(dateString);