|
|
|
@ -39,7 +39,7 @@ |
|
|
|
<el-input v-model="searchData.oriCodeNo" clearable style="width: 150px"/> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label=" "> |
|
|
|
<el-button plain type="primary" @click="getDataList">查询</el-button> |
|
|
|
<el-button plain type="primary" :loading="searchLoading" @click="getDataList">查询</el-button> |
|
|
|
<el-button type="primary" :loading="saveDataLoading" @click="changeModel">变更申请</el-button> |
|
|
|
<download-excel |
|
|
|
:fields="fields()" |
|
|
|
@ -2044,7 +2044,8 @@ |
|
|
|
chooseCSModelFlag: false, |
|
|
|
addDetailModal: false, |
|
|
|
partModelFlag: false, |
|
|
|
saveDataLoading: false |
|
|
|
saveDataLoading: false, |
|
|
|
searchLoading: false |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
@ -2210,6 +2211,7 @@ |
|
|
|
getDataList () { |
|
|
|
this.searchData.limit = this.pageSize |
|
|
|
this.searchData.page = this.pageIndex |
|
|
|
this.searchLoading = true |
|
|
|
technicalSpecificationSearch(this.searchData).then(({data}) => { |
|
|
|
if (data.code === 0) { |
|
|
|
this.dataList = data.page.list |
|
|
|
@ -2217,7 +2219,12 @@ |
|
|
|
this.pageSize = data.page.pageSize |
|
|
|
this.totalPage = data.page.totalCount |
|
|
|
this.$refs.selectDiv.setLengthAll( this.dataList.length) |
|
|
|
this.searchLoading = false |
|
|
|
} else { |
|
|
|
this.searchLoading = false |
|
|
|
} |
|
|
|
}).catch(()=>{ |
|
|
|
this.searchLoading = false |
|
|
|
}) |
|
|
|
}, |
|
|
|
|
|
|
|
|