b02df939 by lxs

Merge branch 'develop' of http://117.78.60.236:8000/csbr-daop/fe-data-asset-management into develop

2 parents c22c0771 1b9d92d9
......@@ -44,7 +44,7 @@ const tableFields = ref([
{ label: "资产名称", field: "daName", width: 160, align: "left" },
{ label: "登记时间", field: "registerTime", width: 120 },
// { label: "企业名称", field: "tenantName", width: 240, align: "left" },
{ label: "发证主体", field: "issuingEntityName", width: 250, align: "left" },
{ label: "评估机构", field: "issuingEntityName", width: 250, align: "left" },
{ label: "状态", field: "approveState", type: "tag", width: 96, align: 'center' },
]);
......@@ -683,7 +683,7 @@ const rejectDialogBtnClick = (btn, info) => {
<Table :tableInfo="tableInfo" @tableBtnClick="tableBtnClick" @tablePageChange="tablePageChange" />
</div>
<Dialog :dialogInfo="dialogInfo" @btnClick="dialogBtnClick" />
<Dialog :dialogInfo="passDialogInfo" @btnClick="passDialogBtnClick" @inputChange=passDialogInputChange />
<Dialog :dialogInfo="passDialogInfo" @btnClick="passDialogBtnClick" @inputChange=passDialogInputChange />
<Dialog :dialogInfo="rejectDialogInfo" @btnClick="rejectDialogBtnClick" />
</div>
</template>
......
......@@ -134,8 +134,9 @@ const baseInfoFormItems = ref([
placeholder: '请输入',
field: 'rightMain',
maxlength: 20,
default: '',
required: true
default: userStore.userName,
required: true,
disabled: true
},
{
label: '所属主题',
......
......@@ -95,7 +95,7 @@ const searchItemList = ref([
{
type: "select",
label: "",
field: "isRegister",
field: "registerState",
default: "",
placeholder: "登记状态",
clearable: true,
......@@ -117,6 +117,8 @@ const pageInfo = ref({
damName: "",
damType: "",
tenantGuid: "",
dataSources: "",
registerState: "",
subjectDomain: [],
});
......@@ -189,7 +191,9 @@ const getTableData = () => {
damName: pageInfo.value.damName,
damType: pageInfo.value.damType,
subjectDomain: pageInfo.value.subjectDomain,
tenantGuid: pageInfo.value.tenantGuid
tenantGuid: pageInfo.value.tenantGuid,
dataSources: pageInfo.value.dataSources,
registerState: pageInfo.value.registerState,
}).then((res: any) => {
listDataLoading.value = false;
if (res.code == proxy.$passCode) {
......@@ -212,11 +216,15 @@ const toSearch = (val: any, clear: boolean = false) => {
pageInfo.value.damType = "";
pageInfo.value.subjectDomain = [];
pageInfo.value.tenantGuid = "";
pageInfo.value.registerState = "";
pageInfo.value.dataSources = "";
} else {
pageInfo.value.damName = val.damName;
pageInfo.value.damType = val.damType;
pageInfo.value.subjectDomain = val.subjectDomain;
pageInfo.value.tenantGuid = val.tenantGuid;
pageInfo.value.registerState = val.registerState;
pageInfo.value.dataSources = val.dataSources;
}
getTableData();
};
......@@ -317,7 +325,7 @@ const handleCreate = () => {
<div class="type">{{ item.subjectDomainName || item.subjectDomain }}</div>
<div class="type">{{ item.damTypeName || '--' }}</div>
<div class="type">{{ item.isRegister == 'Y' ? '已登记' : '未登记' }}</div>
<div class="type">{{ item.foundMode ? (item.foundMode === '1' ? '自建' : '加工交付') : '--' }}</div>
<div class="type">{{ item.foundMode ? (item.foundMode === 1 ? '自建' : '加工交付') : '--' }}</div>
</div>
<div class="desc">{{ item.propertyDescription }}</div>
<el-popover v-model="cardBtnVisible" placement="bottom" width="96" trigger="click"
......
......@@ -1427,8 +1427,7 @@ onBeforeMount(() => {
// 获取模板信息
const getTemplateInfo = () => {
console.log(userData, '--------route.query.exchangeGuid---------');
getTemplateFile({ tenantGuid: userData.tenantGuid }).then((res: any) => {
getTemplateFile({ tenantGuid: route.query.exchangeGuid }).then((res: any) => {
if (res.code == proxy.$passCode) {
} else {
......
......@@ -18,12 +18,12 @@ import {
getImportData,
exportDictionary,
exportCollectTask,
// getImageContent
// getImageContent
} from '@/api/modules/queryService';
import {
parseAndDecodeUrl,
getDownFileSignByUrl,
obsDownloadRequest
obsDownloadRequest
} from '@/api/modules/obsService';
import { commonPageConfig } from '@/utils/enum';
......@@ -384,7 +384,7 @@ const importData = (info) => {
uploadFiles.value.forEach((item: any, index: number) => {
params.append("file", item.raw);
});
paramUrl = `${import.meta.env.VITE_API_ASSET_BASEURL}/dam-catalog-table/excel-by-subject-guid?staffGuid=${userData.staffGuid}&subjectGuid=${route.query.bizGuid}`
paramUrl = `ms-daop-zcgl-asset-dam-service/dam-catalog-table/excel-by-subject-guid?staffGuid=${userData.staffGuid}&subjectGuid=${route.query.bizGuid}`
} else if (isfileImport == '4') {
if (!info.databaseNameZh) {
ElMessage({
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!