|
@@ -63,6 +63,7 @@
|
|
|
import myPagination from "@/components/ledger/lib/myPagination";
|
|
|
import uploadFiles from '@/components/ledger/lib/uploadFiles'
|
|
|
import { getListForGuarantee, createGuarantee } from "@/api/scan/request"
|
|
|
+import { mapGetters, mapActions } from "vuex"
|
|
|
import tools from "@/utils/scan/tools"
|
|
|
export default {
|
|
|
components: {
|
|
@@ -106,6 +107,9 @@ export default {
|
|
|
};
|
|
|
},
|
|
|
created() { },
|
|
|
+ computed: {
|
|
|
+ ...mapGetters("layout", ["projectId", "secret", "userId"])
|
|
|
+ },
|
|
|
mounted() { },
|
|
|
methods: {
|
|
|
submitForm(formName) {
|
|
@@ -151,7 +155,7 @@ export default {
|
|
|
if (!!this.id) {
|
|
|
let param = {
|
|
|
data: {
|
|
|
- projectId: this.$route.query.projId,
|
|
|
+ projectId: this.projectId,
|
|
|
venderId: this.id
|
|
|
}
|
|
|
}
|