Commit c8c63339 by liupeng

修改了一些问题

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