Commit 415e64a0 by cen

Merge branch 'SAAS+V5.3.0-1117' of http://192.168.3.233:8090/saas_plus/dj-car-li…

…fe-system into SAAS+V5.3.0-1117
2 parents 7ebaa0c2 c55a5e80
......@@ -885,6 +885,7 @@ export default {
}
this.formObj[item.name] = ""
this.setEditOptionIndex(name, -1)
this.$emit("handleEditSelectTypeConfirm", data)
} else {
this.setShowOptionInput(name, false)
......
......@@ -2,6 +2,8 @@ import util from "@/libs/util.js"
import { AccountLogin, getAuths, getUserInfo } from "@api/sys.account"
// import { SUPPER_ADMIN } from '@/common/constants'
import { localRoutes } from "@/router/routes"
import { Message } from "element-ui"
import router from "@/router"
import md5 from "js-md5"
export default {
namespaced: true,
......@@ -114,10 +116,21 @@ export default {
// ? routeAll.map((i) => i.authId)
// : res.map((i) => i.authId)
// if (targetRoutes.length === 0) {
// this.$message.warning("无权限,请联系管理员")
// return reject("无权限")
// }
if (targetRoutes.length === 0) {
// 显示提示
// Message({
// message: "暂无权限,请联系管理员",
// type: "error",
// duration: 5 * 1000
// })
// setTimeout(() => {
// window.location.reload()
// }, 5000)
// window.location.reload()
// router.replace("/login")
// this.$message.error("无权限,请联系管理员")
return reject("暂无权限,请联系管理员")
}
// console.log(res, "res")
// console.log(userInfo.beSuper, "userInfo.beSuper")
// console.log(targetRoutes, "targetRoutes")
......
......@@ -195,7 +195,7 @@ export default {
}
},
{
label: "已用金额",
label: "已用额度",
prop: "usageLimit",
minWidth: 120,
formatter: (cellValue) => {
......
......@@ -471,9 +471,16 @@ export default {
this.getOptionsList(this, "isEntryFormData", false, name)
this.isEntryForm[typeName] =
this.baseData[optionsName].find((item) => {
return item.itemValue == this.isEntryForm[name]
}).itemName || ""
this.filterAttribute(
optionsName,
"itemValue",
"itemName",
this.isEntryForm[name]
) || this.isEntryForm[name]
// this.isEntryForm[typeName] =
// this.baseData[optionsName].find((item) => {
// return item.itemValue == this.isEntryForm[name]
// }).itemName || ""
},
async handleEditSelectTypeConfirm(data) {
let {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!