Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
data-table
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
hookehuyr
2023-02-10 11:32:33 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0b3b06fcb251ce652a6b8eb2de652e7a9f90baca
0b3b06fc
1 parent
dc53a207
✨ feat(电子签名): 提交数据结构调整
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
src/components/SignField/index.vue
src/components/SignField/index.vue
View file @
0b3b06f
<!--
* @Date: 2022-09-06 16:29:31
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2023-02-
09 13:01:54
* @LastEditTime: 2023-02-
10 11:28:50
* @FilePath: /data-table/src/components/SignField/index.vue
* @Description: 电子签名控件
-->
...
...
@@ -57,6 +57,7 @@ import { showSuccessToast, showFailToast } from "vant";
import { useRoute } from "vue-router";
import BMF from "browser-md5-file";
import { getEtag } from "@/utils/qetag.js"; // 生成hash值
import dayjs from "dayjs";
const props = defineProps({
item: Object,
...
...
@@ -174,7 +175,7 @@ const handleGenerate = () => {
props.item.value = {
key: "sign",
filed_name: props.item.key,
value:
imgUrl.src
,
value:
{ name: `电子签名${dayjs().format('YYYYMMDDHHmmss')}.png`, url: imgUrl.src}
,
};
image_url.value = imgUrl.src;
show_control.value = false;
...
...
Please
register
or
login
to post a comment