Merge branch 'master' of http://103.85.165.99:8989/r/LFWEB_NEW
| | |
| | | display: flex; |
| | | } |
| | | |
| | | |
| | | .textp1 { |
| | | font-size: 30px; |
| | | font-family: Microsoft YaHei; |
| | |
| | | .content { |
| | | height: calc(100% - 60px); |
| | | width: 100%; |
| | | display: flex; |
| | | } |
| | | |
| | | .left_content { |
| | |
| | | |
| | | |
| | | .right_content { |
| | | |
| | | width: calc(100% - 325px); |
| | | height: 100%; |
| | | flex: 1; |
| | | box-sizing: border-box; |
| | | float: left; |
| | | } |
| | | |
| | | .rb { |
| | | border-right: 1px solid #A0A0A0; |
| | | border-bottom: 1px solid #A0A0A0; |
| | | } |
| | | |
| | | #TEInfoEx { |
| | | width: calc(100% - 8px); |
| | | height: calc(100% - 35px); |
| | | box-sizing: border-box; |
| | | } |
| | | |
| | | #TEWinEx { |
| | | width: 100%; |
| | | height: 100%; |
| | | |
| | | box-sizing: border-box; |
| | | } |
| | | |
| | | .fieldset { |
| | | padding: 10px 5px; |
| | | height: calc(100% - 20px); |
| | | padding: 10px 0 10px 8px; |
| | | height: 100%; |
| | | width: 100%; |
| | | box-sizing: border-box; |
| | | } |
| | | |
| | | #layers { |
| | |
| | | <!DOCTYPE html> |
| | | <!DOCTYPE html> |
| | | <html lang="en"> |
| | | |
| | | <head> |
| | |
| | | <script> |
| | | window.app = { |
| | | fly: window.sceneConfig.fly, |
| | | //fly: "http://103.85.165.99:8050/LFData/fly/lfgd.fly", |
| | | mainUrl: location.href.substring(0, location.href.lastIndexOf("/") + 1) |
| | | } |
| | | document.writeln("<link href='./layui-v2.6.8/css/layui.css?" + new Date().getTime() + "' rel='stylesheet' \/>"); |
| | | document.writeln("<link href='./css/index.css?" + new Date().getTime() + "' rel='stylesheet' \/>"); |
| | | document.writeln("<script src='./js/detect.js?" + new Date().getTime() + "'><\/script>"); |
| | | document.writeln("<script src='./js/index.js?" + new Date().getTime() + "'><\/script>"); |
| | | |
| | | // $("#aDownload").attr("href", LFData + "/soft/TEv7.4.zip"); |
| | | |
| | | </script> |
| | | <style> |
| | | a:hover { |
| | |
| | | <fieldset class="fieldset"> |
| | | <legend>数据目录</legend> |
| | | <!-- <div id="layers"></div> --> |
| | | <div> |
| | | <object id="TerraExplorerInformationWindowEx" classid="CLSID:3A4F919B-65A8-11D5-85C1-0001023952C1"></object> |
| | | |
| | | </div> |
| | | |
| | | |
| | | <object id="TEInfoEx" classid="CLSID:3A4F919B-65A8-11D5-85C1-0001023952C1"></object> |
| | | </fieldset> |
| | | </div> |
| | | <div class="right_content"> |
| | |
| | | showDownload: function () { |
| | | $("#mapView").hide(); |
| | | $("#download").show(); |
| | | let a = document.getElementById('aDownload'); |
| | | var a = document.getElementById('aDownload'); |
| | | a.href = LFData + "/soft/TEv7.4.zip"; |
| | | }, |
| | | initSG: function () { |
| | | TerraExplorerInformationWindowEx.AttachTo3dWindow(TEWinEx); |
| | | TEInfoEx.AttachTo3dWindow(TEWinEx); |
| | | |
| | | SG = TEWinEx.CreateInstance("TerraExplorerX.SGWorld74"); // SGWorld74,SGWorld71,SGWorld66 |
| | | SG.AttachEvent("OnLoadFinished", this.loadFinished); |
| | | SG.Open(app.fly); |
| | | }, |
| | | loadFinished: function () { |
| | | $("#TEInfoEx").addClass("rb"); |
| | | SG.ProjectTree.ShowSearchTool = false; |
| | | SG.DetachEvent("OnLoadFinished", Index.loadFinished); |
| | | // var layers = []; |
| | | // Index.getLayers("", layers); |
| | | // Index.ininTrees("layers", layers); |
| | | // Index.flyToStart(); |
| | | |
| | | }, |
| | | |
| | | // |
| | | getLayers: function (pid, layers) { |
| | | var next = SG.ProjectTree.GetNextItem(pid, 11); |
| | | while (next) { |
| | |
| | | // this.menuFlag = !this.menuFlag; |
| | | } |
| | | } |
| | | |
| | | $(function () { |
| | | Index.init(); |
| | | |
| | | |
| | | }); |
| | |
| | | const en = { |
| | | common: { |
| | | increase: 'increase', |
| | | bak: 'Bak', |
| | | domCode: 'DomCode', |
| | | confirm: 'confirm', |
| | |
| | | remarks: 'remarks', |
| | | newProj: 'New project', |
| | | editProj: 'Edit project', |
| | | lable1: 'Add project information', |
| | | label2: 'Modify project information' |
| | | }, |
| | | |
| | | dataUpObj: { |
| | |
| | | const zh = { |
| | | common: { |
| | | increase: '添加', |
| | | bak: '备注', |
| | | domCode: '编码', |
| | | confirm: '确认', |
| | |
| | | remarks: '备注', |
| | | newProj: '新增项目', |
| | | editProj: '修改项目', |
| | | lable1: '添加项目信息', |
| | | label2: '修改项目信息' |
| | | }, |
| | | dataUpObj: { |
| | | catalogue: '目录', |
| | |
| | | > |
| | | <mapsdk></mapsdk> |
| | | </div> |
| | | <div id="ds" v-show="isShowDs"></div> |
| | | <div |
| | | id="ds" |
| | | v-show="isShowDs" |
| | | ></div> |
| | | <!--openLayers显示界面--> |
| | | <div |
| | | v-show="isOlMapFlag" |
| | |
| | | methods: { |
| | | changeMap(res) { |
| | | this.isSplitFlag = res |
| | | this.getMapViewCenter(this.isSplitFlag); |
| | | switch (res) { |
| | | case 1: |
| | | this.isShowCeMap = true |
| | |
| | | this.isShowDs = false |
| | | this.isShowOlMap = false |
| | | this.isOlMapFlag = true |
| | | var val = this.$store.state.Map3; |
| | | setTimeout(function () { |
| | | window.map.updateSize() |
| | | window.map.getView().setCenter([val[0], val[1]]) |
| | | window.map.getView().setZoom(val[2]) |
| | | }, 300) |
| | | break |
| | | case 3: |
| | |
| | | this.isShowOlMap = false |
| | | this.isOlMapFlag = false |
| | | this.isShowCeMap = false |
| | | var val = this.$store.state.Map3; |
| | | window.Viewer.camera.setView({ |
| | | destination: Cesium.Cartesian3.fromDegrees(val[0], val[1], val[2]), |
| | | }) |
| | | |
| | | break |
| | | } |
| | | }, |
| | | getMapViewCenter(res) { |
| | | switch (res) { |
| | | case 2: |
| | | var position = window.Viewer.camera.position |
| | | var ellipsoid = window.Viewer.scene.globe.ellipsoid |
| | | var cartographic = ellipsoid.cartesianToCartographic(position) |
| | | var lat = Cesium.Math.toDegrees(cartographic.latitude) |
| | | var lng = Cesium.Math.toDegrees(cartographic.longitude) |
| | | var level = this.getLevel(cartographic.height) |
| | | this.$store.state.Map3 = [lng, lat, level] |
| | | break; |
| | | case 3: |
| | | var position = window.map.getView().getCenter() |
| | | var level = this.getHeight(parseInt(window.map.getView().getZoom())) |
| | | this.$store.state.Map3 = [position[0], position[1], level] |
| | | break; |
| | | } |
| | | |
| | | }, |
| | | showSplitMap() { |
| | | var that = this |
| | |
| | | // var pos = transform(position, 'EPSG:3857', 'EPSG:4326'); |
| | | var pos = position |
| | | var level = that.getHeight(parseInt(window.map.getView().getZoom())) |
| | | |
| | | window.Viewer.camera.setView({ |
| | | destination: Cesium.Cartesian3.fromDegrees(pos[0], pos[1], level), |
| | | }) |
| | |
| | | var lat = Cesium.Math.toDegrees(cartographic.latitude) |
| | | var lng = Cesium.Math.toDegrees(cartographic.longitude) |
| | | var level = this.getLevel(cartographic.height) |
| | | |
| | | var value |
| | | // window.map |
| | | // .getView() |
| | |
| | | }, |
| | | mounted() { |
| | | this.$bus.$on("changemap", e => { |
| | | if (this.isSplitFlag == 1) { |
| | | this.changeMap(3) |
| | | } else { |
| | | this.changeMap(e) |
| | | } |
| | | |
| | | }) |
| | | }, |
| | | } |
| | |
| | | if (data.code != 200) { |
| | | this.$message.error('列表调用失败'); |
| | | } |
| | | |
| | | this.optionx = []; |
| | | var valadata = data.result; |
| | | for (var i in valadata) { |
| | |
| | | this.$message.error('列表调用失败'); |
| | | } |
| | | this.domainsLayer = data.result; |
| | | |
| | | this.setListDataStart(); |
| | | this.getTableselectFields(); |
| | | }, |
| | |
| | | center: [105.02, 34.9], |
| | | zoom: 4, |
| | | projection: "EPSG:4326", |
| | | minZoom: 4, |
| | | }), |
| | | controls: defaultControls().extend([ |
| | | new FullScreen(), |
| | |
| | | if (item.url == "Thematic") { |
| | | this.signInsertOpLog("综合展示", item.cnName) |
| | | } |
| | | |
| | | this.changeSelectStyle = index; |
| | | sessionStorage.setItem('changeSelectStyle', index) |
| | | } else { |
| | | if (this.showFlag != index) { |
| | | this.showFlag = index; |
| | | |
| | | } else { |
| | | this.showFlag = null; |
| | | } |
| | |
| | | sessionStorage.removeItem('changeliSelect') |
| | | this.$set(this, 'changeliSelect', null) |
| | | } |
| | | sessionStorage.setItem('changeSelectStyle', index) |
| | | |
| | | this.changeSelectStyle = index; |
| | | |
| | | }, |
| | | closeAllChildren() { |
| | | var val = this.listMenu |
| | |
| | | } |
| | | }, |
| | | setLiClick(res, index) { |
| | | |
| | | this.changeSelectStyle = index; |
| | | sessionStorage.setItem('changeSelectStyle', index) |
| | | sessionStorage.removeItem('hanleselectmochaitmo') |
| | | sessionStorage.removeItem('hanleselectindex') |
| | | |
| | | this.signInsertOpLog(this.listMenu[index].cnName, res.cnName) |
| | | // this.signInsertOpLog(this.listMenu[index].cnName, res.cnName) |
| | | setTimeout(() => { |
| | | |
| | | this.changeliSelect = res.cnName; |
| | |
| | | treeData: null, |
| | | checkedKeys: [], |
| | | queryInfo:[], |
| | | Map3: [] |
| | | }, |
| | | mutations: { |
| | | //获取权限合集 |
| | |
| | | >{{ item.name }}</el-link></span> |
| | | <span v-else>{{ item.name }}</span> |
| | | </span> |
| | | <span v-show="!formInline.dataType">{{item.tabDesc}}</span> |
| | | <span v-show="formInline.dataType !='type2'">{{item.tabDesc}}</span> |
| | | <div style="float: right; padding: 3px 0"> |
| | | <i |
| | | class="el-icon-tickets" |
| | |
| | | align="center" |
| | | prop="sizes" |
| | | :label="$t('common.size')" |
| | | :formatter="changeSizeFile" |
| | | :formatter="stateFormatSizes" |
| | | /> |
| | | <el-table-column |
| | | align="center" |
| | |
| | | align="center" |
| | | prop="sizes" |
| | | :label="$t('common.size')" |
| | | :formatter="changeSizeFile" |
| | | :formatter="stateFormatSizes" |
| | | /> |
| | | <el-table-column |
| | | align="center" |
| | |
| | | //查询文件数据 |
| | | async getQueryFileData() { |
| | | this.listData.dirs = ""; |
| | | this.listData.count = 0; |
| | | if (this.formInline.category.length != 0) { |
| | | this.listData.dirs += this.formInline.category.toString(); |
| | | } |
| | |
| | | this.listData.dirs += this.formInline.item.toString(); |
| | | } |
| | | this.listData.depcode = this.formInline.depcode; |
| | | this.listData.name = this.formInline.keywords; |
| | | this.listData.tab = this.formInline.keywords; |
| | | const data = await dataLib_selectByPageForMeta(this.listData); |
| | | if (data.code != 200) { |
| | | this.$message.error('文件数据列表调用失败'); |
| | |
| | | pointSelect: true, |
| | | spood: 20, |
| | | GroupID: 0, |
| | | url: "/SmartEarthSDK/Workers/image/waterNormals.jpg", |
| | | url: "/SmartEarthSDK/Workers/image/33.gif", |
| | | }; |
| | | window.AnalysisFlood = sgworld.Command.execute( |
| | | 2, |
| | |
| | | }) |
| | | ); |
| | | |
| | | tileset.readyPromise.then(function (tileset) { |
| | | tileset.readyPromise.then((tileset0) => { |
| | | tileset.id = res.cnName; |
| | | |
| | | this.tileSet(tileset, parseFloat(res.elev)) |
| | | |
| | | |
| | | |
| | | Viewer.flyTo(tileset); |
| | | }); |
| | | } |
| | | }, |
| | | |
| | | |
| | | tileSet(tileset, height) { |
| | | //3dtile模型的边界球体 |
| | | var boundingSphere = tileset.boundingSphere; |
| | | //迪卡尔空间直角坐标=>地理坐标(弧度制) |
| | | var cartographic_original = Cesium.Cartographic.fromCartesian(boundingSphere.center); |
| | | //地理坐标(弧度制)=>迪卡尔空间直角坐标 |
| | | var Cartesian3_original = Cesium.Cartesian3.fromRadians(cartographic_original.longitude, cartographic_original.latitude, cartographic_original.height); |
| | | var Cartesian3_offset = Cesium.Cartesian3.fromRadians(cartographic_original.longitude, cartographic_original.latitude, height); |
| | | //获得地面和offset的转换 |
| | | var translation = Cesium.Cartesian3.subtract(Cartesian3_offset, Cartesian3_original, new Cesium.Cartesian3()); |
| | | //修改模型矩阵 |
| | | tileset.modelMatrix = Cesium.Matrix4.fromTranslation(translation); |
| | | }, |
| | | setTreeData(source) { |
| | | let cloneData = JSON.parse(JSON.stringify(source)); // 对源数据深度克隆 |
| | | return cloneData.filter((father) => { |
| | |
| | | <el-table |
| | | :data="tableAttach" |
| | | ref="filterTable" |
| | | height="100%" |
| | | height="calc(100% - 100px)" |
| | | border |
| | | style="width: 100%" |
| | | @selection-change="handleAttatchChange" |
| | |
| | | this.formInline = { |
| | | file: "", |
| | | }; |
| | | |
| | | this.getAttacthFlieList(); |
| | | }, |
| | | error: (e) => { |
| | |
| | | }, |
| | | async getAttacthFlieList() { |
| | | var obj = this.upAttach; |
| | | |
| | | const res = await dataQuery_selectFiles(obj); |
| | | if (res.code != 200) { |
| | | this.$message.error("列表调用失败"); |
| | |
| | | var data1 = fileds.result; |
| | | var data2 = domains.result; |
| | | var std = []; |
| | | this.filedsOption = []; |
| | | for (var i in data1) { |
| | | if (data1[i].type != 'geometry' && data1[i].type) { |
| | | |
| | |
| | | m1: m1, |
| | | m2: m2, |
| | | } |
| | | const data = await sign_insertOpLog(obj); |
| | | // const data = await sign_insertOpLog(obj); |
| | | }, |
| | | treeData(source) { |
| | | let cloneData = JSON.parse(JSON.stringify(source)); // 对源数据深度克隆 |
| | |
| | | m1: m1, |
| | | m2: m2, |
| | | } |
| | | const data = await sign_insertOpLog(obj); |
| | | // const data = await sign_insertOpLog(obj); |
| | | }, |
| | | treeData(source) { |
| | | let cloneData = JSON.parse(JSON.stringify(source)); // 对源数据深度克隆 |
| | |
| | | }, |
| | | |
| | | mounted() { |
| | | //获取目录 |
| | | this.getSelectdirTab(); |
| | | |
| | | //获取坐标系 |
| | | this.setCoordinateSystem(); |
| | | //获取项目名称 |
| | |
| | | this.getPerms(); |
| | | window.addEventListener("resize", this.onResize); |
| | | this.calHeight(); |
| | | //获取目录 |
| | | this.getSelectdirTab(); |
| | | }, |
| | | beforeDestroy() { |
| | | this.timer && clearTimeout(this.timer); |
| | |
| | | const res = await dataUploadSelectVerByDirid({ |
| | | dirid: this.formInline.dirid, |
| | | }); |
| | | |
| | | if (res.code != 200) { |
| | | this.$message.error("版本列表获取失败"); |
| | | return; |
| | |
| | | this.$message.error("目录列表获取失败"); |
| | | return; |
| | | } |
| | | |
| | | this.catalogOption = this.treeData(res.result); |
| | | this.formInline.dirName = this.catalogOption[0].name; |
| | | this.getStartDirChecked(this.catalogOption); |
| | | this.formInline.dirid = this.catalogOption[0].id; |
| | | // this.getStartDirChecked(this.catalogOption); |
| | | this.getselectVerByDirid(); |
| | | }, |
| | | |
| | |
| | | class="dictionary_leftTree subpage_Div" |
| | | style="border: 1px solid #dcdfe6;" |
| | | > |
| | | <ul> |
| | | <el-input |
| | | size="small" |
| | | v-model="filterInput" |
| | | style="width: 200px" |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valueone')" |
| | | suffix-icon="el-icon-search" |
| | | ></el-input> |
| | | |
| | | <el-tree |
| | | :data="domainData" |
| | | :props="defaultProps" |
| | | :default-expand-all="true" |
| | | @node-click="getTableDesc" |
| | | :filter-node-method="filterNode" |
| | | ref="tree" |
| | | ></el-tree> |
| | | <!-- <ul> |
| | | <li |
| | | @click="getTableDesc(item)" |
| | | v-for="(item, i) in optionCount" |
| | |
| | | > |
| | | {{ item.tabDesc }} |
| | | </li> |
| | | </ul> |
| | | </ul> --> |
| | | </div> |
| | | |
| | | <div class="right subpage_Div"> |
| | |
| | | v-model="formInline.tab" |
| | | :placeholder="$t('shuJuGuanLi.lable3')" |
| | | style="width: 200px" |
| | | ><i slot="suffix" class="el-icon-search" @click="getSelectDictTab" style="padding-right: 8px"></i></el-input> |
| | | ><i |
| | | slot="suffix" |
| | | class="el-icon-search" |
| | | @click="getSelectDictTab" |
| | | style="padding-right: 8px" |
| | | ></i></el-input> |
| | | </el-form-item> |
| | | <el-form-item style="float: right" size="small"> |
| | | <el-form-item |
| | | style="float: right" |
| | | size="small" |
| | | > |
| | | <el-button |
| | | v-if="btnStatus.insert" |
| | | icon="el-icon-edit" |
| | |
| | | components: { MyBread }, |
| | | data() { |
| | | return { |
| | | filterInput: "", |
| | | activeName: "", |
| | | formInline: [], |
| | | listData: { |
| | |
| | | insert: false, |
| | | update: false, |
| | | }, |
| | | domainData: [ |
| | | { |
| | | val: "基础数据", |
| | | children: [], |
| | | }, |
| | | { |
| | | val: "业务数据", |
| | | children: [], |
| | | }, |
| | | { |
| | | val: "元数据", |
| | | children: [], |
| | | }, |
| | | ], |
| | | defaultProps: { |
| | | children: "children", |
| | | label: "val", |
| | | }, |
| | | }; |
| | | }, |
| | | watch: { |
| | | |
| | | filterInput(val) { |
| | | this.$refs.tree.filter(val); |
| | | }, |
| | | }, |
| | | created() { |
| | | this.getSelectDictTab(); |
| | | this.showPermsBtn(); |
| | | }, |
| | | methods: { |
| | | filterNode(value, data) { |
| | | if (!value) return true; |
| | | |
| | | return data.val.indexOf(value) !== -1; |
| | | }, |
| | | //新增 |
| | | async insertFromData() { |
| | | const data = await insertDict(this.insertform); |
| | |
| | | if (data.code != 200) { |
| | | this.$message.error("下拉调用失败"); |
| | | } |
| | | |
| | | this.optionCount = data.result; |
| | | this.insertform.tab = data.result[0].tab; |
| | | this.insertform.tabDesc = data.result[0].tabDesc; |
| | | this.insertform.ns = data.result[0].ns; |
| | | this.listData.tab = data.result[0].tab; |
| | | this.listData.ns = data.result[0].ns; |
| | | this.activeName = data.result[0].tab; |
| | | let bdres = data.result.filter((item) => item.ns == "bd"); |
| | | let bsres = data.result.filter((item) => item.ns == "bs"); |
| | | let mdres = data.result.filter((item) => item.ns == "md"); |
| | | for (var i in bdres) { |
| | | // bdres[i].val = bdres[i].tabDesc + '(' + bdres[i].tab + ')'; |
| | | bdres[i].val = bdres[i].tabDesc; |
| | | } |
| | | for (var i in bsres) { |
| | | // bsres[i].val = bsres[i].tabDesc + '(' + bsres[i].tab + ')'; |
| | | bsres[i].val = bsres[i].tabDesc; |
| | | } |
| | | for (var i in mdres) { |
| | | // bsres[i].val = bsres[i].tabDesc + '(' + bsres[i].tab + ')'; |
| | | mdres[i].val = mdres[i].tabDesc; |
| | | } |
| | | this.domainData[0].children = bdres; |
| | | this.domainData[1].children = bsres; |
| | | this.domainData[2].children = mdres; |
| | | var val = this.domainData[0].children; |
| | | this.insertform.tab = val[0].tab; |
| | | this.insertform.tabDesc = val[0].tabDesc; |
| | | this.insertform.ns = val[0].ns; |
| | | this.listData.tab = val[0].tab; |
| | | this.listData.ns = val[0].ns; |
| | | this.activeName = val[0].tab; |
| | | this.startQueryNameData(); |
| | | }, |
| | | }, |
| | |
| | | m1: m1, |
| | | m2: m2, |
| | | } |
| | | const data = await sign_insertOpLog(obj); |
| | | // const data = await sign_insertOpLog(obj); |
| | | }, |
| | | treeData(source) { |
| | | let cloneData = JSON.parse(JSON.stringify(source)); // 对源数据深度克隆 |
| | |
| | | :inline="true" |
| | | class="demo-form-inline" |
| | | > |
| | | <el-form-item style="padding-bottom: 14px"> |
| | | <el-form-item> |
| | | <el-input |
| | | size="small" |
| | | v-model="filterInput" |
| | | style="width: 200px" |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valueone')" |
| | | suffix-icon="el-icon-search" |
| | | ></el-input> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-button |
| | | v-if="btnStatus.insert" |
| | | icon="el-icon-plus" |
| | |
| | | :disabled="count1 != 0 ? true : false" |
| | | type="success" |
| | | size="small" |
| | | >{{ $t("common.append") }}</el-button> |
| | | >{{ $t("common.increase") }}</el-button> |
| | | </el-form-item> |
| | | |
| | | </el-form> |
| | | <el-tree |
| | | ref="tree" |
| | |
| | | :default-expand-all="false" |
| | | draggable |
| | | @node-click="handleNodeClick" |
| | | :filter-node-method="filterNode" |
| | | > |
| | | </el-tree> |
| | | </div> |
| | |
| | | top="2vh" |
| | | :title=" |
| | | behavior == '新增项目' |
| | | ? `${$t('dataManage.projectObj.newProj')}` |
| | | : `${$t('dataManage.projectObj.editProj')}` |
| | | ? `${$t('dataManage.projectObj.lable1')}` |
| | | : `${$t('dataManage.projectObj.lable1')}` |
| | | " |
| | | :visible.sync="outerVisible" |
| | | :before-close="outerClose" |
| | |
| | | components: { MyBread, ProjectOl }, |
| | | data() { |
| | | return { |
| | | filterInput: "", |
| | | behavior: null, |
| | | outerVisible: false, |
| | | innerVisible: false, |
| | |
| | | computed: {}, |
| | | |
| | | methods: { |
| | | filterNode(value, data) { |
| | | if (!value) return true; |
| | | |
| | | return data.name.indexOf(value) !== -1; |
| | | }, |
| | | showPermsBtn() { |
| | | let currentPerms = this.$store.state.currentPerms; |
| | | let permsEntity = this.$store.state.permsEntity; |
| | |
| | | //新增项目 |
| | | insertProject() { |
| | | if (this.dirId == null) { |
| | | this.$message.error("请选择需要新增的目录"); |
| | | this.$message.error("请选择需要添加的项目"); |
| | | return; |
| | | } |
| | | this.behavior = "新增项目"; |
| | |
| | | }); |
| | | }, |
| | | }, |
| | | watch: {}, |
| | | watch: { |
| | | |
| | | filterInput(val) { |
| | | this.$refs.tree.filter(val); |
| | | }, |
| | | }, |
| | | }; |
| | | </script> |
| | | <style lang="less" scoped> |
| | |
| | | border-radius: 5px; |
| | | //border: 1px solid #dcdfe6; |
| | | //margin-bottom: 20px; |
| | | text-align: right; |
| | | // text-align: right; |
| | | .el-form-item { |
| | | margin: 5px; |
| | | } |
| | |
| | | `${$t('dataManage.styleManage')}`, |
| | | ]"></My-bread> |
| | | <el-divider/> |
| | | <div class="searchComp subpage_Div" ref="container"> |
| | | <div |
| | | class="searchComp subpage_Div" |
| | | ref="container" |
| | | > |
| | | <el-form |
| | | ref="ruleForm" |
| | | :model="ruleForm" |
| | |
| | | v-model="ruleForm.name" |
| | | :placeholder="$t('shuJuGuanLi.lable1')" |
| | | style="width:200px" |
| | | ><i slot="suffix" class="el-icon-search" @click="submitForm('ruleForm')" style="padding-right: 8px"></i></el-input> |
| | | ><i |
| | | slot="suffix" |
| | | class="el-icon-search" |
| | | @click="submitForm('ruleForm')" |
| | | style="padding-right: 8px" |
| | | ></i></el-input> |
| | | </el-form-item> |
| | | </div> |
| | | <div> |
| | |
| | | </div> |
| | | </div> |
| | | |
| | | |
| | | </el-form> |
| | | </div> |
| | | <div class="dividing-line"></div> |
| | | <div class="table_box" :style="styleVar"> |
| | | <div |
| | | class="table_box" |
| | | :style="styleVar" |
| | | > |
| | | <el-table |
| | | :data="tableData" |
| | | style="width: 100%" |
| | |
| | | size="small" |
| | | >{{ $t('common.update') }} |
| | | </el-button> |
| | | <el-button |
| | | @click="handleDownload(scope.$index, scope.row)" |
| | | type="success" |
| | | plain |
| | | size="small" |
| | | >{{ $t('common.download') }} |
| | | </el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="infoBox_box" v-show="showinfoBox"> |
| | | <div |
| | | class="infoBox subpage_Div box_div" |
| | | class="infoBox_box" |
| | | v-show="showinfoBox" |
| | | > |
| | | <div class="infoBox subpage_Div box_div"> |
| | | |
| | | <div |
| | | slot="header" |
| | |
| | | :visible.sync="dialogFormVisible" |
| | | > |
| | | <div style="height: 500px; overflow: auto"> |
| | | <el-form :model="upform" label-position="top"> |
| | | <el-form |
| | | :model="upform" |
| | | label-position="top" |
| | | > |
| | | <el-form-item |
| | | :label="$t('dataManage.styleObj.name')" |
| | | :label-width="formLabelWidth" |
| | |
| | | </el-dialog> |
| | | <el-dialog |
| | | :title="$t('dataManage.styleObj.addStyleData')" |
| | | |
| | | :visible.sync="InsertFormdialog" |
| | | :before-close="handleClose" |
| | | > |
| | | <div style="height: 500px; overflow: auto"> |
| | | <el-form :model="insertform" label-position="top"> |
| | | <el-form |
| | | :model="insertform" |
| | | label-position="top" |
| | | > |
| | | <el-form-item |
| | | :label="$t('dataManage.styleObj.name')" |
| | | :label-width="formLabelWidth" |
| | |
| | | </el-button> |
| | | </div> |
| | | </div> |
| | | <iframe |
| | | id="downFrame" |
| | | src="" |
| | | style="display: none; border: 0; padding: 0; height: 0; width: 0" |
| | | ></iframe> |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | this.itemdetail = {}; |
| | | }, |
| | | |
| | | handleDownload(index, row) { |
| | | |
| | | var token = getToken() |
| | | var url = BASE_URL + "/res/download?token=" + token + "&guid=" + row.fileGuid; |
| | | |
| | | $("#downFrame").attr("src", url).click(); |
| | | |
| | | }, |
| | | handleEdit(index, row) { |
| | | this.upflag = true; |
| | | this.dialogFormVisible = true; |
| | |
| | | <template> |
| | | <div class="verSionBox"> |
| | | <My-bread |
| | | :list="[ |
| | | <My-bread :list="[ |
| | | `${$t('dataManage.dataManage')}`, |
| | | `${$t('dataManage.versionManage')}`, |
| | | ]" |
| | | ></My-bread> |
| | | ]"></My-bread> |
| | | <el-divider /> |
| | | <div class="inquire subpage_Div" ref="container"> |
| | | <el-form ref="ruleForm" :model="ruleForm" :inline="true"> |
| | | <div |
| | | class="inquire subpage_Div" |
| | | ref="container" |
| | | > |
| | | <el-form |
| | | ref="ruleForm" |
| | | :model="ruleForm" |
| | | :inline="true" |
| | | > |
| | | <div class="flex_box"> |
| | | <div style="margin-right: auto"> |
| | | <el-form-item size="small"> |
| | |
| | | <el-input |
| | | v-model="ruleForm.name" |
| | | :placeholder="$t('shuJuGuanLi.lable5')" |
| | | ><i slot="suffix" class="el-icon-search" @click="onSubmit('ruleForm')" style="padding-right: 8px"></i></el-input> |
| | | ><i |
| | | slot="suffix" |
| | | class="el-icon-search" |
| | | @click="onSubmit('ruleForm')" |
| | | style="padding-right: 8px" |
| | | ></i></el-input> |
| | | </el-form-item> |
| | | </div> |
| | | <div> |
| | |
| | | @click="(InsertFormdialog = true), getSelectdirTab()" |
| | | icon="el-icon-plus" |
| | | size="small" |
| | | >{{ $t("common.append") }}</el-button |
| | | > |
| | | >{{ $t("common.append") }}</el-button> |
| | | <!-- <el-button |
| | | @click="onSubmit('ruleForm')" |
| | | icon="el-icon-search" |
| | |
| | | @click="resetForm('ruleForm')" |
| | | icon="el-icon-delete" |
| | | size="small" |
| | | >{{ $t("common.empty") }}</el-button |
| | | > |
| | | >{{ $t("common.empty") }}</el-button> |
| | | </el-form-item> |
| | | </div> |
| | | </div> |
| | |
| | | </div> |
| | | |
| | | <div class="dividing-line"></div> |
| | | <div class="table_box" :style="styleVar"> |
| | | <div |
| | | class="table_box" |
| | | :style="styleVar" |
| | | > |
| | | <el-table |
| | | :data="tableData" |
| | | style="width: 100%" |
| | |
| | | :label="$t('dataManage.vmobj.index')" |
| | | width="70px" |
| | | /> |
| | | <el-table-column align="center" prop="id" v-if="false" /> |
| | | <el-table-column |
| | | align="center" |
| | | prop="id" |
| | | v-if="false" |
| | | /> |
| | | <el-table-column |
| | | align="center" |
| | | prop="name" |
| | |
| | | :label="$t('dataManage.vmobj.updateontime')" |
| | | :formatter="formatTime" |
| | | /> |
| | | <el-table-column min-width="150" :label="$t('common.operate')"> |
| | | <el-table-column |
| | | min-width="150" |
| | | :label="$t('common.operate')" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <el-button |
| | | v-if="btnStatus.update" |
| | |
| | | type="warning" |
| | | size="small" |
| | | plain |
| | | >{{ $t("common.update") }}</el-button |
| | | > |
| | | >{{ $t("common.update") }}</el-button> |
| | | <el-button |
| | | v-if="btnStatus.delete" |
| | | @click="handleDelete(scope.$index, scope.row)" |
| | | type="danger" |
| | | size="small" |
| | | plain |
| | | >{{ $t("common.delete") }}</el-button |
| | | > |
| | | >{{ $t("common.delete") }}</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | <div class="pagination_box" style="margin-top: 15px"> |
| | | <div |
| | | class="pagination_box" |
| | | style="margin-top: 15px" |
| | | > |
| | | <el-pagination |
| | | @size-change="handleSizeChange" |
| | | @current-change="handleCurrentChange" |
| | |
| | | :visible.sync="dialogFormVisible" |
| | | > |
| | | <div style="height: 500px; overflow: auto"> |
| | | <el-form :model="upform" label-position="top"> |
| | | <el-form |
| | | :model="upform" |
| | | label-position="top" |
| | | > |
| | | <el-form-item |
| | | :label="$t('dataManage.vmobj.name')" |
| | | :label-width="formLabelWidth" |
| | |
| | | </el-form-item> |
| | | </el-form> |
| | | </div> |
| | | <div slot="footer" type="info" class="dialog-footer"> |
| | | <el-button size="small" @click="editFromDataClose">{{ |
| | | <div |
| | | slot="footer" |
| | | type="info" |
| | | class="dialog-footer" |
| | | > |
| | | <el-button |
| | | size="small" |
| | | @click="editFromDataClose" |
| | | >{{ |
| | | $t("common.close") |
| | | }}</el-button> |
| | | <el-button size="small" @click="editFromData" class="primary">{{ |
| | | <el-button |
| | | size="small" |
| | | @click="editFromData" |
| | | class="primary" |
| | | >{{ |
| | | $t("common.confirm") |
| | | }}</el-button> |
| | | </div> |
| | |
| | | :visible.sync="InsertFormdialog" |
| | | > |
| | | <div style="height: 500px; overflow: auto"> |
| | | <el-form :model="insertform" label-position="top"> |
| | | <el-form |
| | | :model="insertform" |
| | | label-position="top" |
| | | > |
| | | <el-form-item |
| | | :label="$t('dataManage.vmobj.name')" |
| | | :label-width="formLabelWidth" |
| | |
| | | </el-form-item> |
| | | </el-form> |
| | | </div> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button @click="insertFromDataClose" type="info" size="small">{{ |
| | | <div |
| | | slot="footer" |
| | | class="dialog-footer" |
| | | > |
| | | <el-button |
| | | @click="insertFromDataClose" |
| | | type="info" |
| | | size="small" |
| | | >{{ |
| | | $t("common.close") |
| | | }}</el-button> |
| | | <el-button @click="insertFromData" class="primary" size="small">{{ |
| | | <el-button |
| | | @click="insertFromData" |
| | | class="primary" |
| | | size="small" |
| | | >{{ |
| | | $t("common.confirm") |
| | | }}</el-button> |
| | | </div> |
| | |
| | | return; |
| | | } |
| | | this.companyOption = this.treeData(res.result); |
| | | this.ruleForm.dirid = this.companyOption[0].id; |
| | | // this.ruleForm.dirid = this.companyOption[0].id; |
| | | }, |
| | | handleChange(data, node, nodeData) { |
| | | this.$set(this.ruleForm, "dirid", data.id); |
| | |
| | | }, |
| | | resetForm() { |
| | | this.ruleForm = {}; |
| | | this.ruleForm.dirid = this.companyOption[0].id; |
| | | // this.ruleForm.dirid = this.companyOption[0].id; |
| | | this.$store.state.verCateNode = {}; |
| | | this.$bus.$emit("clearTressLabel", true); |
| | | this.getRoleTabelData(); |
| | |
| | | m1: m1, |
| | | m2: m2, |
| | | } |
| | | const data = await sign_insertOpLog(obj); |
| | | // const data = await sign_insertOpLog(obj); |
| | | |
| | | |
| | | }, |
| | |
| | | m1: m1, |
| | | m2: m2, |
| | | } |
| | | const data = await sign_insertOpLog(obj); |
| | | // const data = await sign_insertOpLog(obj); |
| | | |
| | | |
| | | }, |
| | |
| | | this.menuList = this.treeData(menuList); |
| | | this.getCookies(); |
| | | const hanleselectmochaitmo = sessionStorage.getItem('hanleselectmochaitmo') |
| | | debugger |
| | | |
| | | if (hanleselectmochaitmo) { |
| | | this.$nextTick(function () { |
| | | this.handleselecttwo(JSON.parse(hanleselectmochaitmo).url, JSON.parse(hanleselectmochaitmo)) |
| | |
| | | m1: m1, |
| | | m2: m2, |
| | | } |
| | | const data = await sign_insertOpLog(obj); |
| | | // const data = await sign_insertOpLog(obj); |
| | | |
| | | |
| | | }, |
| | |
| | | m1: m1, |
| | | m2: m2, |
| | | } |
| | | const data = await sign_insertOpLog(obj); |
| | | // const data = await sign_insertOpLog(obj); |
| | | |
| | | |
| | | }, |