Compare commits
No commits in common. "5af43012a930f988ef647ef97064b6ba9716a0ad" and "23b6a0875eed05da4677e348d56cea80880a9a57" have entirely different histories.
5af43012a9
...
23b6a0875e
|
@ -119,7 +119,7 @@ export default {
|
||||||
JSON.parse(sessionStorage.getItem("password")) == "123456" &&
|
JSON.parse(sessionStorage.getItem("password")) == "123456" &&
|
||||||
JSON.parse(sessionStorage.getItem("role")) === "ROLE_BRAND_MANAGER"
|
JSON.parse(sessionStorage.getItem("role")) === "ROLE_BRAND_MANAGER"
|
||||||
) {
|
) {
|
||||||
this.dialogVisible = false;
|
this.dialogVisible = true;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
|
@ -653,7 +653,7 @@ export default {
|
||||||
} else if (!Number.isInteger(+value)) {
|
} else if (!Number.isInteger(+value)) {
|
||||||
callback(new Error("银行卡号必须全为数字"));
|
callback(new Error("银行卡号必须全为数字"));
|
||||||
} else if (value.trim().length < 12 || value.trim().length > 19) {
|
} else if (value.trim().length < 12 || value.trim().length > 19) {
|
||||||
callback(new Error("银行卡号长度必须在12到20之间"));
|
callback(new Error("银行卡号长度必须在12到19之间"));
|
||||||
} else if (strBin.indexOf(value.substring(0, 2)) === -1) {
|
} else if (strBin.indexOf(value.substring(0, 2)) === -1) {
|
||||||
callback(new Error("银行卡号开头6位不符合规范"));
|
callback(new Error("银行卡号开头6位不符合规范"));
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -50,7 +50,7 @@ export default {
|
||||||
this.isAdd = true;
|
this.isAdd = true;
|
||||||
},
|
},
|
||||||
update: (row) => {
|
update: (row) => {
|
||||||
this.fileList = [];
|
this.fileList = []
|
||||||
this.modalData = JSON.parse(JSON.stringify(row));
|
this.modalData = JSON.parse(JSON.stringify(row));
|
||||||
console.log(row);
|
console.log(row);
|
||||||
|
|
||||||
|
@ -83,7 +83,6 @@ export default {
|
||||||
prop: "logo",
|
prop: "logo",
|
||||||
type: "Input",
|
type: "Input",
|
||||||
width: "300px",
|
width: "300px",
|
||||||
rules: { required: true, message: "请输入品牌宣传语" },
|
|
||||||
type: "jsx",
|
type: "jsx",
|
||||||
render: () => {
|
render: () => {
|
||||||
const handleChange = (file, fileList) => {
|
const handleChange = (file, fileList) => {
|
||||||
|
@ -156,14 +155,12 @@ export default {
|
||||||
prop: "tagline",
|
prop: "tagline",
|
||||||
type: "Input",
|
type: "Input",
|
||||||
width: "300px",
|
width: "300px",
|
||||||
rules: { required: true, message: "请输入品牌宣传语" },
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "首页背景",
|
label: "首页背景",
|
||||||
prop: "background",
|
prop: "background",
|
||||||
type: "Input",
|
type: "Input",
|
||||||
width: "300px",
|
width: "300px",
|
||||||
rules: { required: true, message: "请添加背景首页" },
|
|
||||||
type: "jsx",
|
type: "jsx",
|
||||||
render: () => {
|
render: () => {
|
||||||
const handleChange = (file, fileList) => {
|
const handleChange = (file, fileList) => {
|
||||||
|
@ -218,7 +215,6 @@ export default {
|
||||||
type: "Input",
|
type: "Input",
|
||||||
width: "300px",
|
width: "300px",
|
||||||
type: "jsx",
|
type: "jsx",
|
||||||
rules: { required: true, message: "请添加视频" },
|
|
||||||
render: () => {
|
render: () => {
|
||||||
const handleChange = (file, fileList) => {
|
const handleChange = (file, fileList) => {
|
||||||
// console.log(fileList);
|
// console.log(fileList);
|
||||||
|
|
Loading…
Reference in New Issue