Commit c8c63339 by liupeng

修改了一些问题

parent a8498ee1
......@@ -3,13 +3,13 @@ import base from "@/api/base";
//采集损失机动车信息
export const insertssjdc = params =>
postform(`${base.alyIP}/ssydtxsb/insert`, params);
postform(`${base.alyIP}/ssjdc/insert`, params);
//修改损失机动车信息
export const updatessjdc = params =>
postform(`${base.alyIP}/ssydtxsb/update`, params);
postform(`${base.alyIP}/ssjdc/update`, params);
//删除损失机动车信息
export const deletessjdc = params =>
post(`${base.alyIP}/ssydtxsb/delete`, params);
post(`${base.alyIP}/ssjdc/delete`, params);
//查询损失机动车信息
export const queryByXxzjbh = params =>
post(`${base.alyIP}/ssydtxsb/queryByXxzjbh`, params);
\ No newline at end of file
post(`${base.alyIP}/ssjdc/queryByXxzjbh`, params);
\ No newline at end of file
......@@ -194,6 +194,57 @@ const menuLayouts = [
},
component: () => import("@/views/qgncj/sswp/ssqz/detailssqz.vue")
},
{
path: "/addssqt",
name: "addssqt",
meta: {
title: '损失其他物品',
isAdd: true
},
component: () => import("@/views/qgncj/sswp/ssqt/addssqt.vue")
},
{
path: "/detailssqt",
name: "detailssqt",
meta: {
title: '损失其他物品详情'
},
component: () => import("@/views/qgncj/sswp/ssqt/detailssqt.vue")
},
{
path: "/addssww",
name: "addssww",
meta: {
title: '损失文物',
isAdd: true
},
component: () => import("@/views/qgncj/sswp/ssww/addssww.vue")
},
{
path: "/detailssww",
name: "detailssww",
meta: {
title: '损失文物详情'
},
component: () => import("@/views/qgncj/sswp/ssww/detailssww.vue")
},
{
path: "/addsssfzj",
name: "addsssfzj",
meta: {
title: '损失身份证件',
isAdd: true
},
component: () => import("@/views/qgncj/sswp/sssfzj/addsssfzj.vue")
},
{
path: "/detailsssfzj",
name: "detailsssfzj",
meta: {
title: '损失身份证件详情'
},
component: () => import("@/views/qgncj/sswp/sssfzj/detailsssfzj.vue")
},
//案件修改页面
{
path: "/addajjbxx",
......
......@@ -8140,7 +8140,7 @@ const sszj_jbxx = [
name: "常用证件:",
id: "sszjCyzjCyzjdm",
type: "codeTree",
codeTree: "",
codeTree: "CODE_ZJ",
codeOptions: [],
value: "",
placeholder: "请输入",
......@@ -8211,7 +8211,7 @@ const sszj_jbxx = [
name: "证件是否为真:",
id: "sszjWpzwPdbz",
type: "codeTree",
codeTree: "CODE_ZJ",
codeTree: "CODE_IF",
codeOptions: [],
value: "",
placeholder: "请输入",
......
......@@ -17,7 +17,7 @@
</template>
<script>
import { deletessydtxsb } from "@/api/qgccj/ssydtxsb.js";
import { deletessfjdc } from "@/api/qgccj/ssfjdc.js";
import rightContent from "@c/ptCxForm_components.vue";
export default {
name: "bshgj",
......@@ -73,7 +73,7 @@ export default {
type: "warning",
})
.then(() => {
deletessydtxsb({
deletessfjdc({
xxzjbh: obj.row.xxzjbh,
}).then((res) => {
if (res.success && res.code == 200) {
......
......@@ -38,11 +38,11 @@ export default {
{
label: "物品类型",
prop: "ssklSawpSawpdm",
toInfor: true,
},
{
label: "卡号",
prop: "ssklKhWpbzh",
toInfor: true,
},
{
label: "所有人名称",
......
......@@ -12,7 +12,7 @@
<script>
import formCompontent from "@c/form.vue";
import { queryByXxzjbh, insertsskl, updatesskl } from "@/api/qgccj/ssqtwp.js";
import { queryByXxzjbh, insertssqtwp, updatessqtwp } from "@/api/qgccj/ssqtwp.js";
import axios from "@/utils/http.js";
import { ssqtwp_jbxx, ssqtwp_wpxx, ssqtwp_syrxx } from "@/utils/params.js";
export default {
......@@ -88,7 +88,7 @@ export default {
window.opener.location.reload();
},
addSubmit(params, loading) {
insertsskl(params).then((res) => {
insertssqtwp(params).then((res) => {
if (res.success && res.code == 200) {
this.$alert("保存成功!", "提示", {
confirmButtonText: "确定",
......@@ -106,7 +106,7 @@ export default {
},
editSubmit(params, loading) {
params.append("xxzjbh", this.xxzjbh);
updatesskl(params).then((res) => {
updatessqtwp(params).then((res) => {
if (res.success && res.code == 200) {
this.$alert("保存成功!", "提示", {
confirmButtonText: "确定",
......
......@@ -57,11 +57,11 @@ export default {
prop: "sswpWpjzrmby",
},
],
cxUrl: "/ssqt/queryAll",
cxUrl: "/ssqtwp/queryAll",
query: {},
};
},
created() {
// debugger;
this.query = this.$route.query;
},
methods: {
......
......@@ -20,7 +20,7 @@
<script>
import rightContent from "@c/PersonInfor.vue";
import { queryByXxzjbh } from "@/api/qgccj/ssqtwp.js";
import { queryByXxzjbh } from "@/api/qgccj/sszj.js";
import axios from "@/utils/http.js";
export default {
name: "queryAj",
......
......@@ -17,7 +17,7 @@
</template>
<script>
import { deletessydtxsb } from "@/api/qgccj/ssydtxsb.js";
import { deletesszj } from "@/api/qgccj/sszj.js";
import rightContent from "@c/ptCxForm_components.vue";
export default {
name: "bshgj",
......@@ -58,10 +58,11 @@ export default {
},
],
cxUrl: "/sszj/queryAll",
query: {},
};
},
created() {
// debugger;
this.query = this.$route.query;
},
methods: {
add() {
......@@ -77,7 +78,7 @@ export default {
type: "warning",
})
.then(() => {
deletessydtxsb({
deletesszj({
xxzjbh: obj.row.xxzjbh,
}).then((res) => {
if (res.success && res.code == 200) {
......@@ -97,7 +98,7 @@ export default {
});
},
toInfor(obj) {
this.$router.push({
this.$router.pushToTab({
path: "/detailsssfzj",
query: {
xxzjbh: obj.xxzjbh,
......@@ -105,7 +106,7 @@ export default {
});
},
edit(obj) {
this.$router.push({
this.$router.pushToTab({
path: "/addsssfzj",
query: {
xxzjbh: obj.row.xxzjbh,
......
......@@ -20,7 +20,7 @@
<script>
import rightContent from "@c/PersonInfor.vue";
import { queryByXxzjbh } from "@/api/qgccj/ssqtwp.js";
import { queryByXxzjbh } from "@/api/qgccj/ssww.js";
import axios from "@/utils/http.js";
export default {
name: "queryAj",
......
......@@ -54,11 +54,11 @@ export default {
},
],
query: {},
cxUrl: "/ssww/queryAll",
};
},
created() {
// debugger;
this.query = this.$route.query;
},
methods: {
......@@ -107,7 +107,7 @@ export default {
path: "/addssww",
query: {
xxzjbh: obj.row.xxzjbh,
glxxXxzjbh: obj.row.glxxXxzjbh,
// glxxXxzjbh: obj.row.glxxXxzjbh,
},
});
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment