|
|
|
@ -65,7 +65,7 @@ |
|
|
|
|
<div class="name">{{ o.ndbs }}</div> |
|
|
|
|
<div class="newp">{{ o.ndbsxm }}</div> |
|
|
|
|
</div> |
|
|
|
|
<a-empty v-if="!data.jxzndbsxmList.length" style="margin-top: 50px;"/> |
|
|
|
|
<a-empty v-if="!data.jxzndbsxmList.length" style="margin-top: 50px;" /> |
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
@ -94,7 +94,7 @@ |
|
|
|
|
<div class="name">{{ o.ndbs }}</div> |
|
|
|
|
<div class="newp">{{ o.ndbsxm }}</div> |
|
|
|
|
</div> |
|
|
|
|
<a-empty v-if="!data.lsndbsxmList.length" style="margin-top: 50px;"/> |
|
|
|
|
<a-empty v-if="!data.lsndbsxmList.length" style="margin-top: 50px;" /> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</a-col> |
|
|
|
@ -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<ob>({ |
|
|
|
|
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) |
|
|
|
|