提交 796b97a0 authored 作者: gjx's avatar gjx

修改地块bug

上级 25080f0b
......@@ -142,7 +142,7 @@ const formSchemas: FormSchema[] = [
upLoad({
wrdkid: props.data.wrdkid,
id: props.data.id,
dkpic: arry[arry.length - 1]
xxdcjcsjbg: arry[arry.length - 1]
})
},
......
......@@ -235,6 +235,8 @@ watch(
obj.cbGz = obj.cbGzz ? true : false
obj.cbSxz = obj.cbSxz ? true : false
obj.wcc = obj.wcc ? true : false
obj.cbGzz = obj.cbGzz ? true : false
if (obj.wrwSxz) {
obj.wrwSxz = obj.wrwSxz.split(',')
wrwSxz.value = obj.wrwSxz
......@@ -260,6 +262,8 @@ async function getFormValueTr() {
fieldsValue.cbGz = fieldsValue.cbGzz ? 1 : 0
fieldsValue.cbSxz = fieldsValue.cbSxz ? 1 : 0
fieldsValue.wcc = fieldsValue.wcc ? 1 : 0
fieldsValue.cbGzz = fieldsValue.cbGzz ? 1 : 0
return fieldsValue
}
......
......@@ -54,6 +54,7 @@ const formSchemas: FormSchema[] = [
{
label: '网址',
field: 'gswz',
component: 'Input',
show: false
},
......@@ -65,7 +66,7 @@ const formSchemas: FormSchema[] = [
},
{
label: `${props.labelFirst}调查开始日期`,
field: 'cbdcwcsj',
field: 'fbsj',
component: 'DatePicker',
componentProps: {
//日期格式化,页面上显示的值
......@@ -78,7 +79,7 @@ const formSchemas: FormSchema[] = [
},
{
label: `${props.labelFirst}调查完成日期`,
field: 'cbdcfbsj',
field: 'wcsj',
component: 'DatePicker',
componentProps: {
//日期格式化,页面上显示的值
......@@ -93,6 +94,7 @@ const formSchemas: FormSchema[] = [
label: '公示',
field: 'projectType',
component: 'JDictSelectTag',
defaultValue: '1',
slot: 'gstype',
colProps: { span: 24 },
},
......@@ -100,10 +102,18 @@ const formSchemas: FormSchema[] = [
label: '是否为超标地块',
field: 'pollueted',
defaultValue: '0',
component: 'JDictSelectTag',
component: 'RadioGroup',
componentProps: {
dictCode: 'yn',
type: 'radio'
options: [
{
label: '否',
value: '0',
},
{
label: '是',
value: '1',
},
],
},
},
{
......
......@@ -135,8 +135,14 @@ export default defineComponent({
console.log(v, 'v')
menus.setMenus(v)
if (v?.children) {
console.log(v?.children, '22')
if (v?.children[0]?.children) {
go(v?.children[0].children[0]?.path)
if (v?.children[0]?.children[0].hideTab) {
go(v?.children[0].path)
} else {
go(v?.children[0].children[0]?.path)
}
} else {
go(v?.children[0]?.path)
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论