Explorar el Código

task 45202 大屏调整

dev
庞东旭 hace 3 días
padre
commit
a5b3a7aa41
Se han modificado 3 ficheros con 11 adiciones y 5 borrados
  1. +2
    -2
      src/views/resources/main-gis/asset-details/index.html
  2. +9
    -1
      src/views/resources/main-gis/asset-details/index.js
  3. +0
    -2
      src/views/resources/main-gis/asset-details/index.scss

+ 2
- 2
src/views/resources/main-gis/asset-details/index.html Ver fichero

@@ -22,8 +22,8 @@
<p>{{resourceDetail.totalArea}}</p>
</div>
<div>
<p>资状态</p>
<p>{{resourceDetail.status}}</p>
<p>资状态</p>
<p><DictTag :options="statusOptions" :value="resourceDetail.status"/></p>
</div>
<div>
<p>使用情况</p>


+ 9
- 1
src/views/resources/main-gis/asset-details/index.js Ver fichero

@@ -1,19 +1,27 @@

import { zyDetail } from "./api.js";
import DictTag from '@/components/DictTag';
export default {
components: {
DictTag
},
props: {
data: {}
},
data () {
return {
isLoad: false,
resourceDetail: {}
resourceDetail: {},
statusOptions: []
};
},
computed: {
},
created () {
this.isLoad = false
this.getDicts("sys_normal_disable").then(response => {
this.statusOptions = response.data;
});
zyDetail(this.data).then(res => {
this.resourceDetail = res.data;
this.isLoad = true


+ 0
- 2
src/views/resources/main-gis/asset-details/index.scss Ver fichero

@@ -85,8 +85,6 @@
overflow-y: auto;

div {
font-size: 10px;
// height: 40px;
line-height: 20px;

p {


Cargando…
Cancelar
Guardar