Commit 01997de2 authored by 张伯涛's avatar 张伯涛

修改

parent 325716e6
......@@ -7,7 +7,7 @@
<el-input clearable v-model.trim="administraForm.OID" placeholder="请输入机构主数据编码" />
</el-form-item>
<el-form-item label="机构简称">
<el-input clearable v-model.trim="administraForm.SHORTNAME" placeholder="请输入机构称" />
<el-input clearable v-model.trim="administraForm.SHORTNAME" placeholder="请输入机构称" />
</el-form-item>
<el-form-item>
<el-button type="primary" size="small" @click="queryAdministra">查询</el-button>
......
......@@ -170,6 +170,17 @@ export default {
this.personnelForm.rows = this.rows
getUnit(this.personnelForm).then(res => {
this.personData = res.data.records
for (let i = 0, l = this.personData.length; i < l; i++) {
if (this.personData[i].ZBPTYPE === 'B1') {
this.personData[i].ZBPTYPENAME = '单位(B1)'
} else if (this.personData[i].ZBPTYPE === 'B2') {
this.personData[i].ZBPTYPENAME = '个人(B2)'
} else if (this.personData[i].ZBPTYPE === 'A1') {
this.personData[i].ZBPTYPENAME = '单位(A1)'
} else if (this.personData[i].ZBPTYPE === 'A2') {
this.personData[i].ZBPTYPENAME = '个人(A2)'
}
}
this.total = res.data.total
})
},
......
......@@ -18,8 +18,10 @@
</div>
<el-row>
<el-col :span="7">
<div style="padding: 70px" v-if="dictTypeList.length === 0">
<div v-if="dictTypeList.length === 0">
<div style="text-align: center">
<el-image :src="url"></el-image>
</div>
<div style="text-align: center;font-size: 20px;color: #d6d6d6">暂无数据</div>
</div>
<el-scrollbar v-else>
......
......@@ -73,7 +73,7 @@ export default {
ZUSSTATE: ''
},
data: [],
total: 4,
total: 0,
page: 1,
rows: 10
}
......@@ -103,6 +103,7 @@ export default {
rows: this.rows
})).then(res => {
this.data = res.data.records
this.total = res.data.total
})
},
/** 查看按钮 */
......
......@@ -69,7 +69,7 @@ export default {
ZMSTATE: ''
},
data: [],
total: 4,
total: 0,
page: 1,
rows: 10
}
......@@ -99,6 +99,7 @@ export default {
rows: this.rows
})).then(res => {
this.data = res.data.records
this.total = res.data.total
})
},
/** 查看按钮 */
......
......@@ -251,7 +251,7 @@
<el-option
v-for="item in Z2NDORGList"
:key="item.OID"
:label="item.NAME"
:label="item.SHORTNAME"
:value="item.OID"
/>
</el-select>
......
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