|
@@ -123,6 +123,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
created() {
|
|
|
+
|
|
|
this.$nextTick(()=>{
|
|
|
this.getDropList()
|
|
|
this.getDataList()
|
|
@@ -155,7 +156,9 @@ export default {
|
|
|
},
|
|
|
getDataList(isTurnPage) {
|
|
|
const param = this.getFilterItems(isTurnPage);
|
|
|
- this.searched = true;
|
|
|
+ setTimeout(()=>{
|
|
|
+ this.searched = true;
|
|
|
+ },0)
|
|
|
api.diagBasePage(param).then((res) => {
|
|
|
this.list = res.data.data.records
|
|
|
this.total = res.data.data.total;
|
|
@@ -205,6 +208,7 @@ export default {
|
|
|
filter: this.filter
|
|
|
} : {currentPage: this.currentPage};
|
|
|
if(type == 'modify') {
|
|
|
+ console.log('pam', pam)
|
|
|
this.$router.push({
|
|
|
name: 'AddDiagBase',
|
|
|
params: Object.assign(pam, {isEdit: true, data: item})
|