Commit 13e07c8f by zhangzhijie

内蒙的“涉案价值”保存跟案件标注分开

parent a9efa726
......@@ -104,7 +104,7 @@
<el-input v-model="ssjzrmbyEditNum" v-if="bzzt==2 &&ssjzrmbyShow"
style="width: 40%"></el-input>
<el-button type="text" v-if="ssjzrmbyShow" style="margin-left: 5%" icon="el-icon-check"
@click="ssjzrmbyEditCommit">
@click="ssjzrmbyEditCommit">
</el-button>
<el-button type="text" v-if="bzzt==2 &&ssjzrmbyShow" icon="el-icon-close"
@click="ssjzrmbyShow=false">取消
......@@ -759,7 +759,7 @@ import {
updateBzStatus,
} from "@/api/ajbzDetail.js";
import axios from "@/utils/http.js";
import {asjbzSp, getEducationAndOccupation} from "@/views/neimengBZ/ajbzdetailNM.js";
import {asjbzSp, getEducationAndOccupation, saveAsjSsjz} from "@/views/neimengBZ/ajbzdetailNM.js";
export default {
name: "ajbzDetailNM",
......@@ -1052,8 +1052,13 @@ export default {
if (!numType.test(this.ssjzrmbyEditNum)) {
this.$message.warning("请输入有效的涉案价值")
} else {
this.ssjzrmby = this.ssjzrmbyEditNum
this.ssjzrmbyShow = false
saveAsjSsjz({asjbh: this.asjbh, ssjzrmby: this.ssjzrmbyEditNum}).then((res) => {
if (res.code == 200) {
this.$message.success("涉案价值修改成功")
this.ssjzrmby = this.ssjzrmbyEditNum
}
this.ssjzrmbyShow = false
})
}
},
getEducationAndOccupation() {
......@@ -1205,7 +1210,6 @@ export default {
bzzt: "1",
bhrXldm: this.educationCode[this.educationCode.length - 1],
bhrZydm: this.occupationCode[this.occupationCode.length - 1],
ssjz : this.ssjzrmby
}).then((res) => {
if (res.code == 200) {
self.$message.success("标注成功");
......
......@@ -52,6 +52,8 @@ const asjbzSp = params =>
post(`/api/newAsjbz/asjbzSp`, params)
const getEducationAndOccupation = params =>
post(`/api/newAsjbz/getEducationAndOccupation`, params)
const saveAsjSsjz = params =>
post(`/api/newAsjbz/saveAsjSsjz`, params)
export {
getAsjxxDetail,
......@@ -70,5 +72,6 @@ export {
updateBzStatus,
getAsjSpData,
asjbzSp,
getEducationAndOccupation
getEducationAndOccupation,
saveAsjSsjz
}
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