Commit fff4d922 authored by youjie's avatar youjie

账户密码权限

parent fbf068e8
...@@ -261,16 +261,19 @@ ...@@ -261,16 +261,19 @@
<el-input v-model="addMsg.PlatformNo" maxlength="20"></el-input> <el-input v-model="addMsg.PlatformNo" maxlength="20"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="4" :gutter="35"> <template v-if="isLookPlatformAccountPwd">
<el-form-item label="平台密码:" prop="PlatFormPwd"> <el-col :span="4" :gutter="35">
<el-input v-model="addMsg.PlatFormPwd" class></el-input> <el-form-item label="平台密码:" prop="PlatFormPwd">
</el-form-item> <el-input v-model="addMsg.PlatFormPwd" class></el-input>
</el-col> </el-form-item>
<el-col :span="4" :gutter="35"> </el-col>
<el-form-item label="平台网址:" prop="PlatFormUrl"> <el-col :span="4" :gutter="35">
<el-input v-model="addMsg.PlatFormUrl" class></el-input> <el-form-item label="平台网址:" prop="PlatFormUrl">
</el-form-item> <el-input v-model="addMsg.PlatFormUrl" class></el-input>
</el-col> </el-form-item>
</el-col>
</template>
<el-col :span="4" :gutter="35"> <el-col :span="4" :gutter="35">
<el-form-item label="保证金单号:" prop="FinanceNo"> <el-form-item label="保证金单号:" prop="FinanceNo">
<el-input v-model="addMsg.FinanceNo" maxlength="50"></el-input> <el-input v-model="addMsg.FinanceNo" maxlength="50"></el-input>
...@@ -588,6 +591,7 @@ ...@@ -588,6 +591,7 @@
props:['pagesTitle'], props:['pagesTitle'],
data() { data() {
return { return {
isLookPlatformAccountPwd: false,//账户密码权限
isExamine: false, isExamine: false,
columns: [], columns: [],
remoteLoading: false, remoteLoading: false,
...@@ -1321,6 +1325,14 @@ ...@@ -1321,6 +1325,14 @@
this.addMsg.SettlementType = this.addMsg.SettlementType.toString() this.addMsg.SettlementType = this.addMsg.SettlementType.toString()
this.addMsg.BindBankID = this.addMsg.BindBankID == -1 ? null : this.addMsg.BindBankID this.addMsg.BindBankID = this.addMsg.BindBankID == -1 ? null : this.addMsg.BindBankID
this.remoteQueryBankMethod(this.addMsg.BindBankName) this.remoteQueryBankMethod(this.addMsg.BindBankName)
let userInfo = this.getLocalStorage();
let ActionMenuCode = userInfo.ActionMenuCode;
if(userInfo.EmployeeId==this.addMsg.CreateBy||ActionMenuCode.indexOf('isManageFinance') != -1){
this.isLookPlatformAccountPwd = true
}else{
this.isLookPlatformAccountPwd = false
}
} else { } else {
this.tips(res.data.message, "error"); this.tips(res.data.message, "error");
} }
...@@ -1660,6 +1672,7 @@ ...@@ -1660,6 +1672,7 @@
this.getLineList() this.getLineList()
this.msg.pageSize = this.calcPageSize(40); this.msg.pageSize = this.calcPageSize(40);
let userInfo = this.getLocalStorage(); let userInfo = this.getLocalStorage();
this.getCompanyMsg.RB_Group_Id = userInfo.RB_Group_id; //集团ID this.getCompanyMsg.RB_Group_Id = userInfo.RB_Group_id; //集团ID
var branchId = userInfo.RB_Branch_id; var branchId = userInfo.RB_Branch_id;
this.addMsg.BranchIdS = branchId; this.addMsg.BranchIdS = branchId;
......
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