refactor(EntList): 统一导入getIsUserProp API
将getIsUserProp从 '@/api/abnormal' 移至 '@/api/force',使API调用更加集中和规范。 refactor(SpeList): 统一导入getIsUserProp API 将getIsUserProp从 '@/api/abnormal' 移至 '@/api/force',使API调用更加集中和规范。 fix(inclusion/list): 修复字段名错误并添加格式化器 修复uniscid字段名为uniscId,并为历史记录表格添加企业名称格式化显示功能。
This commit is contained in:
parent
39597fe39b
commit
4ca16abd59
|
|
@ -28,8 +28,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { getIsUserProp } from '@/api/abnormal'
|
||||
import { baseinfoListByRegOrg } from '@/api/force'
|
||||
import { baseinfoListByRegOrg, getIsUserProp } from '@/api/force'
|
||||
export default {
|
||||
props: {
|
||||
type: {
|
||||
|
|
|
|||
|
|
@ -25,8 +25,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { getIsUserProp } from '@/api/abnormal'
|
||||
import { forceDeregisterPageByRegOrg, forceSpePageByRegOrg, pageForceResByRegOrg } from '@/api/force'
|
||||
import { forceDeregisterPageByRegOrg, forceSpePageByRegOrg, pageForceResByRegOrg, getIsUserProp } from '@/api/force'
|
||||
export default {
|
||||
props: {
|
||||
type: {
|
||||
|
|
|
|||
|
|
@ -187,7 +187,7 @@ export default {
|
|||
width: '180px',
|
||||
showOverflowTooltip: true,
|
||||
formatter: (row, column, cellValue, index) => {
|
||||
return `${row.uniscid || row.regNo}`
|
||||
return `${row.uniscId || row.regNo}`
|
||||
}
|
||||
},
|
||||
showInTable: () => {
|
||||
|
|
@ -201,7 +201,10 @@ export default {
|
|||
span: 6,
|
||||
tableProps: {
|
||||
width: '200px',
|
||||
showOverflowTooltip: true
|
||||
showOverflowTooltip: true,
|
||||
formatter: (row, column, cellValue, index) => {
|
||||
return `${row.busName || row.entName}`
|
||||
}
|
||||
},
|
||||
showInTable: () => {
|
||||
return this.type === 'history'
|
||||
|
|
|
|||
Loading…
Reference in New Issue