mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-17 23:06:47 +08:00
fix -- 导入组长和路径图
This commit is contained in:
@@ -232,7 +232,7 @@
|
||||
pathBgId === item.code
|
||||
? '2px solid rgba(78, 166, 255, 1)'
|
||||
: '1px solid #C7CBD2',
|
||||
'background-image': 'url(' + item.value + ')',
|
||||
'background-image': 'url(' + item.value[0] + ')',
|
||||
display: index >= 5 ? 'none' : 'flex',
|
||||
}"
|
||||
style="background-size: 100% 100%"
|
||||
@@ -1185,6 +1185,10 @@ export default {
|
||||
message.destroy();
|
||||
return message.warning("请选择背景图");
|
||||
}
|
||||
if (!state.mobilePicUrl) {
|
||||
message.destroy();
|
||||
return message.warning("未配置H5背景图,请联系管理员!");
|
||||
}
|
||||
if (!state.validate) {
|
||||
message.destroy();
|
||||
message.warning("路径图名称重复");
|
||||
@@ -1208,7 +1212,8 @@ export default {
|
||||
status: 0,
|
||||
organizationId: state.organizationSelectId,
|
||||
organizationName: state.organizationSelectName,
|
||||
picUrl: state.pathBg,
|
||||
picUrl: state.pathBg.split(',')[0],
|
||||
mobilePicUrl: state.pathBg.split(',')[1],
|
||||
}).then(id => {
|
||||
message.destroy();
|
||||
message.success("创建成功");
|
||||
@@ -1298,6 +1303,10 @@ export default {
|
||||
message.destroy();
|
||||
return message.warning("请选择背景图");
|
||||
}
|
||||
if (!state.mobilePicUrl) {
|
||||
message.destroy();
|
||||
return message.warning("未配置H5背景图,请联系管理员!");
|
||||
}
|
||||
if (!state.validate) {
|
||||
message.destroy();
|
||||
return message.warning("路径图名称重复");
|
||||
@@ -1324,7 +1333,8 @@ export default {
|
||||
let obj = {
|
||||
routerId: state.editPathId,
|
||||
name: state.pathName,
|
||||
picUrl: state.pathBg,
|
||||
picUrl: state.pathBg.split(',')[0],
|
||||
mobilePicUrl: state.pathBg.split(',')[1],
|
||||
remark: state.pathIntro,
|
||||
organizationName: state.organizationSelectName,
|
||||
organizationId: state.organizationSelectId,
|
||||
|
||||
Reference in New Issue
Block a user