专家首页类型补充

main
significative 4 months ago
parent c0d0248d6e
commit 6d7cc002dd
  1. 61
      jeecgboot-vue3-master/src/views/depart/workbench/components/chExpert/index.vue

@ -65,7 +65,7 @@
<div class="name">{{ o.ndbs }}</div> <div class="name">{{ o.ndbs }}</div>
<div class="newp">{{ o.ndbsxm }}</div> <div class="newp">{{ o.ndbsxm }}</div>
</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>
</div> </div>
@ -94,7 +94,7 @@
<div class="name">{{ o.ndbs }}</div> <div class="name">{{ o.ndbs }}</div>
<div class="newp">{{ o.ndbsxm }}</div> <div class="newp">{{ o.ndbsxm }}</div>
</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>
</div> </div>
</a-col> </a-col>
@ -108,31 +108,38 @@ import { getZjsybsjs } from '/@/api/demo/depart';
import { Empty as AEmpty } from 'ant-design-vue'; import { Empty as AEmpty } from 'ant-design-vue';
import { ref } from 'vue' import { ref } from 'vue'
const data = ref({ type o = {
jxzndbsxmNumber: '', xh: string,
jxzndbsxmList: [ ndbs: string,
{ ndbsxm: string
xh: '', }
ndbs: '', type ob = {
ndbsxm: '' jxzndbsxmNumber: number;
} jxzndbsxmList: o[] | [];
], lsndbsxmNumber: number;
lsndbsxmNumber: '', lsndbsxmList: o[] | [];
lsndbsxmList: [ gjj: number;
{ shengj: number;
xh: '', shij: number;
ndbs: '', xj: number;
ndbsxm: '' gjjls: number;
} shengjls: number;
], shijls: number;
gjj: '', xjls: number;
shengj: '', }
shij: '', const data = ref<ob>({
xj: '', jxzndbsxmNumber: 0,
gjjls: '', jxzndbsxmList: [],
shengjls: '', lsndbsxmNumber: 0,
shijls: '', lsndbsxmList: [],
xjls: '' gjj: 0,
shengj: 0,
shij: 0,
xj: 0,
gjjls: 0,
shengjls: 0,
shijls: 0,
xjls: 0
}) })
getZjsybsjs().then(res => { getZjsybsjs().then(res => {
Object.assign(data.value, res) Object.assign(data.value, res)

Loading…
Cancel
Save