|
@@ -109,14 +109,32 @@
|
|
|
</popup-picker>
|
|
|
</group>
|
|
|
</div>
|
|
|
- <p class="popTitle2">责任部门</p>
|
|
|
+ <!-- <p class="popTitle2">责任部门</p>
|
|
|
<div class="selectGroup">
|
|
|
<group gutter="0" style="margin-bottom: 10px; width: 100%">
|
|
|
<popup-picker show-name title="" placeholder="请选择" :data="zrbmList" v-model="filter.zrbm"
|
|
|
value-text-align="left">
|
|
|
</popup-picker>
|
|
|
</group>
|
|
|
+ </div> -->
|
|
|
+ <!-- from zzp-->
|
|
|
+ <p class="popTitle2">长期责任部门</p>
|
|
|
+ <div class="selectGroup">
|
|
|
+ <group gutter="0" style="margin-bottom: 10px; width: 100%">
|
|
|
+ <popup-picker show-name title="" placeholder="请选择" :data="zrbmList" v-model="filter.cqzrbm"
|
|
|
+ value-text-align="left">
|
|
|
+ </popup-picker>
|
|
|
+ </group>
|
|
|
+ </div>
|
|
|
+ <p class="popTitle2">短期责任部门</p>
|
|
|
+ <div class="selectGroup">
|
|
|
+ <group gutter="0" style="margin-bottom: 10px; width: 100%">
|
|
|
+ <popup-picker show-name title="" placeholder="请选择" :data="zrbmList" v-model="filter.dqzrbm"
|
|
|
+ value-text-align="left">
|
|
|
+ </popup-picker>
|
|
|
+ </group>
|
|
|
</div>
|
|
|
+ <!---->
|
|
|
<p class="popTitle2">区域</p>
|
|
|
<div class="selectGroup">
|
|
|
<group gutter="0" style="margin-bottom: 10px; width: 100%">
|
|
@@ -125,14 +143,32 @@
|
|
|
</popup-picker>
|
|
|
</group>
|
|
|
</div>
|
|
|
- <p class="popTitle2">措施状态</p>
|
|
|
+ <!-- <p class="popTitle2">措施状态</p>
|
|
|
<div class="selectGroup">
|
|
|
<group gutter="0" style="margin-bottom: 10px; width: 100%">
|
|
|
<popup-picker show-name title="" placeholder="请选择" :data="csztList" v-model="filter.cszt"
|
|
|
value-text-align="left">
|
|
|
</popup-picker>
|
|
|
</group>
|
|
|
+ </div> -->
|
|
|
+ <!-- from zzp-->
|
|
|
+ <p class="popTitle2">长期措施状态</p>
|
|
|
+ <div class="selectGroup">
|
|
|
+ <group gutter="0" style="margin-bottom: 10px; width: 100%">
|
|
|
+ <popup-picker show-name title="" placeholder="请选择" :data="csztList" v-model="filter.cqcszt"
|
|
|
+ value-text-align="left">
|
|
|
+ </popup-picker>
|
|
|
+ </group>
|
|
|
</div>
|
|
|
+ <p class="popTitle2">短期措施状态</p>
|
|
|
+ <div class="selectGroup">
|
|
|
+ <group gutter="0" style="margin-bottom: 10px; width: 100%">
|
|
|
+ <popup-picker show-name title="" placeholder="请选择" :data="csztList" v-model="filter.dqcszt"
|
|
|
+ value-text-align="left">
|
|
|
+ </popup-picker>
|
|
|
+ </group>
|
|
|
+ </div>
|
|
|
+ <!---->
|
|
|
<p class="popTitle2">缺陷分类</p>
|
|
|
<div class="selectGroup">
|
|
|
<group gutter="0" style="margin-bottom: 10px; width: 100%">
|
|
@@ -184,8 +220,12 @@
|
|
|
my: false,
|
|
|
status: [],
|
|
|
zrbm: [],
|
|
|
+ cqzrbm: [],
|
|
|
+ dqzrbm: [],
|
|
|
qy: [],
|
|
|
cszt: [],
|
|
|
+ cqcszt: [],
|
|
|
+ dqcszt: [],
|
|
|
qxfl: []
|
|
|
},
|
|
|
statusList: [
|
|
@@ -244,7 +284,7 @@
|
|
|
sessionStorage.setItem("id", this.$route.query.id)
|
|
|
}
|
|
|
this.api.getIssueUnFinished({
|
|
|
- issueType: 0
|
|
|
+ id: 1
|
|
|
}).then(res => {
|
|
|
if (res.status == 20000) {
|
|
|
this.unFinish = res.data
|
|
@@ -331,7 +371,7 @@
|
|
|
_this.$toast('删除成功');
|
|
|
_this.onRefresh();
|
|
|
} else {
|
|
|
-
|
|
|
+ _this.$toast(res.message);
|
|
|
}
|
|
|
})
|
|
|
}).catch(() => {
|
|
@@ -341,10 +381,14 @@
|
|
|
//筛选 重置筛选
|
|
|
reset() {
|
|
|
this.$set(this.filter, 'cszt', [])
|
|
|
+ this.$set(this.filter, 'cqcszt', [])
|
|
|
+ this.$set(this.filter, 'dqcszt', [])
|
|
|
this.$set(this.filter, 'qxfl', [])
|
|
|
this.$set(this.filter, 'qy', [])
|
|
|
this.$set(this.filter, 'status', [])
|
|
|
this.$set(this.filter, 'zrbm', [])
|
|
|
+ this.$set(this.filter, 'cqzrbm', [])
|
|
|
+ this.$set(this.filter, 'dqzrbm', [])
|
|
|
this.filter.my = false
|
|
|
this.filterShow = false
|
|
|
this.onRefresh()
|
|
@@ -363,13 +407,13 @@
|
|
|
page: this.pageIndex,
|
|
|
size: 10,
|
|
|
issueStatus: this.filter.status[0],
|
|
|
- longtimeDepartmentId: this.filter.zrbm[0],
|
|
|
- shorttimeDepartmentId: this.filter.zrbm[0],
|
|
|
+ longtimeDepartmentId: this.filter.cqzrbm[0],
|
|
|
+ shorttimeDepartmentId: this.filter.dqzrbm[0],
|
|
|
areaId: this.filter.qy[0],
|
|
|
id: this.search,
|
|
|
defecttype: this.filter.qxfl[0],
|
|
|
- issueStatusLong: this.filter.cszt[0],
|
|
|
- issueStatusShort: this.filter.cszt[0]
|
|
|
+ issueStatusLong: this.filter.cqcszt[0],
|
|
|
+ issueStatusShort: this.filter.dqcszt[0]
|
|
|
}
|
|
|
if (this.filter.my) {
|
|
|
postData.myJob = 1
|