| | |
| | | style="border: 1px solid #dcdfe6;" |
| | | > |
| | | <div> |
| | | <el-input v-model="filterText" suffix-icon="el-icon-search" :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valuelayerName')"> |
| | | </el-input> |
| | | <el-input |
| | | v-model="filterText" |
| | | :placeholder="$t('dataManage.layerObj.prompt1')" |
| | | suffix-icon="el-icon-search" |
| | | ></el-input> |
| | | |
| | | <el-tree |
| | | ref="tree" |
| | |
| | | <!-- 菜单名称 --> |
| | | <el-form-item :label="$t('dataManage.layerObj.layerName')"> |
| | | <el-input |
| | | :placeholder="$t('dataManage.layerObj.prompt1')" |
| | | style="width: 60%;" |
| | | v-model="formInline.cnName" |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valuelayerName')" |
| | | |
| | | ></el-input> |
| | | </el-form-item> |
| | | <!-- 菜单类型 --> |
| | | <el-form-item :label="$t('dataManage.layerObj.layerType')"> |
| | | <el-select |
| | | :placeholder="$t('dataManage.layerObj.prompt2')" |
| | | clearable |
| | | style="width: 60%;" |
| | | v-model="formInline.type" |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valuelayerType')" |
| | | |
| | | > |
| | | <el-option |
| | | label="目录" |
| | |
| | | clearable |
| | | style="width: 60%;" |
| | | v-model="formInline.serveType" |
| | | |
| | | :placeholder="$t('dataManage.layerObj.prompt3')" |
| | | > |
| | | <el-option |
| | | v-for="item in serveType" |
| | |
| | | :label="$t('dataManage.layerObj.serviceAddress')" |
| | | > |
| | | <el-input |
| | | :placeholder="$t('dataManage.layerObj.prompt4')" |
| | | style="width: 60%;" |
| | | v-model="formInline.url" |
| | | ></el-input> |
| | | </el-form-item> |
| | | <!-- 英文表名 --> |
| | | <el-form-item |
| | | v-show="formInline.type == 2 && formInline.serveType =='WMS'" |
| | | :label="$t('dataManage.layerObj.enTableName')" |
| | | > |
| | | <el-input |
| | | :placeholder="$t('dataManage.layerObj.prompt6')" |
| | | style="width: 60%;" |
| | | v-model="formInline.enName" |
| | | ></el-input> |
| | | </el-form-item> |
| | | <!-- 数据类型 --> |
| | |
| | | clearable |
| | | style="width: 60%;" |
| | | v-model="formInline.dataType" |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.selectDataType')" |
| | | :placeholder="$t('dataManage.layerObj.prompt8')" |
| | | > |
| | | <el-option |
| | | v-for="item in dataType" |
| | |
| | | <el-input |
| | | style="width: 60%;" |
| | | v-model="formInline.bak" |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valueRemarks')" |
| | | :placeholder="$t('dataManage.layerObj.prompt7')" |
| | | ></el-input> |
| | | </el-form-item> |
| | | <el-form-item v-show="menuStatus.update"> |
| | |
| | | <el-input |
| | | style="width: 80%;" |
| | | v-model="insertData.cnName" |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valuelayerName')" |
| | | :placeholder="$t('dataManage.layerObj.prompt1')" |
| | | ></el-input> |
| | | </el-form-item> |
| | | <!-- 菜单类型 --> |
| | |
| | | clearable |
| | | style="width: 80%;" |
| | | v-model="insertData.type" |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valuelayerType')" |
| | | :placeholder="$t('dataManage.layerObj.prompt2')" |
| | | > |
| | | <el-option |
| | | label="目录" |
| | |
| | | clearable |
| | | style="width: 80%;" |
| | | v-model="insertData.serveType" |
| | | placeholder=" " |
| | | :placeholder="$t('dataManage.layerObj.prompt3')" |
| | | > |
| | | <el-option |
| | | v-for="item in serveType" |
| | |
| | | :label="$t('dataManage.layerObj.serviceAddress')" |
| | | > |
| | | <el-input |
| | | :placeholder="$t('dataManage.layerObj.prompt4')" |
| | | style="width: 80%;" |
| | | v-model="insertData.url" |
| | | ></el-input> |
| | | </el-form-item> |
| | | <!-- 英文表名 --> |
| | | <el-form-item |
| | | v-show="insertData.type == 2 && insertData.serveType =='WMS'" |
| | | :label="$t('dataManage.layerObj.enTableName')" |
| | | > |
| | | <el-input |
| | | :placeholder="$t('dataManage.layerObj.prompt6')" |
| | | style="width: 80%;" |
| | | v-model="insertData.enName" |
| | | ></el-input> |
| | | </el-form-item> |
| | | <!-- 数据类型 --> |
| | |
| | | clearable |
| | | style="width: 80%;" |
| | | v-model="insertData.dataType" |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.selectDataType')" |
| | | :placeholder="$t('dataManage.layerObj.prompt8')" |
| | | > |
| | | <el-option |
| | | v-for="item in dataType" |
| | |
| | | <!-- 描述 --> |
| | | <el-form-item :label="$t('common.bak')"> |
| | | <el-input |
| | | :placeholder="$t('dataManage.layerObj.prompt7')" |
| | | style="width: 80%;" |
| | | v-model="insertData.bak" |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valueRemarks')" |
| | | |
| | | ></el-input> |
| | | </el-form-item> |
| | | <el-form-item v-show="menuStatus.update"> |
| | |
| | | var val = JSON.parse(JSON.stringify(res)) |
| | | |
| | | var data = this.$refs.tree.getNode(val.id).data; |
| | | |
| | | this.backUpData = JSON.stringify(data) |
| | | this.currentData = JSON.stringify(data) |
| | | this.formInline = data; |
| | | this.formInline.type = data.type.toString(); |
| | | this.formInline.isShow = data.isShow.toString(); |
| | | this.formInline.isProject = data.isProject.toString(); |
| | | var result = JSON.parse(JSON.stringify(data)) |
| | | this.backUpData = JSON.stringify(result) |
| | | this.currentData = JSON.stringify(result) |
| | | this.formInline = result; |
| | | this.formInline.type = result.type.toString(); |
| | | this.formInline.isShow = result.isShow.toString(); |
| | | this.formInline.isProject = result.isProject.toString(); |
| | | }, |
| | | //图层列表点击事件 |
| | | handleNodeClick(data, node) { |