diff --git a/jeecgboot-vue3-master/src/views/depart/workbench/components/chExpert/index.vue b/jeecgboot-vue3-master/src/views/depart/workbench/components/chExpert/index.vue index b5ae7182..3a9c9610 100644 --- a/jeecgboot-vue3-master/src/views/depart/workbench/components/chExpert/index.vue +++ b/jeecgboot-vue3-master/src/views/depart/workbench/components/chExpert/index.vue @@ -65,7 +65,7 @@
{{ o.ndbs }}
{{ o.ndbsxm }}
- + @@ -94,7 +94,7 @@
{{ o.ndbs }}
{{ o.ndbsxm }}
- + @@ -108,31 +108,38 @@ import { getZjsybsjs } from '/@/api/demo/depart'; import { Empty as AEmpty } from 'ant-design-vue'; import { ref } from 'vue' -const data = ref({ - jxzndbsxmNumber: '', - jxzndbsxmList: [ - { - xh: '', - ndbs: '', - ndbsxm: '' - } - ], - lsndbsxmNumber: '', - lsndbsxmList: [ - { - xh: '', - ndbs: '', - ndbsxm: '' - } - ], - gjj: '', - shengj: '', - shij: '', - xj: '', - gjjls: '', - shengjls: '', - shijls: '', - xjls: '' +type o = { + xh: string, + ndbs: string, + ndbsxm: string +} +type ob = { + jxzndbsxmNumber: number; + jxzndbsxmList: o[] | []; + lsndbsxmNumber: number; + lsndbsxmList: o[] | []; + gjj: number; + shengj: number; + shij: number; + xj: number; + gjjls: number; + shengjls: number; + shijls: number; + xjls: number; +} +const data = ref({ + jxzndbsxmNumber: 0, + jxzndbsxmList: [], + lsndbsxmNumber: 0, + lsndbsxmList: [], + gjj: 0, + shengj: 0, + shij: 0, + xj: 0, + gjjls: 0, + shengjls: 0, + shijls: 0, + xjls: 0 }) getZjsybsjs().then(res => { Object.assign(data.value, res)