From 4b8943bd66fc721f8381b74eff259a2f7ffef513 Mon Sep 17 00:00:00 2001 From: Surpriseplus <845948745@qq.com> Date: 星期一, 27 二月 2023 17:34:19 +0800 Subject: [PATCH] 地形压平添加参数;坡度分析 添加图例,数据上传,元数据管理,资料馆添加元数据查询,综合展示图片更换 --- src/views/datamanage/projectManage.vue | 116 ++++++++++++++++++++++++++++++++++++++------------------- 1 files changed, 77 insertions(+), 39 deletions(-) diff --git a/src/views/datamanage/projectManage.vue b/src/views/datamanage/projectManage.vue index bcbf91c..dccfd60 100644 --- a/src/views/datamanage/projectManage.vue +++ b/src/views/datamanage/projectManage.vue @@ -1,14 +1,30 @@ <template> <div class="verSionBox"> - <My-bread - :list="[ + <My-bread :list="[ `${$t('dataManage.dataManage')}`, `${$t('dataManage.projectManage')}`, - ]" - ></My-bread> + ]"></My-bread> <el-divider /> <div class="verSionContent"> - <div class="verSion_leftTree subpage_Div" style="border: 1px solid #dcdfe6;"> + <div + class="verSion_leftTree subpage_Div" + style="border: 1px solid #dcdfe6;" + > + <el-form + :inline="true" + class="demo-form-inline" + > + <el-form-item style="padding-bottom: 14px"> + <el-button + v-if="btnStatus.insert" + icon="el-icon-plus" + @click="insertProject" + :disabled="count1 != 0 ? true : false" + type="success" + size="small" + >{{ $t("common.append") }}</el-button> + </el-form-item> + </el-form> <el-tree ref="tree" :props="defaultProps" @@ -22,22 +38,13 @@ </el-tree> </div> <div class="verSion_rightContent subpage_Div"> - <el-form :inline="true" class="demo-form-inline"> - <el-form-item style="padding-bottom: 14px"> - <el-button - v-if="btnStatus.insert" - icon="el-icon-plus" - @click="insertProject" - :disabled="count1 != 0 ? true : false" - type="success" - size="small" - >{{ $t("common.append") }}</el-button - > - </el-form-item> - </el-form> + <!-- <!-- <el-divider class="eldivider" /> --> - <div class="dividing-line"></div> - <div class="table_box" style="height: calc(100% - 89px)"> + <!-- <div class="dividing-line"></div> --> + <div + class="table_box" + style="height:100%" + > <el-table ref="filterTable" :data="dbTableData" @@ -63,7 +70,7 @@ /> <el-table-column - min-width="120" + min-width="120" prop="corpname" :label="$t('dataManage.projectObj.corpname')" /> @@ -99,7 +106,10 @@ prop="remarks" :label="$t('dataManage.projectObj.remarks')" /> - <el-table-column label="鎿嶄綔" width="200"> + <el-table-column + label="鎿嶄綔" + width="200" + > <template slot-scope="scope"> <el-button v-if="btnStatus.delete" @@ -107,16 +117,14 @@ size="small" plain type="danger" - >{{ $t("common.delete") }}</el-button - > + >{{ $t("common.delete") }}</el-button> <el-button v-if="btnStatus.update" @click="EditProject(scope.row)" type="warning" plain size="small" - >{{ $t("common.update") }}</el-button - > + >{{ $t("common.update") }}</el-button> </template> </el-table-column> </el-table> @@ -153,10 +161,16 @@ label-position="top" > <el-form-item :label="$t('dataManage.projectObj.projname')"> - <el-input v-model="editFrom.projname" style="width: 85%"></el-input> + <el-input + v-model="editFrom.projname" + style="width: 85%" + ></el-input> </el-form-item> <el-form-item :label="$t('dataManage.projectObj.projtype')"> - <el-input v-model="editFrom.projtype" style="width: 85%"></el-input> + <el-input + v-model="editFrom.projtype" + style="width: 85%" + ></el-input> </el-form-item> <el-form-item :label="$t('dataManage.projectObj.location')"> <div class="BoxFlex"> @@ -181,16 +195,28 @@ </el-form-item> <el-form-item :label="$t('dataManage.projectObj.country')"> - <el-input v-model="editFrom.country" style="width: 85%"></el-input> + <el-input + v-model="editFrom.country" + style="width: 85%" + ></el-input> </el-form-item> <el-form-item :label="$t('dataManage.projectObj.province')"> - <el-input v-model="editFrom.province" style="width: 85%"></el-input> + <el-input + v-model="editFrom.province" + style="width: 85%" + ></el-input> </el-form-item> <el-form-item :label="$t('dataManage.projectObj.county')"> - <el-input v-model="editFrom.location" style="width: 85%"></el-input> + <el-input + v-model="editFrom.location" + style="width: 85%" + ></el-input> </el-form-item> <el-form-item :label="$t('dataManage.projectObj.corpname')"> - <el-input v-model="editFrom.corpname" style="width: 85%"></el-input> + <el-input + v-model="editFrom.corpname" + style="width: 85%" + ></el-input> </el-form-item> <el-form-item :label="$t('dataManage.projectObj.department')"> <el-input @@ -205,7 +231,10 @@ ></el-input> </el-form-item> <el-form-item :label="$t('dataManage.projectObj.contents')"> - <el-input v-model="editFrom.contents" style="width: 85%"></el-input> + <el-input + v-model="editFrom.contents" + style="width: 85%" + ></el-input> </el-form-item> <el-form-item :label="$t('dataManage.projectObj.projstate')"> <el-input @@ -214,19 +243,28 @@ ></el-input> </el-form-item> <el-form-item :label="$t('dataManage.projectObj.remarks')"> - <el-input v-model="editFrom.remarks" style="width: 85%"></el-input> + <el-input + v-model="editFrom.remarks" + style="width: 85%" + ></el-input> </el-form-item> </el-form> </div> - <div slot="footer" class="dialog-footer"> + <div + slot="footer" + class="dialog-footer" + > <el-button type="info" size="small" :disabled="behavior != '鏂板椤圭洰' ? true : false" @click="setRestEditFrom" - >{{ $t("common.reset") }}</el-button - > - <el-button size="small" type="primary" @click="insertEditFrom">{{ + >{{ $t("common.reset") }}</el-button> + <el-button + size="small" + type="primary" + @click="insertEditFrom" + >{{ $t("common.confirm") }}</el-button> </div> @@ -308,7 +346,7 @@ this.getSelectProject(); done(); }) - .catch((_) => {}); + .catch((_) => { }); }, async innerClose() { this.showMap = false; -- Gitblit v1.9.3