Commit cb4f4e04 authored by dingyoujian's avatar dingyoujian

调整

parent 53736fcc
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="制造" ref="productor" prop="productor"> <el-form-item label="制造厂家" ref="productor" prop="productor">
<el-input :readonly="readonly" v-model="form.productor" ></el-input> <el-input :readonly="readonly" v-model="form.productor" ></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<!-- <el-col :span="12"> <!-- <el-col :span="12">
<el-form-item label="出厂编号" ref="serialno" prop="serialno"> <el-form-item label="登记证编号" ref="serialno" prop="serialno">
<el-input :readonly="readonly" v-model="form.serialno" ></el-input> <el-input :readonly="readonly" v-model="form.serialno" ></el-input>
</el-form-item> </el-form-item>
</el-col> --> </el-col> -->
...@@ -109,11 +109,11 @@ ...@@ -109,11 +109,11 @@
flid:'', flid:'',
//名称 //名称
name:'', name:'',
//制造 //制造厂家
productor:'', productor:'',
//型号 //型号
model:'', model:'',
//出厂编号 //登记证编号
serialno:'', serialno:'',
//计量单位 //计量单位
jldw:'', jldw:'',
...@@ -129,7 +129,7 @@ ...@@ -129,7 +129,7 @@
yt:'', yt:'',
//数量 //数量
sl:'', sl:'',
//出厂日期 //制造日期
ccrq:new Date().getTime(), ccrq:new Date().getTime(),
//工作级别 //工作级别
gzjb:'', gzjb:'',
......
...@@ -7,29 +7,23 @@ ...@@ -7,29 +7,23 @@
<el-row :gutter="20" class="search-row-1"> <el-row :gutter="20" class="search-row-1">
<el-col :span="6" class="search-col"> <el-col :span="6" class="search-col">
<div class="search-item"> <div class="search-item">
<span class="search-span">档案编号:</span> <span class="search-span">设备信息:</span>
<el-input v-model="queryParams.dabh"></el-input>
</div>
</el-col>
<el-col :span="6" class="search-col">
<div class="search-item">
<span class="search-span">设备名称:</span>
<el-input v-model="queryParams.sbxx"></el-input> <el-input v-model="queryParams.sbxx"></el-input>
</div> </div>
</el-col> </el-col>
<el-col :span="6" class="search-col"> <!--<el-col :span="6" class="search-col">-->
<div class="search-item"> <!--<div class="search-item">-->
<span class="search-span">是否已入档:</span> <!--<span class="search-span">是否已入档:</span>-->
<el-select v-model="queryParams.doc" placeholder="请选择"> <!--<el-select v-model="queryParams.doc" placeholder="请选择">-->
<el-option <!--<el-option-->
v-for="item in options" <!--v-for="item in options"-->
:key="item.value" <!--:key="item.value"-->
:label="item.label" <!--:label="item.label"-->
:value="item.value"> <!--:value="item.value">-->
</el-option> <!--</el-option>-->
</el-select> <!--</el-select>-->
</div> <!--</div>-->
</el-col> <!--</el-col>-->
</el-row> </el-row>
</div> </div>
...@@ -100,26 +94,28 @@ ...@@ -100,26 +94,28 @@
}, },
/* 表格标题对应参数*/ /* 表格标题对应参数*/
tableTitle: [ tableTitle: [
{label: "档案编号", prop: "dabh", fieldType: "ftString",width:100}, //gsid下拉
{label: "设备编号", prop: "code", fieldType: "ftString",width:140}, {label: "公司", prop: "gsName", fieldType: "ftString",width:96},
//flid,下拉, aqgl/sbgl/sbfl/query
{label: "设备分类", prop: "sbflName", fieldType: "ftString",width:96},
{label: "设备编号", prop: "dabh", fieldType: "ftString",width:100},
{label: "设备代码", prop: "code", fieldType: "ftString",width:140},
{label: "设备名称", prop: "name", fieldType: "ftString",width:160}, {label: "设备名称", prop: "name", fieldType: "ftString",width:160},
{label: "使用地点", prop: "sydd", fieldType: "ftString",width:300},
// {label: "系统分类", prop: "xtflName", fieldType: "ftString",width:48}, // {label: "系统分类", prop: "xtflName", fieldType: "ftString",width:48},
// {label: "设备分类", prop: "sbflName", fieldType: "ftString",width:96}, // {label: "设备分类", prop: "sbflName", fieldType: "ftString",width:96},
{label: "制造商", prop: "productor", fieldType: "ftString",width:300}, {label: "型号", prop: "model", fieldType: "ftString",width:300},
{label: "型号", prop: "model", fieldType: "ftString",width:300}, {label: "制造厂家", prop: "productor", fieldType: "ftString",width:300},
{label: "出厂编号", prop: "serialno", fieldType: "ftString",width:300}, {label: "登记证编号", prop: "serialno", fieldType: "ftString",width:300},
{label: "计量单位", prop: "jldw", fieldType: "ftString",width:120}, {label: "制造日期", prop: "ccrq", fieldType: "ftDateTime"},
// {label: "计量单位", prop: "jldw", fieldType: "ftString",width:120},
{label: "启用日期", prop: "qyrq", fieldType: "ftDateTime"}, {label: "启用日期", prop: "qyrq", fieldType: "ftDateTime"},
{label: "检验日期", prop: "scjyrq", fieldType: "ftDateTime"},
{label: "下次检验日期", prop: "xcjyrq", fieldType: "ftDateTime"},
{label: "检验周期", prop: "jyzq", fieldType: "ftString"},
/* {label: "停用日期", prop: "tyrq", fieldType: "ftDateTime"}, */ /* {label: "停用日期", prop: "tyrq", fieldType: "ftDateTime"}, */
{label: "使用状态", prop: "tybzName", fieldType: "ftString",width:80}, {label: "使用状态", prop: "syzt", fieldType: "ftString",width:80},
{label: "使用地点", prop: "sydd", fieldType: "ftString",width:300}, {label: "备注", prop: "bz", fieldType: "ftString",width:300}
{label: "用途", prop: "yt", fieldType: "ftString",width:300},
{label: "数量", prop: "sl", fieldType: "int"},
{label: "出厂日期", prop: "ccrq", fieldType: "ftDateTime"},
{label: "备注", prop: "bz", fieldType: "ftString",width:300},
{label: "是否已入档", prop: "doc", fieldType: "ftString",width:160,show:false},
{label: "是否已入档", prop: "docName", fieldType: "ftString",width:160}
] ]
} }
}, },
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="1.5"> <el-col :span="1.5">
<el-form-item label="制造" ref="productor" prop="productor"> <el-form-item label="制造厂家" ref="productor" prop="productor">
<el-input :readonly="readonly" v-model="form.productor" ></el-input> <el-input :readonly="readonly" v-model="form.productor" ></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="1.5"> <el-col :span="1.5">
<el-form-item label="出厂编号" ref="serialno" prop="serialno"> <el-form-item label="登记证编号" ref="serialno" prop="serialno">
<el-input :readonly="readonly" v-model="form.serialno" ></el-input> <el-input :readonly="readonly" v-model="form.serialno" ></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="1.5"> <el-col :span="1.5">
<el-form-item label="出厂日期" ref="ccrq" prop="ccrq"> <el-form-item label="制造日期" ref="ccrq" prop="ccrq">
<el-date-picker style="width: 100%;" :readonly="readonly" type="date" <el-date-picker style="width: 100%;" :readonly="readonly" type="date"
v-model="form.ccrq" placeholder="选择日期"> v-model="form.ccrq" placeholder="选择日期">
</el-date-picker> </el-date-picker>
...@@ -458,11 +458,11 @@ ...@@ -458,11 +458,11 @@
flid:'', flid:'',
//名称 //名称
name:'', name:'',
//制造 //制造厂家
productor:'', productor:'',
//型号 //型号
model:'', model:'',
//出厂编号 //登记证编号
serialno:'', serialno:'',
//计量单位 //计量单位
jldw:'', jldw:'',
...@@ -478,7 +478,7 @@ ...@@ -478,7 +478,7 @@
yt:'', yt:'',
//数量 //数量
sl:'', sl:'',
//出厂日期 //制造日期
ccrq:new Date().getTime(), ccrq:new Date().getTime(),
//系统分类 //系统分类
xtfl:'', xtfl:'',
......
...@@ -79,9 +79,9 @@ ...@@ -79,9 +79,9 @@
{label: "系统分类", prop: "xtflName", fieldType: "ftString",width:48}, {label: "系统分类", prop: "xtflName", fieldType: "ftString",width:48},
{label: "设备分类", prop: "sbflName", fieldType: "ftString",width:96}, {label: "设备分类", prop: "sbflName", fieldType: "ftString",width:96},
{label: "名称", prop: "name", fieldType: "ftString",width:300}, {label: "名称", prop: "name", fieldType: "ftString",width:300},
{label: "制造", prop: "productor", fieldType: "ftString",width:300}, {label: "制造厂家", prop: "productor", fieldType: "ftString",width:300},
{label: "型号", prop: "model", fieldType: "ftString",width:300}, {label: "型号", prop: "model", fieldType: "ftString",width:300},
{label: "出厂编号", prop: "serialno", fieldType: "ftString",width:300}, {label: "登记证编号", prop: "serialno", fieldType: "ftString",width:300},
{label: "计量单位", prop: "jldw", fieldType: "ftString",width:120}, {label: "计量单位", prop: "jldw", fieldType: "ftString",width:120},
{label: "启用日期", prop: "qyrq", fieldType: "ftDateTime"}, {label: "启用日期", prop: "qyrq", fieldType: "ftDateTime"},
/* {label: "停用日期", prop: "tyrq", fieldType: "ftDateTime"}, */ /* {label: "停用日期", prop: "tyrq", fieldType: "ftDateTime"}, */
...@@ -89,7 +89,7 @@ ...@@ -89,7 +89,7 @@
{label: "使用地点", prop: "sydd", fieldType: "ftString",width:300}, {label: "使用地点", prop: "sydd", fieldType: "ftString",width:300},
{label: "用途", prop: "yt", fieldType: "ftString",width:300}, {label: "用途", prop: "yt", fieldType: "ftString",width:300},
{label: "数量", prop: "sl", fieldType: "int"}, {label: "数量", prop: "sl", fieldType: "int"},
{label: "出厂日期", prop: "ccrq", fieldType: "ftDateTime"}, {label: "制造日期", prop: "ccrq", fieldType: "ftDateTime"},
{label: "系统分类", prop: "xtfl", fieldType: "ftString",width:48}, {label: "系统分类", prop: "xtfl", fieldType: "ftString",width:48},
{label: "工作级别", prop: "gzjb", fieldType: "ftString",width:180}, {label: "工作级别", prop: "gzjb", fieldType: "ftString",width:180},
{label: "跨度", prop: "kd", fieldType: "ftString",width:180}, {label: "跨度", prop: "kd", fieldType: "ftString",width:180},
......
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="24"> <el-col :span="24">
<el-form-item label="制造" ref="productor" prop="productor"> <el-form-item label="制造厂家" ref="productor" prop="productor">
<el-input :readonly="readonly" v-model="form.productor" ></el-input> <el-input :readonly="readonly" v-model="form.productor" ></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
...@@ -75,16 +75,16 @@ ...@@ -75,16 +75,16 @@
<el-input :readonly="readonly" v-model="form.flid" ></el-input> <el-input :readonly="readonly" v-model="form.flid" ></el-input>
</el-form-item> </el-form-item>
</el-col> --> </el-col> -->
<!-- <!--
--> -->
<!-- <el-col :span="12"> <!-- <el-col :span="12">
<el-form-item label="出厂编号" ref="serialno" prop="serialno"> <el-form-item label="登记证编号" ref="serialno" prop="serialno">
<el-input :readonly="readonly" v-model="form.serialno" ></el-input> <el-input :readonly="readonly" v-model="form.serialno" ></el-input>
</el-form-item> </el-form-item>
</el-col> --> </el-col> -->
<!-- <!--
<el-col :span="12"> <el-col :span="12">
<el-form-item label="停用日期" ref="tyrq" prop="tyrq"> <el-form-item label="停用日期" ref="tyrq" prop="tyrq">
<el-date-picker style="width: 100%;" :readonly="readonly" type="date" <el-date-picker style="width: 100%;" :readonly="readonly" type="date"
...@@ -97,16 +97,16 @@ ...@@ -97,16 +97,16 @@
<el-input :readonly="readonly" v-model="form.tybz" ></el-input> <el-input :readonly="readonly" v-model="form.tybz" ></el-input>
</el-form-item> </el-form-item>
</el-col> --> </el-col> -->
<!-- <!--
<el-col :span="12"> <el-col :span="12">
<el-form-item label="用途" ref="yt" prop="yt"> <el-form-item label="用途" ref="yt" prop="yt">
<el-input :readonly="readonly" v-model="form.yt" ></el-input> <el-input :readonly="readonly" v-model="form.yt" ></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
--> -->
<!-- <el-col :span="12"> <!-- <el-col :span="12">
<el-form-item label="出厂日期" ref="ccrq" prop="ccrq"> <el-form-item label="制造日期" ref="ccrq" prop="ccrq">
<el-date-picker style="width: 100%;" :readonly="readonly" type="date" <el-date-picker style="width: 100%;" :readonly="readonly" type="date"
v-model="form.ccrq" placeholder="选择日期"> v-model="form.ccrq" placeholder="选择日期">
</el-date-picker> </el-date-picker>
...@@ -244,8 +244,8 @@ ...@@ -244,8 +244,8 @@
<el-input :readonly="readonly" v-model="form.wjyy" ></el-input> <el-input :readonly="readonly" v-model="form.wjyy" ></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="监测因子" ref="jcyz" prop="jcyz"> <el-form-item label="监测因子" ref="jcyz" prop="jcyz">
<el-input :readonly="readonly" v-model="form.jcyz" ></el-input> <el-input :readonly="readonly" v-model="form.jcyz" ></el-input>
...@@ -467,11 +467,11 @@ ...@@ -467,11 +467,11 @@
flid:'', flid:'',
//名称 //名称
name:'', name:'',
//制造 //制造厂家
productor:'', productor:'',
//型号 //型号
model:'', model:'',
//出厂编号 //登记证编号
serialno:'', serialno:'',
//计量单位 //计量单位
jldw:'', jldw:'',
...@@ -487,7 +487,7 @@ ...@@ -487,7 +487,7 @@
yt:'', yt:'',
//数量 //数量
sl:'', sl:'',
//出厂日期 //制造日期
ccrq:new Date().getTime(), ccrq:new Date().getTime(),
//系统分类 //系统分类
xtfl:'2', xtfl:'2',
......
...@@ -76,7 +76,7 @@ ...@@ -76,7 +76,7 @@
</div> </div>
</div> </div>
</template> </template>
<script> <script>
import { import {
doQuery, doQuery,
...@@ -92,7 +92,7 @@ ...@@ -92,7 +92,7 @@
export default { export default {
mixins: [tableMixin], mixins: [tableMixin],
name: 'environment', name: 'environment',
/* 初始额外赋值*/ /* 初始额外赋值*/
async mounted() { async mounted() {
this.$refs['TablePager'].pageQuery() this.$refs['TablePager'].pageQuery()
...@@ -129,15 +129,15 @@ ...@@ -129,15 +129,15 @@
{label: "仪器名称", prop: "name", fieldType: "ftString",width:240}, {label: "仪器名称", prop: "name", fieldType: "ftString",width:240},
{label: "型号", prop: "model", fieldType: "ftString",width:100}, {label: "型号", prop: "model", fieldType: "ftString",width:100},
{label: "计量单位", prop: "jldw", fieldType: "ftString",width:120}, {label: "计量单位", prop: "jldw", fieldType: "ftString",width:120},
{label: "制造", prop: "productor", fieldType: "ftString",width:300}, {label: "制造厂家", prop: "productor", fieldType: "ftString",width:300},
// {label: "出厂编号", prop: "serialno", fieldType: "ftString",width:300}, // {label: "登记证编号", prop: "serialno", fieldType: "ftString",width:300},
{label: "启用日期", prop: "qyrq", fieldType: "ftDateTime"}, {label: "启用日期", prop: "qyrq", fieldType: "ftDateTime"},
/* {label: "停用日期", prop: "tyrq", fieldType: "ftDateTime"}, */ /* {label: "停用日期", prop: "tyrq", fieldType: "ftDateTime"}, */
{label: "使用状态", prop: "tybzName", fieldType: "ftString",width:120}, {label: "使用状态", prop: "tybzName", fieldType: "ftString",width:120},
{label: "使用地点", prop: "sydd", fieldType: "ftString",width:300}, {label: "使用地点", prop: "sydd", fieldType: "ftString",width:300},
// {label: "用途", prop: "yt", fieldType: "ftString",width:300}, // {label: "用途", prop: "yt", fieldType: "ftString",width:300},
{label: "数量", prop: "sl", fieldType: "int"}, {label: "数量", prop: "sl", fieldType: "int"},
// {label: "出厂日期", prop: "ccrq", fieldType: "ftDateTime"}, // {label: "制造日期", prop: "ccrq", fieldType: "ftDateTime"},
// {label: "系统分类", prop: "xtfl", fieldType: "ftString",width:48}, // {label: "系统分类", prop: "xtfl", fieldType: "ftString",width:48},
// {label: "工作级别", prop: "gzjb", fieldType: "ftString",width:180}, // {label: "工作级别", prop: "gzjb", fieldType: "ftString",width:180},
// {label: "跨度", prop: "kd", fieldType: "ftString",width:180}, // {label: "跨度", prop: "kd", fieldType: "ftString",width:180},
...@@ -174,7 +174,7 @@ ...@@ -174,7 +174,7 @@
} }
}, },
methods: { methods: {
/* 基础查询*/ /* 基础查询*/
query: doQuery, query: doQuery,
/* 基础增*/ /* 基础增*/
...@@ -185,7 +185,7 @@ ...@@ -185,7 +185,7 @@
apiDelete: doDelete, apiDelete: doDelete,
/* 初始化赋值操作*/ /* 初始化赋值操作*/
init() { init() {
}, },
tybz(a) { tybz(a) {
let nTy = false let nTy = false
...@@ -199,7 +199,7 @@ ...@@ -199,7 +199,7 @@
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning' type: 'warning'
}).then(() => { }).then(() => {
row["tybz"]=="Y"?row["tybz"]="N":row["tybz"]="Y" row["tybz"]=="Y"?row["tybz"]="N":row["tybz"]="Y"
doUpdate(row).then(res => { doUpdate(row).then(res => {
if (res.success) { if (res.success) {
...@@ -212,18 +212,18 @@ ...@@ -212,18 +212,18 @@
}) })
} }
}, },
components: { components: {
Edit, Edit,
} }
} }
</script> </script>
<style scoped> <style scoped>
</style> </style>
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
<el-input :readonly="readonly" v-model="form.flid" ></el-input> <el-input :readonly="readonly" v-model="form.flid" ></el-input>
</el-form-item> </el-form-item>
</el-col> --> </el-col> -->
<el-col :span="12"> <el-col :span="12">
<el-form-item label="下次检验日期" ref="xcjyrq" prop="xcjyrq"> <el-form-item label="下次检验日期" ref="xcjyrq" prop="xcjyrq">
<el-date-picker style="width: 100%;" :readonly="readonly" type="date" value-format="timestamp" <el-date-picker style="width: 100%;" :readonly="readonly" type="date" value-format="timestamp"
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<!-- <el-col :span="12"> <!-- <el-col :span="12">
<el-form-item label="制造" ref="productor" prop="productor"> <el-form-item label="制造厂家" ref="productor" prop="productor">
<el-input :readonly="readonly" v-model="form.productor" ></el-input> <el-input :readonly="readonly" v-model="form.productor" ></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
</el-form-item> </el-form-item>
</el-col> --> </el-col> -->
<!-- <el-col :span="12"> <!-- <el-col :span="12">
<el-form-item label="出厂编号" ref="serialno" prop="serialno"> <el-form-item label="登记证编号" ref="serialno" prop="serialno">
<el-input :readonly="readonly" v-model="form.serialno" ></el-input> <el-input :readonly="readonly" v-model="form.serialno" ></el-input>
</el-form-item> </el-form-item>
</el-col> --> </el-col> -->
...@@ -116,7 +116,7 @@ ...@@ -116,7 +116,7 @@
</el-form-item> </el-form-item>
</el-col> --> </el-col> -->
<!-- <el-col :span="12"> <!-- <el-col :span="12">
<el-form-item label="出厂日期" ref="ccrq" prop="ccrq"> <el-form-item label="制造日期" ref="ccrq" prop="ccrq">
<el-date-picker style="width: 100%;" :readonly="readonly" type="date" <el-date-picker style="width: 100%;" :readonly="readonly" type="date"
v-model="form.ccrq" placeholder="选择日期"> v-model="form.ccrq" placeholder="选择日期">
</el-date-picker> </el-date-picker>
...@@ -464,11 +464,11 @@ ...@@ -464,11 +464,11 @@
flid:'', flid:'',
//名称 //名称
name:'', name:'',
//制造 //制造厂家
productor:'', productor:'',
//型号 //型号
model:'', model:'',
//出厂编号 //登记证编号
serialno:'', serialno:'',
//计量单位 //计量单位
jldw:'', jldw:'',
...@@ -484,7 +484,7 @@ ...@@ -484,7 +484,7 @@
yt:'', yt:'',
//数量 //数量
sl:'', sl:'',
//出厂日期 //制造日期
ccrq:new Date().getTime(), ccrq:new Date().getTime(),
//工作级别 //工作级别
gzjb:'', gzjb:'',
......
...@@ -45,12 +45,12 @@ ...@@ -45,12 +45,12 @@
<div class="tablePagers"> <div class="tablePagers">
<TablePager @getData='getData' :ref="'TablePager'" :app='app' :query='query' @selectItem='selectItem' <TablePager @getData='getData' :ref="'TablePager'" :app='app' :query='query' @selectItem='selectItem'
@getRow='getRow'> @getRow='getRow'>
</TablePager> </TablePager>
</div> </div>
</div> </div>
</template> </template>
<script> <script>
import { import {
doQuery, doQuery,
...@@ -66,14 +66,14 @@ ...@@ -66,14 +66,14 @@
export default { export default {
mixins: [tableMixin], mixins: [tableMixin],
name: 'maintain', name: 'maintain',
/* 初始额外赋值*/ /* 初始额外赋值*/
async mounted() { async mounted() {
this.$refs['TablePager'].pageQuery() this.$refs['TablePager'].pageQuery()
}, },
data() { data() {
return { return {
/*需要的额外参数 */ /*需要的额外参数 */
showDialog: false, showDialog: false,
DialogName: '', DialogName: '',
...@@ -96,9 +96,9 @@ ...@@ -96,9 +96,9 @@
// {label: "系统分类", prop: "xtflName", fieldType: "ftString",width:48}, // {label: "系统分类", prop: "xtflName", fieldType: "ftString",width:48},
// {label: "设备分类", prop: "sbflName", fieldType: "ftString",width:96}, // {label: "设备分类", prop: "sbflName", fieldType: "ftString",width:96},
{label: "名称", prop: "name", fieldType: "ftString",width:300}, {label: "名称", prop: "name", fieldType: "ftString",width:300},
// {label: "制造", prop: "productor", fieldType: "ftString",width:300}, // {label: "制造厂家", prop: "productor", fieldType: "ftString",width:300},
// {label: "型号", prop: "model", fieldType: "ftString",width:300}, // {label: "型号", prop: "model", fieldType: "ftString",width:300},
// {label: "出厂编号", prop: "serialno", fieldType: "ftString",width:300}, // {label: "登记证编号", prop: "serialno", fieldType: "ftString",width:300},
// {label: "计量单位", prop: "jldw", fieldType: "ftString",width:120}, // {label: "计量单位", prop: "jldw", fieldType: "ftString",width:120},
// {label: "启用日期", prop: "qyrq", fieldType: "ftDateTime"}, // {label: "启用日期", prop: "qyrq", fieldType: "ftDateTime"},
/* {label: "停用日期", prop: "tyrq", fieldType: "ftDateTime"}, */ /* {label: "停用日期", prop: "tyrq", fieldType: "ftDateTime"}, */
...@@ -106,7 +106,7 @@ ...@@ -106,7 +106,7 @@
// {label: "使用地点", prop: "sydd", fieldType: "ftString",width:300}, // {label: "使用地点", prop: "sydd", fieldType: "ftString",width:300},
{label: "用途", prop: "yt", fieldType: "ftString",width:300}, {label: "用途", prop: "yt", fieldType: "ftString",width:300},
// {label: "数量", prop: "sl", fieldType: "int"}, // {label: "数量", prop: "sl", fieldType: "int"},
// {label: "出厂日期", prop: "ccrq", fieldType: "ftDateTime"}, // {label: "制造日期", prop: "ccrq", fieldType: "ftDateTime"},
// {label: "系统分类", prop: "xtfl", fieldType: "ftString",width:48}, // {label: "系统分类", prop: "xtfl", fieldType: "ftString",width:48},
// {label: "工作级别", prop: "gzjb", fieldType: "ftString",width:180}, // {label: "工作级别", prop: "gzjb", fieldType: "ftString",width:180},
// {label: "跨度", prop: "kd", fieldType: "ftString",width:180}, // {label: "跨度", prop: "kd", fieldType: "ftString",width:180},
...@@ -178,7 +178,7 @@ ...@@ -178,7 +178,7 @@
} }
}, },
methods: { methods: {
/* 基础查询*/ /* 基础查询*/
query: doQuery, query: doQuery,
/* 基础增*/ /* 基础增*/
...@@ -189,20 +189,20 @@ ...@@ -189,20 +189,20 @@
apiDelete: doDelete, apiDelete: doDelete,
/* 初始化赋值操作*/ /* 初始化赋值操作*/
init() { init() {
} }
}, },
components: { components: {
Edit, Edit,
} }
} }
</script> </script>
<style scoped> <style scoped>
</style> </style>
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="制造" ref="productor" prop="productor"> <el-form-item label="制造厂家" ref="productor" prop="productor">
<el-input :readonly="readonly" v-model="form.productor" ></el-input> <el-input :readonly="readonly" v-model="form.productor" ></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<!-- <el-col :span="12"> <!-- <el-col :span="12">
<el-form-item label="出厂编号" ref="serialno" prop="serialno"> <el-form-item label="登记证编号" ref="serialno" prop="serialno">
<el-input :readonly="readonly" v-model="form.serialno" ></el-input> <el-input :readonly="readonly" v-model="form.serialno" ></el-input>
</el-form-item> </el-form-item>
</el-col> --> </el-col> -->
...@@ -109,11 +109,11 @@ ...@@ -109,11 +109,11 @@
flid:'', flid:'',
//名称 //名称
name:'', name:'',
//制造 //制造厂家
productor:'', productor:'',
//型号 //型号
model:'', model:'',
//出厂编号 //登记证编号
serialno:'', serialno:'',
//计量单位 //计量单位
jldw:'', jldw:'',
...@@ -129,7 +129,7 @@ ...@@ -129,7 +129,7 @@
yt:'', yt:'',
//数量 //数量
sl:'', sl:'',
//出厂日期 //制造日期
ccrq:new Date().getTime(), ccrq:new Date().getTime(),
//工作级别 //工作级别
gzjb:'', gzjb:'',
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="制造" ref="productor" prop="productor"> <el-form-item label="制造厂家" ref="productor" prop="productor">
<el-input :readonly="readonly" v-model="form.productor" ></el-input> <el-input :readonly="readonly" v-model="form.productor" ></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<!-- <el-col :span="12"> <!-- <el-col :span="12">
<el-form-item label="出厂编号" ref="serialno" prop="serialno"> <el-form-item label="登记证编号" ref="serialno" prop="serialno">
<el-input :readonly="readonly" v-model="form.serialno" ></el-input> <el-input :readonly="readonly" v-model="form.serialno" ></el-input>
</el-form-item> </el-form-item>
</el-col> --> </el-col> -->
...@@ -109,11 +109,11 @@ ...@@ -109,11 +109,11 @@
flid:'', flid:'',
//名称 //名称
name:'', name:'',
//制造 //制造厂家
productor:'', productor:'',
//型号 //型号
model:'', model:'',
//出厂编号 //登记证编号
serialno:'', serialno:'',
//计量单位 //计量单位
jldw:'', jldw:'',
...@@ -129,7 +129,7 @@ ...@@ -129,7 +129,7 @@
yt:'', yt:'',
//数量 //数量
sl:'', sl:'',
//出厂日期 //制造日期
ccrq:new Date().getTime(), ccrq:new Date().getTime(),
//工作级别 //工作级别
gzjb:'', gzjb:'',
......
...@@ -122,9 +122,9 @@ ...@@ -122,9 +122,9 @@
{label: "设备名称", prop: "name", fieldType: "ftString",width:160}, {label: "设备名称", prop: "name", fieldType: "ftString",width:160},
// {label: "系统分类", prop: "xtflName", fieldType: "ftString",width:48}, // {label: "系统分类", prop: "xtflName", fieldType: "ftString",width:48},
// {label: "设备分类", prop: "sbflName", fieldType: "ftString",width:96}, // {label: "设备分类", prop: "sbflName", fieldType: "ftString",width:96},
{label: "制造", prop: "productor", fieldType: "ftString",width:300}, {label: "制造厂家", prop: "productor", fieldType: "ftString",width:300},
{label: "型号", prop: "model", fieldType: "ftString",width:300}, {label: "型号", prop: "model", fieldType: "ftString",width:300},
{label: "出厂编号", prop: "serialno", fieldType: "ftString",width:300}, {label: "登记证编号", prop: "serialno", fieldType: "ftString",width:300},
{label: "计量单位", prop: "jldw", fieldType: "ftString",width:120}, {label: "计量单位", prop: "jldw", fieldType: "ftString",width:120},
{label: "启用日期", prop: "qyrq", fieldType: "ftDateTime"}, {label: "启用日期", prop: "qyrq", fieldType: "ftDateTime"},
/* {label: "停用日期", prop: "tyrq", fieldType: "ftDateTime"}, */ /* {label: "停用日期", prop: "tyrq", fieldType: "ftDateTime"}, */
...@@ -132,7 +132,7 @@ ...@@ -132,7 +132,7 @@
{label: "使用地点", prop: "sydd", fieldType: "ftString",width:300}, {label: "使用地点", prop: "sydd", fieldType: "ftString",width:300},
{label: "用途", prop: "yt", fieldType: "ftString",width:300}, {label: "用途", prop: "yt", fieldType: "ftString",width:300},
{label: "数量", prop: "sl", fieldType: "int"}, {label: "数量", prop: "sl", fieldType: "int"},
{label: "出厂日期", prop: "ccrq", fieldType: "ftDateTime"}, {label: "制造日期", prop: "ccrq", fieldType: "ftDateTime"},
{label: "备注", prop: "bz", fieldType: "ftString",width:300}, {label: "备注", prop: "bz", fieldType: "ftString",width:300},
{label: "是否已入档", prop: "doc", fieldType: "ftString",width:160,show:false}, {label: "是否已入档", prop: "doc", fieldType: "ftString",width:160,show:false},
{label: "是否已入档", prop: "docName", fieldType: "ftString",width:160} {label: "是否已入档", prop: "docName", fieldType: "ftString",width:160}
...@@ -151,7 +151,7 @@ ...@@ -151,7 +151,7 @@
this.rowItem = e this.rowItem = e
this.$refs.ckxm.queryParams.mid=e.id this.$refs.ckxm.queryParams.mid=e.id
this.$refs.ckxm.$refs['TablePager'].pageQuery() this.$refs.ckxm.$refs['TablePager'].pageQuery()
}, },
selectedTree(e){ selectedTree(e){
this.queryParams.gsid=e.id||'root' this.queryParams.gsid=e.id||'root'
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="制造" ref="productor" prop="productor"> <el-form-item label="制造厂家" ref="productor" prop="productor">
<el-input :readonly="readonly" v-model="form.productor" ></el-input> <el-input :readonly="readonly" v-model="form.productor" ></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="出厂编号" ref="serialno" prop="serialno"> <el-form-item label="登记证编号" ref="serialno" prop="serialno">
<el-input :readonly="readonly" v-model="form.serialno" ></el-input> <el-input :readonly="readonly" v-model="form.serialno" ></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
...@@ -180,7 +180,7 @@ ...@@ -180,7 +180,7 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="出厂日期" ref="ccrq" prop="ccrq"> <el-form-item label="制造日期" ref="ccrq" prop="ccrq">
<el-date-picker style="width: 100%;" :readonly="readonly" type="date" value-format="timestamp" <el-date-picker style="width: 100%;" :readonly="readonly" type="date" value-format="timestamp"
v-model="form.ccrq" placeholder="选择日期"> v-model="form.ccrq" placeholder="选择日期">
</el-date-picker> </el-date-picker>
...@@ -236,11 +236,11 @@ ...@@ -236,11 +236,11 @@
flid:'', flid:'',
//名称 //名称
name:'', name:'',
//制造 //制造厂家
productor:'', productor:'',
//型号 //型号
model:'', model:'',
//出厂编号 //登记证编号
serialno:'', serialno:'',
//计量单位 //计量单位
jldw:'', jldw:'',
...@@ -256,8 +256,8 @@ ...@@ -256,8 +256,8 @@
yt:'', yt:'',
//数量 //数量
sl:'', sl:'',
//出厂日期 //制造日期
ccrq:new Date().getTime(), ccrq:new Date().getTime(),
//工作级别 //工作级别
gzjb:'', gzjb:'',
//跨度 //跨度
...@@ -393,7 +393,7 @@ ...@@ -393,7 +393,7 @@
//创建时间 //创建时间
cjsj:new Date().getTime(), cjsj:new Date().getTime(),
mid:"" mid:""
}, },
/* form提交时的规则,具体规则参考官网*/ /* form提交时的规则,具体规则参考官网*/
rules: { rules: {
...@@ -402,7 +402,7 @@ ...@@ -402,7 +402,7 @@
} }
}, },
methods: { methods: {
} }
} }
</script> </script>
......
...@@ -133,19 +133,19 @@ ...@@ -133,19 +133,19 @@
{label: "档案编号", prop: "dabh", fieldType: "ftString",width:100}, {label: "档案编号", prop: "dabh", fieldType: "ftString",width:100},
{label: "设备编号", prop: "code", fieldType: "ftString",width:140}, {label: "设备编号", prop: "code", fieldType: "ftString",width:140},
{label: "设备名称", prop: "name", fieldType: "ftString",width:160}, {label: "设备名称", prop: "name", fieldType: "ftString",width:160},
{label: "制造", prop: "productor", fieldType: "ftString",width:200}, {label: "制造厂家", prop: "productor", fieldType: "ftString",width:200},
{label: "使用状态", prop: "tybzName", fieldType: "ftString",width:80}, {label: "使用状态", prop: "tybzName", fieldType: "ftString",width:80},
{label: "出厂日期", prop: "ccrq", fieldType: "ftDateTime"}, {label: "制造日期", prop: "ccrq", fieldType: "ftDateTime"},
{label: "安装日期", prop: "azrq", fieldType: "ftDateTime"}, {label: "安装日期", prop: "azrq", fieldType: "ftDateTime"},
{label: "安装地点", prop: "azdd", fieldType: "ftString",width:300}, {label: "安装地点", prop: "azdd", fieldType: "ftString",width:300},
{label: "检验周期", prop: "jyzq", fieldType: "ftString",width:300}, {label: "检验周期", prop: "jyzq", fieldType: "ftString",width:300},
{label: "上次检验日期", prop: "scjyrq", fieldType: "ftDateTime"}, {label: "上次检验日期", prop: "scjyrq", fieldType: "ftDateTime"},
{label: "下次检验日期", prop: "xcjyrq", fieldType: "ftDateTime"}, {label: "下次检验日期", prop: "xcjyrq", fieldType: "ftDateTime"},
{label: "备注", prop: "bz", fieldType: "ftString",width:300}, {label: "备注", prop: "bz", fieldType: "ftString",width:300},
{label: "是否已入档", prop: "docName", fieldType: "ftString",width:300} {label: "是否已入档", prop: "docName", fieldType: "ftString",width:300}
...@@ -157,8 +157,8 @@ ...@@ -157,8 +157,8 @@
this.queryParams.flid=e.id||'1'; this.queryParams.flid=e.id||'1';
this.$refs['TablePager'].pageQuery(); this.$refs['TablePager'].pageQuery();
this.editDataX=e.id; this.editDataX=e.id;
}, },
query: doQuery, query: doQuery,
/* 基础增*/ /* 基础增*/
......
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