|
@@ -41,9 +41,9 @@
|
|
<el-date-picker ref="inputDatetime1" v-model="getdataListParm.parammaps.inputDatetime1" class="inputDatetime" type="daterange" style="width: 250px;top:-3px;" format="yyyy-MM-dd" value-format="yyyy-MM-dd" range-separator="至" start-placeholder="审批日期" end-placeholder="审批日期" />
|
|
<el-date-picker ref="inputDatetime1" v-model="getdataListParm.parammaps.inputDatetime1" class="inputDatetime" type="daterange" style="width: 250px;top:-3px;" format="yyyy-MM-dd" value-format="yyyy-MM-dd" range-separator="至" start-placeholder="审批日期" end-placeholder="审批日期" />
|
|
<el-date-picker ref="inputDatetime2" v-model="getdataListParm.parammaps.inputDatetime2" class="inputDatetime" type="daterange" style="width: 250px;top:-3px;" format="yyyy-MM-dd" value-format="yyyy-MM-dd" range-separator="至" start-placeholder="购置日期" end-placeholder="购置日期" />
|
|
<el-date-picker ref="inputDatetime2" v-model="getdataListParm.parammaps.inputDatetime2" class="inputDatetime" type="daterange" style="width: 250px;top:-3px;" format="yyyy-MM-dd" value-format="yyyy-MM-dd" range-separator="至" start-placeholder="购置日期" end-placeholder="购置日期" />
|
|
<el-date-picker ref="inputDatetime3" v-model="getdataListParm.parammaps.inputDatetime3" class="inputDatetime" type="daterange" style="width: 250px;top:-3px;" format="yyyy-MM-dd" value-format="yyyy-MM-dd" range-separator="至" start-placeholder="报废日期" end-placeholder="报废日期" />
|
|
<el-date-picker ref="inputDatetime3" v-model="getdataListParm.parammaps.inputDatetime3" class="inputDatetime" type="daterange" style="width: 250px;top:-3px;" format="yyyy-MM-dd" value-format="yyyy-MM-dd" range-separator="至" start-placeholder="报废日期" end-placeholder="报废日期" />
|
|
- <el-button v-waves class="filter-item" type="primary" icon="el-icon-search" @click="handleFilter">搜索</el-button>
|
|
|
|
|
|
+ <el-button v-waves class="filter-item" type="primary" icon="el-icon-search" @click="form_search">搜索</el-button>
|
|
<div>
|
|
<div>
|
|
- <el-button v-if="isBasicsAdd" class="filter-item" type="primary" icon="el-icon-edit" @click="handleCreate">新增</el-button>
|
|
|
|
|
|
+ <el-button v-if="isBasicsAdd" class="filter-item" type="primary" icon="el-icon-edit" @click="form_add">新增</el-button>
|
|
<el-button class="filter-item" type="success" icon="el-icon-download" style="" @click="handleDownload">导出</el-button>
|
|
<el-button class="filter-item" type="success" icon="el-icon-download" style="" @click="handleDownload">导出</el-button>
|
|
<el-button class="filter-item" type="primary" icon="el-icon-edit" @click="handleBatchChange">批量变更</el-button>
|
|
<el-button class="filter-item" type="primary" icon="el-icon-edit" @click="handleBatchChange">批量变更</el-button>
|
|
</div>
|
|
</div>
|
|
@@ -106,10 +106,10 @@
|
|
<el-table-column label="使用率(%)" sortable align="center" prop="utilizationRate" />
|
|
<el-table-column label="使用率(%)" sortable align="center" prop="utilizationRate" />
|
|
<el-table-column label="操作" align="center" width="300" class-name="small-padding fixed-width" fixed="right">
|
|
<el-table-column label="操作" align="center" width="300" class-name="small-padding fixed-width" fixed="right">
|
|
<template slot-scope="{row}">
|
|
<template slot-scope="{row}">
|
|
- <el-button v-if="isBasicsCard" type="primary" size="mini" @click="handleSee(row)">查看</el-button>
|
|
|
|
- <el-button type="success" size="mini" @click="handleUpdate(row)">编辑</el-button>
|
|
|
|
- <el-button v-if="isBasicsDel2" style="display:inline-block" type="danger" size="mini" @click="handleDelete(row)">删除</el-button>
|
|
|
|
- <el-button v-else style="display:none" type="danger" size="mini" @click="handleDelete(row)">删除</el-button>
|
|
|
|
|
|
+ <el-button v-if="isBasicsCard" type="primary" size="mini" @click="form_see(row)">查看</el-button>
|
|
|
|
+ <el-button type="success" size="mini" @click="form_edit(row)">编辑</el-button>
|
|
|
|
+ <el-button v-if="isBasicsDel2" style="display:inline-block" type="danger" size="mini" @click="form_delete(row)">删除</el-button>
|
|
|
|
+ <el-button v-else style="display:none" type="danger" size="mini" @click="form_delete(row)">删除</el-button>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</el-table>
|
|
</el-table>
|
|
@@ -135,7 +135,7 @@
|
|
<el-option v-for="item in statues" :key="item.id" :label="item.name" :value="item.id" />
|
|
<el-option v-for="item in statues" :key="item.id" :label="item.name" :value="item.id" />
|
|
</el-select>
|
|
</el-select>
|
|
<el-date-picker ref="inputDatetime1" v-model="getdataListParmSH.parammaps.inputDatetime1" class="inputDatetime" type="datetimerange" style="width: 250px;top:-3px;" format="yyyy-MM-dd" value-format="yyyy-MM-dd" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" />
|
|
<el-date-picker ref="inputDatetime1" v-model="getdataListParmSH.parammaps.inputDatetime1" class="inputDatetime" type="datetimerange" style="width: 250px;top:-3px;" format="yyyy-MM-dd" value-format="yyyy-MM-dd" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" />
|
|
- <el-button v-waves class="filter-item" type="primary" icon="el-icon-search" @click="handleFilterSH">搜索</el-button>
|
|
|
|
|
|
+ <el-button v-waves class="filter-item" type="primary" icon="el-icon-search" @click="form_searchSH">搜索</el-button>
|
|
<div>
|
|
<div>
|
|
<el-button class="filter-item" type="success" icon="el-icon-download" style="" @click="handleDownloadSH">导出</el-button>
|
|
<el-button class="filter-item" type="success" icon="el-icon-download" style="" @click="handleDownloadSH">导出</el-button>
|
|
</div>
|
|
</div>
|
|
@@ -179,13 +179,13 @@
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column label="操作" align="center" width="300" class-name="small-padding fixed-width" fixed="right">
|
|
<el-table-column label="操作" align="center" width="300" class-name="small-padding fixed-width" fixed="right">
|
|
<template slot-scope="{row}">
|
|
<template slot-scope="{row}">
|
|
- <el-button v-if="isBasicsCard" type="primary" size="mini" @click="handleSee(row)">查看</el-button>
|
|
|
|
- <el-button v-if="isBasicsUpdate && row.SHStatus == 2" style="display:inline-block" type="success" size="mini" @click="handleUpdate(row)">编辑</el-button>
|
|
|
|
- <el-button v-else style="display:none" type="success" size="mini" @click="handleUpdate(row)">编辑</el-button>
|
|
|
|
|
|
+ <el-button v-if="isBasicsCard" type="primary" size="mini" @click="form_see(row)">查看</el-button>
|
|
|
|
+ <el-button v-if="isBasicsUpdate && row.SHStatus == 2" style="display:inline-block" type="success" size="mini" @click="form_edit(row)">编辑</el-button>
|
|
|
|
+ <el-button v-else style="display:none" type="success" size="mini" @click="form_edit(row)">编辑</el-button>
|
|
<el-button v-if="isBasicExamine && row.SHStatus == 0" style="display:inline-block" type="success" size="mini" @click="handleExamine(row)">审核</el-button>
|
|
<el-button v-if="isBasicExamine && row.SHStatus == 0" style="display:inline-block" type="success" size="mini" @click="handleExamine(row)">审核</el-button>
|
|
<el-button v-else style="display:none" type="success" size="mini" @click="handleExamine(row)">审核</el-button>
|
|
<el-button v-else style="display:none" type="success" size="mini" @click="handleExamine(row)">审核</el-button>
|
|
- <el-button v-if="isBasicsDel && row.SHStatus == 2" style="display:inline-block" type="danger" size="mini" @click="handleDelete(row)">删除</el-button>
|
|
|
|
- <el-button v-else style="display:none" type="danger" size="mini" @click="handleDelete(row)">删除</el-button>
|
|
|
|
|
|
+ <el-button v-if="isBasicsDel && row.SHStatus == 2" style="display:inline-block" type="danger" size="mini" @click="form_delete(row)">删除</el-button>
|
|
|
|
+ <el-button v-else style="display:none" type="danger" size="mini" @click="form_delete(row)">删除</el-button>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</el-table>
|
|
</el-table>
|
|
@@ -394,8 +394,8 @@
|
|
</el-row>
|
|
</el-row>
|
|
</el-form>
|
|
</el-form>
|
|
<div slot="footer" class="dialog-footer" style="right:30px;position:absolute;bottom:5px">
|
|
<div slot="footer" class="dialog-footer" style="right:30px;position:absolute;bottom:5px">
|
|
- <el-button v-if="dialogStatus==='create'" ref="createb" type="success" :disabled="isokDisable" @click="createData_again()">保存并新增</el-button>
|
|
|
|
- <el-button type="primary" :disabled="isokDisable" @click="dialogStatus==='create'?createData():updateData()">保存并关闭</el-button>
|
|
|
|
|
|
+ <el-button v-if="dialogStatus==='create'" ref="createb" type="success" :disabled="isokDisable" @click="add_dialog_save_again()">保存并新增</el-button>
|
|
|
|
+ <el-button type="primary" :disabled="isokDisable" @click="dialogStatus==='create'?add_dialog_save():edit_dialog_save()">保存并关闭</el-button>
|
|
<el-button @click="dialogFormVisible = false; getdataListParm.parammaps.inputDatetime = ''">取消并关闭</el-button>
|
|
<el-button @click="dialogFormVisible = false; getdataListParm.parammaps.inputDatetime = ''">取消并关闭</el-button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -408,7 +408,7 @@
|
|
<span>内部编号:{{ seeTemp.eqCode }}</span>
|
|
<span>内部编号:{{ seeTemp.eqCode }}</span>
|
|
</div>
|
|
</div>
|
|
<div class="card">
|
|
<div class="card">
|
|
- <el-tabs v-model="activeName" @tab-click="handleSeeTabClick">
|
|
|
|
|
|
+ <el-tabs v-model="activeName" @tab-click="form_seeTabClick">
|
|
<el-tab-pane label="基础信息" name="first">
|
|
<el-tab-pane label="基础信息" name="first">
|
|
<el-form ref="seeTemp" :rules="rules" :model="seeTemp" label-position="right" label-width="115px" style="width: 100%;margin-bottom:30px">
|
|
<el-form ref="seeTemp" :rules="rules" :model="seeTemp" label-position="right" label-width="115px" style="width: 100%;margin-bottom:30px">
|
|
<el-row>
|
|
<el-row>
|
|
@@ -592,7 +592,7 @@
|
|
</el-tab-pane>
|
|
</el-tab-pane>
|
|
<el-tab-pane v-if="isDisplayRecord" label="点检记录" name="second">
|
|
<el-tab-pane v-if="isDisplayRecord" label="点检记录" name="second">
|
|
<el-date-picker ref="inputDatetimeCheck1" v-model="getAssetBigSpotCheckListParm.parammaps.inputDatetimeSpotCheck1" class="inputDatetime" type="datetimerange" style="width: 250px;margin-bottom:10px" format="yyyy-MM-dd" value-format="yyyy-MM-dd" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" />
|
|
<el-date-picker ref="inputDatetimeCheck1" v-model="getAssetBigSpotCheckListParm.parammaps.inputDatetimeSpotCheck1" class="inputDatetime" type="datetimerange" style="width: 250px;margin-bottom:10px" format="yyyy-MM-dd" value-format="yyyy-MM-dd" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" />
|
|
- <el-button v-waves class="filter-item" type="primary" icon="el-icon-search" @click="handleFilterSportCheck">搜索</el-button>
|
|
|
|
|
|
+ <el-button v-waves class="filter-item" type="primary" icon="el-icon-search" @click="form_searchSportCheck">搜索</el-button>
|
|
<el-table
|
|
<el-table
|
|
:key="tableKey"
|
|
:key="tableKey"
|
|
v-loading="listLoadingSpotCheck1"
|
|
v-loading="listLoadingSpotCheck1"
|
|
@@ -623,7 +623,7 @@
|
|
<el-option v-for="item in maintainTypes" :key="item.id" :label="item.name" :value="item.name" />
|
|
<el-option v-for="item in maintainTypes" :key="item.id" :label="item.name" :value="item.name" />
|
|
</el-select>
|
|
</el-select>
|
|
<el-date-picker ref="inputDatetimeUpkeepbyeq" v-model="getBigupkeepbyeqParm.parammaps.inputDatetimeUpkeepbyeq" class="inputDatetime" type="datetimerange" style="width: 250px;margin-bottom:10px" format="yyyy-MM-dd" value-format="yyyy-MM-dd" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" />
|
|
<el-date-picker ref="inputDatetimeUpkeepbyeq" v-model="getBigupkeepbyeqParm.parammaps.inputDatetimeUpkeepbyeq" class="inputDatetime" type="datetimerange" style="width: 250px;margin-bottom:10px" format="yyyy-MM-dd" value-format="yyyy-MM-dd" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" />
|
|
- <el-button v-waves class="filter-item" type="primary" icon="el-icon-search" @click="handleFilterUpkeepbyeq">搜索</el-button>
|
|
|
|
|
|
+ <el-button v-waves class="filter-item" type="primary" icon="el-icon-search" @click="form_searchUpkeepbyeq">搜索</el-button>
|
|
<el-table
|
|
<el-table
|
|
:key="tableKey"
|
|
:key="tableKey"
|
|
v-loading="listLoadingUpkeepbyeq"
|
|
v-loading="listLoadingUpkeepbyeq"
|
|
@@ -656,7 +656,7 @@
|
|
<el-tab-pane v-if="isDisplayRecord" label="维修记录" name="fouth">
|
|
<el-tab-pane v-if="isDisplayRecord" label="维修记录" name="fouth">
|
|
<el-input v-model="getAssetMaintainParm.parammaps.repairCode" placeholder="维修单号" style="width: 140px;" class="filter-item" />
|
|
<el-input v-model="getAssetMaintainParm.parammaps.repairCode" placeholder="维修单号" style="width: 140px;" class="filter-item" />
|
|
<el-date-picker ref="inputDatetimeAssetMaintain" v-model="getAssetMaintainParm.parammaps.inputDatetimeAssetMaintain" class="inputDatetime" type="datetimerange" style="width: 250px;margin-bottom:10px" format="yyyy-MM-dd" value-format="yyyy-MM-dd" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" />
|
|
<el-date-picker ref="inputDatetimeAssetMaintain" v-model="getAssetMaintainParm.parammaps.inputDatetimeAssetMaintain" class="inputDatetime" type="datetimerange" style="width: 250px;margin-bottom:10px" format="yyyy-MM-dd" value-format="yyyy-MM-dd" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" />
|
|
- <el-button v-waves class="filter-item" type="primary" icon="el-icon-search" @click="handleFilterAssetMaintain">搜索</el-button>
|
|
|
|
|
|
+ <el-button v-waves class="filter-item" type="primary" icon="el-icon-search" @click="form_searchAssetMaintain">搜索</el-button>
|
|
<el-table
|
|
<el-table
|
|
:key="tableKey"
|
|
:key="tableKey"
|
|
v-loading="listLoadingAssetMaintain"
|
|
v-loading="listLoadingAssetMaintain"
|
|
@@ -690,7 +690,7 @@
|
|
<div class="filter-container">
|
|
<div class="filter-container">
|
|
<el-date-picker v-model="getAssetSTTParm.parammaps.startTime" type="date" placeholder="开启日期" style="width:170px;top:-3px;" format="yyyy-MM-dd" value-format="yyyy-MM-dd" />
|
|
<el-date-picker v-model="getAssetSTTParm.parammaps.startTime" type="date" placeholder="开启日期" style="width:170px;top:-3px;" format="yyyy-MM-dd" value-format="yyyy-MM-dd" />
|
|
<el-date-picker v-model="getAssetSTTParm.parammaps.stopTime" type="date" placeholder="关闭日期" style="width:170px;top:-3px;" format="yyyy-MM-dd" value-format="yyyy-MM-dd" />
|
|
<el-date-picker v-model="getAssetSTTParm.parammaps.stopTime" type="date" placeholder="关闭日期" style="width:170px;top:-3px;" format="yyyy-MM-dd" value-format="yyyy-MM-dd" />
|
|
- <el-button v-waves class="filter-item" type="primary" icon="el-icon-search" @click="handleFilterAssetSTT">搜索</el-button>
|
|
|
|
|
|
+ <el-button v-waves class="filter-item" type="primary" icon="el-icon-search" @click="form_searchAssetSTT">搜索</el-button>
|
|
</div>
|
|
</div>
|
|
<el-table
|
|
<el-table
|
|
:key="tableKey"
|
|
:key="tableKey"
|
|
@@ -723,7 +723,7 @@
|
|
<el-option v-for="item in changeStates" :key="item.id" :label="item.name" :value="item.id" />
|
|
<el-option v-for="item in changeStates" :key="item.id" :label="item.name" :value="item.id" />
|
|
</el-select>
|
|
</el-select>
|
|
<el-date-picker ref="inputDatetimeAssetChange" v-model="getAssetChangeParm.parammaps.inputDatetimeAssetChange" class="inputDatetime" type="datetimerange" style="width: 250px;margin-bottom:10px" format="yyyy-MM-dd" value-format="yyyy-MM-dd" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" />
|
|
<el-date-picker ref="inputDatetimeAssetChange" v-model="getAssetChangeParm.parammaps.inputDatetimeAssetChange" class="inputDatetime" type="datetimerange" style="width: 250px;margin-bottom:10px" format="yyyy-MM-dd" value-format="yyyy-MM-dd" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" />
|
|
- <el-button v-waves class="filter-item" type="primary" icon="el-icon-search" @click="handleFilterAssetChange">搜索</el-button>
|
|
|
|
|
|
+ <el-button v-waves class="filter-item" type="primary" icon="el-icon-search" @click="form_searchAssetChange">搜索</el-button>
|
|
</div>
|
|
</div>
|
|
<el-table
|
|
<el-table
|
|
:key="tableKey"
|
|
:key="tableKey"
|
|
@@ -754,7 +754,7 @@
|
|
<el-input v-model="getAssetPartApplyParm.parammaps.partCode" placeholder="备件编号" style="width: 140px;" class="filter-item" />
|
|
<el-input v-model="getAssetPartApplyParm.parammaps.partCode" placeholder="备件编号" style="width: 140px;" class="filter-item" />
|
|
<el-input v-model="getAssetPartApplyParm.parammaps.partName" placeholder="备件名称" style="width: 140px;" class="filter-item" />
|
|
<el-input v-model="getAssetPartApplyParm.parammaps.partName" placeholder="备件名称" style="width: 140px;" class="filter-item" />
|
|
<el-date-picker ref="inputDatetimeAssetPartApply" v-model="getAssetPartApplyParm.parammaps.inputDatetimeAssetPartApply" class="inputDatetime" type="datetimerange" style="width: 250px;margin-bottom:10px" format="yyyy-MM-dd" value-format="yyyy-MM-dd" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" />
|
|
<el-date-picker ref="inputDatetimeAssetPartApply" v-model="getAssetPartApplyParm.parammaps.inputDatetimeAssetPartApply" class="inputDatetime" type="datetimerange" style="width: 250px;margin-bottom:10px" format="yyyy-MM-dd" value-format="yyyy-MM-dd" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" />
|
|
- <el-button v-waves class="filter-item" type="primary" icon="el-icon-search" @click="handleFilterAssetPartApply">搜索</el-button>
|
|
|
|
|
|
+ <el-button v-waves class="filter-item" type="primary" icon="el-icon-search" @click="form_searchAssetPartApply">搜索</el-button>
|
|
<el-table
|
|
<el-table
|
|
:key="tableKey"
|
|
:key="tableKey"
|
|
v-loading="listLoadingAssetPartApply"
|
|
v-loading="listLoadingAssetPartApply"
|
|
@@ -806,7 +806,7 @@
|
|
<el-option v-for="item in useTypes" :key="item.id" :label="item.name" :value="item.name" />
|
|
<el-option v-for="item in useTypes" :key="item.id" :label="item.name" :value="item.name" />
|
|
</el-select>
|
|
</el-select>
|
|
<el-date-picker ref="inputDatetime2" v-model="getChartSeeParm.parammaps.inputDatetime2" class="inputDatetime" type="datetimerange" style="width: 250px;top:-3px;" format="yyyy-MM-dd" value-format="yyyy-MM-dd" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" />
|
|
<el-date-picker ref="inputDatetime2" v-model="getChartSeeParm.parammaps.inputDatetime2" class="inputDatetime" type="datetimerange" style="width: 250px;top:-3px;" format="yyyy-MM-dd" value-format="yyyy-MM-dd" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" />
|
|
- <el-button v-waves class="filter-item" type="primary" icon="el-icon-search" @click="handleFilterChartSee">搜索</el-button>
|
|
|
|
|
|
+ <el-button v-waves class="filter-item" type="primary" icon="el-icon-search" @click="form_searchChartSee">搜索</el-button>
|
|
<el-button class="filter-item" style="margin-left: 10px;" type="success" icon="el-icon-edit" @click="handleDownloadChartSee">导出</el-button>
|
|
<el-button class="filter-item" style="margin-left: 10px;" type="success" icon="el-icon-edit" @click="handleDownloadChartSee">导出</el-button>
|
|
</div>
|
|
</div>
|
|
<el-table
|
|
<el-table
|
|
@@ -1487,7 +1487,7 @@ export default {
|
|
return '历史数据'
|
|
return '历史数据'
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- handleFilter() {
|
|
|
|
|
|
+ form_search() {
|
|
this.listLoading = true
|
|
this.listLoading = true
|
|
this.getdataListParm.parammaps.pastureId = ''
|
|
this.getdataListParm.parammaps.pastureId = ''
|
|
if (this.getdataListParm.parammaps.warning !== '') {
|
|
if (this.getdataListParm.parammaps.warning !== '') {
|
|
@@ -1523,7 +1523,7 @@ export default {
|
|
this.getdataListParm.offset = 1
|
|
this.getdataListParm.offset = 1
|
|
this.getList()
|
|
this.getList()
|
|
},
|
|
},
|
|
- handleFilterSH() {
|
|
|
|
|
|
+ form_searchSH() {
|
|
this.listLoadingSH = true
|
|
this.listLoadingSH = true
|
|
if (this.getdataListParmSH.parammaps.inputDatetime1 == null) {
|
|
if (this.getdataListParmSH.parammaps.inputDatetime1 == null) {
|
|
this.getdataListParmSH.parammaps.inputDatetime1 = ''
|
|
this.getdataListParmSH.parammaps.inputDatetime1 = ''
|
|
@@ -1603,7 +1603,7 @@ export default {
|
|
}
|
|
}
|
|
this.width = width + 'px'
|
|
this.width = width + 'px'
|
|
},
|
|
},
|
|
- createDataAdd() {
|
|
|
|
|
|
+ add_dialog_saveAdd() {
|
|
console.log('点击了保存')
|
|
console.log('点击了保存')
|
|
this.isokDisable = true
|
|
this.isokDisable = true
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|
|
@@ -1705,7 +1705,7 @@ export default {
|
|
this.createTemp.fileList = []
|
|
this.createTemp.fileList = []
|
|
this.createTemp.depreciation = ''
|
|
this.createTemp.depreciation = ''
|
|
},
|
|
},
|
|
- handleCreate() {
|
|
|
|
|
|
+ form_add() {
|
|
this.resetCreateTemp()
|
|
this.resetCreateTemp()
|
|
this.edit = 1
|
|
this.edit = 1
|
|
this.getDepartParam.parammaps.pastureId = this.createTemp.pastureId
|
|
this.getDepartParam.parammaps.pastureId = this.createTemp.pastureId
|
|
@@ -1748,7 +1748,7 @@ export default {
|
|
this.getdataListParm.parammaps.eqClassId = ''
|
|
this.getdataListParm.parammaps.eqClassId = ''
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- createData() {
|
|
|
|
|
|
+ add_dialog_save() {
|
|
this.isokDisable = true
|
|
this.isokDisable = true
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|
|
this.isokDisable = false
|
|
this.isokDisable = false
|
|
@@ -1811,7 +1811,7 @@ export default {
|
|
})
|
|
})
|
|
},
|
|
},
|
|
// 继续新增
|
|
// 继续新增
|
|
- createData_again() {
|
|
|
|
|
|
+ add_dialog_save_again() {
|
|
this.isokDisable = true
|
|
this.isokDisable = true
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|
|
this.isokDisable = false
|
|
this.isokDisable = false
|
|
@@ -1871,7 +1871,7 @@ export default {
|
|
}
|
|
}
|
|
})
|
|
})
|
|
},
|
|
},
|
|
- handleUpdate(row) {
|
|
|
|
|
|
+ form_edit(row) {
|
|
if (this.dialogFormVisible) {
|
|
if (this.dialogFormVisible) {
|
|
return
|
|
return
|
|
}
|
|
}
|
|
@@ -1916,7 +1916,7 @@ export default {
|
|
this.showUpload = false
|
|
this.showUpload = false
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- updateData() {
|
|
|
|
|
|
+ edit_dialog_save() {
|
|
this.$refs['createTemp'].validate(valid => {
|
|
this.$refs['createTemp'].validate(valid => {
|
|
if (valid) {
|
|
if (valid) {
|
|
console.log('-----------', this.createTemp)
|
|
console.log('-----------', this.createTemp)
|
|
@@ -2007,7 +2007,7 @@ export default {
|
|
this.$set(this.createTemp, 'employeName', item.name)
|
|
this.$set(this.createTemp, 'employeName', item.name)
|
|
this.$forceUpdate()
|
|
this.$forceUpdate()
|
|
},
|
|
},
|
|
- handleSee(row) {
|
|
|
|
|
|
+ form_see(row) {
|
|
console.log(row)
|
|
console.log(row)
|
|
this.seeTemp = Object.assign({}, row) // copy obj
|
|
this.seeTemp = Object.assign({}, row) // copy obj
|
|
this.activeName = 'first'
|
|
this.activeName = 'first'
|
|
@@ -2027,7 +2027,7 @@ export default {
|
|
}
|
|
}
|
|
// 查看-点检记录
|
|
// 查看-点检记录
|
|
},
|
|
},
|
|
- handleSeeTabClick(val) {
|
|
|
|
|
|
+ form_seeTabClick(val) {
|
|
console.log(val)
|
|
console.log(val)
|
|
if (val.name == 'second') {
|
|
if (val.name == 'second') {
|
|
this.getAssetBigSpotCheckList()
|
|
this.getAssetBigSpotCheckList()
|
|
@@ -2077,7 +2077,7 @@ export default {
|
|
}, 100)
|
|
}, 100)
|
|
})
|
|
})
|
|
},
|
|
},
|
|
- handleFilterSportCheck() {
|
|
|
|
|
|
+ form_searchSportCheck() {
|
|
if (this.getAssetBigSpotCheckListParm.parammaps.inputDatetimeCheck1 == null) {
|
|
if (this.getAssetBigSpotCheckListParm.parammaps.inputDatetimeCheck1 == null) {
|
|
this.getAssetBigSpotCheckListParm.parammaps.inputDatetimeCheck1 = ''
|
|
this.getAssetBigSpotCheckListParm.parammaps.inputDatetimeCheck1 = ''
|
|
}
|
|
}
|
|
@@ -2111,7 +2111,7 @@ export default {
|
|
}, 100)
|
|
}, 100)
|
|
})
|
|
})
|
|
},
|
|
},
|
|
- handleFilterUpkeepbyeq() {
|
|
|
|
|
|
+ form_searchUpkeepbyeq() {
|
|
if (this.getBigupkeepbyeqParm.parammaps.inputDatetimeUpkeepbyeq === null) {
|
|
if (this.getBigupkeepbyeqParm.parammaps.inputDatetimeUpkeepbyeq === null) {
|
|
this.getBigupkeepbyeqParm.parammaps.inputDatetimeUpkeepbyeq = ''
|
|
this.getBigupkeepbyeqParm.parammaps.inputDatetimeUpkeepbyeq = ''
|
|
}
|
|
}
|
|
@@ -2147,7 +2147,7 @@ export default {
|
|
}, 100)
|
|
}, 100)
|
|
})
|
|
})
|
|
},
|
|
},
|
|
- handleFilterAssetMaintain() {
|
|
|
|
|
|
+ form_searchAssetMaintain() {
|
|
if (this.getBigupkeepbyeqParm.parammaps.inputDatetimeAssetMaintan === null) {
|
|
if (this.getBigupkeepbyeqParm.parammaps.inputDatetimeAssetMaintan === null) {
|
|
this.getBigupkeepbyeqParm.parammaps.inputDatetimeAssetMaintan = ''
|
|
this.getBigupkeepbyeqParm.parammaps.inputDatetimeAssetMaintan = ''
|
|
}
|
|
}
|
|
@@ -2174,7 +2174,7 @@ export default {
|
|
}, 100)
|
|
}, 100)
|
|
})
|
|
})
|
|
},
|
|
},
|
|
- handleFilterAssetSTT() {
|
|
|
|
|
|
+ form_searchAssetSTT() {
|
|
if (this.getAssetSTTParm.parammaps.startTime == null) {
|
|
if (this.getAssetSTTParm.parammaps.startTime == null) {
|
|
this.getAssetSTTParm.parammaps.startTime = ''
|
|
this.getAssetSTTParm.parammaps.startTime = ''
|
|
}
|
|
}
|
|
@@ -2212,7 +2212,7 @@ export default {
|
|
}, 100)
|
|
}, 100)
|
|
})
|
|
})
|
|
},
|
|
},
|
|
- handleFilterAssetChange() {
|
|
|
|
|
|
+ form_searchAssetChange() {
|
|
if (this.getAssetChangeParm.parammaps.inputDatetimeAssetChange === null) {
|
|
if (this.getAssetChangeParm.parammaps.inputDatetimeAssetChange === null) {
|
|
this.getAssetChangeParm.parammaps.inputDatetimeAssetChange = ''
|
|
this.getAssetChangeParm.parammaps.inputDatetimeAssetChange = ''
|
|
}
|
|
}
|
|
@@ -2258,7 +2258,7 @@ export default {
|
|
}, 100)
|
|
}, 100)
|
|
})
|
|
})
|
|
},
|
|
},
|
|
- handleFilterAssetPartApply() {
|
|
|
|
|
|
+ form_searchAssetPartApply() {
|
|
this.listLoadingAssetChange = true
|
|
this.listLoadingAssetChange = true
|
|
if (this.getAssetPartApplyParm.parammaps.inputDatetimeAssetChange == null) {
|
|
if (this.getAssetPartApplyParm.parammaps.inputDatetimeAssetChange == null) {
|
|
this.getAssetPartApplyParm.parammaps.inputDatetimeAssetChange = ''
|
|
this.getAssetPartApplyParm.parammaps.inputDatetimeAssetChange = ''
|
|
@@ -2445,7 +2445,7 @@ export default {
|
|
}, 100)
|
|
}, 100)
|
|
})
|
|
})
|
|
},
|
|
},
|
|
- handleFilterChartSee() {
|
|
|
|
|
|
+ form_searchChartSee() {
|
|
this.listLoadingChartSee = true
|
|
this.listLoadingChartSee = true
|
|
if (this.getChartSeeParm.parammaps.inputDatetime2 === null) {
|
|
if (this.getChartSeeParm.parammaps.inputDatetime2 === null) {
|
|
this.getChartSeeParm.parammaps.inputDatetime2 = ''
|
|
this.getChartSeeParm.parammaps.inputDatetime2 = ''
|
|
@@ -2490,7 +2490,7 @@ export default {
|
|
})
|
|
})
|
|
})
|
|
})
|
|
},
|
|
},
|
|
- handleDelete(row) {
|
|
|
|
|
|
+ form_delete(row) {
|
|
MessageBox.confirm('确认删除此信息?', {
|
|
MessageBox.confirm('确认删除此信息?', {
|
|
confirmButtonText: '确认',
|
|
confirmButtonText: '确认',
|
|
cancelButtonText: '取消',
|
|
cancelButtonText: '取消',
|