| | |
| | | <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" |
| | |
| | | </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" |
| | |
| | | /> |
| | | |
| | | <el-table-column |
| | | min-width="120" |
| | | min-width="120" |
| | | prop="corpname" |
| | | :label="$t('dataManage.projectObj.corpname')" |
| | | /> |
| | |
| | | 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" |
| | |
| | | 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> |
| | |
| | | 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"> |
| | |
| | | </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 |
| | |
| | | ></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 |
| | |
| | | ></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> |
| | |
| | | this.getSelectProject(); |
| | | done(); |
| | | }) |
| | | .catch((_) => {}); |
| | | .catch((_) => { }); |
| | | }, |
| | | async innerClose() { |
| | | this.showMap = false; |