修改参数手机清单的催办
This commit is contained in:
@@ -2036,4 +2036,6 @@ module.exports = {
|
|||||||
regulationEngineerInitiateProcess: 'Regulation Engineer Initiate Process',
|
regulationEngineerInitiateProcess: 'Regulation Engineer Initiate Process',
|
||||||
parameterCollectionDescription:'In the extension parameter collection list, the data highlighted in red represents the deleted parameters after template update, the data highlighted in yellow represents the changed parameters after template update, and for the newly added parameters after template update, homo engineer should find in "More-Add" and add them to the parameter collection list.',
|
parameterCollectionDescription:'In the extension parameter collection list, the data highlighted in red represents the deleted parameters after template update, the data highlighted in yellow represents the changed parameters after template update, and for the newly added parameters after template update, homo engineer should find in "More-Add" and add them to the parameter collection list.',
|
||||||
experienceReference:'Experience reference',
|
experienceReference:'Experience reference',
|
||||||
|
onlyTheDataFilledUrged:'Only the data whose status is to be filled in or To be processed by eng. interface can be urged',
|
||||||
|
onlyTheDataWhoseStatusUrged:'Only the data whose status is to be filled in can be urged',
|
||||||
}
|
}
|
||||||
@@ -3770,4 +3770,6 @@ module.exports = {
|
|||||||
regulationEngineerInitiateProcess:'法规工程师发起流程',
|
regulationEngineerInitiateProcess:'法规工程师发起流程',
|
||||||
parameterCollectionDescription:'变更扩展参数收集清单中,标红数据为模板更新后被删除参数,标黄数据为模板更新后变更参数,模板更新新增参数请认证工程师在“更多-添加”中查阅并添加至参数收集清单中。',
|
parameterCollectionDescription:'变更扩展参数收集清单中,标红数据为模板更新后被删除参数,标黄数据为模板更新后变更参数,模板更新新增参数请认证工程师在“更多-添加”中查阅并添加至参数收集清单中。',
|
||||||
experienceReference:'经验参考',
|
experienceReference:'经验参考',
|
||||||
|
onlyTheDataFilledUrged:'只能催办状态为待填写或待工程接口人处理的数据',
|
||||||
|
onlyTheDataWhoseStatusUrged:'只能催办状态为待填写的数据',
|
||||||
}
|
}
|
||||||
@@ -22,7 +22,7 @@
|
|||||||
<JLoading :loading="JTextLoading"></JLoading>
|
<JLoading :loading="JTextLoading"></JLoading>
|
||||||
</template>
|
</template>
|
||||||
<div class="operator-text" style="position: relative;margin-right: 0">
|
<div class="operator-text" style="position: relative;margin-right: 0">
|
||||||
<a-icon type="select" />
|
<a-icon type="select"/>
|
||||||
{{ rolename }}
|
{{ rolename }}
|
||||||
</div>
|
</div>
|
||||||
</a-popconfirm>
|
</a-popconfirm>
|
||||||
@@ -99,7 +99,7 @@
|
|||||||
<j-dict-select-tag class="box-input" v-model="formInline.certCategory"
|
<j-dict-select-tag class="box-input" v-model="formInline.certCategory"
|
||||||
:placeholder="$t('PleaseSelect')+$t('certificationCategory')"
|
:placeholder="$t('PleaseSelect')+$t('certificationCategory')"
|
||||||
:type="'select'"
|
:type="'select'"
|
||||||
:triggerChange="false" :dictCode="'cert_category'" />
|
:triggerChange="false" :dictCode="'cert_category'"/>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :md="6" :sm="8">
|
<a-col :md="6" :sm="8">
|
||||||
@@ -148,7 +148,7 @@
|
|||||||
<!-- v-if="this.$route.query.it === undefined"-->
|
<!-- v-if="this.$route.query.it === undefined"-->
|
||||||
<a @click="handleToggleSearch">
|
<a @click="handleToggleSearch">
|
||||||
{{ !toggleSearchStatus ? $t('open') : $t('away') }}
|
{{ !toggleSearchStatus ? $t('open') : $t('away') }}
|
||||||
<a-icon :type="toggleSearchStatus ? 'up' : 'down'" />
|
<a-icon :type="toggleSearchStatus ? 'up' : 'down'"/>
|
||||||
</a>
|
</a>
|
||||||
<a-button class="box-button" style="margin-left: 8px"
|
<a-button class="box-button" style="margin-left: 8px"
|
||||||
@click="searchReset">{{ $t('reset') }}</a-button>
|
@click="searchReset">{{ $t('reset') }}</a-button>
|
||||||
@@ -156,7 +156,7 @@
|
|||||||
@click="searchQuery">{{ $t('query') }}</a-button>
|
@click="searchQuery">{{ $t('query') }}</a-button>
|
||||||
<globalAdvancedQuery ref="globalAdvancedQueryRef"
|
<globalAdvancedQuery ref="globalAdvancedQueryRef"
|
||||||
@handleSuperQuery="handleSuperQuery"
|
@handleSuperQuery="handleSuperQuery"
|
||||||
:fieldList="fieldList" />
|
:fieldList="fieldList"/>
|
||||||
</a-col>
|
</a-col>
|
||||||
</span>
|
</span>
|
||||||
</a-row>
|
</a-row>
|
||||||
@@ -175,7 +175,7 @@
|
|||||||
<template slot="title" id="popconfirm">
|
<template slot="title" id="popconfirm">
|
||||||
<!-- 添加-->
|
<!-- 添加-->
|
||||||
<div @click="handleAdd" class="operator-text-title" v-if='currentPersonRole == "homo"'>
|
<div @click="handleAdd" class="operator-text-title" v-if='currentPersonRole == "homo"'>
|
||||||
<a-icon type="plus" />
|
<a-icon type="plus"/>
|
||||||
{{ $t('addTo') }}
|
{{ $t('addTo') }}
|
||||||
</div>
|
</div>
|
||||||
<!-- <!– 下发收集 –>-->
|
<!-- <!– 下发收集 –>-->
|
||||||
@@ -185,38 +185,38 @@
|
|||||||
<!-- </div>-->
|
<!-- </div>-->
|
||||||
<!-- 导出-->
|
<!-- 导出-->
|
||||||
<div @click="handleExport('0')" class="operator-text-title" v-if='currentPersonRole == "homo"'>
|
<div @click="handleExport('0')" class="operator-text-title" v-if='currentPersonRole == "homo"'>
|
||||||
<a-icon type="export" :rotate="-90" />
|
<a-icon type="export" :rotate="-90"/>
|
||||||
{{ $t('dataExport') }}
|
{{ $t('dataExport') }}
|
||||||
</div>
|
</div>
|
||||||
<!-- 导出列表-->
|
<!-- 导出列表-->
|
||||||
<div @click="Derivedlist" class="operator-text-title" v-if='currentPersonRole == "homo"'>
|
<div @click="Derivedlist" class="operator-text-title" v-if='currentPersonRole == "homo"'>
|
||||||
<a-icon type="export" :rotate="-90" />
|
<a-icon type="export" :rotate="-90"/>
|
||||||
{{ $t('Derivedlist') }}
|
{{ $t('Derivedlist') }}
|
||||||
</div>
|
</div>
|
||||||
<!-- 一键下发收集 -->
|
<!-- 一键下发收集 -->
|
||||||
<div @click="defOneclickCollection" class="operator-text-title" v-if='currentPersonRole == "homo"'>
|
<div @click="defOneclickCollection" class="operator-text-title" v-if='currentPersonRole == "homo"'>
|
||||||
<a-icon type="solution" />
|
<a-icon type="solution"/>
|
||||||
{{ $t('OneclickCollection') }}
|
{{ $t('OneclickCollection') }}
|
||||||
</div>
|
</div>
|
||||||
<!-- 冻结配置-->
|
<!-- 冻结配置-->
|
||||||
<div @click="freezeConfiguration" class="operator-text-title" v-if='currentPersonRole == "homo"'>
|
<div @click="freezeConfiguration" class="operator-text-title" v-if='currentPersonRole == "homo"'>
|
||||||
<a-icon type="lock" />
|
<a-icon type="lock"/>
|
||||||
{{ $t('FreezeConfiguration') }}
|
{{ $t('FreezeConfiguration') }}
|
||||||
</div>
|
</div>
|
||||||
<!-- 引用参数列-->
|
<!-- 引用参数列-->
|
||||||
<div @click="Referenceparametercolumn" class="operator-text-title" v-if='currentPersonRole == "homo" '>
|
<div @click="Referenceparametercolumn" class="operator-text-title" v-if='currentPersonRole == "homo" '>
|
||||||
<a-icon type="plus" />
|
<a-icon type="plus"/>
|
||||||
{{ $t('Referenceparametercolumn') }}
|
{{ $t('Referenceparametercolumn') }}
|
||||||
</div>
|
</div>
|
||||||
<!-- 更新参数列-->
|
<!-- 更新参数列-->
|
||||||
<div @click="Updateparametercolumn" class="operator-text-title" v-if='currentPersonRole == "homo" '>
|
<div @click="Updateparametercolumn" class="operator-text-title" v-if='currentPersonRole == "homo" '>
|
||||||
<a-icon type="check-circle" />
|
<a-icon type="check-circle"/>
|
||||||
{{ $t('Updateparametercolumn') }}
|
{{ $t('Updateparametercolumn') }}
|
||||||
</div>
|
</div>
|
||||||
<!-- 同步上报库 -->
|
<!-- 同步上报库 -->
|
||||||
<div @click="handleSynchronousReportLibraryJurisdiction" class="operator-text-title"
|
<div @click="handleSynchronousReportLibraryJurisdiction" class="operator-text-title"
|
||||||
v-if='currentPersonRole == "homo"'>
|
v-if='currentPersonRole == "homo"'>
|
||||||
<a-icon type="sync" />
|
<a-icon type="sync"/>
|
||||||
{{ $t('SynchronousReportLibrary') }}
|
{{ $t('SynchronousReportLibrary') }}
|
||||||
</div>
|
</div>
|
||||||
<!-- 截止时间-->
|
<!-- 截止时间-->
|
||||||
@@ -226,27 +226,27 @@
|
|||||||
<!-- </div>-->
|
<!-- </div>-->
|
||||||
<!-- 批量删除-->
|
<!-- 批量删除-->
|
||||||
<div @click="handleDelJurisdiction" class="operator-text-title" v-if='currentPersonRole == "homo"'>
|
<div @click="handleDelJurisdiction" class="operator-text-title" v-if='currentPersonRole == "homo"'>
|
||||||
<a-icon type="delete" />
|
<a-icon type="delete"/>
|
||||||
{{ $t('BatchDelete') }}
|
{{ $t('BatchDelete') }}
|
||||||
</div>
|
</div>
|
||||||
<div @click="bringInTheProjectInterfaceClick" class="operator-text-title"
|
<div @click="bringInTheProjectInterfaceClick" class="operator-text-title"
|
||||||
v-if='currentPersonRole == "homo"'>
|
v-if='currentPersonRole == "homo"'>
|
||||||
<a-icon type="user" />
|
<a-icon type="user"/>
|
||||||
{{ $t('bringInTheProjectInterface') }}
|
{{ $t('bringInTheProjectInterface') }}
|
||||||
</div>
|
</div>
|
||||||
<div @click="AdjustareasofresponsibilityClick" class="operator-text-title"
|
<div @click="AdjustareasofresponsibilityClick" class="operator-text-title"
|
||||||
v-if='currentPersonRole == "homo"'>
|
v-if='currentPersonRole == "homo"'>
|
||||||
<a-icon type="setting" />
|
<a-icon type="setting"/>
|
||||||
{{ $t('BatchSetting') }}
|
{{ $t('BatchSetting') }}
|
||||||
</div>
|
</div>
|
||||||
<!-- 认证工程师分配填写人-->
|
<!-- 认证工程师分配填写人-->
|
||||||
<div @click="assignedByHomo" class="operator-text-title" v-if='currentPersonRole == "homo" '>
|
<div @click="assignedByHomo" class="operator-text-title" v-if='currentPersonRole == "homo" '>
|
||||||
<a-icon type="copy" />
|
<a-icon type="copy"/>
|
||||||
{{ $t('Assignedby') }}
|
{{ $t('Assignedby') }}
|
||||||
</div>
|
</div>
|
||||||
<!-- 批量更新截止时间-->
|
<!-- 批量更新截止时间-->
|
||||||
<div @click="batchUpdateDeadlineClick" class="operator-text-title" v-if='currentPersonRole == "homo" '>
|
<div @click="batchUpdateDeadlineClick" class="operator-text-title" v-if='currentPersonRole == "homo" '>
|
||||||
<a-icon type="profile" />
|
<a-icon type="profile"/>
|
||||||
{{ $t('batchUpdateDeadline') }}
|
{{ $t('batchUpdateDeadline') }}
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@@ -256,68 +256,75 @@
|
|||||||
<span style="position: absolute;left: -13px;top: -4px">...</span>{{ $t('more') }}
|
<span style="position: absolute;left: -13px;top: -4px">...</span>{{ $t('more') }}
|
||||||
</div>
|
</div>
|
||||||
</a-popconfirm>
|
</a-popconfirm>
|
||||||
|
|
||||||
|
<!-- 催办 -->
|
||||||
|
<div @click="questionClick" class="operator-text"
|
||||||
|
v-if='currentPersonRole == "homo" || currentPersonRole == "sdt"'>
|
||||||
|
<a-icon type="sound"/>
|
||||||
|
{{ $t('question') }}
|
||||||
|
</div>
|
||||||
<!-- 下发收集 -->
|
<!-- 下发收集 -->
|
||||||
<div @click="distributionAndCollectionJurisdiction" class="operator-text"
|
<div @click="distributionAndCollectionJurisdiction" class="operator-text"
|
||||||
v-if='currentPersonRole == "homo"'>
|
v-if='currentPersonRole == "homo"'>
|
||||||
<a-icon type="solution" />
|
<a-icon type="solution"/>
|
||||||
{{ $t('distributionAndCollection') }}
|
{{ $t('distributionAndCollection') }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- 分配填写人-->
|
<!-- 分配填写人-->
|
||||||
<div @click="assignedBy" class="operator-text" v-if='currentPersonRole == "sdt" '>
|
<div @click="assignedBy" class="operator-text" v-if='currentPersonRole == "sdt" '>
|
||||||
<a-icon type="copy" />
|
<a-icon type="copy"/>
|
||||||
{{ $t('Assignedby') }}
|
{{ $t('Assignedby') }}
|
||||||
</div>
|
</div>
|
||||||
<!-- 导出-->
|
<!-- 导出-->
|
||||||
<div @click="handleExport('0')" class="operator-text"
|
<div @click="handleExport('0')" class="operator-text"
|
||||||
v-if='currentPersonRole == "sdt" || currentPersonRole == "admin" || currentPersonRole == "studio"'>
|
v-if='currentPersonRole == "sdt" || currentPersonRole == "admin" || currentPersonRole == "studio"'>
|
||||||
<a-icon type="export" />
|
<a-icon type="export"/>
|
||||||
{{ $t('dataExport') }}
|
{{ $t('dataExport') }}
|
||||||
</div>
|
</div>
|
||||||
<!-- 导出列表-->
|
<!-- 导出列表-->
|
||||||
<div @click="Derivedlist" class="operator-text"
|
<div @click="Derivedlist" class="operator-text"
|
||||||
v-if='currentPersonRole == "sdt" || currentPersonRole == "admin" || currentPersonRole == "studio"'>
|
v-if='currentPersonRole == "sdt" || currentPersonRole == "admin" || currentPersonRole == "studio"'>
|
||||||
<a-icon type="export" />
|
<a-icon type="export"/>
|
||||||
{{ $t('Derivedlist') }}
|
{{ $t('Derivedlist') }}
|
||||||
</div>
|
</div>
|
||||||
<!-- 引用参数-->
|
<!-- 引用参数-->
|
||||||
<div @click="referenceparameter" class="operator-text"
|
<div @click="referenceparameter" class="operator-text"
|
||||||
v-if='currentPersonRole == "dre" || currentPersonRole == "homo"'>
|
v-if='currentPersonRole == "dre" || currentPersonRole == "homo"'>
|
||||||
<a-icon type="plus" />
|
<a-icon type="plus"/>
|
||||||
{{ $t('referenceparameter') }}
|
{{ $t('referenceparameter') }}
|
||||||
</div>
|
</div>
|
||||||
<!-- 保存-->
|
<!-- 保存-->
|
||||||
<div @click="handlePreservation(1)" class="operator-text"
|
<div @click="handlePreservation(1)" class="operator-text"
|
||||||
v-if='currentPersonRole == "dre" || currentPersonRole == "homo"'>
|
v-if='currentPersonRole == "dre" || currentPersonRole == "homo"'>
|
||||||
<a-icon type="check-circle" />
|
<a-icon type="check-circle"/>
|
||||||
{{ $t('tempSave') }}
|
{{ $t('tempSave') }}
|
||||||
</div>
|
</div>
|
||||||
<!-- 提交-->
|
<!-- 提交-->
|
||||||
<div @click="handleSubmit" class="operator-text" v-if='currentPersonRole == "dre"'>
|
<div @click="handleSubmit" class="operator-text" v-if='currentPersonRole == "dre"'>
|
||||||
<a-icon type="check-circle" />
|
<a-icon type="check-circle"/>
|
||||||
{{ $t('submit') }}
|
{{ $t('submit') }}
|
||||||
</div>
|
</div>
|
||||||
<!-- 退回-->
|
<!-- 退回-->
|
||||||
<div @click="returnDataJurisdiction" class="operator-text"
|
<div @click="returnDataJurisdiction" class="operator-text"
|
||||||
v-if='currentPersonRole == "sdt" || currentPersonRole == "homo" || currentPersonRole == "dre"'>
|
v-if='currentPersonRole == "sdt" || currentPersonRole == "homo" || currentPersonRole == "dre"'>
|
||||||
<a-icon type="rollback" />
|
<a-icon type="rollback"/>
|
||||||
{{ $t('sendBack') }}
|
{{ $t('sendBack') }}
|
||||||
</div>
|
</div>
|
||||||
<!-- 导入-->
|
<!-- 导入-->
|
||||||
<div class="operator-text" v-if='currentPersonRole == "dre"'>
|
<div class="operator-text" v-if='currentPersonRole == "dre"'>
|
||||||
<ImportFileOnlyList :url="url" :isTrue="false" :accept="'.zip'" :paramsManifestId="this.$route.query.id"
|
<ImportFileOnlyList :url="url" :isTrue="false" :accept="'.zip'" :paramsManifestId="this.$route.query.id"
|
||||||
@getList="getList" />
|
@getList="getList"/>
|
||||||
</div>
|
</div>
|
||||||
<!-- 填写人导出-->
|
<!-- 填写人导出-->
|
||||||
<div @click="handleExportDre" class="operator-text"
|
<div @click="handleExportDre" class="operator-text"
|
||||||
v-if='currentPersonRole == "dre"'>
|
v-if='currentPersonRole == "dre"'>
|
||||||
<a-icon type="export" />
|
<a-icon type="export"/>
|
||||||
{{ $t('export') }}
|
{{ $t('export') }}
|
||||||
</div>
|
</div>
|
||||||
<!-- 强制撤回-->
|
<!-- 强制撤回-->
|
||||||
<div @click="compulsoryWithdrawaljurisdiction" class="operator-text"
|
<div @click="compulsoryWithdrawaljurisdiction" class="operator-text"
|
||||||
v-if='currentPersonRole == "homo" || currentPersonRole == "sdt"'>
|
v-if='currentPersonRole == "homo" || currentPersonRole == "sdt"'>
|
||||||
<a-icon type="undo" :rotate="90" />
|
<a-icon type="undo" :rotate="90"/>
|
||||||
{{ $t('CompulsoryWithdrawal') }}
|
{{ $t('CompulsoryWithdrawal') }}
|
||||||
</div>
|
</div>
|
||||||
<!-- 列表设置-->
|
<!-- 列表设置-->
|
||||||
@@ -349,7 +356,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<div class="operator-text" style="position: relative" @click="getcustomize">
|
<div class="operator-text" style="position: relative" @click="getcustomize">
|
||||||
<a-icon type="setting" />
|
<a-icon type="setting"/>
|
||||||
{{ $t('customize') }}
|
{{ $t('customize') }}
|
||||||
</div>
|
</div>
|
||||||
</a-popconfirm>
|
</a-popconfirm>
|
||||||
@@ -367,13 +374,13 @@
|
|||||||
<!-- 导出-->
|
<!-- 导出-->
|
||||||
<div @click="handleExport('1')" class="operator-text"
|
<div @click="handleExport('1')" class="operator-text"
|
||||||
v-if='currentPersonRole == "homo" || currentPersonRole == "admin" || currentPersonRole == "viewer"'>
|
v-if='currentPersonRole == "homo" || currentPersonRole == "admin" || currentPersonRole == "viewer"'>
|
||||||
<a-icon type="export" :rotate="-90" />
|
<a-icon type="export" :rotate="-90"/>
|
||||||
{{ $t('dataExport') }}
|
{{ $t('dataExport') }}
|
||||||
</div>
|
</div>
|
||||||
<!-- 导出列表-->
|
<!-- 导出列表-->
|
||||||
<div @click="Derivedlist" class="operator-text"
|
<div @click="Derivedlist" class="operator-text"
|
||||||
v-if='currentPersonRole == "homo" || currentPersonRole == "admin" || currentPersonRole == "viewer"'>
|
v-if='currentPersonRole == "homo" || currentPersonRole == "admin" || currentPersonRole == "viewer"'>
|
||||||
<a-icon type="export" :rotate="-90" />
|
<a-icon type="export" :rotate="-90"/>
|
||||||
{{ $t('Derivedlist') }}
|
{{ $t('Derivedlist') }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -386,7 +393,7 @@
|
|||||||
@handlePreservation="handlePreservation"
|
@handlePreservation="handlePreservation"
|
||||||
@value="value"
|
@value="value"
|
||||||
@getcustomizeList="getcustomizeList"
|
@getcustomizeList="getcustomizeList"
|
||||||
@listReset="listReset" @LoginUserType="LoginUserType" />
|
@listReset="listReset" @LoginUserType="LoginUserType"/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</a-card>
|
</a-card>
|
||||||
@@ -395,7 +402,7 @@
|
|||||||
<!-- 添加--->
|
<!-- 添加--->
|
||||||
<a-modal v-model="areaVisible" :title="$t('ParameterLibrary')" width="850px" :footer="null">
|
<a-modal v-model="areaVisible" :title="$t('ParameterLibrary')" width="850px" :footer="null">
|
||||||
<parameter-library-add v-if="areaVisible" :paramsManifest="paramsManifest" @areaVisible="areaVisible = false"
|
<parameter-library-add v-if="areaVisible" :paramsManifest="paramsManifest" @areaVisible="areaVisible = false"
|
||||||
@GetgetTableList="GetgetTableList" />
|
@GetgetTableList="GetgetTableList"/>
|
||||||
</a-modal>
|
</a-modal>
|
||||||
<!-- 冻结配置--->
|
<!-- 冻结配置--->
|
||||||
<a-modal v-model="areaVisibleFreeze" :title="$t('FreezeConfiguration')" width="600px" :footer="null">
|
<a-modal v-model="areaVisibleFreeze" :title="$t('FreezeConfiguration')" width="600px" :footer="null">
|
||||||
@@ -442,7 +449,7 @@
|
|||||||
@GetgetTableList="GetgetTableList"
|
@GetgetTableList="GetgetTableList"
|
||||||
@GetgetLoginUserType="GetgetLoginUserType"
|
@GetgetLoginUserType="GetgetLoginUserType"
|
||||||
@areaVisibleAssignedbyflag="areaVisibleAssignedbyflag"
|
@areaVisibleAssignedbyflag="areaVisibleAssignedbyflag"
|
||||||
@areaVisible="areaVisibleAssignedby = false" />
|
@areaVisible="areaVisibleAssignedby = false"/>
|
||||||
</a-modal>
|
</a-modal>
|
||||||
<!-- 认证分配填写人--->
|
<!-- 认证分配填写人--->
|
||||||
<a-modal v-model="areaVisibleAssignedbyhomo" :title="$t('Assignedby')" width="950px" :footer="null">
|
<a-modal v-model="areaVisibleAssignedbyhomo" :title="$t('Assignedby')" width="950px" :footer="null">
|
||||||
@@ -450,39 +457,39 @@
|
|||||||
@GetgetTableList="GetgetTableList"
|
@GetgetTableList="GetgetTableList"
|
||||||
@GetgetLoginUserType="GetgetLoginUserType"
|
@GetgetLoginUserType="GetgetLoginUserType"
|
||||||
@areaVisibleAssignedbyflaghomo="areaVisibleAssignedbyflaghomo"
|
@areaVisibleAssignedbyflaghomo="areaVisibleAssignedbyflaghomo"
|
||||||
@areaVisible="areaVisibleAssignedbyhomo = false" />
|
@areaVisible="areaVisibleAssignedbyhomo = false"/>
|
||||||
</a-modal>
|
</a-modal>
|
||||||
<!-- 下发收集--->
|
<!-- 下发收集--->
|
||||||
<!-- <a-modal v-model="areaVisibleTaskCutOffTime" :title="$t('distributionAndCollection')" width='400px' :footer="null">-->
|
<!-- <a-modal v-model="areaVisibleTaskCutOffTime" :title="$t('distributionAndCollection')" width='400px' :footer="null">-->
|
||||||
<task-cut-off-time ref="areaVisibleTaskCutOffTime" :selectedRowKeysArray="selectedRowKeysArray"
|
<task-cut-off-time ref="areaVisibleTaskCutOffTime" :selectedRowKeysArray="selectedRowKeysArray"
|
||||||
@GetgetTableList="GetgetTableList"
|
@GetgetTableList="GetgetTableList"
|
||||||
@areaVisibleTaskCutOffTimeflag="areaVisibleTaskCutOffTimeflag" />
|
@areaVisibleTaskCutOffTimeflag="areaVisibleTaskCutOffTimeflag"/>
|
||||||
<!-- </a-modal>-->
|
<!-- </a-modal>-->
|
||||||
<!-- 一键下发收集--->
|
<!-- 一键下发收集--->
|
||||||
<!-- <a-modal v-model="OneclickCollection" :title="$t('OneclickCollection')" width='400px' :footer="null">-->
|
<!-- <a-modal v-model="OneclickCollection" :title="$t('OneclickCollection')" width='400px' :footer="null">-->
|
||||||
<task-time ref="OneclickCollection" :selectedRowKeysArray="selectedRowKeysArray"
|
<task-time ref="OneclickCollection" :selectedRowKeysArray="selectedRowKeysArray"
|
||||||
@GetgetTableList="GetgetTableList"
|
@GetgetTableList="GetgetTableList"
|
||||||
@areaVisibleTaskCutOffTimeAll="areaVisibleTaskCutOffTimeAll" />
|
@areaVisibleTaskCutOffTimeAll="areaVisibleTaskCutOffTimeAll"/>
|
||||||
<!-- </a-modal>-->
|
<!-- </a-modal>-->
|
||||||
<!-- 调整责任领域-->
|
<!-- 调整责任领域-->
|
||||||
<a-modal v-model="Adjustareasofrespon" :title="$t('BatchSetting')" width="620px" :footer="null">
|
<a-modal v-model="Adjustareasofrespon" :title="$t('BatchSetting')" width="620px" :footer="null">
|
||||||
<adjustarea-sofrespon v-if="Adjustareasofrespon" :selectedRowKeysArray="selectedRowKeysArray"
|
<adjustarea-sofrespon v-if="Adjustareasofrespon" :selectedRowKeysArray="selectedRowKeysArray"
|
||||||
@GetgetTableList="GetgetTableList"
|
@GetgetTableList="GetgetTableList"
|
||||||
@AdjustareasofresponAll="AdjustareasofresponAll" />
|
@AdjustareasofresponAll="AdjustareasofresponAll"/>
|
||||||
</a-modal>
|
</a-modal>
|
||||||
<!-- 引用参数--->
|
<!-- 引用参数--->
|
||||||
<a-modal v-model="areaVisiblereferenceparameter" :title="$t('referenceparameter')" width="650px" :footer="null">
|
<a-modal v-model="areaVisiblereferenceparameter" :title="$t('referenceparameter')" width="650px" :footer="null">
|
||||||
<reference-parameter v-if="areaVisiblereferenceparameter" :paramsManifest="paramsManifest"
|
<reference-parameter v-if="areaVisiblereferenceparameter" :paramsManifest="paramsManifest"
|
||||||
@GetgetTableList="GetgetTableList"
|
@GetgetTableList="GetgetTableList"
|
||||||
@areaVisibleAssignedbyflag="areaVisiblereferenceparameter = false"
|
@areaVisibleAssignedbyflag="areaVisiblereferenceparameter = false"
|
||||||
:selectedRowKeysArray="selectedRowKeysArray" />
|
:selectedRowKeysArray="selectedRowKeysArray"/>
|
||||||
</a-modal>
|
</a-modal>
|
||||||
<!-- 同步上报库--->
|
<!-- 同步上报库--->
|
||||||
<a-modal v-model="areaVisibsynchronous" :title="$t('SynchronousReportLibrary')" width="650px" :footer="null">
|
<a-modal v-model="areaVisibsynchronous" :title="$t('SynchronousReportLibrary')" width="650px" :footer="null">
|
||||||
<synchronous-submission-library v-if="areaVisibsynchronous" :paramsManifest="paramsManifest"
|
<synchronous-submission-library v-if="areaVisibsynchronous" :paramsManifest="paramsManifest"
|
||||||
@GetgetTableList="GetgetTableList"
|
@GetgetTableList="GetgetTableList"
|
||||||
:selectedRowKeysArray="selectedRowKeysArray"
|
:selectedRowKeysArray="selectedRowKeysArray"
|
||||||
@areaVisibsynchronous="areaVisibsynchronous = false" />
|
@areaVisibsynchronous="areaVisibsynchronous = false"/>
|
||||||
</a-modal>
|
</a-modal>
|
||||||
<!-- 引用参数列-->
|
<!-- 引用参数列-->
|
||||||
<a-drawer
|
<a-drawer
|
||||||
@@ -739,35 +746,35 @@
|
|||||||
</a-row>
|
</a-row>
|
||||||
</a-modal>
|
</a-modal>
|
||||||
<JLoading :loading="textLoading">{{ this.$t('pleaseWaitWhileRunning') }}</JLoading>
|
<JLoading :loading="textLoading">{{ this.$t('pleaseWaitWhileRunning') }}</JLoading>
|
||||||
<batchUpdateDeadline ref="batchUpdateDeadlineRef" @batchUpdateDeadlineForm="batchUpdateDeadlineForm" />
|
<batchUpdateDeadline ref="batchUpdateDeadlineRef" @batchUpdateDeadlineForm="batchUpdateDeadlineForm"/>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import TableCollection from '@/components/tableCollection/index'
|
import TableCollection from '@/components/tableCollection/index'
|
||||||
import parameterColumn from '../dialog/parametercolumn'
|
import parameterColumn from '../dialog/parametercolumn'
|
||||||
import { getAction, postAction, downloadFile, deleteAction } from '../../../api/manage'
|
import { getAction, postAction, downloadFile, deleteAction } from '../../../api/manage'
|
||||||
import eventBUs from '../../../common/event'
|
import eventBUs from '../../../common/event'
|
||||||
import customizeList from './customizeList'
|
import customizeList from './customizeList'
|
||||||
import ParameterLibraryAdd from '@/components/ParameterLibraryAdd/index'
|
import ParameterLibraryAdd from '@/components/ParameterLibraryAdd/index'
|
||||||
import globalAdvancedQuery from '@/components/globalAdvancedQuery/index'
|
import globalAdvancedQuery from '@/components/globalAdvancedQuery/index'
|
||||||
import SynchronousSubmissionLibrary from '@/components/SynchronousSubmissionLibrary/index'
|
import SynchronousSubmissionLibrary from '@/components/SynchronousSubmissionLibrary/index'
|
||||||
import TaskCutOffTime from '@/components/TaskCutOffTime/index'
|
import TaskCutOffTime from '@/components/TaskCutOffTime/index'
|
||||||
import TaskTime from '@/components/TaskCutOffTime/indexonekey'
|
import TaskTime from '@/components/TaskCutOffTime/indexonekey'
|
||||||
import AdjustareaSofrespon from '@/components/AdjustareaSofrespon/index'
|
import AdjustareaSofrespon from '@/components/AdjustareaSofrespon/index'
|
||||||
import ReferenceParameter from '@/components/ReferenceParameter/index'
|
import ReferenceParameter from '@/components/ReferenceParameter/index'
|
||||||
import AssignedBy from '@/components/AssignedBy/index'
|
import AssignedBy from '@/components/AssignedBy/index'
|
||||||
import AssignedByHomo from '@/components/AssignedByHomo/index'
|
import AssignedByHomo from '@/components/AssignedByHomo/index'
|
||||||
import ImportFileOnlyList from '@/components/ImportFileOnlyListtag/index'
|
import ImportFileOnlyList from '@/components/ImportFileOnlyListtag/index'
|
||||||
import batchUpdateDeadline from './batchUpdateDeadline'
|
import batchUpdateDeadline from './batchUpdateDeadline'
|
||||||
import axios from 'axios'
|
import axios from 'axios'
|
||||||
import { ACCESS_TOKEN } from '@/store/mutation-types'
|
import { ACCESS_TOKEN } from '@/store/mutation-types'
|
||||||
import Vue from 'vue'
|
import Vue from 'vue'
|
||||||
import { mapGetters } from 'vuex'
|
import { mapGetters } from 'vuex'
|
||||||
import { ResizeHeader, ResizeColumnProvide } from '@/mixins/header'
|
import { ResizeHeader, ResizeColumnProvide } from '@/mixins/header'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'ParameterItemCollectionList',
|
name: 'ParameterItemCollectionList',
|
||||||
components: {
|
components: {
|
||||||
TableCollection,
|
TableCollection,
|
||||||
@@ -2098,6 +2105,50 @@ export default {
|
|||||||
// this.NoEngineer = 0
|
// this.NoEngineer = 0
|
||||||
// }
|
// }
|
||||||
},
|
},
|
||||||
|
questionClick() {
|
||||||
|
if (this.selectedRowKeysValue && this.selectedRowKeysValue.length > 0) {
|
||||||
|
console.log(this.selectedRowKeysValue)
|
||||||
|
let ids = []
|
||||||
|
if (this.currentPersonRole == 'homo') {
|
||||||
|
for (let i = 0; i < this.selectedRowKeysValue.length; i++) {
|
||||||
|
if (this.selectedRowKeysValue[i].state == '待填写' || this.selectedRowKeysValue[i].state == 'To be filled' ||
|
||||||
|
this.selectedRowKeysValue[i].state == '待工程接口人处理' || this.selectedRowKeysValue[i].state == 'To be processed by eng. interface') {
|
||||||
|
ids.push(this.selectedRowKeysValue[i].id)
|
||||||
|
} else {
|
||||||
|
this.$message.warning(this.$t('onlyTheDataFilledUrged'))
|
||||||
|
return
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} else if (this.currentPersonRole == 'sdt') {
|
||||||
|
for (let i = 0; i < this.selectedRowKeysValue.length; i++) {
|
||||||
|
if (this.selectedRowKeysValue[i].state == '待填写' || this.selectedRowKeysValue[i].state == 'To be filled') {
|
||||||
|
ids.push(this.selectedRowKeysValue[i].id)
|
||||||
|
} else {
|
||||||
|
this.$message.warning(this.$t('onlyTheDataWhoseStatusUrged'))
|
||||||
|
return
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
this.textLoading = true
|
||||||
|
let query = {
|
||||||
|
ids: ids.join(','),
|
||||||
|
projectId: this.$route.query.projectId,
|
||||||
|
title: this.$route.query.title,
|
||||||
|
inventoryVersion: this.$route.query.version
|
||||||
|
}
|
||||||
|
postAction('/params/collectManifest/urge', query).then((res) => {
|
||||||
|
if (res.success) {
|
||||||
|
this.$message.success(res.message)
|
||||||
|
this.GetgetTableList()
|
||||||
|
} else {
|
||||||
|
this.$message.warning(res.message)
|
||||||
|
}
|
||||||
|
this.textLoading = false
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
this.$message.warning(this.$t('selectLeastOne'))
|
||||||
|
}
|
||||||
|
},
|
||||||
// 一键下发收集
|
// 一键下发收集
|
||||||
defOneclickCollection() {
|
defOneclickCollection() {
|
||||||
this.$refs.OneclickCollection.searchData()
|
this.$refs.OneclickCollection.searchData()
|
||||||
@@ -2860,64 +2911,64 @@ export default {
|
|||||||
// 离开页面结束定时器
|
// 离开页面结束定时器
|
||||||
clearTimeout(this.timeBatch)
|
clearTimeout(this.timeBatch)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<style lang="less">
|
<style lang="less">
|
||||||
.popconfirmIndex {
|
.popconfirmIndex {
|
||||||
z-index: 999;
|
z-index: 999;
|
||||||
}
|
}
|
||||||
|
|
||||||
.popconfirmIndex .ant-popover-buttons {
|
.popconfirmIndex .ant-popover-buttons {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.popconfirmIndex .anticon-exclamation-circle {
|
.popconfirmIndex .anticon-exclamation-circle {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
::v-deep .ant-table-fixed-header .ant-table-body-inner {
|
::v-deep .ant-table-fixed-header .ant-table-body-inner {
|
||||||
overflow: visible;
|
overflow: visible;
|
||||||
}
|
}
|
||||||
|
|
||||||
popconfirmmize {
|
popconfirmmize {
|
||||||
z-index: 999;
|
z-index: 999;
|
||||||
}
|
}
|
||||||
|
|
||||||
::v-deep .popconfirmmize .ant-popover-buttons {
|
::v-deep .popconfirmmize .ant-popover-buttons {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.popconfirmmize .anticon-exclamation-circle {
|
.popconfirmmize .anticon-exclamation-circle {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.popconfirmmize .ant-popover-message {
|
.popconfirmmize .ant-popover-message {
|
||||||
padding: 4px 0 36px !important;
|
padding: 4px 0 36px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
::v-deep .ant-popover-buttons {
|
::v-deep .ant-popover-buttons {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
@import '~@assets/less/common.less';
|
@import '~@assets/less/common.less';
|
||||||
|
|
||||||
.header-text {
|
.header-text {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
height: 60px;
|
height: 60px;
|
||||||
color: #000F16;
|
color: #000F16;
|
||||||
line-height: 40px;
|
line-height: 40px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.box-title-text {
|
.box-title-text {
|
||||||
line-height: 1.4;
|
line-height: 1.4;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.title-text {
|
.title-text {
|
||||||
width: 20%;
|
width: 20%;
|
||||||
min-width: 110px;
|
min-width: 110px;
|
||||||
color: #000F16;
|
color: #000F16;
|
||||||
@@ -2930,52 +2981,52 @@ popconfirmmize {
|
|||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
|
|
||||||
.box-input {
|
.box-input {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 70%;
|
width: 70%;
|
||||||
height: 38px;
|
height: 38px;
|
||||||
margin-top: 2px;
|
margin-top: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.box-button {
|
.box-button {
|
||||||
height: 38px;
|
height: 38px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.text-operation {
|
.text-operation {
|
||||||
margin-right: 8px;
|
margin-right: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.page {
|
.page {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.operator-text-left {
|
.operator-text-left {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
margin-right: 20px;
|
margin-right: 20px;
|
||||||
background: #eff1f3;
|
background: #eff1f3;
|
||||||
padding: 8px 8px;
|
padding: 8px 8px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.operator-text-title {
|
.operator-text-title {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
margin-right: 22px;
|
margin-right: 22px;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
color: #040B29;
|
color: #040B29;
|
||||||
margin-bottom: 22px;
|
margin-bottom: 22px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.box-title-text-index {
|
.box-title-text-index {
|
||||||
line-height: 1.4;
|
line-height: 1.4;
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
.title-text-Comment {
|
.title-text-Comment {
|
||||||
width: 74px;
|
width: 74px;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
@@ -2987,46 +3038,46 @@ popconfirmmize {
|
|||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
height: 42px;
|
height: 42px;
|
||||||
line-height: 36px;
|
line-height: 36px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.itemModel {
|
.itemModel {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-top: 2px;
|
margin-top: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.box-input .ant-select-selection {
|
.box-input .ant-select-selection {
|
||||||
height: 38px !important;
|
height: 38px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.itemitem {
|
.itemitem {
|
||||||
width: 250px;
|
width: 250px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.box-input .ant-select-selection__rendered {
|
.box-input .ant-select-selection__rendered {
|
||||||
line-height: 38px;
|
line-height: 38px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.Required {
|
.Required {
|
||||||
color: red;
|
color: red;
|
||||||
}
|
}
|
||||||
|
|
||||||
.customize-text {
|
.customize-text {
|
||||||
/*height: 1533px;*/
|
/*height: 1533px;*/
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
}
|
}
|
||||||
|
|
||||||
.customize-text-title {
|
.customize-text-title {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
color: #040B29;
|
color: #040B29;
|
||||||
margin-bottom: 22px;
|
margin-bottom: 22px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.drawer-bootom-button {
|
.drawer-bootom-button {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
@@ -3037,22 +3088,22 @@ popconfirmmize {
|
|||||||
left: 0;
|
left: 0;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
border-radius: 0 0 2px 2px;
|
border-radius: 0 0 2px 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ant-table-placeholder {
|
.ant-table-placeholder {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
border-top: none;
|
border-top: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.itemModelComment .ant-form-item-control-wrapper {
|
.itemModelComment .ant-form-item-control-wrapper {
|
||||||
width: 100% !important;
|
width: 100% !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.second {
|
.second {
|
||||||
padding: 0 !important;
|
padding: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.doc-detail {
|
.doc-detail {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
||||||
@@ -3157,49 +3208,49 @@ popconfirmmize {
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.text-wraning {
|
.text-wraning {
|
||||||
word-break: break-word;
|
word-break: break-word;
|
||||||
}
|
}
|
||||||
|
|
||||||
.operator-text-title-color {
|
.operator-text-title-color {
|
||||||
color: #00B3BE;
|
color: #00B3BE;
|
||||||
}
|
}
|
||||||
|
|
||||||
.itemOption {
|
.itemOption {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
-o-text-overflow: ellipsis;
|
-o-text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<style lang="less">
|
<style lang="less">
|
||||||
.popconfirmIndex .ant-popover-message-title {
|
.popconfirmIndex .ant-popover-message-title {
|
||||||
margin-bottom: 50px;
|
margin-bottom: 50px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<style>
|
<style>
|
||||||
.popconfirmDetailsText {
|
.popconfirmDetailsText {
|
||||||
z-index: 1000;
|
z-index: 1000;
|
||||||
top: 42px !important;
|
top: 42px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.popconfirmDetailsText .ant-popover-buttons {
|
.popconfirmDetailsText .ant-popover-buttons {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.popconfirmDetailsText .anticon-exclamation-circle {
|
.popconfirmDetailsText .anticon-exclamation-circle {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ant-select-selection--multiple {
|
.ant-select-selection--multiple {
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ant-select-selection--multiple::-webkit-scrollbar {
|
.ant-select-selection--multiple::-webkit-scrollbar {
|
||||||
display: none; /* Chrome Safari */
|
display: none; /* Chrome Safari */
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
@@ -457,6 +457,7 @@
|
|||||||
</a-row>
|
</a-row>
|
||||||
</a-form-model>
|
</a-form-model>
|
||||||
</a-spin>
|
</a-spin>
|
||||||
|
<viewImg ref="viewImgRef"/>
|
||||||
<div class="drawer-bootom-button">
|
<div class="drawer-bootom-button">
|
||||||
<a-button style="margin-right: 8px" @click="handleCancel">{{$t('cancel')}}</a-button>
|
<a-button style="margin-right: 8px" @click="handleCancel">{{$t('cancel')}}</a-button>
|
||||||
<a-button @click="handleSubmit" v-if="!disabled" type="primary" :loading="confirmLoading">{{$t('submit')}}
|
<a-button @click="handleSubmit" v-if="!disabled" type="primary" :loading="confirmLoading">{{$t('submit')}}
|
||||||
@@ -1057,14 +1058,14 @@
|
|||||||
},
|
},
|
||||||
progressTrackingOpenClick(e) {
|
progressTrackingOpenClick(e) {
|
||||||
if (e.target.localName == 'img') {
|
if (e.target.localName == 'img') {
|
||||||
ImagePreview(
|
// ImagePreview(
|
||||||
{
|
// {
|
||||||
images: [
|
// images: [
|
||||||
e.target.currentSrc
|
// e.target.currentSrc
|
||||||
],
|
// ],
|
||||||
closeable: true
|
// closeable: true
|
||||||
})
|
// })
|
||||||
// this.$refs.viewImgRef.getData(e.target.currentSrc)
|
this.$refs.viewImgRef.getData(e.target.currentSrc)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -229,11 +229,12 @@
|
|||||||
</a-row>
|
</a-row>
|
||||||
</a-form-model>
|
</a-form-model>
|
||||||
</a-spin>
|
</a-spin>
|
||||||
|
<viewImg ref="viewImgRef"/>
|
||||||
<div class="drawer-bootom-button">
|
<div class="drawer-bootom-button">
|
||||||
<a-button style="margin-right: 8px" @click="handleCancel">{{$t('close')}}</a-button>
|
<a-button style="margin-right: 8px" @click="handleCancel">{{$t('close')}}</a-button>
|
||||||
</div>
|
</div>
|
||||||
</a-drawer>
|
</a-drawer>
|
||||||
<viewImg ref="viewImgRef"/>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -427,14 +428,14 @@
|
|||||||
},
|
},
|
||||||
progressTrackingOpenClick(e) {
|
progressTrackingOpenClick(e) {
|
||||||
if (e.target.localName == 'img') {
|
if (e.target.localName == 'img') {
|
||||||
ImagePreview(
|
// ImagePreview(
|
||||||
{
|
// {
|
||||||
images: [
|
// images: [
|
||||||
e.target.currentSrc
|
// e.target.currentSrc
|
||||||
],
|
// ],
|
||||||
closeable: true
|
// closeable: true
|
||||||
})
|
// })
|
||||||
// this.$refs.viewImgRef.getData(e.target.currentSrc)
|
this.$refs.viewImgRef.getData(e.target.currentSrc)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
openClick(item) {
|
openClick(item) {
|
||||||
|
|||||||
@@ -1,17 +1,17 @@
|
|||||||
<template>
|
<template>
|
||||||
<a-modal
|
|
||||||
:title="$t('view')"
|
<div v-if="visible"
|
||||||
:width="800"
|
@mousewheel="rollImg($event)"
|
||||||
:visible="visible"
|
@mousedown="moveBox"
|
||||||
:maskClosable="false"
|
@mouseup="upBox"
|
||||||
:footer="null"
|
class="imgBox left">
|
||||||
@cancel="Cancel"
|
<div class="imgBoxBox"></div>
|
||||||
>
|
<img ref="bigImage"
|
||||||
<div class="viewImgBox">
|
id="pic"
|
||||||
<img class="viewImg" :src="srcUrl" alt="">
|
@mousedown="move"
|
||||||
|
class="viewImg" src="../../../../assets/pdf4.jpg" alt="">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</a-modal>
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
@@ -20,7 +20,16 @@
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
visible: false,
|
visible: false,
|
||||||
srcUrl: ''
|
srcUrl: '',
|
||||||
|
zoomD: 1,
|
||||||
|
x: 0,
|
||||||
|
y: 0,
|
||||||
|
startx: '',
|
||||||
|
starty: '',
|
||||||
|
endx: 0,
|
||||||
|
endy: 0,
|
||||||
|
firstTime: '',
|
||||||
|
lastTime: ''
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@@ -28,8 +37,71 @@
|
|||||||
this.visible = false
|
this.visible = false
|
||||||
},
|
},
|
||||||
getData(val) {
|
getData(val) {
|
||||||
|
this.zoomD = 1
|
||||||
this.srcUrl = val
|
this.srcUrl = val
|
||||||
this.visible = true
|
this.visible = true
|
||||||
|
},
|
||||||
|
//大
|
||||||
|
large() {
|
||||||
|
this.$nextTick(() => {
|
||||||
|
this.zoomD += 0.10
|
||||||
|
document.querySelector('.viewImg').style.transform = `matrix(${this.zoomD}, 0, 0,${this.zoomD}, 0, 0)`
|
||||||
|
})
|
||||||
|
},
|
||||||
|
// 小
|
||||||
|
Small() {
|
||||||
|
this.$nextTick(() => {
|
||||||
|
if (this.zoomD > 0.2) {
|
||||||
|
this.zoomD -= 0.10
|
||||||
|
}
|
||||||
|
document.querySelector('.viewImg').style.transform = `matrix(${this.zoomD}, 0, 0, ${this.zoomD}, 0, 0)`
|
||||||
|
})
|
||||||
|
},
|
||||||
|
|
||||||
|
rollImg(e) {
|
||||||
|
let direction = e.deltaY > 0 ? 'down' : 'up'
|
||||||
|
if (direction === 'up') {
|
||||||
|
// 滑轮向上滚动
|
||||||
|
this.large()
|
||||||
|
} else {
|
||||||
|
// 滑轮向下滚动
|
||||||
|
this.Small()
|
||||||
|
}
|
||||||
|
},
|
||||||
|
//移动demo
|
||||||
|
move(e) {
|
||||||
|
e.preventDefault()
|
||||||
|
// 获取元素
|
||||||
|
var personBox = document.querySelector('.left')
|
||||||
|
var img = document.querySelector('.viewImg')
|
||||||
|
var x = e.pageX - img.offsetLeft
|
||||||
|
var y = e.pageY - img.offsetTop
|
||||||
|
|
||||||
|
// 添加鼠标移动事件
|
||||||
|
personBox.addEventListener('mousemove', move)
|
||||||
|
|
||||||
|
function move(e) {
|
||||||
|
img.style.left = e.pageX - x + 'px'
|
||||||
|
img.style.top = e.pageY - y + 'px'
|
||||||
|
}
|
||||||
|
|
||||||
|
// 添加鼠标抬起事件,鼠标抬起,将事件移除
|
||||||
|
img.addEventListener('mouseup', function() {
|
||||||
|
personBox.removeEventListener('mousemove', move)
|
||||||
|
})
|
||||||
|
// 鼠标离开父级元素,把事件移除
|
||||||
|
personBox.addEventListener('mouseout', function() {
|
||||||
|
personBox.removeEventListener('mousemove', move)
|
||||||
|
})
|
||||||
|
},
|
||||||
|
moveBox() {
|
||||||
|
this.firstTime = new Date().getTime()
|
||||||
|
},
|
||||||
|
upBox() {
|
||||||
|
this.lastTime = new Date().getTime()
|
||||||
|
if (this.lastTime - this.firstTime < 200) {
|
||||||
|
this.visible = false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -42,6 +114,39 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.viewImg {
|
.viewImg {
|
||||||
|
width: auto;
|
||||||
|
z-index: 1000;
|
||||||
|
position: absolute;
|
||||||
|
}
|
||||||
|
|
||||||
|
.imgBox {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
z-index: 1000;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep .ant-modal-body {
|
||||||
|
padding: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep .ant-modal-close {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.imgBoxBox {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
background: #000;
|
||||||
|
opacity: 0.5;
|
||||||
|
z-index: 1000;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
Reference in New Issue
Block a user