|
@@ -11,174 +11,21 @@
|
|
|
<a-button key="submit"
|
|
<a-button key="submit"
|
|
|
type="primary"
|
|
type="primary"
|
|
|
:loading="loading.loading"
|
|
:loading="loading.loading"
|
|
|
- @click="submit">关闭</a-button>
|
|
|
|
|
|
|
+ @click="cancel">关闭</a-button>
|
|
|
</template>
|
|
</template>
|
|
|
- <a-form class="inlineForm"
|
|
|
|
|
- :form="form"
|
|
|
|
|
- @submit="handleSearch">
|
|
|
|
|
- <a-row :gutter="24">
|
|
|
|
|
- <a-col :span="12">
|
|
|
|
|
- <a-form-item label="客户类型">
|
|
|
|
|
- <span class="white">{{ selectedRow.userinfotype === '2' ? '企业' : '个人' }}</span>
|
|
|
|
|
- </a-form-item>
|
|
|
|
|
- </a-col>
|
|
|
|
|
- <a-col :span="12">
|
|
|
|
|
- <a-form-item label="企业名称"
|
|
|
|
|
- v-if="selectedRow.userinfotype === '2'">
|
|
|
|
|
- <span class="white">{{ formatValue(selectedRow.customername)}}</span>
|
|
|
|
|
- </a-form-item>
|
|
|
|
|
- <a-form-item label="姓名"
|
|
|
|
|
- v-if="selectedRow.userinfotype !== '2'">
|
|
|
|
|
- <span class="white">{{ formatValue(selectedRow.customername)}}</span>
|
|
|
|
|
- </a-form-item>
|
|
|
|
|
- </a-col>
|
|
|
|
|
- </a-row>
|
|
|
|
|
- <template v-if="selectedRow.userinfotype === '2'">
|
|
|
|
|
- <a-row :gutter="24">
|
|
|
|
|
- <a-col :span="12">
|
|
|
|
|
- <a-form-item label="企业简称">
|
|
|
|
|
- <span class="white">{{ formatValue(selectedRow.nickname) }}</span>
|
|
|
|
|
- </a-form-item>
|
|
|
|
|
- </a-col>
|
|
|
|
|
- <a-col :span="12">
|
|
|
|
|
- <a-form-item label="证件类型">
|
|
|
|
|
- <span class="white">{{ getCardTypeEnumItemName(selectedRow.cardtype) }}</span>
|
|
|
|
|
- </a-form-item>
|
|
|
|
|
- </a-col>
|
|
|
|
|
- </a-row>
|
|
|
|
|
- <a-row :gutter="24">
|
|
|
|
|
- <a-col :span="12">
|
|
|
|
|
- <a-form-item label="法定代表人">
|
|
|
|
|
- <span class="white">{{ formatValue(selectedRow.legalpersonname) }}</span>
|
|
|
|
|
- </a-form-item>
|
|
|
|
|
- </a-col>
|
|
|
|
|
- <a-col :span="12">
|
|
|
|
|
- <a-form-item label="证件号码">
|
|
|
|
|
- <span class="white">{{ formatValue(selectedRow.cardnum) }}</span>
|
|
|
|
|
- </a-form-item>
|
|
|
|
|
- </a-col>
|
|
|
|
|
- </a-row>
|
|
|
|
|
- <a-row :gutter="24">
|
|
|
|
|
- <a-col :span="12">
|
|
|
|
|
- <a-form-item label="纳税人识别号">
|
|
|
|
|
- <span class="white">{{ formatValue(selectedRow.taxpayernum) }}</span>
|
|
|
|
|
- </a-form-item>
|
|
|
|
|
- </a-col>
|
|
|
|
|
- <a-col :span="12">
|
|
|
|
|
- <a-form-item label="营业执照">
|
|
|
|
|
- <div class="upload">
|
|
|
|
|
- <div class="look">查看附件</div>
|
|
|
|
|
- </div>
|
|
|
|
|
- </a-form-item>
|
|
|
|
|
- </a-col>
|
|
|
|
|
- </a-row>
|
|
|
|
|
- <a-row :gutter="24">
|
|
|
|
|
- <a-col :span="12">
|
|
|
|
|
- <a-form-item label="联系人">
|
|
|
|
|
- <span class="white">{{ formatValue(selectedRow.contactname) }}</span>
|
|
|
|
|
- </a-form-item>
|
|
|
|
|
- </a-col>
|
|
|
|
|
- <a-col :span="12">
|
|
|
|
|
- <a-form-item label="联系人手机号">
|
|
|
|
|
- <span class="white">{{ formatValue(selectedRow.mobile) }}</span>
|
|
|
|
|
- </a-form-item>
|
|
|
|
|
- </a-col>
|
|
|
|
|
- </a-row>
|
|
|
|
|
- <a-row :gutter="24">
|
|
|
|
|
- <a-col :span="12">
|
|
|
|
|
- <a-form-item label="联系电话">
|
|
|
|
|
- <span class="white">{{ formatValue(selectedRow.telphone) }}</span>
|
|
|
|
|
- </a-form-item>
|
|
|
|
|
- </a-col>
|
|
|
|
|
- <a-col :span="12">
|
|
|
|
|
- <a-form-item label="状态">
|
|
|
|
|
- <span class="green">{{ formatValue(getStatusName(selectedRow.status)) }}</span>
|
|
|
|
|
- </a-form-item>
|
|
|
|
|
- </a-col>
|
|
|
|
|
- </a-row>
|
|
|
|
|
- <a-row :gutter="24">
|
|
|
|
|
- <a-col :span="24">
|
|
|
|
|
- <a-form-item label="通讯地址">
|
|
|
|
|
- <span class="white">{{ formatValue(selectedRow.address) }}</span>
|
|
|
|
|
- </a-form-item>
|
|
|
|
|
- </a-col>
|
|
|
|
|
- </a-row>
|
|
|
|
|
- <a-row :gutter="24">
|
|
|
|
|
- <a-col :span="24">
|
|
|
|
|
- <a-form-item label="备注">
|
|
|
|
|
- <span class="white">{{ formatValue(selectedRow.remark) }}</span>
|
|
|
|
|
- </a-form-item>
|
|
|
|
|
- </a-col>
|
|
|
|
|
- </a-row>
|
|
|
|
|
- </template>
|
|
|
|
|
- <template v-else>
|
|
|
|
|
- <a-row :gutter="24">
|
|
|
|
|
- <a-col :span="12">
|
|
|
|
|
- <a-form-item label="身份证号码">
|
|
|
|
|
- <span class="white">{{ formatValue(selectedRow.cardnum) }}</span>
|
|
|
|
|
- </a-form-item>
|
|
|
|
|
- </a-col>
|
|
|
|
|
- <a-col :span="12">
|
|
|
|
|
- <a-form-item label="手机号码">
|
|
|
|
|
- <span class="white">{{ formatValue(selectedRow.mobile) }}</span>
|
|
|
|
|
- </a-form-item>
|
|
|
|
|
- </a-col>
|
|
|
|
|
- </a-row>
|
|
|
|
|
- <a-row :gutter="24">
|
|
|
|
|
- <a-col :span="12">
|
|
|
|
|
- <a-form-item label="身份证正面照">
|
|
|
|
|
- <span class="white">{{ formatValue(selectedRow.cardfrontphotourl) }}</span>
|
|
|
|
|
- </a-form-item>
|
|
|
|
|
- </a-col>
|
|
|
|
|
- <a-col :span="12">
|
|
|
|
|
- <a-form-item label="邮箱">
|
|
|
|
|
- <span class="white">{{ formatValue(selectedRow.email) }}</span>
|
|
|
|
|
- </a-form-item>
|
|
|
|
|
- </a-col>
|
|
|
|
|
- </a-row>
|
|
|
|
|
- <a-row :gutter="24">
|
|
|
|
|
- <a-col :span="12">
|
|
|
|
|
- <a-form-item label="身份证反面照">
|
|
|
|
|
- <span class="white">{{ formatValue(selectedRow.cardbackphotourl) }}</span>
|
|
|
|
|
- </a-form-item>
|
|
|
|
|
- </a-col>
|
|
|
|
|
- <a-col :span="12">
|
|
|
|
|
- <a-form-item label="联系电话">
|
|
|
|
|
- <span class="white">{{ formatValue(selectedRow.telphone) }}</span>
|
|
|
|
|
- </a-form-item>
|
|
|
|
|
- </a-col>
|
|
|
|
|
- </a-row>
|
|
|
|
|
- <a-row :gutter="24">
|
|
|
|
|
- <a-col :span="24">
|
|
|
|
|
- <a-form-item label="通讯地址">
|
|
|
|
|
- <span class="white">{{ formatValue(selectedRow.address) }}</span>
|
|
|
|
|
- </a-form-item>
|
|
|
|
|
- </a-col>
|
|
|
|
|
- </a-row>
|
|
|
|
|
- <a-row :gutter="24">
|
|
|
|
|
- <a-col :span="24">
|
|
|
|
|
- <a-form-item label="备注">
|
|
|
|
|
- <span class="white">{{ formatValue(selectedRow.remark) }}</span>
|
|
|
|
|
- </a-form-item>
|
|
|
|
|
- </a-col>
|
|
|
|
|
- </a-row>
|
|
|
|
|
- </template>
|
|
|
|
|
- </a-form>
|
|
|
|
|
|
|
+ <Detail :selectedRow="selectedRow" />
|
|
|
</a-modal>
|
|
</a-modal>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts">
|
|
<script lang="ts">
|
|
|
-import { defineComponent, PropType, reactive, ref, watchEffect } from 'vue';
|
|
|
|
|
|
|
+import { defineComponent, PropType, ref } from 'vue';
|
|
|
import { closeModal } from '@/common/setup/modal/index';
|
|
import { closeModal } from '@/common/setup/modal/index';
|
|
|
import { QueryCustomInfoType } from '@/services/go/ermcp/customInfo/interface';
|
|
import { QueryCustomInfoType } from '@/services/go/ermcp/customInfo/interface';
|
|
|
-import { mergeObj } from '@/utils/objHandle';
|
|
|
|
|
-import { getStatusName } from '@/common/constants/enumsName';
|
|
|
|
|
-import { formatValue, formatTime } from '@/common/methods';
|
|
|
|
|
-import { getCardTypeEnumItemName } from '@/common/constants/enumsName';
|
|
|
|
|
|
|
+import Detail from '../common-detail/index.vue';
|
|
|
|
|
|
|
|
export default defineComponent({
|
|
export default defineComponent({
|
|
|
name: 'custom-detail',
|
|
name: 'custom-detail',
|
|
|
- components: {},
|
|
|
|
|
|
|
+ components: { Detail },
|
|
|
props: {
|
|
props: {
|
|
|
selectedRow: {
|
|
selectedRow: {
|
|
|
type: Object as PropType<QueryCustomInfoType>,
|
|
type: Object as PropType<QueryCustomInfoType>,
|
|
@@ -189,20 +36,11 @@ export default defineComponent({
|
|
|
const { visible, cancel } = closeModal('detail');
|
|
const { visible, cancel } = closeModal('detail');
|
|
|
const loading = ref<boolean>(false);
|
|
const loading = ref<boolean>(false);
|
|
|
const maskClosableFlag = ref<boolean>(false);
|
|
const maskClosableFlag = ref<boolean>(false);
|
|
|
- console.log(props)
|
|
|
|
|
- function submit() {
|
|
|
|
|
- console.log(props)
|
|
|
|
|
- cancel()
|
|
|
|
|
- }
|
|
|
|
|
return {
|
|
return {
|
|
|
visible,
|
|
visible,
|
|
|
cancel,
|
|
cancel,
|
|
|
- submit,
|
|
|
|
|
loading,
|
|
loading,
|
|
|
- formatValue,
|
|
|
|
|
- getStatusName,
|
|
|
|
|
maskClosableFlag,
|
|
maskClosableFlag,
|
|
|
- getCardTypeEnumItemName,
|
|
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
});
|
|
});
|