|
|
@@ -22,6 +22,7 @@
|
|
|
<script>
|
|
|
import { ref, onMounted } from "vue";
|
|
|
import { mapState } from "vuex";
|
|
|
+import exchangeUrl from "utils/exchangeUrl";
|
|
|
|
|
|
export default {
|
|
|
computed: mapState(["cargoOwnerInfo"]),
|
|
|
@@ -31,9 +32,7 @@ export default {
|
|
|
function openContract(contractId = 1) {
|
|
|
console.log("查看电子合同:", contractId);
|
|
|
}
|
|
|
- function exchangeUrl(icon) {
|
|
|
- return `/${icon}.png`;
|
|
|
- }
|
|
|
+
|
|
|
onMounted(() => {
|
|
|
init();
|
|
|
});
|