Browse Source

bug

feature
tianq 3 years ago
parent
commit
023e8d87cf
  1. 13
      src/views/dataBoard/sida/cpts/sqpj.vue
  2. 3
      src/views/modules/shequzhili/tuceng/yingji/zizuzhi/addForm.vue

13
src/views/dataBoard/sida/cpts/sqpj.vue

@ -100,10 +100,10 @@ export default {
},
methods: {
async init() {
// if (this.orgId) {
// await this.getResiCategoryData();
// this.getPie();
// }
if (this.orgId) {
await this.getResiCategoryData();
this.getPie();
}
},
handleClickItem(item) {
@ -120,6 +120,7 @@ export default {
},
async getResiCategoryData() {
let url = '';
if (this.currentTab == '满意度') {
url = 'satis_eval_view';
@ -131,7 +132,7 @@ export default {
//
url = 'upset_eval_view';
}
const { data, code, msg } = await requestPostBi(
url,
{
@ -142,7 +143,7 @@ export default {
}
},
{
// mockId: 60031937,
mockId: 66906114,
}
);
if (code === 0) {

3
src/views/modules/shequzhili/tuceng/yingji/zizuzhi/addForm.vue

@ -140,7 +140,7 @@
<el-col :span="6">
<el-form-item label="组织人数" prop="organizationPersonCount">{{ formData.organizationPersonCount }}</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="负责人" prop="principalName" style="display: block">{{ formData.principalName }}</el-form-item>
</el-col>
@ -399,6 +399,7 @@ export default {
const { data, code, msg } = await requestPost(url);
if (code === 0) {
console.log('详情数据', data);
data.categoryList = data.categoryList.map(item => item.categoryCode);
this.formData = { ...data };
this.initMap();

Loading…
Cancel
Save