Commit 876dcb48 authored by 黄奎's avatar 黄奎

11

parent 2f4211ed
...@@ -68,7 +68,7 @@ ...@@ -68,7 +68,7 @@
<th>资产编号</th> <th>资产编号</th>
<th>品牌名称</th> <th>品牌名称</th>
<th>操作人/时间</th> <th>操作人/时间</th>
<t>操作</t> <th>操作</th>
</thead> </thead>
<tbody> <tbody>
<template v-for="(item,index1) in tableData"> <template v-for="(item,index1) in tableData">
...@@ -87,7 +87,6 @@ ...@@ -87,7 +87,6 @@
<p>{{item.AuditStatusName}}</p> <p>{{item.AuditStatusName}}</p>
</div> </div>
</div> </div>
</td> </td>
<td :rowspan="item.DetailList.length" v-if="index==0">{{item.SourceName}}</td> <td :rowspan="item.DetailList.length" v-if="index==0">{{item.SourceName}}</td>
<td :rowspan="item.DetailList.length" v-if="index==0"> <td :rowspan="item.DetailList.length" v-if="index==0">
...@@ -121,7 +120,6 @@ ...@@ -121,7 +120,6 @@
</td> </td>
</tr> </tr>
</template> </template>
<tr v-show="tableData.length==0"> <tr v-show="tableData.length==0">
<td colspan="12" align="center">暂无数据</td> <td colspan="12" align="center">暂无数据</td>
</tr> </tr>
...@@ -131,7 +129,6 @@ ...@@ -131,7 +129,6 @@
:total="total"> :total="total">
</el-pagination> </el-pagination>
</div> </div>
<el-dialog title="转交" :visible.sync="dialogState" width="530px"> <el-dialog title="转交" :visible.sync="dialogState" width="530px">
<el-form class="MyEditForm" :model="addMsg" :rules="rules" ref="addMsg" label-width="0px"> <el-form class="MyEditForm" :model="addMsg" :rules="rules" ref="addMsg" label-width="0px">
<div class="basefix"> <div class="basefix">
...@@ -166,7 +163,7 @@ ...@@ -166,7 +163,7 @@
import Treeselect from "@riophae/vue-treeselect"; import Treeselect from "@riophae/vue-treeselect";
import "@riophae/vue-treeselect/dist/vue-treeselect.css"; import "@riophae/vue-treeselect/dist/vue-treeselect.css";
export default { export default {
name: 'SignMan', name: 'Supplierman',
components: { components: {
Treeselect, Treeselect,
CheckDetails CheckDetails
...@@ -233,7 +230,6 @@ ...@@ -233,7 +230,6 @@
}, },
dateList: [], dateList: [],
EmName: '', EmName: '',
} }
}, },
created() { created() {
...@@ -281,7 +277,6 @@ ...@@ -281,7 +277,6 @@
ZhuanJiao(item) { ZhuanJiao(item) {
this.dialogState = true; this.dialogState = true;
this.addMsg.WorkFlowId = item.Id; this.addMsg.WorkFlowId = item.Id;
}, },
See(item, path, backto, type) { See(item, path, backto, type) {
let shenpistr = type; let shenpistr = type;
...@@ -321,7 +316,6 @@ ...@@ -321,7 +316,6 @@
this.EmployeeList1 = res.data.data; this.EmployeeList1 = res.data.data;
} else { } else {
this.EmployeeList2 = res.data.data; this.EmployeeList2 = res.data.data;
} }
} else { } else {
this.Error(res.data.message); this.Error(res.data.message);
...@@ -414,10 +408,12 @@ ...@@ -414,10 +408,12 @@
}, },
}, },
} }
</script> </script>
<style scoped> <style scoped>
.spotquery { .spotquery {
box-sizing: border-box; box-sizing: border-box;
} }
</style>
\ No newline at end of file </style>
...@@ -7,64 +7,64 @@ ...@@ -7,64 +7,64 @@
<img style="width:16px;height:14px" src="../../assets/img/user.png" alt=""> <img style="width:16px;height:14px" src="../../assets/img/user.png" alt="">
账号</p> 账号</p>
<el-input v-model="userInfo.EmAccount" placeholder="请输入"></el-input> <el-input v-model="userInfo.EmAccount" placeholder="请输入"></el-input>
</div> </div>
<div> <div>
<p> <p>
<img style="width:16px;height:14px;margin-right:4px" src="../../assets/img/passwd.png" alt="">密码</p> <img style="width:16px;height:14px;margin-right:4px" src="../../assets/img/passwd.png" alt="">密码</p>
<el-input type="password" v-model="userInfo.EmPassword" placeholder="请输入内容"></el-input> <el-input type="password" v-model="userInfo.EmPassword" placeholder="请输入内容"></el-input>
</div> </div>
<div class="loginDiv"> <div class="loginDiv">
<span v-loading="btnLoading" @click="Login">登录</span> <span v-loading="btnLoading" @click="Login">登录</span>
</div> </div>
</div> </div>
</div> </div>
</template> </template>
<script> <script>
export default { export default {
name: 'login', name: 'login',
data(){ data() {
return{ return {
userInfo:{ userInfo: {
EmAccount:'', EmAccount: '',
EmPassword:'', EmPassword: '',
Domain:'', Domain: '',
}, },
btnLoading:false, btnLoading: false,
} }
}, },
created(){ created() {
// let href = window.location.href; // let href = window.location.href;
// let param = href.split('?')[1].split("&") ; // let param = href.split('?')[1].split("&") ;
// if(param){ // if(param){
// let obj={}; // let obj={};
// obj.token=param[0].split('=')[1]; // obj.token=param[0].split('=')[1];
// obj.SecretKey=param[1].split('=')[1]; // obj.SecretKey=param[1].split('=')[1];
// localStorage.zcuserInfo = JSON.stringify(obj); // localStorage.zcuserInfo = JSON.stringify(obj);
// this.getUserInfo(); // this.getUserInfo();
// } // }
}, },
mounted(){ mounted() {
this.initData(); this.initData();
}, },
methods:{ methods: {
getUserInfo(){ getUserInfo() {
this.apiJavaPost("/api/user/GetUserLoginMenu",{}, this.apiJavaPost("/api/user/GetUserLoginMenu", {},
res => { res => {
this.btnLoading=false; this.btnLoading = false;
if (res.data.resultCode === 1) { if (res.data.resultCode === 1) {
let user=res.data.data; let user = res.data.data;
var userJson = JSON.stringify(user); var userJson = JSON.stringify(user);
localStorage.zcuserInfo = userJson; localStorage.zcuserInfo = userJson;
this.$router.push({path: 'Home'}) this.$router.push({
path: 'Home'
})
} else { } else {
this.Error(res.data.message); this.Error(res.data.message);
} }
}, },
null null
); );
}, },
initData() { initData() {
...@@ -74,82 +74,89 @@ export default { ...@@ -74,82 +74,89 @@ export default {
this.userInfo.EmPassword = "123456"; this.userInfo.EmPassword = "123456";
} }
this.userInfo.Domain = window.location.hostname this.userInfo.Domain = window.location.hostname
// this.userInfo.Domain = "zcyx.oytour.com";
}, },
Login(){ Login() {
if (this.userInfo.EmAccount == "") { if (this.userInfo.EmAccount == "") {
this.nameIsShow = true; this.nameIsShow = true;
this.Error("请输入用户名"); this.Error("请输入用户名");
return; return;
} else if (this.userInfo.EmPassword == "") { } else if (this.userInfo.EmPassword == "") {
this.passwordIsShow = true; this.passwordIsShow = true;
this.Error("请输入密码"); this.Error("请输入密码");
return; return;
} }
this.btnLoading = true;
this.btnLoading=true; this.apiJavaPost("/api/login/userlogin", this.userInfo,
this.apiJavaPost("/api/login/userlogin",this.userInfo, res => {
res => { this.btnLoading = false;
this.btnLoading=false;
if (res.data.resultCode === 1) { if (res.data.resultCode === 1) {
let user=res.data.data; let user = res.data.data;
var userJson = JSON.stringify(user); var userJson = JSON.stringify(user);
localStorage.zcuserInfo = userJson; localStorage.zcuserInfo = userJson;
this.$router.push({path: 'Home'}) this.$router.push({
path: 'Home'
})
} else { } else {
this.Error(res.data.message); this.Error(res.data.message);
} }
}, },
null null
); );
}, },
}, },
}
}
</script> </script>
<style> <style>
.login .el-loading-mask{ .login .el-loading-mask {
border-radius: 24px; border-radius: 24px;
} }
.login{
position: absolute; .login {
width: 100%; position: absolute;
height: 100%; width: 100%;
top: 0; height: 100%;
background-color: #F8FAFB; top: 0;
background: url('../../assets/img/login.png') no-repeat; background-color: #F8FAFB;
background-size: 100% 100%; background: url('../../assets/img/login.png') no-repeat;
font-family: "PingFang"; background-size: 100% 100%;
} font-family: "PingFang";
.login .loginContent{ }
position: absolute;
top: 20%; .login .loginContent {
left:15%; position: absolute;
width: 400px; top: 20%;
} left: 15%;
.login .loginContent .el-input__inner{ width: 400px;
border: none; }
border-bottom: 1px solid #CCCCCC;
border-radius: 0; .login .loginContent .el-input__inner {
color:#333333; border: none;
padding:0; border-bottom: 1px solid #CCCCCC;
} border-radius: 0;
.login .loginContent .el-input.is-active .el-input__inner,.login .loginContent .el-input__inner:focus{ color: #333333;
border-bottom: 2px solid #089bab!important; padding: 0;
} }
.loginDiv{
margin-top:50px; .login .loginContent .el-input.is-active .el-input__inner,
} .login .loginContent .el-input__inner:focus {
.loginDiv span{ border-bottom: 2px solid #089bab !important;
display: inline-block; }
width:180px;
height:48px; .loginDiv {
line-height:48px; margin-top: 50px;
background:rgba(17,17,17,1); }
border-radius:24px;
text-align: center; .loginDiv span {
color:#FFFFFF; display: inline-block;
cursor: pointer; width: 180px;
} height: 48px;
line-height: 48px;
background: rgba(17, 17, 17, 1);
border-radius: 24px;
text-align: center;
color: #FFFFFF;
cursor: pointer;
}
</style> </style>
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