Commit 418d5a1a by liuyong

修改菜单

1 parent 2071b6c4
...@@ -380,8 +380,8 @@ ...@@ -380,8 +380,8 @@
var temp = all.join(';').split(';'); var temp = all.join(';').split(';');
// temp.push('archimate');//二次开发,调整初始化左侧菜单展示项 // temp.push('archimate');//二次开发,调整初始化左侧菜单展示项
console.log(temp) // console.log(temp)
console.log(this.configuration) // console.log(this.configuration)
// Resolves aliases and creates lookup // Resolves aliases and creates lookup
var visible = {}; var visible = {};
......
import { get, post } from '@/utils/http'; import { get, post } from '@/utils/http';
export function query_jia_gou_yuan_su_guan_xi_table(params) {//架构元素关系表格 export function query_jia_gou_yuan_su_guan_xi_table(params) {//查询架构元素管理表格
return get('/ele/', params); return post('/ele/', params);
} }
// 导入列表 export function add_jia_gou_ceng_ci(params) {// 新增架构层次
export function offlineQuery(params) { return post('/ele/addArcCc', params);
return post(`/anasz-smart-screen/offlineQuery/`, params);
} }
export function query_jia_gou_ceng_ci(params) {//查询架构层次
return post('/ele/getCcList', params);
}
export function add_jia_gou_gui_shu(params) {// 新增架构归属
return post('/ele/addArcGs', params);
}
export function query_jia_gou_gui_shu(params) {// 查询架构归属
return post('/ele/getGsList', params);
}
export function delete_jia_gou_gui_shu(params) {// 删除架构元素列表某项
return post('/ele/deleteEle', params);
}
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<!-- Do not edit this file with editors other than draw.io -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="121px" height="81px" viewBox="-0.5 -0.5 121 81" content="&lt;mxfile host=&quot;localhost&quot; modified=&quot;2023-12-06T10:02:02.165Z&quot; agent=&quot;Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36&quot; etag=&quot;V8i_nUr59hWe2OwEDrqo&quot; version=&quot;@DRAWIO-VERSION@&quot; type=&quot;device&quot;&gt;&lt;diagram name=&quot;第 1 页&quot; id=&quot;TiJAm7dwD68M6LtngNAs&quot;&gt;jZLbSsQwEIafppfCpqm23tqtyoIgVFC8C81sE0ibks3adp/e1Ex6YFnwKjPfHDLzJxHNm+HFsE68aQ4qind8iOg+imNC00d3TGT0JE2oB7WRHJMWUMoLINwhPUsOp02i1VpZ2W1hpdsWKrthzBjdb9OOWm1v7VgNV6CsmLqmn5Jb4WkWpwt/BVmLcDN5wIUbFpJxk5NgXPcrRIuI5kZr661myEFN4gVdfN3zjeg8mIHW/qfgKzsUh3dzX+4/vkmVXARtszvs8sPUGRfGYe0YFHBdnNjOeeqFtFB2rJoivXtvx4RtlPOIM7EVGAvDzRnJvLn7MqAbsGZ0KViQkMSX4G8hGYrXL9qTIKhY6R7yGD53PbdeFHEGihLcRfy/2OoL0+IX&lt;/diagram&gt;&lt;/mxfile&gt;" style="background-color: rgb(255, 255, 255);"><defs/><g><ellipse cx="60" cy="40" rx="60" ry="40" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/></g></svg>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<!-- Do not edit this file with editors other than draw.io -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="102px" height="102px" viewBox="-0.5 -0.5 102 102" content="&lt;mxfile host=&quot;localhost&quot; modified=&quot;2023-12-06T10:05:07.925Z&quot; agent=&quot;Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36&quot; etag=&quot;LdQPXef8Btt46wpro-2Y&quot; version=&quot;@DRAWIO-VERSION@&quot; type=&quot;device&quot;&gt;&lt;diagram name=&quot;第 1 页&quot; id=&quot;xuietXvZzqxle0DksasZ&quot;&gt;jZNNb4MwDIZ/DcdKQKqyHlfWbtW0U6X1WGXEhWgBo2AG3a9fKAaKqko7ET/+SPzaeCLO21cry+wDFRgv9FXriRcvDAMRrd2nI5eeREvRg9RqxUETOOhfYOgzrbWCahZIiIZ0OYcJFgUkNGPSWmzmYWc081tLmcIdOCTS3NOjVpT19CmMJv4GOs2Gm4MVN5zLIZg7qTKpsLlBYuuJ2CJSf8rbGEwn3qBLn7d74B0fZqGg/yREn7R+scfFnvaxTk7vpE7tgqv8SFNzw/xYugwKWKwLBV2RwBObJtMEh1ImnbdxM3cso9ywW35VaGqCZ5vwLK90spbOrMji9yinE2Jz1sbEaNBerxS7ndgI33F+HViC9mHbwSim20LAHMheXAgniBXrzwsoBNvNNM7AZ5bdjnKAklcoHWtPKrsDCz2Y00CvvpvfQmz/AA==&lt;/diagram&gt;&lt;/mxfile&gt;" style="background-color: rgb(255, 255, 255);"><defs/><g><rect x="1" y="1" width="100" height="100" rx="7" ry="7" fill="#ff3b30" stroke="rgb(0, 0, 0)" stroke-width="2" pointer-events="all"/></g></svg>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<!-- Do not edit this file with editors other than draw.io -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="102px" height="102px" viewBox="-0.5 -0.5 102 102" content="&lt;mxfile host=&quot;localhost&quot; modified=&quot;2023-12-06T10:05:58.439Z&quot; agent=&quot;Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36&quot; etag=&quot;GsSj36yhZaGFNM_76yZF&quot; version=&quot;@DRAWIO-VERSION@&quot; type=&quot;device&quot;&gt;&lt;diagram name=&quot;第 1 页&quot; id=&quot;xuietXvZzqxle0DksasZ&quot;&gt;jZNNb4MwDIZ/DcdKQLqyHlfabtW0U6X1WGXEhWgBo2AG3a9fWgwUVZV2In78kfi18USct69WltkHKjBe6KvWE2svDAMRLd3nQs4dieaiA6nVioNGsNe/wNBnWmsF1SSQEA3pcgoTLApIaMKktdhMw05opreWMoU7sE+kuacHrSjr6HMYjfwNdJr1NwcLbjiXfTB3UmVSYXODxMYTsUWk7pS3MZiLeL0uXd72gXd4mIWC/pMQfdJybQ+zHe1inRzfSR3bGVf5kabmhvmxdO4VsFgXCi5FAk+smkwT7EuZXLyNm7ljGeWG3fKrQlMTvNiEZ3mlozV3ZkUWvwc5nRCrkzYmRoP2eqXYbpdPvu84vw4sQfuw7WAQ020hYA5kzy6EE8SC9ecFFILtZhxn4DPLbkfZQ8krlA61R5XdgYXuzXGgV9/NbyE2fw==&lt;/diagram&gt;&lt;/mxfile&gt;" style="background-color: rgb(255, 255, 255);"><defs/><g><rect x="1" y="1" width="100" height="100" rx="7" ry="7" fill="#ff9500" stroke="rgb(0, 0, 0)" stroke-width="2" pointer-events="all"/></g></svg>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<!-- Do not edit this file with editors other than draw.io -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="102px" height="102px" viewBox="-0.5 -0.5 102 102" content="&lt;mxfile host=&quot;localhost&quot; modified=&quot;2023-12-06T10:06:39.465Z&quot; agent=&quot;Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36&quot; etag=&quot;yFAt4Gt7lHUKzjIfrzlk&quot; version=&quot;@DRAWIO-VERSION@&quot; type=&quot;device&quot;&gt;&lt;diagram name=&quot;第 1 页&quot; id=&quot;xuietXvZzqxle0DksasZ&quot;&gt;jZNNb4MwDIZ/DcdKhVSwHlfabdW0U6X1WGXEhWgBo2AG3a9fKAaKqko7ET/+SPzaeCLO21cry+wDFRgvWKrWE1svCHwRrd2nI5eeRCvRg9RqxUETOOhfYLhkWmsF1SyQEA3pcg4TLApIaMaktdjMw85o5reWMoU7cEikuadHrSjr6VMQTfwNdJoNN/shN5zLIZg7qTKpsLlBYueJ2CJSf8rbGEwn3qBLn/fywDs+zEJB/0mIPmm9tcfFnvaxTk7vpE7tgqv8SFNzw/xYugwKWKwLBV0R3xObJtMEh1ImnbdxM3cso9ywW35VaGqCZ5vwLK90slbOrMji9yinE2Jz1sbEaNBerxSreLsOu0h+HViC9mHb/iim20LAHMheXAgniJD15wUUgu1mGqe/ZJbdjnKAklcoHWtPKrsDCz2Y00CvvpvfQuz+AA==&lt;/diagram&gt;&lt;/mxfile&gt;" style="background-color: rgb(255, 255, 255);"><defs/><g><rect x="1" y="1" width="100" height="100" rx="7" ry="7" fill="#4cd964" stroke="rgb(0, 0, 0)" stroke-width="2" pointer-events="all"/></g></svg>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<!-- Do not edit this file with editors other than draw.io -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="102px" height="102px" viewBox="-0.5 -0.5 102 102" content="&lt;mxfile host=&quot;localhost&quot; modified=&quot;2023-12-06T10:07:07.302Z&quot; agent=&quot;Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36&quot; etag=&quot;tUXixIy2B6rzICxpcl5b&quot; version=&quot;@DRAWIO-VERSION@&quot; type=&quot;device&quot;&gt;&lt;diagram name=&quot;第 1 页&quot; id=&quot;xuietXvZzqxle0DksasZ&quot;&gt;jZNNb4MwDIZ/DcdKQKqyHlfWbtW0U6X1WGXEhWgBo2AG3a9fKAaKqko7ET/+SPzaeCLO21cry+wDFRgv9FXriRcvDAMRrd2nI5eeREvRg9RqxUETOOhfYOgzrbWCahZIiIZ0OYcJFgUkNGPSWmzmYWc081tLmcIdOCTS3NOjVpT19CmMJv4GOs2Gm4MVN5zLIZg7qTKpsLlBYuuJ2CJSf8rbGEwn3qBLn7d74B0fZqGg/yREn7R+scfFnvaxTk7vpE7tgqv8SFNzw/xYugwKWKwLBV2RwBObJtMEh1ImnbdxM3cso9ywW35VaGqCZ5vwLK90spbOrMji9yinE2Jz1sbEaNBerxS7XRz7vuP8OrAE7cO2g1FMt4WAOZC9uBBOECvWnxdQCLabaZyBzyy7HeUAJa9QOtaeVHYHFnowp4FefTe/hdj+AQ==&lt;/diagram&gt;&lt;/mxfile&gt;" style="background-color: rgb(255, 255, 255);"><defs/><g><rect x="1" y="1" width="100" height="100" rx="7" ry="7" fill="#ffcc00" stroke="rgb(0, 0, 0)" stroke-width="2" pointer-events="all"/></g></svg>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<!-- Do not edit this file with editors other than draw.io -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="102px" height="102px" viewBox="-0.5 -0.5 102 102" content="&lt;mxfile host=&quot;localhost&quot; modified=&quot;2023-12-06T10:07:47.134Z&quot; agent=&quot;Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36&quot; etag=&quot;trEQspNI0kussYJqKVr9&quot; version=&quot;@DRAWIO-VERSION@&quot; type=&quot;device&quot;&gt;&lt;diagram name=&quot;第 1 页&quot; id=&quot;xuietXvZzqxle0DksasZ&quot;&gt;jZNNb4JAEIZ/DUcTYI3Uo6K2punJpB7Nlh1h04Uhy1Cwv76LDCIxJj2x88zH7rwzeCLO21cry+wDFRgv9FXriY0XhoGIlu7TkUtPornoQWq14qARHPQvMPSZ1lpBNQkkREO6nMIEiwISmjBpLTbTsDOa6a2lTOEBHBJpHulRK8p6+hJGI38DnWbDzcGCG87lEMydVJlU2NwhsfVEbBGpP+VtDKYTb9Clz9s98d4eZqGg/yREn7Tc2ONsT/tYJ6d3Uqd2xlV+pKm5YX4sXQYFLNaFgq5I4Il1k2mCQymTztu4mTuWUW7YLb8qNDXByiY8yysdrbkzK7L4fZPTCbE+a2NiNGivVwrfj1Y718eaXweWoH3adnAT020hYA5kLy6EE8SC9ecFFILtZhxn4DPL7kc5QMkrlN5qjyq7Aws9mONAr76730Js/wA=&lt;/diagram&gt;&lt;/mxfile&gt;" style="background-color: rgb(255, 255, 255);"><defs/><g><rect x="1" y="1" width="100" height="100" rx="7" ry="7" fill="#007aff" stroke="rgb(0, 0, 0)" stroke-width="2" pointer-events="all"/></g></svg>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<!-- Do not edit this file with editors other than draw.io -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="102px" height="102px" viewBox="-0.5 -0.5 102 102" content="&lt;mxfile host=&quot;localhost&quot; modified=&quot;2023-12-06T10:08:11.072Z&quot; agent=&quot;Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36&quot; etag=&quot;ZCMpcf_ENDXtLr9SV_5z&quot; version=&quot;@DRAWIO-VERSION@&quot; type=&quot;device&quot;&gt;&lt;diagram name=&quot;第 1 页&quot; id=&quot;xuietXvZzqxle0DksasZ&quot;&gt;jZNNb4MwDIZ/DcdKhbTQHlfabdW0U6X1WGXEhWgBo2AG3a9fKKYUTZV2In78kfi18UScty9Wltk7KjBeMFetJ7ZeEPgiWrtPRy49iRaiB6nVioNGcNA/wHDOtNYKqkkgIRrS5RQmWBSQ0IRJa7GZhp3RTG8tZQp/wCGR5i89akVZT1dBNPJX0Gk23OyH3HAuh2DupMqkwuYOiZ0nYotI/SlvYzCdeIMufd7zA+/tYRYK+k9C9EHrrT3O9rSPdXJ6I3VqZ1zlW5qaG+bH0mVQwGJdKOiK+J7YNJkmOJQy6byNm7ljGeWG3fKzQlMTPNmEZ3mlo7VwZkUWv25yOiE2Z21MjAbt9UqxXC3Dbeg4vw4sQfuwbf8mpttCwBzIXlwIJ4iQ9ecFFILtZhynP2eW3Y9ygJJXKL3VHlV2BxZ6MMeBXn13v4XY/QI=&lt;/diagram&gt;&lt;/mxfile&gt;" style="background-color: rgb(255, 255, 255);"><defs/><g><rect x="1" y="1" width="100" height="100" rx="7" ry="7" fill="#5856d6" stroke="rgb(0, 0, 0)" stroke-width="2" pointer-events="all"/></g></svg>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<!-- Do not edit this file with editors other than draw.io -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="151px" height="91px" viewBox="-0.5 -0.5 151 91" content="&lt;mxfile host=&quot;localhost&quot; modified=&quot;2023-12-06T10:01:11.833Z&quot; agent=&quot;Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36&quot; etag=&quot;YfGvWuLyFXa1aStUZ0TI&quot; version=&quot;@DRAWIO-VERSION@&quot; type=&quot;device&quot;&gt;&lt;diagram name=&quot;第 1 页&quot; id=&quot;T3SLXpASqCSmrz4Ut6n_&quot;&gt;jZJNT4QwEIZ/DUcToCrLUXDRizHKwXMDs7SxUCzDAv56iwxf2WyyJ4ZnvjrvjMPisn8xvBZvOgfl+G7eO+zZ8X2PBaH9jGSYSHDPJlAYmVPQClL5CwRdoq3ModkFotYKZb2Hma4qyHDHuDG624edtNp3rXkBFyDNuLqkXzJHMdGDH6z8FWQh5s7eIw1c8jmYJmkEz3W3QezosNhojZNV9jGoUbxZlykvueJdHmagwlsSsP3A8OA+JVECP+/fmerPzR1VOXPV0sD0WBxmBQSWylqew6JOSIS05tno6uzCLeNNPel+kj3YVpGdsx79stGf1sOrYqwUUSMwCP3VCbxFF3tQoEtAM9gQSmCMtKVbYgFJ262b8R6Iic1WQmKcjqFYSq96WYMkm3/X1fz7NgfOjn8=&lt;/diagram&gt;&lt;/mxfile&gt;" style="background-color: rgb(255, 255, 255);"><defs/><g><path d="M 0 45 L 75 1.7 L 150 45 L 75 88.3 L 0 45 Z" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/></g></svg>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<!-- Do not edit this file with editors other than draw.io -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="121px" height="61px" viewBox="-0.5 -0.5 121 61" content="&lt;mxfile host=&quot;localhost&quot; modified=&quot;2023-12-06T09:59:34.231Z&quot; agent=&quot;Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36&quot; etag=&quot;8DzgShtGNs8AFoU-ameY&quot; version=&quot;@DRAWIO-VERSION@&quot; type=&quot;device&quot;&gt;&lt;diagram name=&quot;第 1 页&quot; id=&quot;oljzefYt4KcpZMT0MXCa&quot;&gt;jZJNb8MgDIZ/DcdKSeia7bil3XrZLpE67UiDG5AgRJSMZL9+yWLyoarSTsDjD+zXJjTT7ZtltXg3HBRJIt4SuidJEtP0qT8G0o0k3dIRlFZydJpBLn8AYYS0kRyuK0dnjHKyXsPCVBUUbsWYtcav3S5GrX+tWQk3IC+YuqWfkjsx0scknfkRZCnCz/EOG9YsOGMnV8G48QtED4Rm1hg33nSbgRrEC7qMca93rFNhFir3n4BWtw/70/nr7P1JlR+b43PabDDLN1MNNozFui4oYE1TcRiSxIS+eCEd5DUrBqvvZ94z4bRCM6YD66C9W2c8dd+vDRgNzna9CwZsIxQMNyYJbz/rHwdRxUL7HTKGIy+n1LMq/QWFCc95AH+2xRrTwy8=&lt;/diagram&gt;&lt;/mxfile&gt;" style="background-color: rgb(255, 255, 255);"><defs/><g><rect x="0" y="0" width="120" height="60" rx="9" ry="9" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/></g></svg>
\ No newline at end of file
...@@ -10,28 +10,24 @@ ...@@ -10,28 +10,24 @@
<div class="search_menu_item"> <div class="search_menu_item">
<span class="search_title">架构归属</span> <span class="search_title">架构归属</span>
<el-select v-model="query_item1" placeholder="请选择" class="search_item"> <el-select v-model="query_item1" placeholder="请选择" class="search_item">
<el-option label="业务架构" value="业务架构"></el-option> <el-option v-for="item in search_select1" :key="item.belongId" :label="item.name" :value="item.belongId"></el-option>
<el-option label="应用架构" value="应用架构"></el-option>
<el-option label="内容架构" value="内容架构"></el-option>
<el-option label="技术架构" value="技术架构"></el-option>
<el-option label="安全架构" value="安全架构"></el-option>
</el-select> </el-select>
</div> </div>
<div class="search_menu_item"> <div class="search_menu_item">
<span class="search_title">状态</span> <span class="search_title">状态</span>
<el-select v-model="query_item4" placeholder="请选择" class="search_item"> <el-select v-model="query_item4" placeholder="请选择" class="search_item">
<el-option label="已发布" value="已发布"></el-option> <el-option label="已发布" value="1"></el-option>
<el-option label="已停用" value="已停用"></el-option> <el-option label="已停用" value="0"></el-option>
<el-option label="暂存" value="暂存"></el-option> <el-option label="暂存" value="2"></el-option>
</el-select> </el-select>
</div> </div>
</div> </div>
<div class="search_menu_btn_container"> <div class="search_menu_btn_container">
<div class="query_btn"> <div class="query_btn" @click="get_table">
<img class="btn_icon" src="@/assets/查询icon.png" alt="" /> <img class="btn_icon" src="@/assets/查询icon.png" alt="" />
<p>查询</p> <p>查询</p>
</div> </div>
<div class="reset_btn"> <div class="reset_btn" @click="reset">
<img class="btn_icon" src="@/assets/重置icon.png" alt="" /> <img class="btn_icon" src="@/assets/重置icon.png" alt="" />
<p>重置</p> <p>重置</p>
</div> </div>
...@@ -47,37 +43,43 @@ ...@@ -47,37 +43,43 @@
<p>版本发布</p> <p>版本发布</p>
</div> </div>
</div> </div>
<el-table :data="tableData" stripe border> <el-table v-loading="loading" :data="tableData" stripe border height="400">
<el-table-column type="selection" width="55"></el-table-column> <el-table-column type="selection" width="55"></el-table-column>
<el-table-column type="index" label="序号" width="80" align="center"></el-table-column> <el-table-column type="index" label="序号" width="80" align="center"></el-table-column>
<el-table-column prop="let1" label="元素名称" width="180" align="center"></el-table-column> <el-table-column prop="elementName" label="元素名称" align="center"></el-table-column>
<el-table-column prop="let2" label="架构层次" width="180" align="center"></el-table-column> <el-table-column prop="archiLevel" label="架构层次" align="center"></el-table-column>
<el-table-column prop="let3" label="架构归属" width="180" align="center"></el-table-column> <el-table-column prop="archIBelongId" label="架构归属" align="center"></el-table-column>
<el-table-column prop="let4" label="描述" width="180" align="center"></el-table-column> <el-table-column prop="content" label="描述" align="center"></el-table-column>
<el-table-column label="图标" align="center"> <el-table-column label="图标" align="center">
<template> <template>
<el-button type="text" style="color: #0D867F;">预览</el-button> <el-button type="text" style="color: #0D867F;">预览</el-button>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="let5" label="版本" width="180" align="center"></el-table-column> <el-table-column prop="version" label="版本" align="center"></el-table-column>
<el-table-column prop="let6" label="状态" align="center"></el-table-column> <el-table-column label="状态" align="center">
<template slot-scope="scope">
<span v-if="scope.row.state == 0">已停用</span>
<span v-if="scope.row.state == 1">已发布</span>
<span v-if="scope.row.state == 2">暂存</span>
</template>
</el-table-column>
<el-table-column label="操作" width="360" align="center"> <el-table-column label="操作" width="360" align="center">
<template> <template slot-scope="scope">
<div style="display: flex;align-items: center;justify-content: center;"> <div style="display: flex;align-items: center;justify-content: center;">
<div class="add_btn" @click="add_dialog = true" style="border: 0;margin-right: 8px;"> <div class="add_btn" @click="add_dialog = true" style="border: 0;margin-right: 8px;">
<img class="btn_icon" src="@/assets/编辑_icon_default.png" alt="" /> <img class="btn_icon" src="@/assets/编辑_icon_default.png" alt="" />
<p>编辑</p> <p>编辑</p>
</div> </div>
<!-- <el-button type="text" icon="el-icon-edit" @click="add_dialog = true">编辑</el-button> --> <!-- <el-button type="text" icon="el-icon-edit" @click="add_dialog = true">编辑</el-button> -->
<div class="reset_btn" style="border: 0;margin-right: 8px;"> <div class="reset_btn" @click="stopItem" style="border: 0;margin-right: 8px;">
<img class="btn_icon" src="@/assets/停用_icon_default.png" alt="" /> <img class="btn_icon" src="@/assets/停用_icon_default.png" alt="" />
<p>停用</p> <p>停用</p>
</div> </div>
<div class="add_btn" style="border: 0;margin-right: 8px;"> <div class="add_btn" @click="releaseItem" style="border: 0;margin-right: 8px;">
<img class="btn_icon" src="@/assets/发布_icon_default.png" alt="" /> <img class="btn_icon" src="@/assets/发布_icon_default.png" alt="" />
<p>发布</p> <p>发布</p>
</div> </div>
<div class="reset_btn" style="border: 0;"> <div class="reset_btn" @click="deleteItem(scope.row)" style="border: 0;">
<img class="btn_icon" src="@/assets/删除_icon_default.png" alt="" /> <img class="btn_icon" src="@/assets/删除_icon_default.png" alt="" />
<p>删除</p> <p>删除</p>
</div> </div>
...@@ -101,32 +103,82 @@ ...@@ -101,32 +103,82 @@
<div class="dialog_content_1"> <div class="dialog_content_1">
<div class="dialog_form_item"> <div class="dialog_form_item">
<div class="dialog_form_item_title">元素名称:</div> <div class="dialog_form_item_title">元素名称:</div>
<el-input placeholder="请输入内容" class="dialog_form_item_content" v-model="let1"></el-input> <el-input placeholder="请输入内容" class="dialog_form_item_content" v-model="dialog_let1"></el-input>
</div> </div>
<div class="dialog_form_item"> <div class="dialog_form_item">
<div class="dialog_form_item_title">架构层次:</div> <div class="dialog_form_item_title">架构层次:</div>
<el-input placeholder="请输入内容" class="dialog_form_item_content" v-model="let2"></el-input> <el-select placeholder="请选择" class="search_item" v-model="dialog_let2">
<el-option v-for="item in dialog_select1" :key="item.levelId" :label="item.name" :value="item.levelId"></el-option>
<el-input placeholder="请输入内容" v-model="add_select_item">
<div slot="append" @click="add_select1">
新增
</div>
</el-input>
<div class="add_select_item_icon_container">
<i class="el-icon-circle-plus-outline"></i>
</div>
</el-select>
</div> </div>
<div class="dialog_form_item"> <div class="dialog_form_item">
<div class="dialog_form_item_title">架构归属:</div> <div class="dialog_form_item_title">架构归属:</div>
<el-select placeholder="请选择" class="search_item" v-model="let3"> <el-select placeholder="请选择" class="search_item" v-model="dialog_let3">
<el-option label="业务架构" value="业务架构"></el-option> <el-option v-for="item in search_select1" :key="item.belongId" :label="item.name" :value="item.belongId"></el-option>
<el-option label="应用架构" value="应用架构"></el-option> <el-input placeholder="请输入内容" v-model="add_select_item2">
<el-option label="内容架构" value="内容架构"></el-option> <div slot="append" @click="add_select2">
<el-option label="技术架构" value="技术架构"></el-option> 新增
<el-option label="安全架构" value="安全架构"></el-option> </div>
</el-input>
<div class="add_select_item_icon_container">
<i class="el-icon-circle-plus-outline"></i>
</div>
</el-select> </el-select>
</div> </div>
</div> </div>
<div class="dialog_form_item2"> <div class="dialog_form_item2">
<div class="dialog_form_item_title">描述:</div> <div class="dialog_form_item_title">描述:</div>
<el-input type="textarea" :rows="3" placeholder="请输入内容" class="dialog_form_item_content" v-model="let4"></el-input> <el-input type="textarea" :rows="3" placeholder="请输入内容" class="dialog_form_item_content" v-model="dialog_let4"></el-input>
</div>
<div class="dialog_form_item3">
<div class="dialog_form_item_title">图标设置:</div>
<div>
<div class="dialog_form_item3_content1" style="margin-bottom: 10px;">
<el-radio v-model="radio" label="1">
<img class="tu_biao_icon" src="@/assets/长方形.svg" alt="" />
</el-radio>
<el-radio v-model="radio" label="2">
<img class="tu_biao_icon" src="@/assets/菱形.svg" alt="" />
</el-radio>
<el-radio v-model="radio" label="3">
<img class="tu_biao_icon" src="@/assets/椭圆.svg" alt="" />
</el-radio>
</div>
<div class="dialog_form_item3_content1">
<el-radio v-model="radio2" label="1">
<img class="tu_biao_icon2" src="@/assets/正方形1.svg" alt="" />
</el-radio>
<el-radio v-model="radio2" label="2">
<img class="tu_biao_icon2" src="@/assets/正方形2.svg" alt="" />
</el-radio>
<el-radio v-model="radio2" label="3">
<img class="tu_biao_icon2" src="@/assets/正方形3.svg" alt="" />
</el-radio>
<el-radio v-model="radio2" label="4">
<img class="tu_biao_icon2" src="@/assets/正方形4.svg" alt="" />
</el-radio>
<el-radio v-model="radio2" label="5">
<img class="tu_biao_icon2" src="@/assets/正方形5.svg" alt="" />
</el-radio>
<el-radio v-model="radio2" label="6">
<img class="tu_biao_icon2" src="@/assets/正方形6.svg" alt="" />
</el-radio>
</div>
</div>
</div> </div>
</div> </div>
<span slot="footer" class="dialog-footer"> <span slot="footer" class="dialog-footer">
<el-button class="greenButton" @click="add_dialog = false">发布</el-button> <el-button class="greenButton" @click="add_dialog = false">发布</el-button>
<el-button class="greenButton" @click="add_dialog = false"></el-button> <el-button class="greenButton" @click="add_dialog = false"></el-button>
<el-button @click="add_dialog = false">取消</el-button> <el-button @click="add_dialog = false">取消</el-button>
</span> </span>
</el-dialog> </el-dialog>
...@@ -134,7 +186,15 @@ ...@@ -134,7 +186,15 @@
</template> </template>
<script> <script>
import { query_jia_gou_yuan_su_guan_xi_table } from '@/api/index.js'; import {
query_jia_gou_yuan_su_guan_xi_table,
add_jia_gou_ceng_ci,
query_jia_gou_ceng_ci,
add_jia_gou_gui_shu,
query_jia_gou_gui_shu,
delete_jia_gou_gui_shu
} from '@/api/index.js';
import { MessageBox, Message } from 'element-ui';
export default { export default {
name: 'JiaGouYuanShuGuanLi', name: 'JiaGouYuanShuGuanLi',
...@@ -143,43 +203,172 @@ export default { ...@@ -143,43 +203,172 @@ export default {
}, },
data() { data() {
return { return {
tableData: [ tableData: [],
{ let1: '业务域', let2: '策略层', let3: '业务架构', let4: '业务域的基本描述', let5: '2023.10.31', let6: '已发布' },
{ let1: '业务职能', let2: '策略层', let3: '业务架构', let4: '业务职能的描述', let5: '2023.10.31', let6: '已发布' },
{ let1: '应用交互', let2: '策略层', let3: '应用架构', let4: '应用交互的基本描述', let5: '2023.10.31', let6: '已发布' },
{ let1: '功能', let2: '策略层', let3: '应用架构', let4: '功能的描述', let5: '2023.09.17', let6: '暂存' },
{ let1: '业务域', let2: '策略层', let3: '业务架构', let4: '业务域的基本描述', let5: '2023.08.18', let6: '已停用' },
],
add_dialog: false, add_dialog: false,
query_item1: null, query_item1: null,
query_item3: null, query_item3: null,
query_item4: null, query_item4: null,
let1: '', dialog_let1: '',
let2: '', dialog_let2: '',
let3: '', dialog_let3: '',
let4: '', dialog_let4: '',
radio: '1',
radio2: '1',
add_select_item: '',
add_select_item2: '',
search_select1: [],
dialog_select1: [],
loading: false
}; };
}, },
mounted(){ mounted(){
this.get_table(); this.get_table();
this.get_dialog_select1();
this.get_dialog_select2();
}, },
methods: { methods: {
add_select1() {
const params = {
name: this.add_select_item
};
add_jia_gou_ceng_ci(params).then(res => {
if(res.code == 200) {
Message({
type: 'success',
message: '新增成功!'
});
}else {
Message({
type: 'error',
message: '新增失败!'
});
}
});
},
get_dialog_select1() {
query_jia_gou_ceng_ci({}).then(res => {
if(res.code == 200) {
this.dialog_select1 = res.data;
}
});
},
add_select2() {
const params = {
name: this.add_select_item2
};
add_jia_gou_gui_shu(params).then(res => {
if(res.code == 200) {
Message({
type: 'success',
message: '新增成功!'
});
}else {
Message({
type: 'error',
message: '新增失败!'
});
}
});
},
get_dialog_select2() {
query_jia_gou_gui_shu({}).then(res => {
// console.log(res.data);
if(res.code == 200) {
this.search_select1 = res.data;
}
});
},
reset() {
this.query_item1 = null;
this.query_item3 = null;
this.query_item4 = null;
},
get_table() { get_table() {
const params = { const params = {
"current": 0, "archIBelongId": this.query_item1,
"current": 1,
"delFlag": 0, "delFlag": 0,
"elementName": "", "elementId": "",
"id": "", "elementName": this.query_item3,
"pageSize": 0, "pageSize": 10,
"schemaBelong": 0, "state": this.query_item4
"state": 0
}; };
this.loading = true;
query_jia_gou_yuan_su_guan_xi_table(params).then(res => { query_jia_gou_yuan_su_guan_xi_table(params).then(res => {
console.log(res.data); // console.log(res.data);
if(res.code == 200) {
this.loading = false;
this.tableData = res.data;
}
}) })
} },
stopItem() {//停用
MessageBox.confirm('确定停用?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
Message({
type: 'success',
message: '停用成功!'
});
}).catch(() => {
Message({
type: 'info',
message: '已取消'
});
});
},
releaseItem() {//发布
MessageBox.confirm('确定发布?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
Message({
type: 'success',
message: '发布成功!'
});
}).catch(() => {
Message({
type: 'info',
message: '已取消'
});
});
},
deleteItem(row) {//删除
MessageBox.confirm('确定删除?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
const params = {
archIBelongId: row.archIBelongId,
state: row.state
}
delete_jia_gou_gui_shu(params).then(res => {
// console.log(res);
if(res.code == 200) {
Message({
type: 'success',
message: '删除成功!'
});
}else{
Message({
type: 'error',
message: res.msg
});
}
});
}).catch(() => {
Message({
type: 'info',
message: '已取消'
});
});
},
} }
} }
</script> </script>
...@@ -199,9 +388,19 @@ export default { ...@@ -199,9 +388,19 @@ export default {
.el-button--primary{ .el-button--primary{
background-color: #0D867F; background-color: #0D867F;
} }
.add_select_item_icon_container{
margin-top: 10px;
text-align: center;
cursor: pointer;
}
/deep/ .el-dialog__header{ /deep/ .el-dialog__header{
background-color: #0D867F; background-color: #0D867F;
} }
/deep/ .el-input-group__append{
background-color: #0D867F;
color: #fff;
cursor: pointer;
}
/deep/ .el-dialog__title{ /deep/ .el-dialog__title{
color: #fff; color: #fff;
} }
...@@ -315,6 +514,26 @@ export default { ...@@ -315,6 +514,26 @@ export default {
align-items: center; align-items: center;
margin: 10px 42px 10px 27px; margin: 10px 42px 10px 27px;
} }
.dialog_form_item3{
margin-top: 20px;
display: flex;
align-items: center;
}
.tu_biao_icon{
width: 30px;
}
.tu_biao_icon2{
width: 20px;
}
.dialog_form_item3_content1{
display: flex;
align-items: center;
margin-bottom: 15px;
}
/deep/ .el-radio{
display: flex;
align-items: center;
}
.dialog_form_item_title{ .dialog_form_item_title{
flex-shrink: 0; flex-shrink: 0;
margin-right: 15px; margin-right: 15px;
......
...@@ -502,7 +502,11 @@ ...@@ -502,7 +502,11 @@
window.addEventListener("message", event => {//会一直调用 window.addEventListener("message", event => {//会一直调用
// console.log(event); // console.log(event);
if(event.data == 'newPage') { if(event.data == 'newPage') {
this.$router.push( '/main/NewPage', () => {}, () => {} ); // this.$router.push( '/main/NewPage', () => {}, () => {} );
let routeUrl = this.$router.resolve({
path: "/main/NewPage",
});
window.open(routeUrl.href, '_blank');
this.visible1 = false; this.visible1 = false;
} }
}); });
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!