lijinlong
李劲龙 5 months ago
parent cdcd4b3e96
commit 438cc7d058

@ -5,7 +5,7 @@ VUE_APP_TITLE = 若依管理系统
ENV = 'development' ENV = 'development'
# 若依管理系统/开发环境 # 若依管理系统/开发环境
VUE_APP_BASE_API = 'http://192.168.0.119:9015' VUE_APP_BASE_API = 'http://192.168.0.108:9015'
# 路由懒加载 # 路由懒加载
VUE_CLI_BABEL_TRANSPILE_MODULES = true VUE_CLI_BABEL_TRANSPILE_MODULES = true

@ -2697,24 +2697,25 @@ export default {
// //
getInfo(id){ getInfo(id){
assetInfo(id).then(res=>{ assetInfo(id).then(res=>{
console.log(res,"res");
this.ruleForm = res.data; this.ruleForm = res.data;
this.ruleForm.xttz ? this.xttz = this.ruleForm.xttz.split(',') : []; this.xttz = this.ruleForm.xttz.split(',')
this.ruleForm.gylxxList.length > 0 ? this.chepingUnit = this.ruleForm.gylxxList.filter((item) => item.type == 1) : [] this.chepingUnit = this.ruleForm.gylxxList.filter((item) => item.type == 1)
this.ruleForm.gylxxList.length > 0 ? this.yjgysUnit = this.ruleForm.gylxxList.filter((item) => item.type == 2) : [] this.yjgysUnit = this.ruleForm.gylxxList.filter((item) => item.type == 2)
this.ruleForm.gylxxList.length > 0 ? this.jfywUnit = this.ruleForm.gylxxList.filter((item) => item.type == 3) : [] this.jfywUnit = this.ruleForm.gylxxList.filter((item) => item.type == 3)
this.ruleForm.gylxxList.length > 0 ? this.xtsjUnit = this.ruleForm.gylxxList.filter((item) => item.type == 4) : [] this.xtsjUnit = this.ruleForm.gylxxList.filter((item) => item.type == 4)
this.ruleForm.gylxxList.length > 0 ? this.xtjsUnit = this.ruleForm.gylxxList.filter((item) => item.type == 5) : [] this.xtjsUnit = this.ruleForm.gylxxList.filter((item) => item.type == 5)
this.ruleForm.gylxxList.length > 0 ? this.xtyyUnit = this.ruleForm.gylxxList.filter((item) => item.type == 7) : [] this.xtyyUnit = this.ruleForm.gylxxList.filter((item) => item.type == 7)
this.ruleForm.gylxxList.length > 0 ? this.aqfwUnit = this.ruleForm.gylxxList.filter((item) => item.type == 6) : [] this.aqfwUnit = this.ruleForm.gylxxList.filter((item) => item.type == 6)
this.ruleForm.jcwlList.length > 0 ? this.fwqxx = this.ruleForm.jcwlList.filter((item) => item.type == 1) : [] this.fwqxx = this.ruleForm.jcwlList.filter((item) => item.type == 1)
this.ruleForm.jcwlList.length > 0 ? this.wlsb = this.ruleForm.jcwlList.filter((item) => item.type == 2) : [] this.wlsb = this.ruleForm.jcwlList.filter((item) => item.type == 2)
this.ruleForm.jcwlList.length > 0 ? this.aqsb = this.ruleForm.jcwlList.filter((item) => item.type == 3) : [] this.aqsb = this.ruleForm.jcwlList.filter((item) => item.type == 3)
this.ruleForm.xtfhqkFcg ? this.xtfhqkFcg = this.ruleForm.xtfhqkFcg.split(',') : [] this.xtfhqkFcg = this.ruleForm.xtfhqkFcg.split(',')
this.ruleForm.xtfhqkFxl ? this.xtfhqkFxl = this.ruleForm.xtfhqkFxl.split(',') : [] this.xtfhqkFxl = this.ruleForm.xtfhqkFxl.split(',')
this.ruleForm.xtfhqkFzd ? this.xtfhqkFzd = this.ruleForm.xtfhqkFzd.split(',') : [] this.xtfhqkFzd = this.ruleForm.xtfhqkFzd.split(',')
this.ruleForm.xtfhqkFls ? this.xtfhqkFls = this.ruleForm.xtfhqkFls.split(',') : [] this.xtfhqkFls = this.ruleForm.xtfhqkFls.split(',')
if(this.ruleForm.xjgywxt.remark) { if(this.ruleForm.xjgywxt.remark) {
this.radio = this.ruleForm.xjgywxt.remark; this.radio = this.ruleForm.xjgywxt.remark;

Loading…
Cancel
Save