|
|
|
@ -19,7 +19,8 @@
|
|
|
|
</LxHeader>
|
|
|
|
</LxHeader>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div ref="lxTable">
|
|
|
|
<div ref="lxTable">
|
|
|
|
<el-table :data="tableData" class="v-table" @selection-change="handleSelectionChange" :height="tableHeight" style="width: 100%">
|
|
|
|
<el-table :data="tableData" class="v-table" @selection-change="handleSelectionChange" :height="tableHeight"
|
|
|
|
|
|
|
|
style="width: 100%">
|
|
|
|
<el-table-column type="selection" fixed width="55"></el-table-column>
|
|
|
|
<el-table-column type="selection" fixed width="55"></el-table-column>
|
|
|
|
<el-table-column type="index" width="50" fixed label="序号" align="center"> </el-table-column>
|
|
|
|
<el-table-column type="index" width="50" fixed label="序号" align="center"> </el-table-column>
|
|
|
|
<el-table-column :prop="column.field" :align="column.align" v-for="(column,index) in columns"
|
|
|
|
<el-table-column :prop="column.field" :align="column.align" v-for="(column,index) in columns"
|
|
|
|
@ -33,10 +34,11 @@
|
|
|
|
style="margin-left: 10px;">编辑</Button>
|
|
|
|
style="margin-left: 10px;">编辑</Button>
|
|
|
|
<Button v-if="scope.row['status']==0" ghost size="small" @click="show(scope.row)" type="primary"
|
|
|
|
<Button v-if="scope.row['status']==0" ghost size="small" @click="show(scope.row)" type="primary"
|
|
|
|
style="margin-left: 10px;">审核</Button>
|
|
|
|
style="margin-left: 10px;">审核</Button>
|
|
|
|
<Button v-if="scope.row['status']==1&&scope.row['end_type']!=1" ghost size="small" @click="show(scope.row)" type="primary"
|
|
|
|
<Button v-if="scope.row['status']==1&&scope.row['end_type']!=1" ghost size="small"
|
|
|
|
style="margin-left: 10px;">办结</Button>
|
|
|
|
@click="show(scope.row)" type="primary" style="margin-left: 10px;">办结</Button>
|
|
|
|
<Button ghost size="small" v-if="scope.row['status']==0||scope.row['status']==1&&scope.row['end_type']!=1" @click="del(scope.row)"
|
|
|
|
<Button ghost size="small"
|
|
|
|
type="error" style="margin-left: 10px;">删除</Button>
|
|
|
|
v-if="scope.row['status']==0||scope.row['status']==1&&scope.row['end_type']!=1"
|
|
|
|
|
|
|
|
@click="del(scope.row)" type="error" style="margin-left: 10px;">删除</Button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div v-else-if="column.type=='end_type'">
|
|
|
|
<div v-else-if="column.type=='end_type'">
|
|
|
|
<el-tag v-if="scope.row[column.field]==1" type="warning">有</el-tag>
|
|
|
|
<el-tag v-if="scope.row[column.field]==1" type="warning">有</el-tag>
|
|
|
|
@ -68,11 +70,15 @@
|
|
|
|
<div v-else-if="column.type=='format'">
|
|
|
|
<div v-else-if="column.type=='format'">
|
|
|
|
{{scope.row[column.field]?scope.row[column.field].name:""}}
|
|
|
|
{{scope.row[column.field]?scope.row[column.field].name:""}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div v-else-if="column.type=='admin'">
|
|
|
|
|
|
|
|
{{getUserName(scope.row)}}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<!-- <div v-else-if="column.type=='end_type'">
|
|
|
|
<!-- <div v-else-if="column.type=='end_type'">
|
|
|
|
<el-tag v-if="scope.row[column.field]==0">无</el-tag>
|
|
|
|
<el-tag v-if="scope.row[column.field]==0">无</el-tag>
|
|
|
|
<el-tag type="danger" v-if="scope.row[column.field]==1" >违法转办</el-tag>
|
|
|
|
<el-tag type="danger" v-if="scope.row[column.field]==1" >违法转办</el-tag>
|
|
|
|
</div> -->
|
|
|
|
</div> -->
|
|
|
|
<div v-else>{{scope.row[column.field]}}</div>
|
|
|
|
<div v-else>{{scope.row[column.field]}}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table>
|
|
|
|
</el-table>
|
|
|
|
@ -463,13 +469,17 @@
|
|
|
|
<el-button @click="resetFormDetail('formdetail')">取 消</el-button>
|
|
|
|
<el-button @click="resetFormDetail('formdetail')">取 消</el-button>
|
|
|
|
<el-button v-if="nowstatus==0" type="primary" v-preventReClick @click="submitFormDetail('formdetail','1')">审核
|
|
|
|
<el-button v-if="nowstatus==0" type="primary" v-preventReClick @click="submitFormDetail('formdetail','1')">审核
|
|
|
|
</el-button>
|
|
|
|
</el-button>
|
|
|
|
<el-button v-if="nowstatus==1&&formdetail.end_type!=1" type="warning" v-preventReClick @click="submitFormDetail('formdetail','4')">
|
|
|
|
<el-button v-if="nowstatus==1&&formdetail.end_type!=1" type="warning" v-preventReClick
|
|
|
|
|
|
|
|
@click="submitFormDetail('formdetail','4')">
|
|
|
|
缺陷办结</el-button>
|
|
|
|
缺陷办结</el-button>
|
|
|
|
<el-button v-if="nowstatus==1&&formdetail.end_type!=1" type="primary" v-preventReClick @click="submitFormDetail('formdetail','2')">办结
|
|
|
|
<el-button v-if="nowstatus==1&&formdetail.end_type!=1" type="primary" v-preventReClick
|
|
|
|
|
|
|
|
@click="submitFormDetail('formdetail','2')">办结
|
|
|
|
</el-button>
|
|
|
|
</el-button>
|
|
|
|
<el-button v-if="nowstatus==1&&formdetail.end_type==1&&wf_type!=1" type="primary" v-preventReClick @click="submitFormDetail('formdetail','1')">保存
|
|
|
|
<el-button v-if="nowstatus==1&&formdetail.end_type==1&&wf_type!=1" type="primary" v-preventReClick
|
|
|
|
|
|
|
|
@click="submitFormDetail('formdetail','1')">保存
|
|
|
|
</el-button>
|
|
|
|
</el-button>
|
|
|
|
<el-button v-if="nowstatus==1&&formdetail.end_type!=1" type="danger" v-preventReClick @click="submitFormDetail('formdetail','3')">退回
|
|
|
|
<el-button v-if="nowstatus==1&&formdetail.end_type!=1" type="danger" v-preventReClick
|
|
|
|
|
|
|
|
@click="submitFormDetail('formdetail','3')">退回
|
|
|
|
</el-button>
|
|
|
|
</el-button>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@ -488,22 +498,10 @@
|
|
|
|
<el-row>
|
|
|
|
<el-row>
|
|
|
|
<el-col :span="12">
|
|
|
|
<el-col :span="12">
|
|
|
|
<el-form-item label="所属道路" prop="road_id">
|
|
|
|
<el-form-item label="所属道路" prop="road_id">
|
|
|
|
<el-select
|
|
|
|
<el-select class="width100" v-model="roadName" filterable remote @change="chooseRoad"
|
|
|
|
class="width100"
|
|
|
|
:disabled="roaddisabled" reserve-keyword placeholder="请输入关键词查找道路信息" :remote-method="remoteMethod"
|
|
|
|
v-model="roadName"
|
|
|
|
|
|
|
|
filterable
|
|
|
|
|
|
|
|
remote
|
|
|
|
|
|
|
|
@change="chooseRoad"
|
|
|
|
|
|
|
|
:disabled="roaddisabled"
|
|
|
|
|
|
|
|
reserve-keyword
|
|
|
|
|
|
|
|
placeholder="请输入关键词查找道路信息"
|
|
|
|
|
|
|
|
:remote-method="remoteMethod"
|
|
|
|
|
|
|
|
:loading="roadloading">
|
|
|
|
:loading="roadloading">
|
|
|
|
<el-option
|
|
|
|
<el-option v-for="item in roadsList" :key="item.id" :label="item.name" :value="item.id">
|
|
|
|
v-for="item in roadsList"
|
|
|
|
|
|
|
|
:key="item.id"
|
|
|
|
|
|
|
|
:label="item.name"
|
|
|
|
|
|
|
|
:value="item.id">
|
|
|
|
|
|
|
|
</el-option>
|
|
|
|
</el-option>
|
|
|
|
</el-select>
|
|
|
|
</el-select>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
@ -556,8 +554,7 @@
|
|
|
|
<el-col :span="24">
|
|
|
|
<el-col :span="24">
|
|
|
|
<el-form-item label="现场照片" prop="files_list">
|
|
|
|
<el-form-item label="现场照片" prop="files_list">
|
|
|
|
<el-upload multiple action="/api/admin/upload-file" list-type="picture-card" :file-list="filesList"
|
|
|
|
<el-upload multiple action="/api/admin/upload-file" list-type="picture-card" :file-list="filesList"
|
|
|
|
ref="pictureUpload" :auto-upload="true" :data="uploadOther"
|
|
|
|
ref="pictureUpload" :auto-upload="true" :data="uploadOther" :on-error="handleError"
|
|
|
|
:on-error="handleError"
|
|
|
|
|
|
|
|
:on-success="function(responsose,file,fileList) {return handlesuccess(responsose,file,fileList,1)}">
|
|
|
|
:on-success="function(responsose,file,fileList) {return handlesuccess(responsose,file,fileList,1)}">
|
|
|
|
<i slot="default" class="el-icon-plus"></i>
|
|
|
|
<i slot="default" class="el-icon-plus"></i>
|
|
|
|
<div slot="file" slot-scope="{file}">
|
|
|
|
<div slot="file" slot-scope="{file}">
|
|
|
|
@ -604,8 +601,7 @@
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="24" v-if="form.is_solve==1">
|
|
|
|
<el-col :span="24" v-if="form.is_solve==1">
|
|
|
|
<el-form-item label="处理后照片" prop="files_deal_list">
|
|
|
|
<el-form-item label="处理后照片" prop="files_deal_list">
|
|
|
|
<el-upload multiple action="/api/admin/upload-file" list-type="picture-card"
|
|
|
|
<el-upload multiple action="/api/admin/upload-file" list-type="picture-card" :on-error="handleError"
|
|
|
|
:on-error="handleError"
|
|
|
|
|
|
|
|
:file-list="dealFilesList" ref="pictureUploads" :limit="3" :auto-upload="true" :data="uploadOther"
|
|
|
|
:file-list="dealFilesList" ref="pictureUploads" :limit="3" :auto-upload="true" :data="uploadOther"
|
|
|
|
:on-success="function(responsose,file,fileList) {return handlesuccess(responsose,file,fileList,2)}">
|
|
|
|
:on-success="function(responsose,file,fileList) {return handlesuccess(responsose,file,fileList,2)}">
|
|
|
|
<i slot="default" class="el-icon-plus"></i>
|
|
|
|
<i slot="default" class="el-icon-plus"></i>
|
|
|
|
@ -636,22 +632,10 @@
|
|
|
|
<el-row>
|
|
|
|
<el-row>
|
|
|
|
<el-col :span="12">
|
|
|
|
<el-col :span="12">
|
|
|
|
<el-form-item label="所属道路" prop="road_id">
|
|
|
|
<el-form-item label="所属道路" prop="road_id">
|
|
|
|
<el-select
|
|
|
|
<el-select class="width100" v-model="roadName" filterable remote @change="chooseRoad"
|
|
|
|
class="width100"
|
|
|
|
:disabled="roaddisabled" reserve-keyword placeholder="请输入关键词查找道路信息" :remote-method="remoteMethod"
|
|
|
|
v-model="roadName"
|
|
|
|
|
|
|
|
filterable
|
|
|
|
|
|
|
|
remote
|
|
|
|
|
|
|
|
@change="chooseRoad"
|
|
|
|
|
|
|
|
:disabled="roaddisabled"
|
|
|
|
|
|
|
|
reserve-keyword
|
|
|
|
|
|
|
|
placeholder="请输入关键词查找道路信息"
|
|
|
|
|
|
|
|
:remote-method="remoteMethod"
|
|
|
|
|
|
|
|
:loading="roadloading">
|
|
|
|
:loading="roadloading">
|
|
|
|
<el-option
|
|
|
|
<el-option v-for="item in roadsList" :key="item.id" :label="item.name" :value="item.id">
|
|
|
|
v-for="item in roadsList"
|
|
|
|
|
|
|
|
:key="item.id"
|
|
|
|
|
|
|
|
:label="item.name"
|
|
|
|
|
|
|
|
:value="item.id">
|
|
|
|
|
|
|
|
</el-option>
|
|
|
|
</el-option>
|
|
|
|
</el-select>
|
|
|
|
</el-select>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
@ -679,8 +663,7 @@
|
|
|
|
<el-col :span="24">
|
|
|
|
<el-col :span="24">
|
|
|
|
<el-form-item label="现场照片" prop="files_list">
|
|
|
|
<el-form-item label="现场照片" prop="files_list">
|
|
|
|
<el-upload multiple action="/api/admin/upload-file" list-type="picture-card" :file-list="filesList"
|
|
|
|
<el-upload multiple action="/api/admin/upload-file" list-type="picture-card" :file-list="filesList"
|
|
|
|
ref="pictureUpload" :auto-upload="true" :data="uploadOther"
|
|
|
|
ref="pictureUpload" :auto-upload="true" :data="uploadOther" :on-error="handleError"
|
|
|
|
:on-error="handleError"
|
|
|
|
|
|
|
|
:on-success="function(responsose,file,fileList) {return handlesuccess(responsose,file,fileList,1)}">
|
|
|
|
:on-success="function(responsose,file,fileList) {return handlesuccess(responsose,file,fileList,1)}">
|
|
|
|
<i slot="default" class="el-icon-plus"></i>
|
|
|
|
<i slot="default" class="el-icon-plus"></i>
|
|
|
|
<div slot="file" slot-scope="{file}">
|
|
|
|
<div slot="file" slot-scope="{file}">
|
|
|
|
@ -719,8 +702,7 @@
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="24" v-if="form.is_solve==1">
|
|
|
|
<el-col :span="24" v-if="form.is_solve==1">
|
|
|
|
<el-form-item label="处理后照片" prop="files_deal_list">
|
|
|
|
<el-form-item label="处理后照片" prop="files_deal_list">
|
|
|
|
<el-upload multiple action="/api/admin/upload-file" list-type="picture-card"
|
|
|
|
<el-upload multiple action="/api/admin/upload-file" list-type="picture-card" :on-error="handleError"
|
|
|
|
:on-error="handleError"
|
|
|
|
|
|
|
|
:file-list="dealFilesList" ref="pictureUploads" :limit="3" :auto-upload="true" :data="uploadOther"
|
|
|
|
:file-list="dealFilesList" ref="pictureUploads" :limit="3" :auto-upload="true" :data="uploadOther"
|
|
|
|
:on-success="function(responsose,file,fileList) {return handlesuccess(responsose,file,fileList,2)}">
|
|
|
|
:on-success="function(responsose,file,fileList) {return handlesuccess(responsose,file,fileList,2)}">
|
|
|
|
<i slot="default" class="el-icon-plus"></i>
|
|
|
|
<i slot="default" class="el-icon-plus"></i>
|
|
|
|
@ -754,22 +736,10 @@
|
|
|
|
<el-row>
|
|
|
|
<el-row>
|
|
|
|
<el-col :span="12">
|
|
|
|
<el-col :span="12">
|
|
|
|
<el-form-item label="所属道路" prop="road_id">
|
|
|
|
<el-form-item label="所属道路" prop="road_id">
|
|
|
|
<el-select
|
|
|
|
<el-select class="width100" v-model="roadName" filterable remote @change="chooseRoad"
|
|
|
|
class="width100"
|
|
|
|
:disabled="roaddisabled" reserve-keyword placeholder="请输入关键词查找道路信息" :remote-method="remoteMethod"
|
|
|
|
v-model="roadName"
|
|
|
|
|
|
|
|
filterable
|
|
|
|
|
|
|
|
remote
|
|
|
|
|
|
|
|
@change="chooseRoad"
|
|
|
|
|
|
|
|
:disabled="roaddisabled"
|
|
|
|
|
|
|
|
reserve-keyword
|
|
|
|
|
|
|
|
placeholder="请输入关键词查找道路信息"
|
|
|
|
|
|
|
|
:remote-method="remoteMethod"
|
|
|
|
|
|
|
|
:loading="roadloading">
|
|
|
|
:loading="roadloading">
|
|
|
|
<el-option
|
|
|
|
<el-option v-for="item in roadsList" :key="item.id" :label="item.name" :value="item.id">
|
|
|
|
v-for="item in roadsList"
|
|
|
|
|
|
|
|
:key="item.id"
|
|
|
|
|
|
|
|
:label="item.name"
|
|
|
|
|
|
|
|
:value="item.id">
|
|
|
|
|
|
|
|
</el-option>
|
|
|
|
</el-option>
|
|
|
|
</el-select>
|
|
|
|
</el-select>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
@ -794,8 +764,7 @@
|
|
|
|
<el-col :span="24">
|
|
|
|
<el-col :span="24">
|
|
|
|
<el-form-item label="附件" prop="files_list">
|
|
|
|
<el-form-item label="附件" prop="files_list">
|
|
|
|
<el-upload multiple action="/api/admin/upload-file" list-type="picture-card" :file-list="filesList"
|
|
|
|
<el-upload multiple action="/api/admin/upload-file" list-type="picture-card" :file-list="filesList"
|
|
|
|
ref="pictureUpload" :auto-upload="true" :data="uploadOther"
|
|
|
|
ref="pictureUpload" :auto-upload="true" :data="uploadOther" :on-error="handleError"
|
|
|
|
:on-error="handleError"
|
|
|
|
|
|
|
|
:on-success="function(responsose,file,fileList) {return handlesuccess(responsose,file,fileList,1)}">
|
|
|
|
:on-success="function(responsose,file,fileList) {return handlesuccess(responsose,file,fileList,1)}">
|
|
|
|
<i slot="default" class="el-icon-plus"></i>
|
|
|
|
<i slot="default" class="el-icon-plus"></i>
|
|
|
|
<div slot="file" slot-scope="{file}">
|
|
|
|
<div slot="file" slot-scope="{file}">
|
|
|
|
@ -844,7 +813,8 @@
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="24">
|
|
|
|
<el-col :span="24">
|
|
|
|
<el-form-item label="备注" prop="audit_reamrk">
|
|
|
|
<el-form-item label="备注" prop="audit_reamrk">
|
|
|
|
<el-input type="textarea" v-model="reviewForm.audit_reamrk" placeholder="请填写备注" autocomplete="off"></el-input>
|
|
|
|
<el-input type="textarea" v-model="reviewForm.audit_reamrk" placeholder="请填写备注" autocomplete="off">
|
|
|
|
|
|
|
|
</el-input>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
|
@ -1000,7 +970,8 @@
|
|
|
|
title: "地址/排放点",
|
|
|
|
title: "地址/排放点",
|
|
|
|
type: "string",
|
|
|
|
type: "string",
|
|
|
|
align: "left",
|
|
|
|
align: "left",
|
|
|
|
width: 360
|
|
|
|
width: 360,
|
|
|
|
|
|
|
|
fixed: "left"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
field: "area_info",
|
|
|
|
field: "area_info",
|
|
|
|
@ -1045,7 +1016,7 @@
|
|
|
|
// width:160
|
|
|
|
// width:160
|
|
|
|
// },
|
|
|
|
// },
|
|
|
|
{
|
|
|
|
{
|
|
|
|
field: "admin",
|
|
|
|
field: "userName",
|
|
|
|
title: "提交人",
|
|
|
|
title: "提交人",
|
|
|
|
type: "admin",
|
|
|
|
type: "admin",
|
|
|
|
align: "center",
|
|
|
|
align: "center",
|
|
|
|
@ -1056,7 +1027,8 @@
|
|
|
|
title: "提交日期",
|
|
|
|
title: "提交日期",
|
|
|
|
type: "string",
|
|
|
|
type: "string",
|
|
|
|
align: "center",
|
|
|
|
align: "center",
|
|
|
|
width: 180
|
|
|
|
width: 180,
|
|
|
|
|
|
|
|
fixed: "right"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
field: "操作",
|
|
|
|
field: "操作",
|
|
|
|
@ -1086,6 +1058,16 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
methods: {
|
|
|
|
|
|
|
|
getUserName(row) {
|
|
|
|
|
|
|
|
if (row.admin) {
|
|
|
|
|
|
|
|
return row.admin.name;
|
|
|
|
|
|
|
|
} else if (row.user) {
|
|
|
|
|
|
|
|
return row.user.name;
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
return "未知";
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
handleSelectionChange(val) {
|
|
|
|
handleSelectionChange(val) {
|
|
|
|
console.log(val)
|
|
|
|
console.log(val)
|
|
|
|
this.reviewList = val
|
|
|
|
this.reviewList = val
|
|
|
|
@ -1624,5 +1606,4 @@
|
|
|
|
.vm10 .el-select__caret.el-input__icon.el-icon-arrow-up {
|
|
|
|
.vm10 .el-select__caret.el-input__icon.el-icon-arrow-up {
|
|
|
|
line-height: 30px;
|
|
|
|
line-height: 30px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
</style>
|
|
|
|
</style>
|
|
|
|
|