This commit is contained in:
zhengziru
2024-07-26 16:53:41 +08:00
parent ddf52e5e86
commit 1f4284acbf
22 changed files with 518 additions and 442 deletions
@@ -215,10 +215,10 @@
</el-popover>
</li>
<li style="cursor: pointer" @click="menuPopover=true">
<!--<li style="cursor: pointer" @click="menuPopover=true">
<i class="el-icon-sort"></i>
切换应用
</li>
</li>-->
</ul>
<!-- <el-breadcrumb separator-class="el-icon-arrow-right" style="line-height: 50px">-->
@@ -165,9 +165,9 @@ layout("/layouts/platform.html"){
<el-dropdown-item :command="{type:'view',row}">
查看
</el-dropdown-item>
<el-dropdown-item :command="{type:'export',row}" v-if="row.applyType===1">
<!--<el-dropdown-item :command="{type:'export',row}" v-if="row.applyType===1">
导出名单docx
</el-dropdown-item>
</el-dropdown-item>-->
<el-dropdown-item :command="{type:'exportXlsx',row}">
导出名单
</el-dropdown-item>
@@ -202,7 +202,7 @@
<el-col :lg="12" :xl="12" :xs="12">
<!--<el-col :lg="12" :xl="12" :xs="12">
<el-form-item label="是否推送移动端" prop="isPushHome">
<el-radio-group size="medium" v-model="formData.isPushHome">
<el-radio-button :label="0">不推送</el-radio-button>
@@ -210,7 +210,7 @@
<el-radio-button :label="2">推送大图</el-radio-button>
</el-radio-group>
</el-form-item>
</el-col>
</el-col>-->
<el-col :lg="12" :xl="12" :xs="12"
@@ -2,14 +2,14 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta content="IE=edge" http-equiv="X-UA-Compatible">
<!-- 在 head 标签中添加 meta 标签,并设置 viewport-fit=cover 值 -->
<meta name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, viewport-fit=cover">
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, viewport-fit=cover"
name="viewport">
<title>签字</title>
<!-- 引入样式文件 -->
<link rel="stylesheet" href="https://cdn.staticfile.org/vant/2.12.5/index.min.css">
<link rel="stylesheet" href="https://res.wx.qq.com/open/libs/weui/2.2.0/weui.min.css">
<link href="https://cdn.staticfile.org/vant/2.12.5/index.min.css" rel="stylesheet">
<link href="https://res.wx.qq.com/open/libs/weui/2.2.0/weui.min.css" rel="stylesheet">
<!-- 引入 Vue 和 Vant 的 JS 文件 -->
<script src="https://cdn.staticfile.org/vue/2.6.9/vue.min.js"></script>
@@ -24,7 +24,7 @@
}
</style>
<body style="height: 100%;width: 100%">
<div v-clock id="app" style="height: 100%;width: 100%">
<div id="app" style="height: 100%;width: 100%" v-clock>
<van-row style="margin-top: 10vh;text-align: center">
<h3 style="color: #1989fa">提示:请在下方区域签字!</h3>
</van-row>
@@ -33,12 +33,13 @@
</van-row>
<van-row style="margin-top: 20px">
<van-col span="24" style="text-align: center">
<van-row type="flex" justify="space-around">
<van-row justify="space-around" type="flex">
<van-col span="11">
<van-button @click="reset" type="default" size="large">清 空</van-button>
<van-button @click="reset" size="large" type="default">清 空</van-button>
</van-col>
<van-col span="11">
<van-button type="info" @click="doSub" size="large" :disabled="subDis">提 交</van-button>
<van-button :disabled="subDis" @click="doSub" size="large" type="info">提 交
</van-button>
</van-col>
</van-row>
</van-col>
@@ -76,6 +77,7 @@
el: "#app",
data: function () {
return {
is_value_base64: true,
prefix: '',
id: '',
base64: '',
@@ -100,6 +102,7 @@
reset() {
qm.reset()
},
doSub() {
qm.getContentBase64(false, (val) => {
this.base64 = val
@@ -108,7 +111,8 @@
$.post("/signature/doSub", {
prefix: this.prefix,
id: this.id,
base64: this.base64
base64: this.base64,
is_value_base64: this.is_value_base64
}, (data) => {
if (data.code == 0) {
this.$notify({
@@ -148,8 +152,9 @@
}
this.id = getQueryVariable("id")
this.prefix = getQueryVariable("prefix")
this.is_value_base64 = getQueryVariable("is_value_base64")
}
})
</script>
</body>
</html>
</html>
@@ -173,7 +173,7 @@
${AppName!}系统登录
</h4>
<el-tabs class="login-tabs" v-model="activeName">
<el-tab-pane label="用户名登录" name="1">
<!--<el-tab-pane label="用户名登录" name="1">
<el-form v-if="activeName == '1'" :model="loginForm" :rules="loginRules" auto-complete="on" class="login-form"
ref="loginForm">
<el-form-item prop="username">
@@ -222,7 +222,7 @@
</el-button>
</el-form-item>
</el-form>
</el-tab-pane>
</el-tab-pane>-->
<el-tab-pane label="短信快捷登陆" name="2">
<el-form v-if="activeName == '2'" :model="loginForm" :rules="loginRules" auto-complete="on" class="login-form"
ref="loginForm">
@@ -288,7 +288,7 @@
timer: null,
// 是否显示滑块验证
isShowSliderVerify: false,
activeName: '1',
activeName: '2',
loginForm: {
username: '',
password: '',