Merge branch 'master' of http://47.115.223.229:8888/yangjun/hldy_vue
This commit is contained in:
commit
062e223529
|
@ -14,49 +14,49 @@ export const columns: BasicColumn[] = [
|
||||||
title: '机构负责人',
|
title: '机构负责人',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'orgLeader',
|
dataIndex: 'orgLeader',
|
||||||
width: 120,
|
width: '8%'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '机构负责人电话',
|
title: '负责人电话',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'orgLeaderPhone',
|
dataIndex: 'orgLeaderPhone',
|
||||||
width: 120,
|
width: '8%'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '申请日期',
|
title: '申请日期',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'createTime',
|
dataIndex: 'createTime',
|
||||||
width: 120,
|
width: '8%'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '房屋性质',
|
title: '房屋性质',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'orgPropertyType',
|
dataIndex: 'orgPropertyType',
|
||||||
width: 120,
|
width: '8%'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '面积(㎡)',
|
title: '面积(㎡)',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'orgBuildingArea',
|
dataIndex: 'orgBuildingArea',
|
||||||
width: 120,
|
width: '8%'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '审核意见',
|
title: '审核意见',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'status_dictText',
|
dataIndex: 'status_dictText',
|
||||||
width: 120,
|
width: '8%'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '当前阶段',
|
title: '当前阶段',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'buildStatus_dictText',
|
dataIndex: 'buildStatus_dictText',
|
||||||
width: 120,
|
width: '8%'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '工单状态',
|
title: '工单状态',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'workOrderStatus_dictText',
|
dataIndex: 'workOrderStatus_dictText',
|
||||||
width: 120,
|
width: '8%'
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -60,6 +60,16 @@
|
||||||
</BasicTable>
|
</BasicTable>
|
||||||
<!-- 表单区域 -->
|
<!-- 表单区域 -->
|
||||||
<OrgApplyInfoModal ref="registerModal" @success="handleSuccess"></OrgApplyInfoModal>
|
<OrgApplyInfoModal ref="registerModal" @success="handleSuccess"></OrgApplyInfoModal>
|
||||||
|
|
||||||
|
<a-modal v-model:visible="zhcshVisible" title="账号初始化" >
|
||||||
|
<template #footer> <!-- 自定义底部内容 -->
|
||||||
|
<a-button @click="handleCshCancel">关闭</a-button>
|
||||||
|
</template>
|
||||||
|
<div style="height: 100px;text-align: center;">
|
||||||
|
<p style="margin-top:50px;">账号初始化成功!</p>
|
||||||
|
<p>{{zhcshMessage}}</p>
|
||||||
|
</div>
|
||||||
|
</a-modal>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -88,6 +98,8 @@ const queryParam = reactive<any>({});
|
||||||
const toggleSearchStatus = ref<boolean>(false);
|
const toggleSearchStatus = ref<boolean>(false);
|
||||||
const registerModal = ref();
|
const registerModal = ref();
|
||||||
const userStore = useUserStore();
|
const userStore = useUserStore();
|
||||||
|
const zhcshVisible = ref<boolean>(false);
|
||||||
|
const zhcshMessage = ref<string>('');
|
||||||
//注册table数据
|
//注册table数据
|
||||||
const { prefixCls, tableContext, onExportXls, onImportXls } = useListPage({
|
const { prefixCls, tableContext, onExportXls, onImportXls } = useListPage({
|
||||||
tableProps: {
|
tableProps: {
|
||||||
|
@ -207,11 +219,19 @@ function handleInitAccount(record) {
|
||||||
var userInfo = {userName: record.tel,realname: record.name,orgCode:record.id}
|
var userInfo = {userName: record.tel,realname: record.name,orgCode:record.id}
|
||||||
console.log("🚀 ~ handleInitAccount ~ userInfo:", userInfo)
|
console.log("🚀 ~ handleInitAccount ~ userInfo:", userInfo)
|
||||||
defHttp.post({ url: '/sys/user/initialization', params: userInfo }).then(res => {
|
defHttp.post({ url: '/sys/user/initialization', params: userInfo }).then(res => {
|
||||||
|
console.log("🚀 ~ handleInitAccount ~ res:", res)
|
||||||
|
zhcshVisible.value = true;
|
||||||
|
zhcshMessage.value = res.message;
|
||||||
handleSuccess();
|
handleSuccess();
|
||||||
})
|
})
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function handleCshCancel(){
|
||||||
|
zhcshVisible.value = false;
|
||||||
|
zhcshMessage.value = '';
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 信息推送
|
* 信息推送
|
||||||
* @param record
|
* @param record
|
||||||
|
@ -344,4 +364,8 @@ async function setRangeQuery() {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.jee-hidden-zhcsh {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -146,8 +146,8 @@ const formData = reactive<Record<string, any>>({
|
||||||
});
|
});
|
||||||
const tempNullVal = ref('')
|
const tempNullVal = ref('')
|
||||||
const { createMessage } = useMessage();
|
const { createMessage } = useMessage();
|
||||||
const labelCol = ref<any>({ xs: { span: 24 }, sm: { span: 5 } });
|
const labelCol = ref<any>({ xs: { span: 24 }, sm: { span: 8 } });
|
||||||
const wrapperCol = ref<any>({ xs: { span: 24 }, sm: { span: 17 } });
|
const wrapperCol = ref<any>({ xs: { span: 24 }, sm: { span: 14 } });
|
||||||
const confirmLoading = ref<boolean>(false);
|
const confirmLoading = ref<boolean>(false);
|
||||||
//表单验证
|
//表单验证
|
||||||
const validatorRules = reactive({
|
const validatorRules = reactive({
|
||||||
|
|
|
@ -14,31 +14,37 @@ export const columns: BasicColumn[] = [
|
||||||
title: '机构负责人',
|
title: '机构负责人',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'orgLeader',
|
dataIndex: 'orgLeader',
|
||||||
|
width: '12%'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '机构负责人电话',
|
title: '负责人电话',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'orgLeaderPhone',
|
dataIndex: 'orgLeaderPhone',
|
||||||
|
width: '12%'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '申请日期',
|
title: '申请日期',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'createTime',
|
dataIndex: 'createTime',
|
||||||
|
width: '12%'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '房屋性质',
|
title: '房屋性质',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'orgPropertyType',
|
dataIndex: 'orgPropertyType',
|
||||||
|
width: '12%'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '面积',
|
title: '面积(㎡)',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'orgBuildingArea',
|
dataIndex: 'orgBuildingArea',
|
||||||
|
width: '12%'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '审核意见',
|
title: '审核意见',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'status_dictText',
|
dataIndex: 'status_dictText',
|
||||||
|
width: '12%'
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue