Commit 1d384521 authored by AiNoeLiYa's avatar AiNoeLiYa

Merge branch 'project1' of http://gitlab.91isoft.com:90/yangshuo/template_vue into project1

parents 80f72d33 2d976071
import request from '@/utils/request'
// 根据key值查询数据字典数据
export function getDictData(params) {
return request({
url: '/wbapply/queryDict',
method: 'get',
params
})
}
// 新增设备新增
export function addApplication(data) {
return request({
url: '/wbapply/add',
method: 'post',
data,
headers: {
'Content-Type': 'application/json;charset=UTF-8'
}
})
}
This diff is collapsed.
...@@ -349,7 +349,10 @@ export default { ...@@ -349,7 +349,10 @@ export default {
roleName: undefined, roleName: undefined,
roleKey: undefined, roleKey: undefined,
flag: undefined, flag: undefined,
ptype: 1 ptype: 1,
pstatus:0,
delFlag:0
}, },
// 表单参数 // 表单参数
form: { form: {
......
...@@ -346,8 +346,9 @@ export default { ...@@ -346,8 +346,9 @@ export default {
queryParams: { queryParams: {
page: 1, page: 1,
rows: 10, rows: 10,
ptype: 2,
ptype: 2 pstatus:0,
delFlag:0
}, },
// 表单参数 // 表单参数
form: { form: {
......
...@@ -346,7 +346,9 @@ export default { ...@@ -346,7 +346,9 @@ export default {
roleName: undefined, roleName: undefined,
roleKey: undefined, roleKey: undefined,
flag: undefined, flag: undefined,
ptype:2 ptype:2,
pstatus:0,
delFlag:0
}, },
// 表单参数 // 表单参数
form: { form: {
......
...@@ -20,20 +20,20 @@ ...@@ -20,20 +20,20 @@
<svg-icon slot="prefix" icon-class="password" class="el-input__icon input-icon" /> <svg-icon slot="prefix" icon-class="password" class="el-input__icon input-icon" />
</el-input> </el-input>
</el-form-item> </el-form-item>
<el-form-item prop="code"> <!-- <el-form-item prop="code">-->
<el-input <!-- <el-input-->
v-model="loginForm.code" <!-- v-model="loginForm.code"-->
auto-complete="off" <!-- auto-complete="off"-->
placeholder="验证码" <!-- placeholder="验证码"-->
style="width: 63%" <!-- style="width: 63%"-->
@keyup.enter.native="handleLogin" <!-- @keyup.enter.native="handleLogin"-->
> <!-- >-->
<svg-icon slot="prefix" icon-class="validCode" class="el-input__icon input-icon" /> <!-- <svg-icon slot="prefix" icon-class="validCode" class="el-input__icon input-icon" />-->
</el-input> <!-- </el-input>-->
<!--<div class="login-code"> <!-- &lt;!&ndash;<div class="login-code">-->
<img :src="codeUrl" @click="getCode"> <!-- <img :src="codeUrl" @click="getCode">-->
</div>--> <!-- </div>&ndash;&gt;-->
</el-form-item> <!-- </el-form-item>-->
<el-form-item style="width:80%;margin-bottom: 20px"> <el-form-item style="width:80%;margin-bottom: 20px">
<el-button <el-button
class="blue-btn" class="blue-btn"
......
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