|
@@ -217,6 +217,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
+import { useRouter } from "vue-router";
|
|
|
import { onMounted, ref } from "vue";
|
|
|
import TabletServer from "@/api/tabletManage/TabletServer";
|
|
|
import placePerson from "@/api/placePerson/placePerson";
|
|
@@ -367,14 +368,15 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
};
|
|
|
+ const router = useRouter();
|
|
|
//数据提交
|
|
|
const submit = () => {
|
|
|
inputForm.value.pic = fileImg.value
|
|
|
.map((option) => option.id)
|
|
|
.join("|");
|
|
|
new TabletServer().save(inputForm.value).then((res) => {
|
|
|
- console.log(res);
|
|
|
if (res.status == 200) {
|
|
|
+
|
|
|
xm.showToast({
|
|
|
message: "牌位信息添加成功",
|
|
|
});
|