专家首页类型补充

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

@ -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)

Loading…
Cancel
Save