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>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { getIsUserProp } from '@/api/abnormal'
|
import { baseinfoListByRegOrg, getIsUserProp } from '@/api/force'
|
||||||
import { baseinfoListByRegOrg } from '@/api/force'
|
|
||||||
export default {
|
export default {
|
||||||
props: {
|
props: {
|
||||||
type: {
|
type: {
|
||||||
|
|
|
||||||
|
|
@ -25,8 +25,7 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { getIsUserProp } from '@/api/abnormal'
|
import { forceDeregisterPageByRegOrg, forceSpePageByRegOrg, pageForceResByRegOrg, getIsUserProp } from '@/api/force'
|
||||||
import { forceDeregisterPageByRegOrg, forceSpePageByRegOrg, pageForceResByRegOrg } from '@/api/force'
|
|
||||||
export default {
|
export default {
|
||||||
props: {
|
props: {
|
||||||
type: {
|
type: {
|
||||||
|
|
|
||||||
|
|
@ -187,7 +187,7 @@ export default {
|
||||||
width: '180px',
|
width: '180px',
|
||||||
showOverflowTooltip: true,
|
showOverflowTooltip: true,
|
||||||
formatter: (row, column, cellValue, index) => {
|
formatter: (row, column, cellValue, index) => {
|
||||||
return `${row.uniscid || row.regNo}`
|
return `${row.uniscId || row.regNo}`
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
showInTable: () => {
|
showInTable: () => {
|
||||||
|
|
@ -201,7 +201,10 @@ export default {
|
||||||
span: 6,
|
span: 6,
|
||||||
tableProps: {
|
tableProps: {
|
||||||
width: '200px',
|
width: '200px',
|
||||||
showOverflowTooltip: true
|
showOverflowTooltip: true,
|
||||||
|
formatter: (row, column, cellValue, index) => {
|
||||||
|
return `${row.busName || row.entName}`
|
||||||
|
}
|
||||||
},
|
},
|
||||||
showInTable: () => {
|
showInTable: () => {
|
||||||
return this.type === 'history'
|
return this.type === 'history'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue