|
@@ -664,6 +664,22 @@
|
|
|
this.requestDict('取样类型');
|
|
this.requestDict('取样类型');
|
|
|
this.getCode();
|
|
this.getCode();
|
|
|
this.getReportTemplateList();
|
|
this.getReportTemplateList();
|
|
|
|
|
+
|
|
|
|
|
+ },
|
|
|
|
|
+ mounted() {
|
|
|
|
|
+ const isWt = this.$route.query?.isWt;
|
|
|
|
|
+
|
|
|
|
|
+ if (isWt) {
|
|
|
|
|
+ const id = JSON.parse(this.$route.query?.businessId);
|
|
|
|
|
+ console.log(id);
|
|
|
|
|
+ getList({qualityWorkerId: id}).then(res => {
|
|
|
|
|
+ const rowData = res.list[0];
|
|
|
|
|
+ this.$nextTick(() => {
|
|
|
|
|
+ this.openEdit('edit', rowData)
|
|
|
|
|
+ })
|
|
|
|
|
+
|
|
|
|
|
+ })
|
|
|
|
|
+ }
|
|
|
},
|
|
},
|
|
|
computed: {
|
|
computed: {
|
|
|
seekList() {
|
|
seekList() {
|