Commit 5931bb3d authored by 李苏's avatar 李苏 💬

异物功能新增字段

parent 0507adbe
...@@ -123,7 +123,8 @@ ...@@ -123,7 +123,8 @@
v-for="item in jxlistData"> v-for="item in jxlistData">
<div style="color: #68D8FE ;width: 120px;" <div style="color: #68D8FE ;width: 120px;"
v-text="$moment(item.jxsj).format('YYYY-MM-DD HH:mm:ss') "></div> v-text="$moment(item.jxsj).format('YYYY-MM-DD HH:mm:ss') "></div>
<div style="color: #68D8FE ;width: calc(100% - 120px);text-align: left;padding-left: 5px;" v-text="item.jxnr"></div> <div style="color: #68D8FE ;width: calc(100% - 120px);text-align: left;padding-left: 5px;"
v-text="item.jxnr"></div>
</div> </div>
</div> </div>
</ScrollSeamless> </ScrollSeamless>
...@@ -134,7 +135,7 @@ ...@@ -134,7 +135,7 @@
</div> </div>
</div> </div>
<div class="flex1" style="height: 50%;overflow: hidden;"> <div class="flex1" style="height: 50%;overflow: hidden;">
<!-- 设备检修--> <!-- 设备检修-->
<div class="full"> <div class="full">
<div class="mktitle"> <div class="mktitle">
...@@ -669,7 +670,7 @@ ...@@ -669,7 +670,7 @@
const viewer = this.viewer; const viewer = this.viewer;
const points = positions.map( const points = positions.map(
/* 根据本身的模型定位来*/ /* 根据本身的模型定位来*/
(item) => new THREE.Vector3(item[0] / 1000 - 42, item[2] / 1000 - 10, -item[1] / 1000) (item) => new THREE.Vector3(item[0] / 1000, item[2] / 1000, -item[1] / 1000)
); );
const flowObject = new VT.TubeLine({ const flowObject = new VT.TubeLine({
points: points, points: points,
......
...@@ -2,13 +2,14 @@ ...@@ -2,13 +2,14 @@
<RelDialog width="50%" :type='type' :editApp='editApp' :app='app' :buttonApp='buttonApp'> <RelDialog width="50%" :type='type' :editApp='editApp' :app='app' :buttonApp='buttonApp'>
<el-form slot="form" ref="form" :model="form" label-width="100px" :rules="rules"> <el-form slot="form" ref="form" :model="form" label-width="100px" :rules="rules">
<el-row :gutter="20" :app="this"> <el-row :gutter="20" :app="this">
<EditColItem :required="item.required||false" :readonly="item.readonly?true:false " v-for="(item,index) in editColItemList " :value="item.value" :span="item.span" :label="item.label" :prop='item.prop' :key="item.prop" :type="item.type" :typeConfig='item.typeConfig' :rule="item.rule" /> <EditColItem :required="item.required||false" :readonly="item.readonly?true:false "
v-for="(item,index) in editColItemList " :value="item.value" :span="item.span" :label="item.label"
:prop='item.prop' :key="item.prop" :type="item.type" :typeConfig='item.typeConfig' :rule="item.rule" />
</el-row> </el-row>
</el-form> </el-form>
</RelDialog> </RelDialog>
</template> </template>
<script> <script>
import { import {
editMixin editMixin
} from 'common' } from 'common'
...@@ -18,49 +19,63 @@ ...@@ -18,49 +19,63 @@
return { return {
editColItemList: [ editColItemList: [
{ {
label: '名称', label: '名称',
prop: 'name', prop: 'name',
span: 12, span: 12,
type: 'input', type: 'input',
required:true, required: true,
}, },
{ {
label: '规格', label: '流向特性',
prop: 'ggxh', prop: 'ldtx',
span: 12, span: 12,
type: 'input', "type": "RelSelect",
}, "typeConfig": {
{ "src": "ywxxgl/uywxx/init/ldtx",
label: '尺寸', "match": {
prop: 'cc', "value": "id",
span: 12, "label": "name"
type: 'input', }
}, },
{ required: true,
label: '材质', },
prop: 'cz', {
span: 12, label: '规格',
type: 'input', prop: 'ggxh',
}, span: 12,
{ type: 'input',
label: "地点", },
prop: "dd", {
span: 24, label: '尺寸',
type: 'input', prop: 'cc',
}, span: 12,
{ type: 'input',
label: "标高", },
prop: "bg", {
span: 12, label: '材质',
type: 'input', prop: 'cz',
}, span: 12,
{ type: 'input',
label: "放射性强度", },
prop: "fsxqd", {
span: 12, label: "地点",
type: 'input', prop: "dd",
}, span: 24,
type: 'input',
},
{
label: "标高",
prop: "bg",
span: 12,
type: 'input',
},
{
label: "放射性强度",
prop: "fsxqd",
span: 12,
type: 'input',
},
{ {
label: '备注', label: '备注',
prop: 'bz', prop: 'bz',
......
...@@ -26,6 +26,17 @@ ...@@ -26,6 +26,17 @@
fieldType: "ftString", fieldType: "ftString",
width: 120 width: 120
}, },
{
label: "流向特性",
prop: "lxtx",
width: 120,
transform: {
"url": "ywxxgl/uywxx/init/ldtx",
"label": "name",
"value": "id"
}
},
{ {
label: "规格", label: "规格",
prop: "ggxh", prop: "ggxh",
...@@ -97,8 +108,7 @@ ...@@ -97,8 +108,7 @@
} }
], ],
queryParams: [ queryParams: [
[ [{
{
label: '名称', label: '名称',
prop: 'name', prop: 'name',
span: 6, span: 6,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment