|
@@ -88,24 +88,6 @@ export default {
|
|
|
rzBsm: {
|
|
|
type: String,
|
|
|
},
|
|
|
- activeTabs: {
|
|
|
- type: String,
|
|
|
- },
|
|
|
- scjgObj: {
|
|
|
- type: Object,
|
|
|
- },
|
|
|
- tempObj: {
|
|
|
- type: Object,
|
|
|
- },
|
|
|
- rwBsm: {
|
|
|
- type: String,
|
|
|
- },
|
|
|
- loading: {
|
|
|
- type: String,
|
|
|
- },
|
|
|
- rzMc: {
|
|
|
- type: String,
|
|
|
- },
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
@@ -150,17 +132,18 @@ export default {
|
|
|
.catch(() => {});
|
|
|
},
|
|
|
checkDetails(item) {
|
|
|
- // parent.emit("update:rwBsm", item.bsm);
|
|
|
+ this.$parent.rwBsm = item.bsm;
|
|
|
// GetFxjg({ bsm: item.bsm }).then((res) => {
|
|
|
// if (res.success) {
|
|
|
- // parent.emit("update:scjgObj", JSON.parse(JSON.stringify(res.data)));
|
|
|
- // parent.emit("update:activeTabs", "scjg");
|
|
|
+ // this.$parent.scjgObj=JSON.parse(JSON.stringify(res.data))
|
|
|
+ // this.$parent.scjgObj=JSON.parse(JSON.stringify(res.data))
|
|
|
+ this.$parent.activeTabs = "scjg";
|
|
|
// }
|
|
|
// });
|
|
|
},
|
|
|
checkRz(item) {
|
|
|
- parent.emit("update:rzMc", item.xmmc);
|
|
|
- parent.emit("update:rzBsm", item.bsm);
|
|
|
+ this.$parent.rzMc = item.xmmc;
|
|
|
+ this.$parent.rzBsm = item.bsm;
|
|
|
},
|
|
|
|
|
|
changeForm() {
|
|
@@ -179,10 +162,10 @@ export default {
|
|
|
},
|
|
|
|
|
|
getData() {
|
|
|
- parent.emit("update:loading", true);
|
|
|
+ this.$parent.loading = true;
|
|
|
GetPage({ ...this.pageObj }).then((res) => {
|
|
|
setTimeout(() => {
|
|
|
- parent.emit("update:loading", false);
|
|
|
+ this.$parent.loading = false;
|
|
|
}, 100);
|
|
|
this.pageObj.total = res.recordstotal;
|
|
|
this.pageObj.page = res.page;
|