Commit fba6e01a by lp784568205

1

parent afd7d711
......@@ -1484,11 +1484,20 @@ export default {
}
if (isJPG) {
this.$set(self.imageUrl, item.id, file.raw);
this.$set(
self.formLabelAlign,
item.id,
URL.createObjectURL(file.raw)
);
if(this.pageBs == 'addZdjyhd') {
// self.formLabelAlign[item.id].push(URL.createObjectURL(file.raw))
this.$set(
self.formLabelAlign,
item.id,
URL.createObjectURL(file.raw)
);
}else {
this.$set(
self.formLabelAlign,
item.id,
URL.createObjectURL(file.raw)
);
}
// debugger;
} else {
self.$message.error("请上传正确的图片");
......
......@@ -32,15 +32,16 @@ export default {
page: 1,
startTime: "",
endTime: "",
ajmc: "",
asjbh: "",
ssjzrmby: "",
ladwGajgmc: "",
larq: "",
asjfssjAsjfskssj: "",
zcjddm: "",
ajlbdm: "",
asjfsddXzqhdm: "",
ajmc: "1",
asjbh: "1",
ssjzrmby: "1",
ladwGajgmc: "1",
larq: "1",
asjfssjAsjfskssj: "1",
zcjddm: "1",
ajlbdm: "1",
asjfsddXzqhdm: "1",
zdytitle: ['01','02','03','04','05','06','07','08','09'],
},
cxQueryField: [
//查询条件
......@@ -53,82 +54,22 @@ export default {
col: "3",
},
{
name: "案件名称",
id: "ajmc",
type: "text",
name: "表头",
id: "zdytitle",
type: "checkbox",
value: "",
placeholder: "",
col: "3",
},
{
name: "案事件编号",
id: "asjbh",
type: "text",
value: "",
placeholder: "",
col: "3",
},
{
name: "损失价值人民币元",
id: "ssjzrmby",
type: "text",
value: "",
placeholder: "",
col: "3",
},
{
name: "立案单位公安机关",
id: "ladwGajgmc",
type: "codeTreeDialog",
codeTree: "QGCODE_UNIT",
codeOptions: [],
props: [], //字典弹框需要的字段
value: "",
col: "3",
},
{
name: "立案日期",
id: "larq",
type: "datetime",
value: "",
col: "3",
},
{
name: "案事件发生时间",
id: "asjfssjAsjfskssj",
type: "datetime",
value: "",
col: "3",
},
{
name: "侦查阶段",
id: "zcjddm",
type: "codeTreeDialog",
codeTree: "",
props: [], //字典弹框需要的字段
value: "",
col: "3",
codeOptions: [],
},
{
name: "案件类别",
id: "ajlbdm",
type: "codeTreeDialog",
codeTree: "CODE_AJLB",
props: [], //字典弹框需要的字段
value: "",
col: "3",
codeOptions: [],
},
{
name: "案件发地行政区划",
id: "asjfsddXzqhdm",
type: "codeTreeDialog",
codeTree: "CODE_XZQH",
props: [], //字典弹框需要的字段
value: "",
col: "3",
codeOptions: [],
checkList: [
{ label: '案件名称',val: '01'},
{ label: '案事件编号',val: '02'},
{ label: '损失价值人民币元',val: '03'},
{ label: '立案单位公安机关机构',val: '04'},
{ label: '立案日期',val: '05'},
{ label: '案事件发生时间',val: '06'},
{ label: '侦查阶段代码',val: '07'},
{ label: '案件类别代码',val: '08'},
{ label: '案事件发生地行政区划',val: '09'},
],
col: "9",
},
],
cxDefaultFormThead: [
......@@ -243,7 +184,7 @@ export default {
this.$store.commit("user/SET_Header", this.header);
},
mounted() {
this.hqzd();
// this.hqzd();
},
methods: {
// hqzd() {
......
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