链接指向修正

This commit is contained in:
范露尧
2023-07-10 13:47:02 +08:00
parent fdb4c482d3
commit 1f278407c8
2 changed files with 18 additions and 38 deletions

View File

@@ -4,11 +4,11 @@
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="../Contents/index.css">
<script src="../Contents/vue.min.js"></script>
<script src="../Contents/index.js"></script>
<script src="../Contents/axios.min.js"></script>
<script src="../Contents/qs.min.js"></script>
<link rel="stylesheet" href="../../Contents/index.css">
<script src="../../Contents/vue.min.js"></script>
<script src="../../Contents/index.js"></script>
<script src="../../Contents/axios.min.js"></script>
<script src="../../Contents/qs.min.js"></script>
</head>
<body>
@@ -16,7 +16,7 @@
<h3 style="text-align:center;">宁波既有建筑外墙脱落问卷调查结果-幢列表</h3>
<el-form label-position="left" ref="form" :model="form" label-width="120px" style="margin-top:15px;">
<el-form-item label="社区/小区:" prop="name">
<el-select v-model="form.communityId" filterable clearable placeholder="请选择" @@change="selectCommunity">
<el-select v-model="form.communityId" filterable clearable placeholder="请选择" @change="selectCommunity">
<el-option v-for="item in communitys" :key="item.id" :label="item.name" :value="item.id">
</el-option>
</el-select>
@@ -25,12 +25,12 @@
<el-input v-model="form.submitCode" style="width:300px"></el-input>
</el-form-item>
<el-form-item>
<el-button type="primary" @@click.prevent="onSubmit('form')">查询</el-button>
<el-button @@click.prevent="reset('form')">重置</el-button>
<el-button type="primary" @click.prevent="onSubmit('form')">查询</el-button>
<el-button @click.prevent="reset('form')">重置</el-button>
</el-form-item>
</el-form>
<el-table :data="tableDataBuilding" style="width: 98%;margin:0 auto;" tooltip-effect="dark" @@selection-change="handleSelectionChange" row-key="id"
:expand-row-keys="expandChilds" @@row-click="clickRowHandleBuilding">
<el-table :data="tableDataBuilding" style="width: 98%;margin:0 auto;" tooltip-effect="dark" @selection-change="handleSelectionChange" row-key="id"
:expand-row-keys="expandChilds" @row-click="clickRowHandleBuilding">
<el-table-column type="expand">
<template slot-scope="props">
<el-form label-position="left" class="demo-table-expand" :model="props.row" style="width: 90%;margin:0 auto;">
@@ -93,7 +93,7 @@
</el-form-item>
<el-form-item label="问题照片:">
<div class="blocks">
<div class="block" v-for="fit in props.row.outside_wall_building_photos" :key="fit" @@click="handlePreview(fit,props.row.outside_wall_building_photos)">
<div class="block" v-for="fit in props.row.outside_wall_building_photos" :key="fit" @click="handlePreview(fit,props.row.outside_wall_building_photos)">
<span class="title">{{ fit.toward }}</span>
<el-avatar shape="square" :size="100" fit="fill" :src="fit.preview"></el-avatar>
</div>
@@ -117,31 +117,11 @@
<el-table-column label="幢名称"><template slot-scope="props">{{ props.row.buildingName}}</template></el-table-column>
<el-table-column label="地址"><template slot-scope="props">{{ props.row.address}}</template></el-table-column>
</el-table>
@* <el-table :data="tableData" style="width: 100%" tooltip-effect="dark" @@selection-change="handleSelectionChange" row-key="id"
:expand-row-keys="expands" @@row-click="clickRowHandle">
<el-table-column type="expand">
<template slot-scope="props">
</template>
</el-table-column>
<el-table-column label="提交码"><template slot-scope="props">{{ props.row.submitCode}}</template></el-table-column>
<el-table-column label="社区/小区名称"><template slot-scope="props">{{ props.row.communityName}}</template></el-table-column>
<el-table-column label="提交日期"><template slot-scope="props">{{ dateFormat("mm-dd", props.row.createtime )}}</template></el-table-column>
<el-table-column label="交付年份"><template slot-scope="props">{{ props.row.deliveryear}}</template></el-table-column>
<el-table-column label="楼栋数"><template slot-scope="props">{{ props.row.buildcount}}</template></el-table-column>
<el-table-column label="住户总数"><template slot-scope="props">{{ props.row.householdcount}}</template></el-table-column>
<el-table-column label="总建筑面积"><template slot-scope="props">{{ props.row.totalfloorage}}</template></el-table-column>
<el-table-column label="存在外墙问题"><template slot-scope="props">{{ props.row.isExistProblem==1?'是':'否' }}</template></el-table-column>
<el-table-column label="请人修复"><template slot-scope="props">{{ props.row.problemismodify==1?'是':'否'}}</template></el-table-column>
<el-table-column label="修复单位"><template slot-scope="props">{{ props.row.problemmodifyunitname}}</template></el-table-column>
<el-table-column label="是否再次发生问题"><template slot-scope="props">{{ props.row.problemmodifyisagain==1?'是':'否'}}</template></el-table-column>
<el-table-column label="联系方式"><template slot-scope="props">{{ props.row.contract}}</template></el-table-column>
</el-table>*@
<h3 style="text-align:center;">
<el-button @@click="toCommunityPage">查看社区统计</el-button>
<el-button type="primary" @@click="export_excel" :loading="loading">导出Excel</el-button>
<el-button @click="toCommunityPage">查看社区统计</el-button>
<el-button type="primary" @click="export_excel" :loading="loading">导出Excel</el-button>
</h3>
<el-image ref="myImg" class="my-img" :src="dialogImageUrl" :preview-src-list="dialogImageUrls">
</el-image>
@@ -320,10 +300,10 @@
check_login() {
this.token = window.sessionStorage.getItem('__TOKEN');
if (!this.token)
location = '/gb/yjb/manage/login'
location = '/202307/html/manage/login.html'
},
toCommunityPage() {
location = '/gb/yjb/OutsideWall/Result'
location = '/202307/html/OutsideWall/Result.html'
},
loading_false() { this.loading = false },

View File

@@ -403,11 +403,11 @@
check_login() {
this.token = window.sessionStorage.getItem('__TOKEN');
if (!this.token)
location = '/gb/yjb/manage/login'
location = '/202307/html/manage/login.html'
},
toBuildPage() {
location = '/gb/yjb/OutsideWall/BuildingResult'
location = '/202307/html/outsidewall/BuildingResult.html'
},
loading_false() { this.loading = false },