已重命名1个文件
已添加12个文件
已修改8个文件
| | |
| | | var LFData = iisHost + "/LFData"; |
| | | |
| | | // Server |
| | | var BASE_URL = webHost + '/server'; |
| | | |
| | | var BASE_URL = 'http://192.168.11.14:12316/server'; |
| | | // var BASE_URL = webHost+ '/server'; |
| | | // GeoServerUrl |
| | | var geoServerURl = webHost + '/geoserver/LF/wms'; |
| | | |
| | |
| | | |
| | | var geoserverWFSLine = '/geoserver/LF/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=LF%3Am_pipeline&maxFeatures=50&outputFormat=application%2Fjson&cql_filter=projname='; |
| | | |
| | | |
| | | var getLayerJosn = location.origin+"/layer/" |
| | | |
| | | |
| | | // 模åå è½½å°å |
| | | var modelUrl = LFData; |
| | | |
¶Ô±ÈÐÂÎļþ |
| | |
| | | { |
| | | "code": 200, |
| | | "count": 0, |
| | | "msg": "æå", |
| | | "result": [{ |
| | | "cnName": "é¦é¡µ", |
| | | "css": null, |
| | | "enName": "Index", |
| | | "icon": null, |
| | | "id": 3, |
| | | "isShow": 1, |
| | | "level": 2, |
| | | "orderNum": 1, |
| | | "perms": "/comprehensive", |
| | | "pid": 2, |
| | | "type": 1, |
| | | "url": "Synthesis" |
| | | }, |
| | | { |
| | | "cnName": "æµç»ä¸ä¸", |
| | | "css": null, |
| | | "enName": "Major in surveying and mapping", |
| | | "icon": "", |
| | | "id": 67, |
| | | "isShow": 1, |
| | | "level": 2, |
| | | "orderNum": 1, |
| | | "perms": null, |
| | | "pid": 64, |
| | | "type": 1, |
| | | "url": "{fmeHost}/dataxdi/#/schema/task_zsy?tags=æµç»ä¸ä¸&embed=true&theme=dark&lang=zh&token=" |
| | | }, |
| | | { |
| | | "cnName": "èµæºç®å½", |
| | | "css": null, |
| | | "enName": "Resource Directory", |
| | | "icon": "", |
| | | "id": 75, |
| | | "isShow": 1, |
| | | "level": 2, |
| | | "orderNum": 1, |
| | | "perms": null, |
| | | "pid": 66, |
| | | "type": 1, |
| | | "url": "{fmeHost}/resm/#/resourceManage?embed=true&theme=dark&lang=zh&token=" |
| | | }, |
| | | { |
| | | "cnName": "æ°æ®ä¸ä¼ ", |
| | | "css": null, |
| | | "enName": "Data Updata", |
| | | "icon": null, |
| | | "id": 15, |
| | | "isShow": 1, |
| | | "level": 3, |
| | | "orderNum": 1, |
| | | "perms": "/dataUpload", |
| | | "pid": 86, |
| | | "type": 1, |
| | | "url": "dataUpdata" |
| | | }, |
| | | |
| | | { |
| | | "cnName": "ä¸è½½æ¥å¿", |
| | | "css": null, |
| | | "enName": "Download Log", |
| | | "icon": "", |
| | | "id": 60, |
| | | "isShow": 1, |
| | | "level": 3, |
| | | "orderNum": 1, |
| | | "perms": "/downlog", |
| | | "pid": 35, |
| | | "type": 1, |
| | | "url": "downlog" |
| | | }, |
| | | { |
| | | "cnName": "å¾å±", |
| | | "css": null, |
| | | "enName": "Coverage", |
| | | "icon": null, |
| | | "id": 4, |
| | | "isShow": 1, |
| | | "level": 3, |
| | | "orderNum": 1, |
| | | "perms": null, |
| | | "pid": 3, |
| | | "type": 2, |
| | | "url": null |
| | | }, |
| | | { |
| | | "cnName": "管éåºç¡å¤§æ°æ®å¹³å°", |
| | | "css": null, |
| | | "enName": "Pipeline Basic Big Data Platform", |
| | | "icon": null, |
| | | "id": 1, |
| | | "isShow": 0, |
| | | "level": 0, |
| | | "orderNum": 1, |
| | | "perms": "/perms", |
| | | "pid": 0, |
| | | "type": 0, |
| | | "url": null |
| | | }, |
| | | { |
| | | "cnName": "æ ¼å¼è½¬æ¢", |
| | | "css": null, |
| | | "enName": "Format Conversion", |
| | | "icon": "", |
| | | "id": 70, |
| | | "isShow": 1, |
| | | "level": 2, |
| | | "orderNum": 1, |
| | | "perms": null, |
| | | "pid": 65, |
| | | "type": 1, |
| | | "url": "{fmeHost}/dataxdi/#/schema/task_zsy?tags=æ°æ®äº¤æ¢&embed=true&theme=dark&lang=zh&token=" |
| | | }, |
| | | { |
| | | "cnName": "ç»å½æ¥å¿", |
| | | "css": null, |
| | | "enName": "Login Log", |
| | | "icon": null, |
| | | "id": 36, |
| | | "isShow": 1, |
| | | "level": 3, |
| | | "orderNum": 2, |
| | | "perms": "/login", |
| | | "pid": 35, |
| | | "type": 1, |
| | | "url": "logLog" |
| | | }, |
| | | { |
| | | "cnName": "è§å¾", |
| | | "css": null, |
| | | "enName": "Viewport", |
| | | "icon": null, |
| | | "id": 5, |
| | | "isShow": 1, |
| | | "level": 3, |
| | | "orderNum": 2, |
| | | "perms": null, |
| | | "pid": 3, |
| | | "type": 2, |
| | | "url": null |
| | | }, |
| | | { |
| | | "cnName": "项ç®ç®¡ç", |
| | | "css": null, |
| | | "enName": "Project management", |
| | | "icon": null, |
| | | "id": 16, |
| | | "isShow": 1, |
| | | "level": 3, |
| | | "orderNum": 2, |
| | | "perms": "/dir", |
| | | "pid": 85, |
| | | "type": 1, |
| | | "url": "catalogueManage" |
| | | }, |
| | | { |
| | | "cnName": "åå¯ä¸ä¸", |
| | | "css": null, |
| | | "enName": "Major in investigation", |
| | | "icon": "", |
| | | "id": 68, |
| | | "isShow": 1, |
| | | "level": 2, |
| | | "orderNum": 2, |
| | | "perms": null, |
| | | "pid": 64, |
| | | "type": 1, |
| | | "url": "{fmeHost}/dataxdi/#/schema/task_zsy?tags=åå¯ä¸ä¸&embed=true&theme=dark&lang=zh&token=" |
| | | }, |
| | | { |
| | | "cnName": "èµæºå®¡æ ¸", |
| | | "css": null, |
| | | "enName": "Resource audit", |
| | | "icon": null, |
| | | "id": 76, |
| | | "isShow": 1, |
| | | "level": 2, |
| | | "orderNum": 2, |
| | | "perms": null, |
| | | "pid": 66, |
| | | "type": 1, |
| | | "url": "{fmeHost}/resm/#/resapproval?embed=true&theme=dark&lang=zh&token=" |
| | | }, |
| | | { |
| | | "cnName": "æå¿ä¸å¼ å¾", |
| | | "css": "m5", |
| | | "enName": "Comprehensive Display", |
| | | "icon": null, |
| | | "id": 2, |
| | | "isShow": 1, |
| | | "level": 1, |
| | | "orderNum": 2, |
| | | "perms": "/comprehensive", |
| | | "pid": 1, |
| | | "type": 1, |
| | | "url": "Synthesis" |
| | | }, |
| | | { |
| | | "cnName": "å¨çº¿å¶å¾", |
| | | "css": null, |
| | | "enName": "Online Cartography", |
| | | "icon": "", |
| | | "id": 45, |
| | | "isShow": 1, |
| | | "level": 3, |
| | | "orderNum": 2, |
| | | "perms": "/export", |
| | | "pid": 2, |
| | | "type": 1, |
| | | "url": "ExportMap" |
| | | }, |
| | | { |
| | | "cnName": "ä¿¡æ¯ç®¡ç", |
| | | "css": null, |
| | | "enName": "Information management", |
| | | "icon": null, |
| | | "id": 20, |
| | | "isShow": 1, |
| | | "level": 3, |
| | | "orderNum": 2, |
| | | "perms": "/meta", |
| | | "pid": 86, |
| | | "type": 1, |
| | | "url": "metadataManage" |
| | | }, |
| | | { |
| | | "cnName": "åæ è½¬æ¢", |
| | | "css": null, |
| | | "enName": "Coordinate Transformation", |
| | | "icon": null, |
| | | "id": 71, |
| | | "isShow": 1, |
| | | "level": 2, |
| | | "orderNum": 2, |
| | | "perms": null, |
| | | "pid": 65, |
| | | "type": 1, |
| | | "url": "{fmeHost}/dataxdi/#/schema/task_zsy?tags=åæ è½¬æ¢&embed=true&theme=dark&lang=zh&token=" |
| | | }, |
| | | { |
| | | "cnName": "æ°æ®åå", |
| | | "css": null, |
| | | "enName": "Data distribution", |
| | | "icon": null, |
| | | "id": 72, |
| | | "isShow": 1, |
| | | "level": 2, |
| | | "orderNum": 3, |
| | | "perms": null, |
| | | "pid": 65, |
| | | "type": 1, |
| | | "url": "{fmeHost}/dataxdi/#/schema/task_zsy?tags=æ°æ®åå&embed=true&theme=dark&lang=zh&token=" |
| | | }, |
| | | { |
| | | "cnName": "æä½æ¥å¿", |
| | | "css": null, |
| | | "enName": "Operation Log", |
| | | "icon": null, |
| | | "id": 37, |
| | | "isShow": 1, |
| | | "level": 3, |
| | | "orderNum": 3, |
| | | "perms": "/operate", |
| | | "pid": 35, |
| | | "type": 1, |
| | | "url": "operationLog" |
| | | }, |
| | | { |
| | | "cnName": "åå¸ç®¡ç", |
| | | "css": null, |
| | | "enName": "Release management", |
| | | "icon": "", |
| | | "id": 90, |
| | | "isShow": 1, |
| | | "level": 3, |
| | | "orderNum": 3, |
| | | "perms": "/publish", |
| | | "pid": 86, |
| | | "type": 1, |
| | | "url": "uploadmanage" |
| | | }, |
| | | { |
| | | "cnName": "漫游", |
| | | "css": null, |
| | | "enName": "Wander", |
| | | "icon": null, |
| | | "id": 6, |
| | | "isShow": 1, |
| | | "level": 3, |
| | | "orderNum": 3, |
| | | "perms": null, |
| | | "pid": 3, |
| | | "type": 2, |
| | | "url": null |
| | | }, |
| | | |
| | | { |
| | | "cnName": "å°ç¾ä¸ä¸", |
| | | "css": null, |
| | | "enName": "Major in Earth disaster", |
| | | "icon": "", |
| | | "id": 88, |
| | | "isShow": 1, |
| | | "level": 2, |
| | | "orderNum": 3, |
| | | "perms": null, |
| | | "pid": 64, |
| | | "type": 1, |
| | | "url": "{fmeHost}/dataxdi/#/schema/task_zsy?tags=å°ç¾ä¸ä¸&embed=true&theme=dark&lang=zh&token=" |
| | | }, |
| | | { |
| | | "cnName": "项ç®ä¿¡æ¯", |
| | | "css": null, |
| | | "enName": "Project Information", |
| | | "icon": "", |
| | | "id": 58, |
| | | "isShow": 1, |
| | | "level": 3, |
| | | "orderNum": 3, |
| | | "perms": "/project", |
| | | "pid": 85, |
| | | "type": 1, |
| | | "url": "projectManage" |
| | | }, |
| | | { |
| | | "cnName": "åæ", |
| | | "css": null, |
| | | "enName": "Analyse", |
| | | "icon": null, |
| | | "id": 7, |
| | | "isShow": 1, |
| | | "level": 3, |
| | | "orderNum": 4, |
| | | "perms": null, |
| | | "pid": 3, |
| | | "type": 2, |
| | | "url": null |
| | | }, |
| | | { |
| | | "cnName": "å¾å±ç®¡ç", |
| | | "css": null, |
| | | "enName": " Layer Management", |
| | | "icon": "", |
| | | "id": 93, |
| | | "isShow": 1, |
| | | "level": 3, |
| | | "orderNum": 4, |
| | | "perms": "/layer", |
| | | "pid": 86, |
| | | "type": 1, |
| | | "url": "layerManagement" |
| | | }, |
| | | { |
| | | "cnName": "æ°æ®ç³è¯·", |
| | | "css": null, |
| | | "enName": "Data application", |
| | | "icon": "", |
| | | "id": 62, |
| | | "isShow": 1, |
| | | "level": 2, |
| | | "orderNum": 4, |
| | | "perms": "/apply", |
| | | "pid": 2, |
| | | "type": 1, |
| | | "url": "dataApplication" |
| | | }, |
| | | { |
| | | "cnName": "æ´åºä¸ä¸", |
| | | "css": null, |
| | | "enName": "Professional Cave", |
| | | "icon": null, |
| | | "id": 89, |
| | | "isShow": 1, |
| | | "level": 2, |
| | | "orderNum": 4, |
| | | "perms": null, |
| | | "pid": 64, |
| | | "type": 1, |
| | | "url": "{fmeHost}/dataxdi/#/schema/task_zsy?tags=æ´åºä¸ä¸&embed=true&theme=dark&lang=zh&token=" |
| | | }, |
| | | { |
| | | "cnName": "æ°æ®ç®¡ç", |
| | | "css": "m3", |
| | | "enName": "Data Manage", |
| | | "icon": null, |
| | | "id": 14, |
| | | "isShow": 1, |
| | | "level": 1, |
| | | "orderNum": 4, |
| | | "perms": "", |
| | | "pid": 1, |
| | | "type": 1, |
| | | "url": "" |
| | | }, |
| | | { |
| | | "cnName": "æ°æ®æ²»ç", |
| | | "css": null, |
| | | "enName": "Data governance", |
| | | "icon": null, |
| | | "id": 73, |
| | | "isShow": 1, |
| | | "level": 2, |
| | | "orderNum": 4, |
| | | "perms": null, |
| | | "pid": 65, |
| | | "type": 1, |
| | | "url": "{fmeHost}/dataxdi/#/schema/task_zsy?tags=æ°æ®æ²»ç&embed=true&theme=dark&lang=zh&token=" |
| | | }, |
| | | { |
| | | "cnName": "çæ¬ç®¡ç", |
| | | "css": null, |
| | | "enName": "Version Management", |
| | | "icon": null, |
| | | "id": 18, |
| | | "isShow": 1, |
| | | "level": 3, |
| | | "orderNum": 4, |
| | | "perms": "/ver", |
| | | "pid": 85, |
| | | "type": 1, |
| | | "url": "versionManage" |
| | | }, |
| | | { |
| | | "cnName": "èµæºæ¥å¿", |
| | | "css": null, |
| | | "enName": "Resource Log", |
| | | "icon": null, |
| | | "id": 38, |
| | | "isShow": 1, |
| | | "level": 3, |
| | | "orderNum": 4, |
| | | "perms": "/resOp", |
| | | "pid": 35, |
| | | "type": 1, |
| | | "url": "eventlogManage" |
| | | }, |
| | | { |
| | | "cnName": "ä»»å¡ç®¡ç", |
| | | "css": null, |
| | | "enName": "Task management", |
| | | "icon": null, |
| | | "id": 81, |
| | | "isShow": 1, |
| | | "level": 2, |
| | | "orderNum": 5, |
| | | "perms": "", |
| | | "pid": 66, |
| | | "type": 1, |
| | | "url": "{fmeHost}/dataxdi/#/task/list?embed=true&theme=dark&lang=zh&token=" |
| | | }, |
| | | { |
| | | "cnName": "å¼å管ç", |
| | | "css": null, |
| | | "enName": "Domain Management", |
| | | "icon": "", |
| | | "id": 44, |
| | | "isShow": 1, |
| | | "level": 3, |
| | | "orderNum": 5, |
| | | "perms": "/domain", |
| | | "pid": 86, |
| | | "type": 1, |
| | | "url": "domainManage" |
| | | }, |
| | | { |
| | | "cnName": "æ¹æ¡ç®¡ç", |
| | | "css": null, |
| | | "enName": "Programme management", |
| | | "icon": "", |
| | | "id": 80, |
| | | "isShow": 1, |
| | | "level": 2, |
| | | "orderNum": 5, |
| | | "perms": null, |
| | | "pid": 66, |
| | | "type": 1, |
| | | "url": "{fmeHost}/dataxdi/#/schema/list?embed=true&theme=dark&lang=zh&token=" |
| | | }, |
| | | { |
| | | "cnName": "æ°æ®ç»è®¡", |
| | | "css": null, |
| | | "enName": "dataStatistics", |
| | | "icon": "", |
| | | "id": 94, |
| | | "isShow": 1, |
| | | "level": 2, |
| | | "orderNum": 5, |
| | | "perms": null, |
| | | "pid": 2, |
| | | "type": 1, |
| | | "url": "/dataCount" |
| | | }, |
| | | { |
| | | "cnName": "令ç管ç", |
| | | "css": null, |
| | | "enName": "Token Management", |
| | | "icon": null, |
| | | "id": 39, |
| | | "isShow": 1, |
| | | "level": 3, |
| | | "orderNum": 5, |
| | | "perms": "/token", |
| | | "pid": 35, |
| | | "type": 1, |
| | | "url": "tokentool" |
| | | }, |
| | | { |
| | | "cnName": "åç¨èµæº", |
| | | "css": null, |
| | | "enName": "Application record", |
| | | "icon": "", |
| | | "id": 87, |
| | | "isShow": 1, |
| | | "level": 2, |
| | | "orderNum": 5, |
| | | "perms": null, |
| | | "pid": 66, |
| | | "type": 1, |
| | | "url": "{fmeHost}/resm/#/resdisabled?embed=true&theme=dark&lang=zh&token=" |
| | | }, |
| | | { |
| | | "cnName": "æ¥è¯¢", |
| | | "css": null, |
| | | "enName": "IQuery", |
| | | "icon": null, |
| | | "id": 8, |
| | | "isShow": 1, |
| | | "level": 3, |
| | | "orderNum": 5, |
| | | "perms": "/inquiry", |
| | | "pid": 3, |
| | | "type": 2, |
| | | "url": null |
| | | }, |
| | | |
| | | { |
| | | "cnName": "é»/ç½åå", |
| | | "css": null, |
| | | "enName": "Black/White List", |
| | | "icon": null, |
| | | "id": 40, |
| | | "isShow": 1, |
| | | "level": 3, |
| | | "orderNum": 6, |
| | | "perms": "/blacklist", |
| | | "pid": 35, |
| | | "type": 1, |
| | | "url": "blackwhiteList" |
| | | }, |
| | | { |
| | | "cnName": "å®ä½", |
| | | "css": null, |
| | | "enName": "Orientation", |
| | | "icon": null, |
| | | "id": 9, |
| | | "isShow": 1, |
| | | "level": 3, |
| | | "orderNum": 6, |
| | | "perms": "/locate", |
| | | "pid": 3, |
| | | "type": 2, |
| | | "url": null |
| | | }, |
| | | { |
| | | "cnName": "èµæºææ", |
| | | "css": null, |
| | | "enName": "Resource Management", |
| | | "icon": "", |
| | | "id": 91, |
| | | "isShow": 1, |
| | | "level": 2, |
| | | "orderNum": 6, |
| | | "perms": null, |
| | | "pid": 66, |
| | | "type": 1, |
| | | "url": "{fmeHost}/resm/#/rescancelauth?embed=true&theme=dark&lang=zh&token=" |
| | | }, |
| | | { |
| | | "cnName": "èµæé¦", |
| | | "css": null, |
| | | "enName": "Data Library", |
| | | "icon": null, |
| | | "id": 13, |
| | | "isShow": 1, |
| | | "level": 2, |
| | | "orderNum": 6, |
| | | "perms": "/dataLib", |
| | | "pid": 2, |
| | | "type": 1, |
| | | "url": "Archive" |
| | | }, |
| | | { |
| | | "cnName": "åå
¸ç®¡ç", |
| | | "css": null, |
| | | "enName": "Dictionary Management", |
| | | "icon": null, |
| | | "id": 19, |
| | | "isShow": 1, |
| | | "level": 3, |
| | | "orderNum": 6, |
| | | "perms": "/dict", |
| | | "pid": 86, |
| | | "type": 1, |
| | | "url": "dictionaryManage" |
| | | }, |
| | | |
| | | { |
| | | "cnName": "æ ·å¼ç®¡ç", |
| | | "css": null, |
| | | "enName": "Style Management", |
| | | "icon": null, |
| | | "id": 21, |
| | | "isShow": 1, |
| | | "level": 3, |
| | | "orderNum": 7, |
| | | "perms": "/style", |
| | | "pid": 86, |
| | | "type": 1, |
| | | "url": "styleManage" |
| | | }, |
| | | { |
| | | "cnName": "ç³è¯·ç¶æ", |
| | | "css": null, |
| | | "enName": "Application status", |
| | | "icon": "", |
| | | "id": 92, |
| | | "isShow": 1, |
| | | "level": 2, |
| | | "orderNum": 7, |
| | | "perms": null, |
| | | "pid": 66, |
| | | "type": 1, |
| | | "url": "{fmeHost}/resm/#/resrequest?embed=true&theme=dark&lang=zh&token=" |
| | | }, |
| | | { |
| | | "cnName": "æ°æ®åºçæ§", |
| | | "css": null, |
| | | "enName": "Database Monitoring", |
| | | "icon": null, |
| | | "id": 41, |
| | | "isShow": 1, |
| | | "level": 3, |
| | | "orderNum": 7, |
| | | "perms": "/sign/toDruid", |
| | | "pid": 35, |
| | | "type": 1, |
| | | "url": "{webHost}/server/druid/index.html" |
| | | }, |
| | | { |
| | | "cnName": "æµé", |
| | | "css": null, |
| | | "enName": "Measurement", |
| | | "icon": null, |
| | | "id": 10, |
| | | "isShow": 1, |
| | | "level": 3, |
| | | "orderNum": 7, |
| | | "perms": null, |
| | | "pid": 3, |
| | | "type": 2, |
| | | "url": null |
| | | }, |
| | | |
| | | { |
| | | "cnName": "æ°æ®èµæºç®¡ç", |
| | | "css": "m6", |
| | | "enName": "Operat Management", |
| | | "icon": null, |
| | | "id": 22, |
| | | "isShow": 1, |
| | | "level": 1, |
| | | "orderNum": 7, |
| | | "perms": "", |
| | | "pid": 1, |
| | | "type": 1, |
| | | "url": "" |
| | | }, |
| | | { |
| | | "cnName": "综åæå¿æ¾ç¤º", |
| | | "css": "m5", |
| | | "enName": "Operat Management", |
| | | "icon": null, |
| | | "id": 202, |
| | | "isShow": 1, |
| | | "level": 1, |
| | | "orderNum": 7, |
| | | "perms": "", |
| | | "pid": 1, |
| | | "type": 1, |
| | | "url": "" |
| | | }, |
| | | { |
| | | "cnName": "æ ç»", |
| | | "css": null, |
| | | "enName": "Plotting", |
| | | "icon": null, |
| | | "id": 11, |
| | | "isShow": 1, |
| | | "level": 3, |
| | | "orderNum": 8, |
| | | "perms": "/mark", |
| | | "pid": 3, |
| | | "type": 2, |
| | | "url": null |
| | | }, |
| | | { |
| | | "cnName": "æ°æ®æ¥è¯¢", |
| | | "css": null, |
| | | "enName": "Data Query", |
| | | "icon": null, |
| | | "id": 17, |
| | | "isShow": 1, |
| | | "level": 3, |
| | | "orderNum": 8, |
| | | "perms": "/dataQuery", |
| | | "pid": 86, |
| | | "type": 1, |
| | | "url": "SpatialData" |
| | | }, |
| | | { |
| | | "cnName": "ç³»ç»çæ§", |
| | | "css": null, |
| | | "enName": "System Monitoring", |
| | | "icon": null, |
| | | "id": 42, |
| | | "isShow": 1, |
| | | "level": 3, |
| | | "orderNum": 8, |
| | | "perms": "/ws", |
| | | "pid": 35, |
| | | "type": 1, |
| | | "url": "systemMonitoring" |
| | | }, |
| | | { |
| | | "cnName": "åºæ¯", |
| | | "css": null, |
| | | "enName": "Scene", |
| | | "icon": "", |
| | | "id": 61, |
| | | "isShow": 1, |
| | | "level": 2, |
| | | "orderNum": 9, |
| | | "perms": "/Scene", |
| | | "pid": 3, |
| | | "type": 2, |
| | | "url": "" |
| | | }, |
| | | { |
| | | "cnName": "管é空é´åæ", |
| | | "css": null, |
| | | "enName": " Pipe space analysis", |
| | | "icon": "", |
| | | "id": 63, |
| | | "isShow": 1, |
| | | "level": 3, |
| | | "orderNum": 10, |
| | | "perms": "/pipeline", |
| | | "pid": 3, |
| | | "type": 2, |
| | | "url": "/pipeline" |
| | | }, |
| | | { |
| | | "cnName": "项ç®ç®¡ç", |
| | | "css": null, |
| | | "enName": "Project management", |
| | | "icon": "", |
| | | "id": 85, |
| | | "isShow": 1, |
| | | "level": 2, |
| | | "orderNum": 11, |
| | | "perms": null, |
| | | "pid": 14, |
| | | "type": 1, |
| | | "url": "/projectController" |
| | | }, |
| | | { |
| | | "cnName": "æ°æ®åºç®¡ç", |
| | | "css": null, |
| | | "enName": "Database management", |
| | | "icon": null, |
| | | "id": 86, |
| | | "isShow": 1, |
| | | "level": 2, |
| | | "orderNum": 12, |
| | | "perms": null, |
| | | "pid": 14, |
| | | "type": 1, |
| | | "url": "/bankController" |
| | | }, |
| | | { |
| | | "cnName": "ç³»ç»ç®¡ç", |
| | | "css": null, |
| | | "enName": "System Management", |
| | | "icon": null, |
| | | "id": 23, |
| | | "isShow": 1, |
| | | "level": 2, |
| | | "orderNum": 23, |
| | | "perms": null, |
| | | "pid": 22, |
| | | "type": 1, |
| | | "url": "/systemController" |
| | | }, |
| | | { |
| | | "cnName": "èå管ç", |
| | | "css": null, |
| | | "enName": "Menu Management", |
| | | "icon": null, |
| | | "id": 24, |
| | | "isShow": 1, |
| | | "level": 3, |
| | | "orderNum": 24, |
| | | "perms": "/menu", |
| | | "pid": 23, |
| | | "type": 1, |
| | | "url": "menuSettings" |
| | | }, |
| | | { |
| | | "cnName": "ç¨æ·ç®¡ç", |
| | | "css": null, |
| | | "enName": "User Management", |
| | | "icon": null, |
| | | "id": 25, |
| | | "isShow": 1, |
| | | "level": 3, |
| | | "orderNum": 25, |
| | | "perms": "/user", |
| | | "pid": 23, |
| | | "type": 1, |
| | | "url": "userInfoManage" |
| | | }, |
| | | { |
| | | "cnName": "åä½ç®¡ç", |
| | | "css": null, |
| | | "enName": "Organization Management", |
| | | "icon": null, |
| | | "id": 26, |
| | | "isShow": 1, |
| | | "level": 3, |
| | | "orderNum": 26, |
| | | "perms": "/dep", |
| | | "pid": 23, |
| | | "type": 1, |
| | | "url": "orgManage" |
| | | }, |
| | | { |
| | | "cnName": "èµæºç®¡ç", |
| | | "css": null, |
| | | "enName": "Resource Management", |
| | | "icon": null, |
| | | "id": 27, |
| | | "isShow": 0, |
| | | "level": 3, |
| | | "orderNum": 27, |
| | | "perms": "/res", |
| | | "pid": 23, |
| | | "type": 1, |
| | | "url": "resourceManage" |
| | | }, |
| | | { |
| | | "cnName": "è§è²ç®¡ç", |
| | | "css": null, |
| | | "enName": "Role Management", |
| | | "icon": null, |
| | | "id": 28, |
| | | "isShow": 1, |
| | | "level": 3, |
| | | "orderNum": 28, |
| | | "perms": "/role", |
| | | "pid": 23, |
| | | "type": 1, |
| | | "url": "roleManage" |
| | | }, |
| | | { |
| | | "cnName": "æé管ç", |
| | | "css": null, |
| | | "enName": "Permission Management", |
| | | "icon": null, |
| | | "id": 29, |
| | | "isShow": 1, |
| | | "level": 3, |
| | | "orderNum": 29, |
| | | "perms": "/auth", |
| | | "pid": 23, |
| | | "type": 1, |
| | | "url": "authorityManage" |
| | | }, |
| | | { |
| | | "cnName": "ææç®¡ç", |
| | | "css": null, |
| | | "enName": "Authorization Management", |
| | | "icon": null, |
| | | "id": 30, |
| | | "isShow": 1, |
| | | "level": 2, |
| | | "orderNum": 30, |
| | | "perms": null, |
| | | "pid": 22, |
| | | "type": 1, |
| | | "url": "/empowerController" |
| | | }, |
| | | { |
| | | "cnName": "模æ¿ç®¡ç", |
| | | "css": null, |
| | | "enName": "Template management", |
| | | "icon": "", |
| | | "id": 82, |
| | | "isShow": 1, |
| | | "level": 3, |
| | | "orderNum": 30, |
| | | "perms": "/report", |
| | | "pid": 23, |
| | | "type": 1, |
| | | "url": "templateManage" |
| | | }, |
| | | { |
| | | "cnName": "ç¨æ·è§è²ææ", |
| | | "css": null, |
| | | "enName": "User Role Authorization", |
| | | "icon": null, |
| | | "id": 31, |
| | | "isShow": 1, |
| | | "level": 3, |
| | | "orderNum": 31, |
| | | "perms": "/roleUser", |
| | | "pid": 30, |
| | | "type": 1, |
| | | "url": "userRoleAuthorization" |
| | | }, |
| | | { |
| | | "cnName": "èåæéææ", |
| | | "css": null, |
| | | "enName": "Menu Permission Authorization", |
| | | "icon": null, |
| | | "id": 32, |
| | | "isShow": 1, |
| | | "level": 3, |
| | | "orderNum": 32, |
| | | "perms": "/menuAuth", |
| | | "pid": 30, |
| | | "type": 1, |
| | | "url": "menuRoleAuthorization" |
| | | }, |
| | | { |
| | | "cnName": "è§è²èåææ", |
| | | "css": null, |
| | | "enName": "Role Menu Authorization", |
| | | "icon": null, |
| | | "id": 33, |
| | | "isShow": 1, |
| | | "level": 3, |
| | | "orderNum": 33, |
| | | "perms": "/roleMenuAuth", |
| | | "pid": 30, |
| | | "type": 1, |
| | | "url": "roleMenuAuthorization" |
| | | }, |
| | | { |
| | | "cnName": "è§è²èµæºææ", |
| | | "css": null, |
| | | "enName": "Role Resource Authorization", |
| | | "icon": null, |
| | | "id": 34, |
| | | "isShow": 0, |
| | | "level": 3, |
| | | "orderNum": 34, |
| | | "perms": "/roleRes", |
| | | "pid": 30, |
| | | "type": 1, |
| | | "url": "roleResAuthorization" |
| | | }, |
| | | { |
| | | "cnName": "è¿ç»´çæ§", |
| | | "css": null, |
| | | "enName": "Operation And Monitoring", |
| | | "icon": null, |
| | | "id": 35, |
| | | "isShow": 1, |
| | | "level": 2, |
| | | "orderNum": 35, |
| | | "perms": "/ctrl", |
| | | "pid": 22, |
| | | "type": 1, |
| | | "url": "/opexController" |
| | | }, |
| | | { |
| | | "cnName": "ç³»ç»é
ç½®", |
| | | "css": null, |
| | | "enName": "System Configuration", |
| | | "icon": null, |
| | | "id": 43, |
| | | "isShow": 1, |
| | | "level": 2, |
| | | "orderNum": 43, |
| | | "perms": "/args", |
| | | "pid": 22, |
| | | "type": 1, |
| | | "url": "parameterConfiguration" |
| | | } |
| | | ], |
| | | "time": 1714294558805 |
| | | } |
| | |
| | | .NavBox { |
| | | width: 100%; |
| | | height: 100%; |
| | | background-image: url("../../assets/img/menu/navbg.jpg"); |
| | | background-image: url("../../assets/img/menu/navbg.png"); |
| | | background-repeat: no-repeat; |
| | | background-size: 100% 100%; |
| | | /*background-image: linear-gradient(rgb(34, 33, 33), rgb(27, 31, 78));*/ |
| | |
| | | background: url("../img/LOGO.png") no-repeat center; */ |
| | | width: 18%; |
| | | height: 50px; |
| | | background: url("../img/menu/navtitle.png") no-repeat center center; |
| | | /* background: url("../img/menu/navtitle.png") no-repeat center center; */ |
| | | background-size: 100% 100%; |
| | | } |
| | | |
| | |
| | | <template> |
| | | <div class="container"> |
| | | <vue-particles |
| | | :particleOpacity="0.7" |
| | | <vue-particles :particleOpacity="0.7" |
| | | :particlesNumber="80" |
| | | shapeType="circle" |
| | | :particleSize="4" |
| | |
| | | :hoverEffect="true" |
| | | hoverMode="grab" |
| | | :clickEffect="false" |
| | | clickMode="bubble" |
| | | > |
| | | clickMode="bubble"> |
| | | </vue-particles> |
| | | <div class="MapMenu"> |
| | | <iframe |
| | | id="ifream" |
| | | <iframe id="ifream" |
| | | style="border: none" |
| | | width="100%" |
| | | height="100%" |
| | | v-bind:src="reportUrl" |
| | | ></iframe> |
| | | v-bind:src="reportUrl"></iframe> |
| | | </div> |
| | | <div class="title_img"> |
| | | <img |
| | | src="../assets/img/lg_03.png" |
| | | alt="" |
| | | /> |
| | | <img src="../assets/img/lg_03.png" |
| | | alt="" /> |
| | | </div> |
| | | <div class="login"> |
| | | <div class="login_title"> |
| | | <span>ç¨æ·ç»å½</span> |
| | | </div> |
| | | <el-form |
| | | :model="loginForm" |
| | | <el-form :model="loginForm" |
| | | :rules="rules" |
| | | ref="loginForm" |
| | | class="loginForm" |
| | | > |
| | | class="loginForm"> |
| | | <el-form-item prop="uid"> |
| | | <el-input |
| | | v-model="loginForm.uid" |
| | | <el-input v-model="loginForm.uid" |
| | | placeholder="è¾å
¥ç»å½è´¦å·" |
| | | class="nobr" |
| | | size="meddle" |
| | | autocomplete="off" |
| | | > |
| | | <i |
| | | slot="prefix" |
| | | class="el-icon-user" |
| | | ></i> |
| | | autocomplete="off"> |
| | | <i slot="prefix" |
| | | class="el-icon-user"></i> |
| | | </el-input> |
| | | </el-form-item> |
| | | |
| | | <el-form-item prop="pwd"> |
| | | <el-input |
| | | show-password |
| | | <el-input show-password |
| | | v-model="loginForm.pwd" |
| | | placeholder="请è¾å
¥ç»å½å¯ç " |
| | | class="nobr" |
| | | autocomplete="off" |
| | | > |
| | | <i |
| | | slot="prefix" |
| | | class="el-icon-lock" |
| | | ></i> |
| | | autocomplete="off"> |
| | | <i slot="prefix" |
| | | class="el-icon-lock"></i> |
| | | </el-input> |
| | | </el-form-item> |
| | | |
| | | <el-form-item required> |
| | | <el-col :span="18"> |
| | | <el-form-item prop="validCode"> |
| | | <el-input |
| | | v-model="loginForm.validCode" |
| | | <el-input v-model="loginForm.validCode" |
| | | placeholder="请è¾å
¥éªè¯ç ï¼å¿½ç¥å¤§å°åï¼" |
| | | class="nobr" |
| | | ></el-input> |
| | | class="nobr"></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | |
| | | <el-col |
| | | :span="6" |
| | | align="right" |
| | | > |
| | | <validCode |
| | | v-model="validCode" |
| | | <el-col :span="6" |
| | | align="right"> |
| | | <validCode v-model="validCode" |
| | | ref="refresh" |
| | | @sendData="getCode" |
| | | ></validCode> |
| | | @sendData="getCode"></validCode> |
| | | </el-col> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <img |
| | | src="../assets/img/zhengshu.png" |
| | | alt="" |
| | | /><span style="color: black">è¯ä¹¦å®è£
䏿·»å ä¿¡ä»»ç«ç¹</span> |
| | | <img src="../assets/img/zhengshu.png" |
| | | alt="" /><span style="color: black">è¯ä¹¦å®è£
䏿·»å ä¿¡ä»»ç«ç¹</span> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <img |
| | | src="../assets/img/document.png" |
| | | alt="" |
| | | /><span style="color: black">使ç¨å¸®å©ææ¡£</span> |
| | | <img src="../assets/img/document.png" |
| | | alt="" /><span style="color: black">使ç¨å¸®å©ææ¡£</span> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-button |
| | | type="primary" |
| | | <el-button type="primary" |
| | | class="nobr loginbtn" |
| | | style="" |
| | | :loading="loading" |
| | | @click="submitForm('loginForm')" |
| | | >ç»å½</el-button> |
| | | @click="submitForm('loginForm')">ç»å½</el-button> |
| | | </el-form-item> |
| | | </el-form> |
| | | </div> |
| | |
| | | this.$store.commit("getPermsEntity", res.result); |
| | | |
| | | if (res.result.length != 0) { |
| | | sessionStorage.setItem("routerName", "/Thematic"); |
| | | sessionStorage.setItem("changeSelectStyle", 1); |
| | | this.$router.push("/"); |
| | | |
| | | // sessionStorage.setItem("routerName","/Synthesis"); |
| | | // sessionStorage.setItem("routerName", "/Thematic"); |
| | | // sessionStorage.setItem("changeSelectStyle",1); |
| | | // this.$router.push("/"); |
| | | sessionStorage.setItem("changeSelectStyle",1) |
| | | this.$router.push("/Synthesis") |
| | | } else { |
| | | this.$message({ |
| | | message: "请æ¨è系管çååé
è§è²èå", |
| | |
| | | <template> |
| | | <div |
| | | class="NavBox" |
| | | @click.stop |
| | | > |
| | | <div class="NavBox" |
| | | @click.stop> |
| | | <div class="topBox"> |
| | | <div class="topTitle"></div> |
| | | <div class="topMenu"> |
| | | <div class="menuContent"> |
| | | <div |
| | | class="contentDiv" |
| | | <div class="contentDiv" |
| | | @click="setMenuMove(index, item)" |
| | | v-for="(item, index) in listMenu" |
| | | > |
| | | v-for="(item, index) in listMenu"> |
| | | <div style="display: flex;align-items: center"> |
| | | <div class="ImgMenu"> |
| | | <div |
| | | class="menuImage" |
| | | :class="changeSelectStyle == index ? item.checkClass : item.css" |
| | | ></div> |
| | | <div class="menuImage" |
| | | :class="changeSelectStyle == index ? item.checkClass : item.css"></div> |
| | | </div> |
| | | <div |
| | | class="menulabel" |
| | | :class="{ changeStyle: changeSelectStyle == index }" |
| | | > |
| | | <div class="menulabel" |
| | | :class="{ changeStyle: changeSelectStyle == index }"> |
| | | <span v-show="language"> {{ item.cnName }}</span> <span v-show="!language"> {{ item.enName }}</span> |
| | | </div> |
| | | </div> |
| | | <div |
| | | class="secondMenuDiv subpage_Div" |
| | | v-show="index == showFlag ? true :false" |
| | | > |
| | | <div |
| | | v-for="res in item.children" |
| | | <div class="secondMenuDiv subpage_Div" |
| | | v-show="index == showFlag ? true :false"> |
| | | <div v-for="res in item.children" |
| | | @click="setLiClick(res,index)" |
| | | :class="{ changeLiStyle: changeliSelect == res.cnName }" |
| | | > |
| | | :class="{ changeLiStyle: changeliSelect == res.cnName }"> |
| | | <span v-show="language"> {{ res.cnName }}</span> <span v-show="!language"> {{ res.enName }}</span> |
| | | </div> |
| | | </div> |
| | |
| | | </div> |
| | | <div class="topUser"> |
| | | <div class="userLanguage"> |
| | | <div |
| | | class="userImage theme" |
| | | @click="themeChange" |
| | | ></div> |
| | | <div |
| | | class="userImage user2" |
| | | @click="switchLang" |
| | | ></div> |
| | | <div class="userImage theme" |
| | | @click="themeChange"></div> |
| | | <!-- <div class="userImage user2" |
| | | @click="switchLang"></div> --> |
| | | |
| | | </div> |
| | | <div class="userName"> |
| | | <div class="userImage user1"></div> |
| | | <div class="userText"> |
| | | <span>{{ this.$store.state.uname }}</span> |
| | | <el-link |
| | | @click="logOut" |
| | | <el-link @click="logOut" |
| | | :underline="false" |
| | | class="elLink" |
| | | >{{ $t('common.logout') }}</el-link> |
| | | class="elLink">{{ $t('common.logout') }}</el-link> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | import { queryMenuTree, getPerms } from '../api/api'; |
| | | import colorChange from '../views/maintenance/colorChange.vue'; |
| | | import { containsCoordinate } from 'ol/extent'; |
| | | import axios from "axios"; |
| | | import Vue from 'vue'; |
| | | import $ from 'jquery' |
| | | export default { |
| | |
| | | async getMenuTree() { |
| | | this.getCookies(); |
| | | const data = await queryMenuTree(); |
| | | var that=this; |
| | | |
| | | that.showTreeData(data) |
| | | }, |
| | | showTreeData (data) { |
| | | var that = this; |
| | | if (data.code == 200) { |
| | | |
| | |
| | | import QualityInspection from '@/views/PackageTwo/index.vue'; //æ°æ®è´¨æ£-å
¥åºè´¨æ£ |
| | | |
| | | |
| | | // éä¿¡èµæºç®¡ç |
| | | import commResource from '../views/comm/commResource/commResource.vue' |
| | | // éä¿¡ç½ç³»ç®¡ç |
| | | import commNetwork from '../views/comm/commNetwork/commNetwork.vue' |
| | | // éä¿¡æ³å®ç®¡ç |
| | | import commScenario from '../views/comm/commScenario/commScenario.vue' |
| | | // å¤åªä½ç´ æç®¡ç |
| | | import multimedia from '../views/comm/multimedia/multimedia.vue' |
| | | // ä»¿çæ¨¡å管ç |
| | | import simulationModel from '../views/comm/simulationModel/simulationModel.vue' |
| | | //éä¿¡æ¹æ¡ç®¡ç |
| | | import commScheme from '../views/comm/commScheme/commScheme.vue' |
| | | //æ¹æ¡æå¶ |
| | | import planFormulation from '../views/comm/planFormulation/planFormulation.vue' |
| | | //æ¹æ¡è®²è¯ |
| | | import planReview from '../views/comm/planReview/planReview.vue' |
| | | //éä¿¡æ¯ä¼¤å½±åè¯ä¼° |
| | | import damageAssess from '../views/comm/damageAssess/damageAssess.vue' |
| | | |
| | | |
| | | |
| | | const originalPush = VueRouter.prototype.push; |
| | |
| | | component: Home, |
| | | redirect: '/Synthesis', |
| | | children: [ |
| | | { |
| | | path: '/damageAssess', |
| | | component: damageAssess, |
| | | name: 'damageAssess', |
| | | meta: { |
| | | title: 'éä¿¡æ¯ä¼¤å½±åè¯ä¼°', |
| | | requireAuth: true, // æ è¯è¯¥è·¯ç±æ¯å¦éè¦ç»å½ |
| | | }, |
| | | }, |
| | | { |
| | | path: '/planFormulation', |
| | | component: planFormulation, |
| | | name: 'planFormulation', |
| | | meta: { |
| | | title: 'éä¿¡æ¹æ¡æå¶', |
| | | requireAuth: true, // æ è¯è¯¥è·¯ç±æ¯å¦éè¦ç»å½ |
| | | }, |
| | | }, |
| | | { |
| | | path: '/planReview', |
| | | component: planReview, |
| | | name: 'planReview', |
| | | meta: { |
| | | title: 'æ¹æ¡è®²è¯', |
| | | requireAuth: true, // æ è¯è¯¥è·¯ç±æ¯å¦éè¦ç»å½ |
| | | }, |
| | | }, |
| | | { |
| | | path: '/commScheme', |
| | | component: commScheme, |
| | | name: 'commScheme', |
| | | meta: { |
| | | title: 'éä¿¡æ¹æ¡ç®¡ç', |
| | | requireAuth: true, // æ è¯è¯¥è·¯ç±æ¯å¦éè¦ç»å½ |
| | | }, |
| | | }, |
| | | { |
| | | path: '/simulationModel', |
| | | component: simulationModel, |
| | | name: 'simulationModel', |
| | | meta: { |
| | | title: 'ä»¿çæ¨¡å管ç', |
| | | requireAuth: true, // æ è¯è¯¥è·¯ç±æ¯å¦éè¦ç»å½ |
| | | }, |
| | | }, |
| | | { |
| | | path: '/multimedia', |
| | | component: multimedia, |
| | | name: 'multimedia', |
| | | meta: { |
| | | title: 'å¤åªä½ç´ æç®¡ç', |
| | | requireAuth: true, // æ è¯è¯¥è·¯ç±æ¯å¦éè¦ç»å½ |
| | | }, |
| | | }, |
| | | { |
| | | path: '/commScenario', |
| | | component: commScenario, |
| | | name: 'commScenario', |
| | | meta: { |
| | | title: 'éä¿¡æ³å®ç®¡ç', |
| | | requireAuth: true, // æ è¯è¯¥è·¯ç±æ¯å¦éè¦ç»å½ |
| | | }, |
| | | }, |
| | | { |
| | | path: '/commNetwork', |
| | | component: commNetwork, |
| | | name: 'commNetwork', |
| | | meta: { |
| | | title: 'éä¿¡ç½ç³»ç®¡ç', |
| | | requireAuth: true, // æ è¯è¯¥è·¯ç±æ¯å¦éè¦ç»å½ |
| | | }, |
| | | }, |
| | | { |
| | | path: '/commResource', |
| | | component: commResource, |
| | | name: 'commResource', |
| | | meta: { |
| | | title: 'éä¿¡èµæºç®¡ç', |
| | | requireAuth: true, // æ è¯è¯¥è·¯ç±æ¯å¦éè¦ç»å½ |
| | | }, |
| | | }, |
| | | { |
| | | path: '/WareInspection', |
| | | component: WareInspection, |
| | |
| | | requireAuth: true, // æ è¯è¯¥è·¯ç±æ¯å¦éè¦ç»å½ |
| | | }, |
| | | }, |
| | | |
| | | ], |
| | | }, |
| | | ]; |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <div class="contentBox"> |
| | | |
| | | <div class="box" |
| | | ref="box"> |
| | | <div class="left box_div"> |
| | | <el-menu :default-active="activeIndex" |
| | | background-color="transparent" |
| | | @select="handleselect"> |
| | | <customElMenu :menuData="menuList"></customElMenu> |
| | | </el-menu> |
| | | </div> |
| | | <div class="resize" |
| | | title="æ¶ç¼©ä¾§è¾¹æ "> |
| | | â® |
| | | </div> |
| | | <div class="mid box_div"> |
| | | <My-bread :list="[ |
| | | `éä¿¡èµæºç®¡ç`, |
| | | nodeName, |
| | | ]"></My-bread> |
| | | <el-divider /> |
| | | </div> |
| | | </div> |
| | | |
| | | </div> |
| | | |
| | | </template> |
| | | |
| | | <script> |
| | | |
| | | import { selectMenuRecursive,queryMenuTree,sign_insertOpLog } from '@/api/api.js' |
| | | import MyBread from "@/components/MyBread.vue"; |
| | | import customElMenu from "@/components/customElMenu.vue"; |
| | | export default { |
| | | components: { |
| | | MyBread, |
| | | customElMenu |
| | | |
| | | }, |
| | | data () { |
| | | return { |
| | | setMenuFlag: ' ', |
| | | activeIndex: ' ', |
| | | oriData: [], //åå§æ æ°æ® |
| | | dirData: [], //elæ æ°æ® |
| | | newData: [], //æå¨åæ°æ® |
| | | lang: 'zh', |
| | | |
| | | menuList: [], |
| | | editTitle: '', |
| | | showPopover: false, |
| | | showEditInfoWrapper: false, |
| | | showEdit: false, |
| | | editMenu: false, |
| | | editCatalogue: false, |
| | | editUnit: false, |
| | | itemdetail: {}, |
| | | formLabelWidth: '70px', |
| | | pid: null, |
| | | nodeName: null, |
| | | }; |
| | | }, |
| | | created () { }, |
| | | mounted () { |
| | | |
| | | this.getTreeData(); |
| | | //左峿å |
| | | this.dragControllerDiv(); |
| | | }, |
| | | methods: { |
| | | //左峿å |
| | | dragControllerDiv: function() { |
| | | var resize=document.getElementsByClassName('resize'); |
| | | var left=document.getElementsByClassName('left'); |
| | | var mid=document.getElementsByClassName('mid'); |
| | | var box=document.getElementsByClassName('box'); |
| | | for(let i=0;i<resize.length;i++) { |
| | | // é¼ æ æä¸äºä»¶ |
| | | resize[i].onmousedown=function(e) { |
| | | //é¢è²æ¹åæé |
| | | resize[i].style.background='#818181'; |
| | | var startX=e.clientX; |
| | | resize[i].left=resize[i].offsetLeft; |
| | | // é¼ æ æå¨äºä»¶ |
| | | document.onmousemove=function(e) { |
| | | var endX=e.clientX; |
| | | var moveLen=resize[i].left+(endX-startX); // ï¼endx-startxï¼=ç§»å¨çè·ç¦»ãresize[i].left+ç§»å¨çè·ç¦»=左边åºåæåç宽度 |
| | | var maxT=box[i].clientWidth-resize[i].offsetWidth; // 容å¨å®½åº¦ - 左边åºåç宽度 = å³è¾¹åºåç宽度 |
| | | |
| | | if(moveLen<205) moveLen=205; // 左边åºåçæå°å®½åº¦ä¸º32px |
| | | if(moveLen>maxT-300) moveLen=maxT-300; //å³è¾¹åºåæå°å®½åº¦ä¸º150px |
| | | |
| | | resize[i].style.left=moveLen; // 设置左侧åºåç宽度 |
| | | |
| | | for(let j=0;j<left.length;j++) { |
| | | left[j].style.width=moveLen+'px'; |
| | | mid[j].style.width=(box[i].clientWidth-moveLen-10)+'px'; |
| | | } |
| | | }; |
| | | // é¼ æ æ¾å¼äºä»¶ |
| | | document.onmouseup=function(evt) { |
| | | //é¢è²æ¢å¤ |
| | | resize[i].style.background='#d6d6d6'; |
| | | document.onmousemove=null; |
| | | document.onmouseup=null; |
| | | resize[i].releaseCapture&&resize[i].releaseCapture(); //å½ä½ ä¸å¨éè¦ç»§ç»è·å¾é¼ æ æ¶æ¯å°±è¦åºè¯¥è°ç¨ReleaseCapture()éæ¾æ |
| | | }; |
| | | resize[i].setCapture&&resize[i].setCapture(); //è¯¥å½æ°å¨å±äºå½å线ç¨çæå®çªå£éè®¾ç½®é¼ æ æè· |
| | | return false; |
| | | }; |
| | | } |
| | | }, |
| | | |
| | | |
| | | |
| | | //è·åæ |
| | | async getTreeData () { |
| | | const data=await queryMenuTree(); |
| | | |
| | | let menuLists=data.result.filter((value) => { |
| | | return value.url=="/commNetWork"; |
| | | }); |
| | | |
| | | this.pid=menuLists[0].id; |
| | | |
| | | const res=await selectMenuRecursive({ id: menuLists[0].id }); |
| | | |
| | | if(res.code==200) { |
| | | if(res.result.length!=0) { |
| | | let menuList=res.result.filter((value) => { |
| | | return value.type==1; |
| | | }); |
| | | this.menuList=this.treeData(menuList); |
| | | |
| | | this.m1=this.menuList[0].cnName; |
| | | this.setViewController(this.menuList[0]); |
| | | this.nodeName=this.m1 |
| | | const hanleselectindex=sessionStorage.getItem('hanleselectindex') |
| | | if(hanleselectindex) { |
| | | this.$nextTick(function() { |
| | | this.handleselecttwo(JSON.parse(hanleselectindex).url,JSON.parse(hanleselectindex)) |
| | | this.setViewController(JSON.parse(hanleselectindex)) |
| | | }) |
| | | } |
| | | } else { |
| | | |
| | | this.$message.error('ææ èåæ æ°æ®'); |
| | | } |
| | | } else { |
| | | this.$message.error('æ¥å£æ¥é'); |
| | | } |
| | | |
| | | // this.treeList = this.treeData(data.result); |
| | | }, |
| | | setViewController (res) { |
| | | if(res.children!=null) { |
| | | this.setViewController(res.children[0]); |
| | | } else { |
| | | this.signInsertOpLog(this.m1,res.cnName) |
| | | this.$store.state.currentPerms=res.perms; |
| | | this.setMenuFlag=res.url; |
| | | this.activeIndex=res.url; |
| | | } |
| | | }, |
| | | async signInsertOpLog (m1,m2) { |
| | | var obj={ |
| | | m1: m1, |
| | | m2: m2, |
| | | } |
| | | // const data = await sign_insertOpLog(obj); |
| | | }, |
| | | treeData (source) { |
| | | let cloneData=JSON.parse(JSON.stringify(source)); // å¯¹æºæ°æ®æ·±åº¦å
é |
| | | var that=this; |
| | | // console.log(cloneData); |
| | | if(cloneData.length!=0) { |
| | | return cloneData.filter((father) => { |
| | | // å¾ªç¯ææé¡¹ |
| | | let branchArr=cloneData.filter((child) => father.id==child.pid); // 对æ¯IDï¼åå«ä¸ä¸çº§èåï¼å¹¶è¿åæ°æ® |
| | | branchArr.length>0? (father.children=branchArr):''; // ç»ç¶çº§æ·»å ä¸ä¸ªchildren屿§ï¼å¹¶èµå¼ |
| | | // å±äºåä¸å¯¹è±¡é®é¢ï¼ä¾å¦ï¼ä»¤ a=bãc=1 ï¼ç¶åå令 b.c=c ï¼ é£ä¹ a.c=b.c=c=1 ï¼åçï¼åç»ä»¤ c.d=2 ,é£ä¹ a.c.d 乿¯=2ï¼ |
| | | // ç±æ¤å¾ªç¯å¤æ¬¡åï¼å°±è½å½¢æç¸åºçæ å½¢æ°æ®ç»æ |
| | | return father.pid==that.pid; // è¿åä¸çº§èå |
| | | }); |
| | | } else { |
| | | |
| | | this.$message.error('ææ èåæ æ°æ®'); |
| | | } |
| | | }, |
| | | |
| | | handleselect (index,indexPath,e) { |
| | | const a=JSON.stringify(e.$attrs.perms) |
| | | this.signInsertOpLog(this.m1,e.$attrs.perms.cnName) |
| | | sessionStorage.setItem('hanleselectindex',a) |
| | | var data=e.$attrs.perms; |
| | | this.$store.state.currentPerms=data.perms; |
| | | var index=data.url; |
| | | |
| | | if(index!=null) { |
| | | if(index.indexOf('http')!=-1) { |
| | | this.$store.commit('getIframe',data.url); |
| | | index='dataIfream'; |
| | | } |
| | | } |
| | | this.setMenuFlag=index; |
| | | this.nodeName=data.cnName |
| | | }, |
| | | |
| | | handleselecttwo (index,e) { |
| | | const a=JSON.stringify(e) |
| | | sessionStorage.setItem('hanleselectindex',a) |
| | | var data=e; |
| | | this.$store.state.currentPerms=data.perms; |
| | | var index=data.url; |
| | | |
| | | if(index!=null) { |
| | | if(index.indexOf('http')!=-1) { |
| | | this.$store.commit('getIframe',data.url); |
| | | index='dataIfream'; |
| | | } |
| | | } |
| | | this.setMenuFlag=index; |
| | | }, |
| | | }, |
| | | }; |
| | | </script> |
| | | |
| | | |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <div class="contentBox"> |
| | | |
| | | <div class="box" |
| | | ref="box"> |
| | | <div class="left box_div"> |
| | | <el-menu :default-active="activeIndex" |
| | | background-color="transparent" |
| | | @select="handleselect"> |
| | | <customElMenu :menuData="menuList"></customElMenu> |
| | | </el-menu> |
| | | </div> |
| | | <div class="resize" |
| | | title="æ¶ç¼©ä¾§è¾¹æ "> |
| | | â® |
| | | </div> |
| | | <div class="mid box_div"> |
| | | <My-bread :list="[ |
| | | `éä¿¡èµæºç®¡ç`, |
| | | nodeName, |
| | | ]"></My-bread> |
| | | <el-divider /> |
| | | </div> |
| | | </div> |
| | | |
| | | </div> |
| | | |
| | | </template> |
| | | |
| | | <script> |
| | | |
| | | import { selectMenuRecursive,queryMenuTree,sign_insertOpLog } from '@/api/api.js' |
| | | import MyBread from "@/components/MyBread.vue"; |
| | | import customElMenu from "@/components/customElMenu.vue"; |
| | | export default { |
| | | components: { |
| | | MyBread, |
| | | customElMenu |
| | | |
| | | }, |
| | | data () { |
| | | return { |
| | | setMenuFlag: ' ', |
| | | activeIndex: ' ', |
| | | oriData: [], //åå§æ æ°æ® |
| | | dirData: [], //elæ æ°æ® |
| | | newData: [], //æå¨åæ°æ® |
| | | lang: 'zh', |
| | | |
| | | menuList: [], |
| | | editTitle: '', |
| | | showPopover: false, |
| | | showEditInfoWrapper: false, |
| | | showEdit: false, |
| | | editMenu: false, |
| | | editCatalogue: false, |
| | | editUnit: false, |
| | | itemdetail: {}, |
| | | formLabelWidth: '70px', |
| | | pid: null, |
| | | nodeName: null, |
| | | }; |
| | | }, |
| | | created () { }, |
| | | mounted () { |
| | | |
| | | this.getTreeData(); |
| | | //左峿å |
| | | this.dragControllerDiv(); |
| | | }, |
| | | methods: { |
| | | //左峿å |
| | | dragControllerDiv: function() { |
| | | var resize=document.getElementsByClassName('resize'); |
| | | var left=document.getElementsByClassName('left'); |
| | | var mid=document.getElementsByClassName('mid'); |
| | | var box=document.getElementsByClassName('box'); |
| | | for(let i=0;i<resize.length;i++) { |
| | | // é¼ æ æä¸äºä»¶ |
| | | resize[i].onmousedown=function(e) { |
| | | //é¢è²æ¹åæé |
| | | resize[i].style.background='#818181'; |
| | | var startX=e.clientX; |
| | | resize[i].left=resize[i].offsetLeft; |
| | | // é¼ æ æå¨äºä»¶ |
| | | document.onmousemove=function(e) { |
| | | var endX=e.clientX; |
| | | var moveLen=resize[i].left+(endX-startX); // ï¼endx-startxï¼=ç§»å¨çè·ç¦»ãresize[i].left+ç§»å¨çè·ç¦»=左边åºåæåç宽度 |
| | | var maxT=box[i].clientWidth-resize[i].offsetWidth; // 容å¨å®½åº¦ - 左边åºåç宽度 = å³è¾¹åºåç宽度 |
| | | |
| | | if(moveLen<205) moveLen=205; // 左边åºåçæå°å®½åº¦ä¸º32px |
| | | if(moveLen>maxT-300) moveLen=maxT-300; //å³è¾¹åºåæå°å®½åº¦ä¸º150px |
| | | |
| | | resize[i].style.left=moveLen; // 设置左侧åºåç宽度 |
| | | |
| | | for(let j=0;j<left.length;j++) { |
| | | left[j].style.width=moveLen+'px'; |
| | | mid[j].style.width=(box[i].clientWidth-moveLen-10)+'px'; |
| | | } |
| | | }; |
| | | // é¼ æ æ¾å¼äºä»¶ |
| | | document.onmouseup=function(evt) { |
| | | //é¢è²æ¢å¤ |
| | | resize[i].style.background='#d6d6d6'; |
| | | document.onmousemove=null; |
| | | document.onmouseup=null; |
| | | resize[i].releaseCapture&&resize[i].releaseCapture(); //å½ä½ ä¸å¨éè¦ç»§ç»è·å¾é¼ æ æ¶æ¯å°±è¦åºè¯¥è°ç¨ReleaseCapture()éæ¾æ |
| | | }; |
| | | resize[i].setCapture&&resize[i].setCapture(); //è¯¥å½æ°å¨å±äºå½å线ç¨çæå®çªå£éè®¾ç½®é¼ æ æè· |
| | | return false; |
| | | }; |
| | | } |
| | | }, |
| | | |
| | | |
| | | |
| | | //è·åæ |
| | | async getTreeData () { |
| | | const data=await queryMenuTree(); |
| | | |
| | | let menuLists=data.result.filter((value) => { |
| | | return value.url=="/commResource"; |
| | | }); |
| | | this.pid=menuLists[0].id; |
| | | const res=await selectMenuRecursive({ id: menuLists[0].id }); |
| | | |
| | | if(res.code==200) { |
| | | if(res.result.length!=0) { |
| | | let menuList=res.result.filter((value) => { |
| | | return value.type==1; |
| | | }); |
| | | this.menuList=this.treeData(menuList); |
| | | console.log(this.menuList) |
| | | this.m1=this.menuList[0].cnName; |
| | | this.setViewController(this.menuList[0]); |
| | | this.nodeName=this.m1 |
| | | const hanleselectindex=sessionStorage.getItem('hanleselectindex') |
| | | if(hanleselectindex) { |
| | | this.$nextTick(function() { |
| | | this.handleselecttwo(JSON.parse(hanleselectindex).url,JSON.parse(hanleselectindex)) |
| | | this.setViewController(JSON.parse(hanleselectindex)) |
| | | }) |
| | | } |
| | | } else { |
| | | |
| | | this.$message.error('ææ èåæ æ°æ®'); |
| | | } |
| | | } else { |
| | | this.$message.error('æ¥å£æ¥é'); |
| | | } |
| | | |
| | | // this.treeList = this.treeData(data.result); |
| | | }, |
| | | setViewController (res) { |
| | | if(res.children!=null) { |
| | | this.setViewController(res.children[0]); |
| | | } else { |
| | | this.signInsertOpLog(this.m1,res.cnName) |
| | | this.$store.state.currentPerms=res.perms; |
| | | this.setMenuFlag=res.url; |
| | | this.activeIndex=res.url; |
| | | } |
| | | }, |
| | | async signInsertOpLog (m1,m2) { |
| | | var obj={ |
| | | m1: m1, |
| | | m2: m2, |
| | | } |
| | | // const data = await sign_insertOpLog(obj); |
| | | }, |
| | | treeData (source) { |
| | | let cloneData=JSON.parse(JSON.stringify(source)); // å¯¹æºæ°æ®æ·±åº¦å
é |
| | | var that=this; |
| | | // console.log(cloneData); |
| | | if(cloneData.length!=0) { |
| | | return cloneData.filter((father) => { |
| | | // å¾ªç¯ææé¡¹ |
| | | let branchArr=cloneData.filter((child) => father.id==child.pid); // 对æ¯IDï¼åå«ä¸ä¸çº§èåï¼å¹¶è¿åæ°æ® |
| | | branchArr.length>0? (father.children=branchArr):''; // ç»ç¶çº§æ·»å ä¸ä¸ªchildren屿§ï¼å¹¶èµå¼ |
| | | // å±äºåä¸å¯¹è±¡é®é¢ï¼ä¾å¦ï¼ä»¤ a=bãc=1 ï¼ç¶åå令 b.c=c ï¼ é£ä¹ a.c=b.c=c=1 ï¼åçï¼åç»ä»¤ c.d=2 ,é£ä¹ a.c.d 乿¯=2ï¼ |
| | | // ç±æ¤å¾ªç¯å¤æ¬¡åï¼å°±è½å½¢æç¸åºçæ å½¢æ°æ®ç»æ |
| | | return father.pid==that.pid; // è¿åä¸çº§èå |
| | | }); |
| | | } else { |
| | | |
| | | this.$message.error('ææ èåæ æ°æ®'); |
| | | } |
| | | }, |
| | | |
| | | handleselect (index,indexPath,e) { |
| | | const a=JSON.stringify(e.$attrs.perms) |
| | | this.signInsertOpLog(this.m1,e.$attrs.perms.cnName) |
| | | sessionStorage.setItem('hanleselectindex',a) |
| | | var data=e.$attrs.perms; |
| | | this.$store.state.currentPerms=data.perms; |
| | | var index=data.url; |
| | | |
| | | if(index!=null) { |
| | | if(index.indexOf('http')!=-1) { |
| | | this.$store.commit('getIframe',data.url); |
| | | index='dataIfream'; |
| | | } |
| | | } |
| | | this.setMenuFlag=index; |
| | | this.nodeName=data.cnName |
| | | }, |
| | | |
| | | handleselecttwo (index,e) { |
| | | const a=JSON.stringify(e) |
| | | sessionStorage.setItem('hanleselectindex',a) |
| | | var data=e; |
| | | this.$store.state.currentPerms=data.perms; |
| | | var index=data.url; |
| | | |
| | | if(index!=null) { |
| | | if(index.indexOf('http')!=-1) { |
| | | this.$store.commit('getIframe',data.url); |
| | | index='dataIfream'; |
| | | } |
| | | } |
| | | this.setMenuFlag=index; |
| | | }, |
| | | }, |
| | | }; |
| | | </script> |
| | | |
| | | |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <div class="contentBox"> |
| | | |
| | | <div class="box" |
| | | ref="box"> |
| | | <div class="left box_div"> |
| | | <el-menu :default-active="activeIndex" |
| | | background-color="transparent" |
| | | @select="handleselect"> |
| | | <customElMenu :menuData="menuList"></customElMenu> |
| | | </el-menu> |
| | | </div> |
| | | <div class="resize" |
| | | title="æ¶ç¼©ä¾§è¾¹æ "> |
| | | â® |
| | | </div> |
| | | <div class="mid box_div"> |
| | | <My-bread :list="[ |
| | | `éä¿¡èµæºç®¡ç`, |
| | | nodeName, |
| | | ]"></My-bread> |
| | | <el-divider /> |
| | | </div> |
| | | </div> |
| | | |
| | | </div> |
| | | |
| | | </template> |
| | | |
| | | <script> |
| | | |
| | | import { selectMenuRecursive,queryMenuTree,sign_insertOpLog } from '@/api/api.js' |
| | | import MyBread from "@/components/MyBread.vue"; |
| | | import customElMenu from "@/components/customElMenu.vue"; |
| | | export default { |
| | | components: { |
| | | MyBread, |
| | | customElMenu |
| | | |
| | | }, |
| | | data () { |
| | | return { |
| | | setMenuFlag: ' ', |
| | | activeIndex: ' ', |
| | | oriData: [], //åå§æ æ°æ® |
| | | dirData: [], //elæ æ°æ® |
| | | newData: [], //æå¨åæ°æ® |
| | | lang: 'zh', |
| | | |
| | | menuList: [], |
| | | editTitle: '', |
| | | showPopover: false, |
| | | showEditInfoWrapper: false, |
| | | showEdit: false, |
| | | editMenu: false, |
| | | editCatalogue: false, |
| | | editUnit: false, |
| | | itemdetail: {}, |
| | | formLabelWidth: '70px', |
| | | pid: null, |
| | | nodeName: null, |
| | | }; |
| | | }, |
| | | created () { }, |
| | | mounted () { |
| | | |
| | | this.getTreeData(); |
| | | //左峿å |
| | | this.dragControllerDiv(); |
| | | }, |
| | | methods: { |
| | | //左峿å |
| | | dragControllerDiv: function() { |
| | | var resize=document.getElementsByClassName('resize'); |
| | | var left=document.getElementsByClassName('left'); |
| | | var mid=document.getElementsByClassName('mid'); |
| | | var box=document.getElementsByClassName('box'); |
| | | for(let i=0;i<resize.length;i++) { |
| | | // é¼ æ æä¸äºä»¶ |
| | | resize[i].onmousedown=function(e) { |
| | | //é¢è²æ¹åæé |
| | | resize[i].style.background='#818181'; |
| | | var startX=e.clientX; |
| | | resize[i].left=resize[i].offsetLeft; |
| | | // é¼ æ æå¨äºä»¶ |
| | | document.onmousemove=function(e) { |
| | | var endX=e.clientX; |
| | | var moveLen=resize[i].left+(endX-startX); // ï¼endx-startxï¼=ç§»å¨çè·ç¦»ãresize[i].left+ç§»å¨çè·ç¦»=左边åºåæåç宽度 |
| | | var maxT=box[i].clientWidth-resize[i].offsetWidth; // 容å¨å®½åº¦ - 左边åºåç宽度 = å³è¾¹åºåç宽度 |
| | | |
| | | if(moveLen<205) moveLen=205; // 左边åºåçæå°å®½åº¦ä¸º32px |
| | | if(moveLen>maxT-300) moveLen=maxT-300; //å³è¾¹åºåæå°å®½åº¦ä¸º150px |
| | | |
| | | resize[i].style.left=moveLen; // 设置左侧åºåç宽度 |
| | | |
| | | for(let j=0;j<left.length;j++) { |
| | | left[j].style.width=moveLen+'px'; |
| | | mid[j].style.width=(box[i].clientWidth-moveLen-10)+'px'; |
| | | } |
| | | }; |
| | | // é¼ æ æ¾å¼äºä»¶ |
| | | document.onmouseup=function(evt) { |
| | | //é¢è²æ¢å¤ |
| | | resize[i].style.background='#d6d6d6'; |
| | | document.onmousemove=null; |
| | | document.onmouseup=null; |
| | | resize[i].releaseCapture&&resize[i].releaseCapture(); //å½ä½ ä¸å¨éè¦ç»§ç»è·å¾é¼ æ æ¶æ¯å°±è¦åºè¯¥è°ç¨ReleaseCapture()éæ¾æ |
| | | }; |
| | | resize[i].setCapture&&resize[i].setCapture(); //è¯¥å½æ°å¨å±äºå½å线ç¨çæå®çªå£éè®¾ç½®é¼ æ æè· |
| | | return false; |
| | | }; |
| | | } |
| | | }, |
| | | |
| | | |
| | | |
| | | //è·åæ |
| | | async getTreeData () { |
| | | const data=await queryMenuTree(); |
| | | |
| | | let menuLists=data.result.filter((value) => { |
| | | return value.url=="/commScenario"; |
| | | }); |
| | | this.pid=menuLists[0].id; |
| | | const res=await selectMenuRecursive({ id: menuLists[0].id }); |
| | | |
| | | if(res.code==200) { |
| | | if(res.result.length!=0) { |
| | | let menuList=res.result.filter((value) => { |
| | | return value.type==1; |
| | | }); |
| | | this.menuList=this.treeData(menuList); |
| | | console.log(this.menuList) |
| | | this.m1=this.menuList[0].cnName; |
| | | this.setViewController(this.menuList[0]); |
| | | this.nodeName=this.m1 |
| | | const hanleselectindex=sessionStorage.getItem('hanleselectindex') |
| | | if(hanleselectindex) { |
| | | this.$nextTick(function() { |
| | | this.handleselecttwo(JSON.parse(hanleselectindex).url,JSON.parse(hanleselectindex)) |
| | | this.setViewController(JSON.parse(hanleselectindex)) |
| | | }) |
| | | } |
| | | } else { |
| | | |
| | | this.$message.error('ææ èåæ æ°æ®'); |
| | | } |
| | | } else { |
| | | this.$message.error('æ¥å£æ¥é'); |
| | | } |
| | | |
| | | // this.treeList = this.treeData(data.result); |
| | | }, |
| | | setViewController (res) { |
| | | if(res.children!=null) { |
| | | this.setViewController(res.children[0]); |
| | | } else { |
| | | this.signInsertOpLog(this.m1,res.cnName) |
| | | this.$store.state.currentPerms=res.perms; |
| | | this.setMenuFlag=res.url; |
| | | this.activeIndex=res.url; |
| | | } |
| | | }, |
| | | async signInsertOpLog (m1,m2) { |
| | | var obj={ |
| | | m1: m1, |
| | | m2: m2, |
| | | } |
| | | // const data = await sign_insertOpLog(obj); |
| | | }, |
| | | treeData (source) { |
| | | let cloneData=JSON.parse(JSON.stringify(source)); // å¯¹æºæ°æ®æ·±åº¦å
é |
| | | var that=this; |
| | | // console.log(cloneData); |
| | | if(cloneData.length!=0) { |
| | | return cloneData.filter((father) => { |
| | | // å¾ªç¯ææé¡¹ |
| | | let branchArr=cloneData.filter((child) => father.id==child.pid); // 对æ¯IDï¼åå«ä¸ä¸çº§èåï¼å¹¶è¿åæ°æ® |
| | | branchArr.length>0? (father.children=branchArr):''; // ç»ç¶çº§æ·»å ä¸ä¸ªchildren屿§ï¼å¹¶èµå¼ |
| | | // å±äºåä¸å¯¹è±¡é®é¢ï¼ä¾å¦ï¼ä»¤ a=bãc=1 ï¼ç¶åå令 b.c=c ï¼ é£ä¹ a.c=b.c=c=1 ï¼åçï¼åç»ä»¤ c.d=2 ,é£ä¹ a.c.d 乿¯=2ï¼ |
| | | // ç±æ¤å¾ªç¯å¤æ¬¡åï¼å°±è½å½¢æç¸åºçæ å½¢æ°æ®ç»æ |
| | | return father.pid==that.pid; // è¿åä¸çº§èå |
| | | }); |
| | | } else { |
| | | |
| | | this.$message.error('ææ èåæ æ°æ®'); |
| | | } |
| | | }, |
| | | |
| | | handleselect (index,indexPath,e) { |
| | | const a=JSON.stringify(e.$attrs.perms) |
| | | this.signInsertOpLog(this.m1,e.$attrs.perms.cnName) |
| | | sessionStorage.setItem('hanleselectindex',a) |
| | | var data=e.$attrs.perms; |
| | | this.$store.state.currentPerms=data.perms; |
| | | var index=data.url; |
| | | |
| | | if(index!=null) { |
| | | if(index.indexOf('http')!=-1) { |
| | | this.$store.commit('getIframe',data.url); |
| | | index='dataIfream'; |
| | | } |
| | | } |
| | | this.setMenuFlag=index; |
| | | this.nodeName=data.cnName |
| | | }, |
| | | |
| | | handleselecttwo (index,e) { |
| | | const a=JSON.stringify(e) |
| | | sessionStorage.setItem('hanleselectindex',a) |
| | | var data=e; |
| | | this.$store.state.currentPerms=data.perms; |
| | | var index=data.url; |
| | | |
| | | if(index!=null) { |
| | | if(index.indexOf('http')!=-1) { |
| | | this.$store.commit('getIframe',data.url); |
| | | index='dataIfream'; |
| | | } |
| | | } |
| | | this.setMenuFlag=index; |
| | | }, |
| | | }, |
| | | }; |
| | | </script> |
| | | |
| | | |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <div class="contentBox"> |
| | | |
| | | <div class="box" |
| | | ref="box"> |
| | | <div class="left box_div"> |
| | | <el-menu :default-active="activeIndex" |
| | | background-color="transparent" |
| | | @select="handleselect"> |
| | | <customElMenu :menuData="menuList"></customElMenu> |
| | | </el-menu> |
| | | </div> |
| | | <div class="resize" |
| | | title="æ¶ç¼©ä¾§è¾¹æ "> |
| | | â® |
| | | </div> |
| | | <div class="mid box_div"> |
| | | <My-bread :list="[ |
| | | `éä¿¡èµæºç®¡ç`, |
| | | nodeName, |
| | | ]"></My-bread> |
| | | <el-divider /> |
| | | </div> |
| | | </div> |
| | | |
| | | </div> |
| | | |
| | | </template> |
| | | |
| | | <script> |
| | | |
| | | import { selectMenuRecursive,queryMenuTree,sign_insertOpLog } from '@/api/api.js' |
| | | import MyBread from "@/components/MyBread.vue"; |
| | | import customElMenu from "@/components/customElMenu.vue"; |
| | | export default { |
| | | components: { |
| | | MyBread, |
| | | customElMenu |
| | | |
| | | }, |
| | | data () { |
| | | return { |
| | | setMenuFlag: ' ', |
| | | activeIndex: ' ', |
| | | oriData: [], //åå§æ æ°æ® |
| | | dirData: [], //elæ æ°æ® |
| | | newData: [], //æå¨åæ°æ® |
| | | lang: 'zh', |
| | | |
| | | menuList: [], |
| | | editTitle: '', |
| | | showPopover: false, |
| | | showEditInfoWrapper: false, |
| | | showEdit: false, |
| | | editMenu: false, |
| | | editCatalogue: false, |
| | | editUnit: false, |
| | | itemdetail: {}, |
| | | formLabelWidth: '70px', |
| | | pid: null, |
| | | nodeName: null, |
| | | }; |
| | | }, |
| | | created () { }, |
| | | mounted () { |
| | | |
| | | this.getTreeData(); |
| | | //左峿å |
| | | this.dragControllerDiv(); |
| | | }, |
| | | methods: { |
| | | //左峿å |
| | | dragControllerDiv: function() { |
| | | var resize=document.getElementsByClassName('resize'); |
| | | var left=document.getElementsByClassName('left'); |
| | | var mid=document.getElementsByClassName('mid'); |
| | | var box=document.getElementsByClassName('box'); |
| | | for(let i=0;i<resize.length;i++) { |
| | | // é¼ æ æä¸äºä»¶ |
| | | resize[i].onmousedown=function(e) { |
| | | //é¢è²æ¹åæé |
| | | resize[i].style.background='#818181'; |
| | | var startX=e.clientX; |
| | | resize[i].left=resize[i].offsetLeft; |
| | | // é¼ æ æå¨äºä»¶ |
| | | document.onmousemove=function(e) { |
| | | var endX=e.clientX; |
| | | var moveLen=resize[i].left+(endX-startX); // ï¼endx-startxï¼=ç§»å¨çè·ç¦»ãresize[i].left+ç§»å¨çè·ç¦»=左边åºåæåç宽度 |
| | | var maxT=box[i].clientWidth-resize[i].offsetWidth; // 容å¨å®½åº¦ - 左边åºåç宽度 = å³è¾¹åºåç宽度 |
| | | |
| | | if(moveLen<205) moveLen=205; // 左边åºåçæå°å®½åº¦ä¸º32px |
| | | if(moveLen>maxT-300) moveLen=maxT-300; //å³è¾¹åºåæå°å®½åº¦ä¸º150px |
| | | |
| | | resize[i].style.left=moveLen; // 设置左侧åºåç宽度 |
| | | |
| | | for(let j=0;j<left.length;j++) { |
| | | left[j].style.width=moveLen+'px'; |
| | | mid[j].style.width=(box[i].clientWidth-moveLen-10)+'px'; |
| | | } |
| | | }; |
| | | // é¼ æ æ¾å¼äºä»¶ |
| | | document.onmouseup=function(evt) { |
| | | //é¢è²æ¢å¤ |
| | | resize[i].style.background='#d6d6d6'; |
| | | document.onmousemove=null; |
| | | document.onmouseup=null; |
| | | resize[i].releaseCapture&&resize[i].releaseCapture(); //å½ä½ ä¸å¨éè¦ç»§ç»è·å¾é¼ æ æ¶æ¯å°±è¦åºè¯¥è°ç¨ReleaseCapture()éæ¾æ |
| | | }; |
| | | resize[i].setCapture&&resize[i].setCapture(); //è¯¥å½æ°å¨å±äºå½å线ç¨çæå®çªå£éè®¾ç½®é¼ æ æè· |
| | | return false; |
| | | }; |
| | | } |
| | | }, |
| | | |
| | | |
| | | |
| | | //è·åæ |
| | | async getTreeData () { |
| | | const data=await queryMenuTree(); |
| | | |
| | | let menuLists=data.result.filter((value) => { |
| | | return value.url=="/commScheme"; |
| | | }); |
| | | this.pid=menuLists[0].id; |
| | | const res=await selectMenuRecursive({ id: menuLists[0].id }); |
| | | |
| | | if(res.code==200) { |
| | | if(res.result.length!=0) { |
| | | let menuList=res.result.filter((value) => { |
| | | return value.type==1; |
| | | }); |
| | | this.menuList=this.treeData(menuList); |
| | | console.log(this.menuList) |
| | | this.m1=this.menuList[0].cnName; |
| | | this.setViewController(this.menuList[0]); |
| | | this.nodeName=this.m1 |
| | | const hanleselectindex=sessionStorage.getItem('hanleselectindex') |
| | | if(hanleselectindex) { |
| | | this.$nextTick(function() { |
| | | this.handleselecttwo(JSON.parse(hanleselectindex).url,JSON.parse(hanleselectindex)) |
| | | this.setViewController(JSON.parse(hanleselectindex)) |
| | | }) |
| | | } |
| | | } else { |
| | | |
| | | this.$message.error('ææ èåæ æ°æ®'); |
| | | } |
| | | } else { |
| | | this.$message.error('æ¥å£æ¥é'); |
| | | } |
| | | |
| | | // this.treeList = this.treeData(data.result); |
| | | }, |
| | | setViewController (res) { |
| | | if(res.children!=null) { |
| | | this.setViewController(res.children[0]); |
| | | } else { |
| | | this.signInsertOpLog(this.m1,res.cnName) |
| | | this.$store.state.currentPerms=res.perms; |
| | | this.setMenuFlag=res.url; |
| | | this.activeIndex=res.url; |
| | | } |
| | | }, |
| | | async signInsertOpLog (m1,m2) { |
| | | var obj={ |
| | | m1: m1, |
| | | m2: m2, |
| | | } |
| | | // const data = await sign_insertOpLog(obj); |
| | | }, |
| | | treeData (source) { |
| | | let cloneData=JSON.parse(JSON.stringify(source)); // å¯¹æºæ°æ®æ·±åº¦å
é |
| | | var that=this; |
| | | // console.log(cloneData); |
| | | if(cloneData.length!=0) { |
| | | return cloneData.filter((father) => { |
| | | // å¾ªç¯ææé¡¹ |
| | | let branchArr=cloneData.filter((child) => father.id==child.pid); // 对æ¯IDï¼åå«ä¸ä¸çº§èåï¼å¹¶è¿åæ°æ® |
| | | branchArr.length>0? (father.children=branchArr):''; // ç»ç¶çº§æ·»å ä¸ä¸ªchildren屿§ï¼å¹¶èµå¼ |
| | | // å±äºåä¸å¯¹è±¡é®é¢ï¼ä¾å¦ï¼ä»¤ a=bãc=1 ï¼ç¶åå令 b.c=c ï¼ é£ä¹ a.c=b.c=c=1 ï¼åçï¼åç»ä»¤ c.d=2 ,é£ä¹ a.c.d 乿¯=2ï¼ |
| | | // ç±æ¤å¾ªç¯å¤æ¬¡åï¼å°±è½å½¢æç¸åºçæ å½¢æ°æ®ç»æ |
| | | return father.pid==that.pid; // è¿åä¸çº§èå |
| | | }); |
| | | } else { |
| | | |
| | | this.$message.error('ææ èåæ æ°æ®'); |
| | | } |
| | | }, |
| | | |
| | | handleselect (index,indexPath,e) { |
| | | const a=JSON.stringify(e.$attrs.perms) |
| | | this.signInsertOpLog(this.m1,e.$attrs.perms.cnName) |
| | | sessionStorage.setItem('hanleselectindex',a) |
| | | var data=e.$attrs.perms; |
| | | this.$store.state.currentPerms=data.perms; |
| | | var index=data.url; |
| | | |
| | | if(index!=null) { |
| | | if(index.indexOf('http')!=-1) { |
| | | this.$store.commit('getIframe',data.url); |
| | | index='dataIfream'; |
| | | } |
| | | } |
| | | this.setMenuFlag=index; |
| | | this.nodeName=data.cnName |
| | | }, |
| | | |
| | | handleselecttwo (index,e) { |
| | | const a=JSON.stringify(e) |
| | | sessionStorage.setItem('hanleselectindex',a) |
| | | var data=e; |
| | | this.$store.state.currentPerms=data.perms; |
| | | var index=data.url; |
| | | |
| | | if(index!=null) { |
| | | if(index.indexOf('http')!=-1) { |
| | | this.$store.commit('getIframe',data.url); |
| | | index='dataIfream'; |
| | | } |
| | | } |
| | | this.setMenuFlag=index; |
| | | }, |
| | | }, |
| | | }; |
| | | </script> |
| | | |
| | | |
¶Ô±ÈÐÂÎļþ |
| | |
| | | |
| | | <template> |
| | | <div class="dictionaryBox"> |
| | | <My-bread :list="[ |
| | | `éä¿¡æè½è¯ä¼°`, |
| | | `éä¿¡æ¯ä¼¤å½±åè¯ä¼°`, |
| | | ]"></My-bread> |
| | | <el-divider /> |
| | | <div class="mainBox"> |
| | | |
| | | </div> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | |
| | | import MyBread from "@/components/MyBread.vue"; |
| | | |
| | | export default { |
| | | name: "multimedia", |
| | | components: { MyBread }, |
| | | data () { |
| | | return { |
| | | |
| | | }; |
| | | }, |
| | | watch: { |
| | | |
| | | }, |
| | | created () { |
| | | |
| | | }, |
| | | methods () { |
| | | |
| | | } |
| | | }; |
| | | </script> |
| | | <style lang="less" scoped> |
| | | //@import url(); å¼å
¥å
Œ
±cssç±» |
| | | .dictionaryBox { |
| | | height: calc(100% - 40px); |
| | | width: calc(100% - 40px); |
| | | padding: 10px; |
| | | background: #f4f8ff; |
| | | margin: 10px; |
| | | border-radius: 5px; |
| | | } |
| | | </style> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | |
| | | <template> |
| | | <div class="dictionaryBox"> |
| | | <My-bread :list="[ |
| | | `æ°æ®èµæºç®¡ç`, |
| | | `å¤åªä½ç´ æç®¡ç`, |
| | | ]"></My-bread> |
| | | <el-divider /> |
| | | <div class="mainBox"> |
| | | |
| | | </div> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | |
| | | import MyBread from "@/components/MyBread.vue"; |
| | | |
| | | export default { |
| | | name: "multimedia", |
| | | components: { MyBread }, |
| | | data () { |
| | | return { |
| | | |
| | | }; |
| | | }, |
| | | watch: { |
| | | |
| | | }, |
| | | created () { |
| | | |
| | | }, |
| | | methods () { |
| | | |
| | | } |
| | | }; |
| | | </script> |
| | | <style lang="less" scoped> |
| | | //@import url(); å¼å
¥å
Œ
±cssç±» |
| | | .dictionaryBox { |
| | | height: calc(100% - 40px); |
| | | width: calc(100% - 40px); |
| | | padding: 10px; |
| | | background: #f4f8ff; |
| | | margin: 10px; |
| | | border-radius: 5px; |
| | | } |
| | | </style> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | |
| | | <template> |
| | | <div class="dictionaryBox"> |
| | | <My-bread :list="[ |
| | | `éä¿¡æ¹æ¡ç¹å`, |
| | | `æ¹æ¡æå¶`, |
| | | ]"></My-bread> |
| | | <el-divider /> |
| | | <div class="mainBox"> |
| | | |
| | | </div> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | |
| | | import MyBread from "@/components/MyBread.vue"; |
| | | |
| | | export default { |
| | | name: "multimedia", |
| | | components: { MyBread }, |
| | | data () { |
| | | return { |
| | | |
| | | }; |
| | | }, |
| | | watch: { |
| | | |
| | | }, |
| | | created () { |
| | | |
| | | }, |
| | | methods () { |
| | | |
| | | } |
| | | }; |
| | | </script> |
| | | <style lang="less" scoped> |
| | | //@import url(); å¼å
¥å
Œ
±cssç±» |
| | | .dictionaryBox { |
| | | height: calc(100% - 40px); |
| | | width: calc(100% - 40px); |
| | | padding: 10px; |
| | | background: #f4f8ff; |
| | | margin: 10px; |
| | | border-radius: 5px; |
| | | } |
| | | </style> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | |
| | | <template> |
| | | <div class="dictionaryBox"> |
| | | <My-bread :list="[ |
| | | `éä¿¡æ¹æ¡ç¹å`, |
| | | `æ¹æ¡è®²è¯`, |
| | | ]"></My-bread> |
| | | <el-divider /> |
| | | <div class="mainBox"> |
| | | |
| | | </div> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | |
| | | import MyBread from "@/components/MyBread.vue"; |
| | | |
| | | export default { |
| | | name: "multimedia", |
| | | components: { MyBread }, |
| | | data () { |
| | | return { |
| | | |
| | | }; |
| | | }, |
| | | watch: { |
| | | |
| | | }, |
| | | created () { |
| | | |
| | | }, |
| | | methods () { |
| | | |
| | | } |
| | | }; |
| | | </script> |
| | | <style lang="less" scoped> |
| | | //@import url(); å¼å
¥å
Œ
±cssç±» |
| | | .dictionaryBox { |
| | | height: calc(100% - 40px); |
| | | width: calc(100% - 40px); |
| | | padding: 10px; |
| | | background: #f4f8ff; |
| | | margin: 10px; |
| | | border-radius: 5px; |
| | | } |
| | | </style> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | |
| | | <template> |
| | | <div class="dictionaryBox"> |
| | | <My-bread :list="[ |
| | | `æ°æ®èµæºç®¡ç`, |
| | | `ä»¿çæ¨¡å管ç`, |
| | | ]"></My-bread> |
| | | <el-divider /> |
| | | <div class="mainBox"> |
| | | |
| | | </div> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | |
| | | import MyBread from "@/components/MyBread.vue"; |
| | | |
| | | export default { |
| | | name: "multimedia", |
| | | components: { MyBread }, |
| | | data () { |
| | | return { |
| | | |
| | | }; |
| | | }, |
| | | watch: { |
| | | |
| | | }, |
| | | created () { |
| | | |
| | | }, |
| | | methods () { |
| | | |
| | | } |
| | | }; |
| | | </script> |
| | | <style lang="less" scoped> |
| | | //@import url(); å¼å
¥å
Œ
±cssç±» |
| | | .dictionaryBox { |
| | | height: calc(100% - 40px); |
| | | width: calc(100% - 40px); |
| | | padding: 10px; |
| | | background: #f4f8ff; |
| | | margin: 10px; |
| | | border-radius: 5px; |
| | | } |
| | | </style> |
| | |
| | | <el-divider /> |
| | | <div class="mainBox"> |
| | | |
| | | <div |
| | | class="cataLogContent leftTree subpage_Div" |
| | | style="border: 1px solid #dcdfe6;" |
| | | > |
| | | <div class="cataLogContent leftTree subpage_Div" |
| | | style="border: 1px solid #dcdfe6;"> |
| | | <div style="min-width: 450px"> |
| | | <el-tree |
| | | ref="tree" |
| | | <el-tree ref="tree" |
| | | :props="defaultProps" |
| | | node-key="id" |
| | | :data="dirList" |
| | |
| | | :expand-on-click-node="false" |
| | | :default-expanded-keys="expandData" |
| | | @node-click="handleNodeClick" |
| | | @node-contextmenu="openTreeMenu" |
| | | > |
| | | @node-contextmenu="openTreeMenu"> |
| | | </el-tree> |
| | | <div |
| | | class="right_menu box_divm" |
| | | <div class="right_menu box_divm" |
| | | id="menu" |
| | | v-show="showRightMenu" |
| | | > |
| | | v-show="showRightMenu"> |
| | | <ul> |
| | | <li @click="setMenuDataCopy">å¤å¶</li> |
| | | <li @click="setMenuDataPaste">ç²è´´</li> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="cataLog_rightContent right subpage_Div"> |
| | | <div |
| | | class="inquire" |
| | | <div class="inquire" |
| | | style=" |
| | | align-items: center; |
| | | display: flex; |
| | | justify-content: space-between; |
| | | " |
| | | > |
| | | "> |
| | | <el-breadcrumb separator="/"> |
| | | <el-breadcrumb-item :to="{ path: '/' }">{{ |
| | | |
| | |
| | | </el-breadcrumb> |
| | | <div style="margin-right: -5px"> |
| | | <div class="menuTop"> |
| | | <el-form |
| | | :inline="true" |
| | | class="demo-form-inline" |
| | | > |
| | | <el-form :inline="true" |
| | | class="demo-form-inline"> |
| | | <el-form-item> |
| | | |
| | | <el-button |
| | | v-show="directoryFlag" |
| | | <el-button v-show="directoryFlag" |
| | | icon="el-icon-download" |
| | | type="info" |
| | | size="small" |
| | | @click="setDirectoryDownload" |
| | | >{{ $t("shuJuGuanLi.butten.folderDownload") }}</el-button> |
| | | @click="setDirectoryDownload">{{ $t("shuJuGuanLi.butten.folderDownload") }}</el-button> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | |
| | | <el-button |
| | | icon="el-icon-download" |
| | | <el-button icon="el-icon-download" |
| | | type="info" |
| | | size="small" |
| | | @click="setTemplateDownload" |
| | | >{{ $t("shuJuGuanLi.butten.templateDownload") }}</el-button> |
| | | @click="setTemplateDownload">{{ $t("shuJuGuanLi.butten.templateDownload") }}</el-button> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-upload |
| | | action |
| | | <el-upload action |
| | | accept=".xlsx, .xls" |
| | | :auto-upload="false" |
| | | :show-file-list="false" |
| | | :on-change="handleChange" |
| | | :file-list="fileList" |
| | | > |
| | | <el-button |
| | | type="success" |
| | | :file-list="fileList"> |
| | | <el-button type="success" |
| | | icon="el-icon-plus" |
| | | size="small" |
| | | >{{ $t("shuJuGuanLi.butten.uploads") }}</el-button> |
| | | size="small">{{ $t("shuJuGuanLi.butten.uploads") }}</el-button> |
| | | </el-upload> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-button |
| | | v-if="menuStatus.insert" |
| | | <el-button v-if="menuStatus.insert" |
| | | :disabled="itemdetail.pid == null ? true : false" |
| | | @click="setNewNode(1)" |
| | | type="success" |
| | | icon="el-icon-plus" |
| | | size="small" |
| | | >{{ $t("shuJuGuanLi.butten.NewPeer") }}</el-button> |
| | | size="small">{{ $t("shuJuGuanLi.butten.NewPeer") }}</el-button> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-button |
| | | v-if="menuStatus.insert" |
| | | <el-button v-if="menuStatus.insert" |
| | | :disabled="itemdetail.pid == null ? true : false" |
| | | @click="setNewNode(2)" |
| | | type="success" |
| | | icon="el-icon-plus" |
| | | size="small" |
| | | >{{ $t("shuJuGuanLi.butten.AddChild") }}</el-button> |
| | | size="small">{{ $t("shuJuGuanLi.butten.AddChild") }}</el-button> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-button |
| | | v-if="menuStatus.delete" |
| | | <el-button v-if="menuStatus.delete" |
| | | @click="setDelNode()" |
| | | :disabled="itemdetail.pid == null ? true : false" |
| | | type="danger" |
| | | icon="el-icon-delete" |
| | | size="small" |
| | | >{{ $t("shuJuGuanLi.butten.Delete") }}</el-button> |
| | | size="small">{{ $t("shuJuGuanLi.butten.Delete") }}</el-button> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-button |
| | | v-if="menuStatus.update" |
| | | <el-button v-if="menuStatus.update" |
| | | :disabled="itemdetail.pid == null ? true : false" |
| | | @click="setEditNode(1)" |
| | | type="info" |
| | | icon="el-icon-top" |
| | | size="small" |
| | | >{{ $t("shuJuGuanLi.butten.MoveUp") }}</el-button> |
| | | size="small">{{ $t("shuJuGuanLi.butten.MoveUp") }}</el-button> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-button |
| | | v-if="menuStatus.update" |
| | | <el-button v-if="menuStatus.update" |
| | | :disabled="itemdetail.pid == null ? true : false" |
| | | @click="setEditNode(2)" |
| | | type="info" |
| | | icon="el-icon-bottom" |
| | | size="small" |
| | | >{{ $t("shuJuGuanLi.butten.MoveDown") }}</el-button> |
| | | size="small">{{ $t("shuJuGuanLi.butten.MoveDown") }}</el-button> |
| | | </el-form-item> |
| | | </el-form> |
| | | </div> |
| | |
| | | </div> |
| | | <div class="dividing-line"></div> |
| | | |
| | | <el-form |
| | | :model="itemdetail" |
| | | <el-form :model="itemdetail" |
| | | ref="itemdetail" |
| | | :rules="rules" |
| | | style="position: relative; padding-top: 18px" |
| | | > |
| | | <el-form-item |
| | | prop="name" |
| | | style="position: relative; padding-top: 18px"> |
| | | <el-form-item prop="name" |
| | | :label="$t('dataManage.dataUpObj.name')" |
| | | :label-width="formLabelWidth" |
| | | > |
| | | <el-input |
| | | v-model="itemdetail.name" |
| | | :label-width="formLabelWidth"> |
| | | <el-input v-model="itemdetail.name" |
| | | size="small" |
| | | style=" max-width: 420px" |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valueName')" |
| | | clearable |
| | | /> |
| | | clearable /> |
| | | <!-- style="max-width: 400px"--> |
| | | </el-form-item> |
| | | <el-form-item |
| | | :label="$t('dataManage.dataUpObj.explain')" |
| | | :label-width="formLabelWidth" |
| | | > |
| | | <el-input |
| | | v-model="itemdetail.descr" |
| | | <el-form-item :label="$t('dataManage.dataUpObj.explain')" |
| | | :label-width="formLabelWidth"> |
| | | <el-input v-model="itemdetail.descr" |
| | | type="textarea" |
| | | style=" max-width: 420px" |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valueexplain')" |
| | | clearable |
| | | /> |
| | | clearable /> |
| | | </el-form-item> |
| | | <el-form-item |
| | | :label="$t('dataManage.dataUpObj.inspectionItems')" |
| | | :label-width="formLabelWidth" |
| | | > |
| | | <el-select |
| | | style="width: 420px" |
| | | <el-form-item :label="$t('dataManage.dataUpObj.inspectionItems')" |
| | | :label-width="formLabelWidth"> |
| | | <el-select style="width: 420px" |
| | | v-model="itemdetail.checks" |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valueexamine')" |
| | | multiple |
| | | > |
| | | <el-option |
| | | v-for="item in options" |
| | | multiple> |
| | | <el-option v-for="item in options" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | > |
| | | :value="item.value"> |
| | | </el-option> |
| | | </el-select> |
| | | <!-- <el-input |
| | |
| | | <!-- resize="none"--> |
| | | <!-- style="height: 100%; overflow: auto; max-width: 400px"--> |
| | | </el-form-item> |
| | | <el-form-item |
| | | :label="$t('dataManage.dataUpObj.fileExtension')" |
| | | :label-width="formLabelWidth" |
| | | > |
| | | <el-input |
| | | v-model="itemdetail.exts" |
| | | <el-form-item :label="$t('dataManage.dataUpObj.fileExtension')" |
| | | :label-width="formLabelWidth"> |
| | | <el-input v-model="itemdetail.exts" |
| | | type="textarea" |
| | | style=" max-width: 420px" |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valuesuffix')" |
| | | clearable |
| | | /> |
| | | clearable /> |
| | | </el-form-item> |
| | | <!-- <el-form-item |
| | | :label="$t('dataManage.dataUpObj.inspectionItems')" |
| | |
| | | style="height: 100%; overflow: auto; max-width: 400px" |
| | | /> |
| | | </el-form-item>--> |
| | | <el-form-item |
| | | :label="$t('dataManage.dataUpObj.code')" |
| | | :label-width="formLabelWidth" |
| | | > |
| | | <el-input |
| | | v-model="itemdetail.code" |
| | | <el-form-item :label="$t('dataManage.dataUpObj.code')" |
| | | :label-width="formLabelWidth"> |
| | | <el-input v-model="itemdetail.code" |
| | | disabled |
| | | type="textarea" |
| | | style=" max-width: 420px" |
| | | autosize |
| | | /> |
| | | autosize /> |
| | | </el-form-item> |
| | | <!-- <el-form-item |
| | | :label="$t('dataManage.dataUpObj.catalogRemarks')" |
| | |
| | | > |
| | | </div>--> |
| | | </el-form> |
| | | <div |
| | | slot="footer" |
| | | <div slot="footer" |
| | | class="dialog-footer" |
| | | style="padding-left: 45% ;padding-top: 20px" |
| | | > |
| | | <el-button |
| | | v-if="menuStatus.update" |
| | | style="padding-left: 45% ;padding-top: 20px"> |
| | | <el-button v-if="menuStatus.update" |
| | | type="primary" |
| | | size="small" |
| | | @click="updCata('itemdetail')" |
| | | >{{ $t("common.preservation") }}</el-button> |
| | | <el-button |
| | | v-if="menuStatus.update" |
| | | @click="updCata('itemdetail')">{{ $t("common.preservation") }}</el-button> |
| | | <el-button v-if="menuStatus.update" |
| | | size="small" |
| | | @click="reset" |
| | | >{{ $t("common.cancel") }}</el-button> |
| | | @click="reset">{{ $t("common.cancel") }}</el-button> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | |
| | | </div> --> |
| | | <!-- </div> --> |
| | | <el-dialog |
| | | :title="$t('dataManage.dataUpObj.newDirectory')" |
| | | <el-dialog :title="$t('dataManage.dataUpObj.newDirectory')" |
| | | :visible.sync="dialogFormVisible" |
| | | :before-close="handleClose" |
| | | > |
| | | <el-form |
| | | :model="ruleForm" |
| | | :before-close="handleClose"> |
| | | <el-form :model="ruleForm" |
| | | ref="ruleForm" |
| | | :rules="rules" |
| | | > |
| | | <el-form-item |
| | | :label="$t('dataManage.dataUpObj.name')" |
| | | :rules="rules"> |
| | | <el-form-item :label="$t('dataManage.dataUpObj.name')" |
| | | prop="name" |
| | | :label-width="formLabelWidth" |
| | | > |
| | | <el-input |
| | | v-model="ruleForm.name" |
| | | :label-width="formLabelWidth"> |
| | | <el-input v-model="ruleForm.name" |
| | | autocomplete="off" |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valueName')" |
| | | ></el-input> |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valueName')"></el-input> |
| | | </el-form-item> |
| | | <el-form-item |
| | | :label="$t('dataManage.dataUpObj.explain')" |
| | | :label-width="formLabelWidth" |
| | | > |
| | | <el-input |
| | | v-model="ruleForm.descr" |
| | | <el-form-item :label="$t('dataManage.dataUpObj.explain')" |
| | | :label-width="formLabelWidth"> |
| | | <el-input v-model="ruleForm.descr" |
| | | autocomplete="off" |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valueexplain')" |
| | | ></el-input> |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valueexplain')"></el-input> |
| | | </el-form-item> |
| | | <el-form-item |
| | | :label="$t('dataManage.dataUpObj.fileExtension')" |
| | | :label-width="formLabelWidth" |
| | | > |
| | | <el-input |
| | | v-model="ruleForm.exts" |
| | | <el-form-item :label="$t('dataManage.dataUpObj.fileExtension')" |
| | | :label-width="formLabelWidth"> |
| | | <el-input v-model="ruleForm.exts" |
| | | type="textarea" |
| | | resize="none" |
| | | style="height: 100%; overflow: auto" |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valuesuffix')" |
| | | /> |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valuesuffix')" /> |
| | | </el-form-item> |
| | | <el-form-item |
| | | :label="$t('dataManage.dataUpObj.inspectionItems')" |
| | | :label-width="formLabelWidth" |
| | | > |
| | | <el-form-item :label="$t('dataManage.dataUpObj.inspectionItems')" |
| | | :label-width="formLabelWidth"> |
| | | <!-- <el-input |
| | | |
| | | type="textarea" |
| | | resize="none" |
| | | |
| | | /> --> |
| | | <el-select |
| | | v-model="ruleForm.checks" |
| | | <el-select v-model="ruleForm.checks" |
| | | multiple |
| | | style="width:100%;" |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valueexamine')" |
| | | > |
| | | <el-option |
| | | v-for="item in options" |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valueexamine')"> |
| | | <el-option v-for="item in options" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | > |
| | | :value="item.value"> |
| | | </el-option> |
| | | </el-select> |
| | | |
| | | </el-form-item> |
| | | <el-form-item |
| | | :label="$t('dataManage.dataUpObj.code')" |
| | | :label-width="formLabelWidth" |
| | | > |
| | | <el-input |
| | | v-model="ruleForm.code" |
| | | <el-form-item :label="$t('dataManage.dataUpObj.code')" |
| | | :label-width="formLabelWidth"> |
| | | <el-input v-model="ruleForm.code" |
| | | disabled |
| | | type="textarea" |
| | | resize="none" |
| | | style="height: 100%; overflow: auto" |
| | | /> |
| | | style="height: 100%; overflow: auto" /> |
| | | </el-form-item> |
| | | <el-form-item |
| | | :label="$t('dataManage.dataUpObj.Remarks')" |
| | | :label-width="formLabelWidth" |
| | | > |
| | | <el-input |
| | | v-model="ruleForm.bak" |
| | | <el-form-item :label="$t('dataManage.dataUpObj.Remarks')" |
| | | :label-width="formLabelWidth"> |
| | | <el-input v-model="ruleForm.bak" |
| | | autocomplete="off" |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valueRemarks')" |
| | | ></el-input> |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valueRemarks')"></el-input> |
| | | </el-form-item> |
| | | </el-form> |
| | | <div |
| | | slot="footer" |
| | | class="dialog-footer" |
| | | > |
| | | <div slot="footer" |
| | | class="dialog-footer"> |
| | | <el-button @click="resetForm('ruleForm')">{{ |
| | | $t("common.cancel") |
| | | }}</el-button> |
| | | <el-button |
| | | class="primary" |
| | | <el-button class="primary" |
| | | @click="submitForm('ruleForm')" |
| | | v-loading.fullscreen.lock="fullscreenLoading" |
| | | >{{ $t("common.preservation") }}</el-button> |
| | | v-loading.fullscreen.lock="fullscreenLoading">{{ $t("common.preservation") }}</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | |
| | | <iframe |
| | | id="Iframe1" |
| | | <iframe id="Iframe1" |
| | | src="" |
| | | style="display: none; border: 0; padding: 0; height: 0; width: 0" |
| | | ></iframe> |
| | | <div |
| | | class="loadBox" |
| | | v-if="loadDialogVisible" |
| | | > |
| | | style="display: none; border: 0; padding: 0; height: 0; width: 0"></iframe> |
| | | <div class="loadBox" |
| | | v-if="loadDialogVisible"> |
| | | <div style="widht:100%; margin:20px; color:white"> |
| | | <div style="margin-left:99%"> |
| | | <!-- <el-link |
| | |
| | | > X</el-link> --> |
| | | </div> |
| | | </div> |
| | | <div |
| | | v-loading="true" |
| | | <div v-loading="true" |
| | | element-loading-background="rgba(0, 0, 0, 0.0) " |
| | | element-loading-text="ç®å½ä¸ä¼ ä¸,请çå¾
..." |
| | | style="margin: 0px 20px;widht:100%;height:calc(100% - 80px); " |
| | | > |
| | | style="margin: 0px 20px;widht:100%;height:calc(100% - 80px); "> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | <style lang="less" scoped> |
| | | .subpage_Box { |
| | | //height: 96%; |
| | | width: 98%; |
| | | width: calc(98% - 20px); |
| | | height: calc(95% - 20px); |
| | | padding: 1%; |
| | | border-radius: 10px; |
| | | background: #f4f8ff; |
| | | margin: 10px; |
| | | // .cataLogContent { |
| | | // width: 100%; |
| | | // height: 100%; |
| | |
| | | <div class="cataLogContent"> |
| | | <div class="left_Tree subpage_Div"> |
| | | <div style="width:auto"> |
| | | <el-tree |
| | | ref="tree" |
| | | <el-tree ref="tree" |
| | | :props="defaultProps" |
| | | node-key="id" |
| | | highlight-current |
| | | :data="menuList" |
| | | :expand-on-click-node="false" |
| | | :default-expand-all="true" |
| | | @node-click="handleNodeClick" |
| | | > |
| | | @node-click="handleNodeClick"> |
| | | </el-tree> |
| | | </div> |
| | | </div> |
| | | <div class="right_menu subpage_Div"> |
| | | <div style="display:flex;justify-content:right;align-items: center;padding-bottom: 14px"> |
| | | <el-breadcrumb separator="/" style="display: none"> |
| | | <el-breadcrumb separator="/" |
| | | style="display: none"> |
| | | <el-breadcrumb-item :to="{ path: '/' }">{{ |
| | | $t('dataManage.dictionaryManageObj.particulars') |
| | | }}</el-breadcrumb-item> |
| | | </el-breadcrumb> |
| | | |
| | | <div> |
| | | <el-button |
| | | v-if="menuStatus.insert" |
| | | :disabled="itemdetail.pid == null ? true : false" |
| | | <el-button :disabled="itemdetail.pid == null ? true : false" |
| | | @click="setNewNode(1)" |
| | | type="success" |
| | | icon="el-icon-plus" |
| | | size="small" |
| | | >{{$t('operatManage.menuSetObj.insert')}}</el-button> |
| | | <el-button |
| | | v-if="menuStatus.insert" |
| | | :disabled="itemdetail.pid == null ? true : false" |
| | | size="small">{{$t('operatManage.menuSetObj.insert')}}</el-button> |
| | | <el-button :disabled="itemdetail.pid == null ? true : false" |
| | | @click="setNewNode(2)" |
| | | type="success" |
| | | icon="el-icon-plus" |
| | | size="small" |
| | | >{{$t('operatManage.menuSetObj.subInsert')}}</el-button> |
| | | <el-button |
| | | v-if="menuStatus.delete" |
| | | @click="setDelNode()" |
| | | size="small">{{$t('operatManage.menuSetObj.subInsert')}}</el-button> |
| | | <el-button @click="setDelNode()" |
| | | :disabled="itemdetail.pid == null ? true : false" |
| | | type="danger" |
| | | icon="el-icon-delete" |
| | | size="small" |
| | | >{{$t('operatManage.menuSetObj.delete')}}</el-button> |
| | | <el-button |
| | | v-if="menuStatus.update" |
| | | :disabled="itemdetail.pid == null ? true : false" |
| | | size="small">{{$t('operatManage.menuSetObj.delete')}}</el-button> |
| | | <el-button :disabled="itemdetail.pid == null ? true : false" |
| | | @click="setEditNode(1)" |
| | | type="info" |
| | | icon="el-icon-top" |
| | | size="small" |
| | | >{{$t('operatManage.menuSetObj.moveUp')}}</el-button> |
| | | <el-button |
| | | v-if="menuStatus.update" |
| | | :disabled="itemdetail.pid == null ? true : false" |
| | | size="small">{{$t('operatManage.menuSetObj.moveUp')}}</el-button> |
| | | <el-button :disabled="itemdetail.pid == null ? true : false" |
| | | @click="setEditNode(2)" |
| | | type="info" |
| | | icon="el-icon-bottom" |
| | | size="small" |
| | | >{{$t('operatManage.menuSetObj.moveDown')}}</el-button> |
| | | size="small">{{$t('operatManage.menuSetObj.moveDown')}}</el-button> |
| | | </div> |
| | | |
| | | </div> |
| | | <div class="dividing-line"></div> |
| | | <!-- <el-divider />--> |
| | | <div class="form_box"> |
| | | <el-form |
| | | :model="itemdetail" |
| | | <el-form :model="itemdetail" |
| | | ref="itemdetail" |
| | | :rules="rules" |
| | | label-width="130px" |
| | | > |
| | | <el-form-item |
| | | prop="enName" |
| | | label-width="130px"> |
| | | <el-form-item prop="enName" |
| | | :label="$t('operatManage.menuSetObj.enName')" |
| | | :label-width="formLabelWidth" |
| | | > |
| | | <el-input |
| | | clear="el_input" |
| | | :label-width="formLabelWidth"> |
| | | <el-input clear="el_input" |
| | | v-model="itemdetail.enName" |
| | | :placeholder="$t('operatManage.menuSetObj.enNameHolder')" |
| | | autocomplete="off" |
| | | ></el-input> |
| | | autocomplete="off"></el-input> |
| | | </el-form-item> |
| | | <el-form-item |
| | | prop="cnName" |
| | | <el-form-item prop="cnName" |
| | | :label="$t('operatManage.menuSetObj.cnName')" |
| | | :label-width="formLabelWidth" |
| | | > |
| | | <el-input |
| | | v-model="itemdetail.cnName" |
| | | :label-width="formLabelWidth"> |
| | | <el-input v-model="itemdetail.cnName" |
| | | :placeholder="$t('operatManage.menuSetObj.cnNameHolder')" |
| | | autocomplete="off" |
| | | ></el-input> |
| | | autocomplete="off"></el-input> |
| | | </el-form-item> |
| | | <!-- <el-form-item--> |
| | | <!-- :label="$t('operatManage.menuSetObj.icon')"--> |
| | |
| | | <!-- autocomplete="off"--> |
| | | <!-- ></el-input>--> |
| | | <!-- </el-form-item>--> |
| | | <el-form-item |
| | | prop="isShow" |
| | | <el-form-item prop="isShow" |
| | | :label="$t('operatManage.menuSetObj.isShow')" |
| | | :label-width="formLabelWidth" |
| | | > |
| | | <el-select |
| | | style="width: 400px" |
| | | :label-width="formLabelWidth"> |
| | | <el-select style="width: 400px" |
| | | :popper-append-to-body="false" |
| | | v-model="itemdetail.isShow" |
| | | :placeholder="$t('operatManage.menuSetObj.show')" |
| | | > |
| | | <el-option :label="$t('operatManage.menuSetObj.hiddeen')" value="0" /> |
| | | <el-option :label="$t('operatManage.menuSetObj.isshow')" value="1" /> |
| | | :placeholder="$t('operatManage.menuSetObj.show')"> |
| | | <el-option :label="$t('operatManage.menuSetObj.hiddeen')" |
| | | value="0" /> |
| | | <el-option :label="$t('operatManage.menuSetObj.isshow')" |
| | | value="1" /> |
| | | <!-- <el-option--> |
| | | <!-- v-for="item in options1"--> |
| | | <!-- :key="item.value"--> |
| | |
| | | <!-- </el-option>--> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item |
| | | :label="$t('operatManage.menuSetObj.menuUrl')" |
| | | :label-width="formLabelWidth" |
| | | > |
| | | <el-input |
| | | v-model="itemdetail.url" |
| | | <el-form-item :label="$t('operatManage.menuSetObj.menuUrl')" |
| | | :label-width="formLabelWidth"> |
| | | <el-input v-model="itemdetail.url" |
| | | :placeholder="$t('operatManage.menuSetObj.menuUrlHolder')" |
| | | autocomplete="off" |
| | | ></el-input> |
| | | autocomplete="off"></el-input> |
| | | </el-form-item> |
| | | <el-form-item |
| | | :label="$t('operatManage.menuSetObj.authorize')" |
| | | :label-width="formLabelWidth" |
| | | > |
| | | <el-input |
| | | v-model="itemdetail.perms" |
| | | <el-form-item :label="$t('operatManage.menuSetObj.authorize')" |
| | | :label-width="formLabelWidth"> |
| | | <el-input v-model="itemdetail.perms" |
| | | :placeholder="$t('operatManage.menuSetObj.permsHolder')" |
| | | autocomplete="off" |
| | | ></el-input> |
| | | autocomplete="off"></el-input> |
| | | </el-form-item> |
| | | <el-form-item |
| | | :label="$t('operatManage.menuSetObj.type')" |
| | | <el-form-item :label="$t('operatManage.menuSetObj.type')" |
| | | prop="type" |
| | | :label-width="formLabelWidth" |
| | | > |
| | | <el-select |
| | | style="width: 400px" |
| | | :label-width="formLabelWidth"> |
| | | <el-select style="width: 400px" |
| | | :popper-append-to-body="false" |
| | | v-model="itemdetail.type" |
| | | :placeholder="$t('operatManage.menuSetObj.typeHolder')" |
| | | > |
| | | <el-option :label="$t('operatManage.menuSetObj.rootpath')" value="0" /> |
| | | <el-option :label="$t('operatManage.menuSetObj.menu')" value="1" /> |
| | | <el-option :label="$t('operatManage.menuSetObj.button')" value="2" /> |
| | | :placeholder="$t('operatManage.menuSetObj.typeHolder')"> |
| | | <el-option :label="$t('operatManage.menuSetObj.rootpath')" |
| | | value="0" /> |
| | | <el-option :label="$t('operatManage.menuSetObj.menu')" |
| | | value="1" /> |
| | | <el-option :label="$t('operatManage.menuSetObj.button')" |
| | | value="2" /> |
| | | <!-- <el-option--> |
| | | <!-- v-for="item in options2"--> |
| | | <!-- :key="item.value"--> |
| | |
| | | <!-- </el-option>--> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item |
| | | :label="$t('operatManage.menuSetObj.bak')" |
| | | :label-width="formLabelWidth" |
| | | > |
| | | <el-input |
| | | v-model="itemdetail.bak" |
| | | <el-form-item :label="$t('operatManage.menuSetObj.bak')" |
| | | :label-width="formLabelWidth"> |
| | | <el-input v-model="itemdetail.bak" |
| | | autocomplete="off" |
| | | :placeholder="$t('operatManage.menuSetObj.bakHolder')" |
| | | ></el-input> |
| | | :placeholder="$t('operatManage.menuSetObj.bakHolder')"></el-input> |
| | | </el-form-item> |
| | | <div v-if="menuStatus.update"> |
| | | <div> |
| | | <el-form-item> |
| | | <el-button |
| | | size="small" |
| | | <el-button size="small" |
| | | type="primary" |
| | | @click="updMenu('itemdetail')" |
| | | >{{ $t('common.confirm') }}</el-button> |
| | | <el-button |
| | | size="small" |
| | | @click="updMenu('itemdetail')">{{ $t('common.confirm') }}</el-button> |
| | | <el-button size="small" |
| | | type="info" |
| | | @click="reset('itemdetail')" |
| | | >{{ |
| | | @click="reset('itemdetail')">{{ |
| | | $t('common.cancel') |
| | | }}</el-button> |
| | | </el-form-item> |
| | |
| | | </div> |
| | | </div> |
| | | |
| | | <el-dialog |
| | | :title="$t('common.append')" |
| | | <el-dialog :title="$t('common.append')" |
| | | :visible.sync="dialogFormVisible" |
| | | :before-close="handleClose" |
| | | > |
| | | :before-close="handleClose"> |
| | | <div style="height: 500px; overflow: auto"> |
| | | <el-form |
| | | :model="ruleForm" |
| | | <el-form :model="ruleForm" |
| | | ref="ruleForm" |
| | | :rules="rules" |
| | | label-position="top" |
| | | > |
| | | <el-form-item |
| | | prop="enName" |
| | | label-position="top"> |
| | | <el-form-item prop="enName" |
| | | :label="$t('operatManage.menuSetObj.enName')" |
| | | :label-width="formLabelWidth" |
| | | > |
| | | <el-input |
| | | v-model="ruleForm.enName" |
| | | :label-width="formLabelWidth"> |
| | | <el-input v-model="ruleForm.enName" |
| | | autocomplete="off" |
| | | style="width:85%" |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valuetwo')+$t('operatManage.menuSetObj.enName')" |
| | | ></el-input> |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valuetwo')+$t('operatManage.menuSetObj.enName')"></el-input> |
| | | </el-form-item> |
| | | <el-form-item |
| | | prop="cnName" |
| | | <el-form-item prop="cnName" |
| | | :label="$t('operatManage.menuSetObj.cnName')" |
| | | :label-width="formLabelWidth" |
| | | > |
| | | <el-input |
| | | v-model="ruleForm.cnName" |
| | | :label-width="formLabelWidth"> |
| | | <el-input v-model="ruleForm.cnName" |
| | | autocomplete="off" |
| | | style="width:85%" |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valuetwo')+$t('operatManage.menuSetObj.cnName')" |
| | | ></el-input> |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valuetwo')+$t('operatManage.menuSetObj.cnName')"></el-input> |
| | | </el-form-item> |
| | | <el-form-item |
| | | :label="$t('operatManage.menuSetObj.icon')" |
| | | :label-width="formLabelWidth" |
| | | > |
| | | <el-input |
| | | v-model="ruleForm.icon" |
| | | <el-form-item :label="$t('operatManage.menuSetObj.icon')" |
| | | :label-width="formLabelWidth"> |
| | | <el-input v-model="ruleForm.icon" |
| | | autocomplete="off" |
| | | style="width:85%" |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valuetwo')+$t('operatManage.menuSetObj.icon')" |
| | | ></el-input> |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valuetwo')+$t('operatManage.menuSetObj.icon')"></el-input> |
| | | </el-form-item> |
| | | <el-form-item |
| | | prop="isShow" |
| | | <el-form-item prop="isShow" |
| | | :label="$t('operatManage.menuSetObj.isShow')" |
| | | :label-width="formLabelWidth" |
| | | > |
| | | <el-select |
| | | :popper-append-to-body="false" |
| | | :label-width="formLabelWidth"> |
| | | <el-select :popper-append-to-body="false" |
| | | style="width:85%" |
| | | v-model="ruleForm.isShow" |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valuetree')+$t('operatManage.menuSetObj.isShow')" |
| | | > |
| | | <el-option |
| | | v-for="item in options1" |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valuetree')+$t('operatManage.menuSetObj.isShow')"> |
| | | <el-option v-for="item in options1" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | > |
| | | :value="item.value"> |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item |
| | | :label="$t('operatManage.menuSetObj.menuUrl')" |
| | | :label-width="formLabelWidth" |
| | | > |
| | | <el-input |
| | | v-model="ruleForm.url" |
| | | <el-form-item :label="$t('operatManage.menuSetObj.menuUrl')" |
| | | :label-width="formLabelWidth"> |
| | | <el-input v-model="ruleForm.url" |
| | | autocomplete="off" |
| | | style="width:85%" |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valuetwo')+$t('operatManage.menuSetObj.menuUrl')" |
| | | ></el-input> |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valuetwo')+$t('operatManage.menuSetObj.menuUrl')"></el-input> |
| | | </el-form-item> |
| | | <el-form-item |
| | | :label="$t('operatManage.menuSetObj.authorize')" |
| | | :label-width="formLabelWidth" |
| | | > |
| | | <el-input |
| | | v-model="ruleForm.perms" |
| | | <el-form-item :label="$t('operatManage.menuSetObj.authorize')" |
| | | :label-width="formLabelWidth"> |
| | | <el-input v-model="ruleForm.perms" |
| | | autocomplete="off" |
| | | style="width:85%" |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valuetwo')+$t('operatManage.menuSetObj.authorize')" |
| | | ></el-input> |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valuetwo')+$t('operatManage.menuSetObj.authorize')"></el-input> |
| | | </el-form-item> |
| | | <el-form-item |
| | | :label="$t('operatManage.menuSetObj.type')" |
| | | <el-form-item :label="$t('operatManage.menuSetObj.type')" |
| | | prop="type" |
| | | :label-width="formLabelWidth" |
| | | > |
| | | <el-select |
| | | :popper-append-to-body="false" |
| | | :label-width="formLabelWidth"> |
| | | <el-select :popper-append-to-body="false" |
| | | style="width:85%" |
| | | v-model="ruleForm.type" |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valuetree')+$t('operatManage.menuSetObj.type')" |
| | | > |
| | | <el-option |
| | | v-for="item in options2" |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valuetree')+$t('operatManage.menuSetObj.type')"> |
| | | <el-option v-for="item in options2" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | > |
| | | :value="item.value"> |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item |
| | | :label="$t('operatManage.menuSetObj.bak')" |
| | | :label-width="formLabelWidth" |
| | | > |
| | | <el-input |
| | | v-model="ruleForm.bak" |
| | | <el-form-item :label="$t('operatManage.menuSetObj.bak')" |
| | | :label-width="formLabelWidth"> |
| | | <el-input v-model="ruleForm.bak" |
| | | autocomplete="off" |
| | | style="width:85%" |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valuetwo')+$t('operatManage.menuSetObj.bak')" |
| | | ></el-input> |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valuetwo')+$t('operatManage.menuSetObj.bak')"></el-input> |
| | | </el-form-item> |
| | | </el-form> |
| | | </div> |
| | | <div |
| | | slot="footer" |
| | | class="dialog-footer" |
| | | > |
| | | <div slot="footer" |
| | | class="dialog-footer"> |
| | | <el-button @click="resetForm('ruleForm')">{{ |
| | | $t('common.cancel') |
| | | }}</el-button> |
| | | <el-button |
| | | style="background: #409eff; color: white; border: 1px solid #409eff" |
| | | <el-button style="background: #409eff; color: white; border: 1px solid #409eff" |
| | | @click="submitForm('ruleForm')" |
| | | v-loading.fullscreen.lock="fullscreenLoading" |
| | | >{{ $t('common.confirm') }}</el-button> |
| | | v-loading.fullscreen.lock="fullscreenLoading">{{ $t('common.confirm') }}</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | </div> |
| | |
| | | } |
| | | } |
| | | .btnBox{ |
| | | |
| | | position: absolute; |
| | | bottom: 0; |
| | | right: 0; |