Bladeren bron

添加编辑

master
YF-yuan 3 jaren geleden
bovenliggende
commit
83444d66cb
2 gewijzigde bestanden met toevoegingen van 55 en 14 verwijderingen
  1. +43
    -2
      src/views/second/taskSummary/basicTable.vue
  2. +12
    -12
      src/views/second/taskSummary/reward.vue

+ 43
- 2
src/views/second/taskSummary/basicTable.vue Bestand weergeven

@@ -51,6 +51,32 @@
@current-change="getDataList()"
/>
</el-card>

<el-dialog
title="编辑考核内容"
:visible.sync="showEdit"
width="400px"
custom-class="ele-dialog-form"
:lock-scroll="false"
:destroy-on-close="true"
@closed="form = {}"
>
<el-form
:model="form"
label-width="82px"
custom-class="editForm"
@keyup.enter.native="save"
@submit.native.prevent
ref="editForm"
>

</el-form>
<div slot="footer">
<el-button type="primary" @click="save">确定</el-button>
<el-button @click="showEdit = false">取消</el-button>&nbsp;
</div>
</el-dialog>
</div>
</template>

@@ -65,12 +91,24 @@ export default {
searchParams: {},
dataList: [],
loading: false,
showEdit: false,
form: {
quota1: "",
quota2: "",
leaderDept: undefined,
cooperateDept: undefined,
quota: "",
content: "",
leaderUnit: "",
},
quota1List:[],
quota2List:[],
count: 0,
tableHeight: document.documentElement.clientHeight - 305,
tableHeight: document.documentElement.clientHeight - 355,
page: {
page: 1,
limit: Math.floor(
(document.documentElement.clientHeight - 305 - 45) / 45
(document.documentElement.clientHeight - 355 - 45) / 45
),
},
};
@@ -82,6 +120,9 @@ export default {
getDataList() {},
edit(row) {

},
save() {

}
}
};

+ 12
- 12
src/views/second/taskSummary/reward.vue Bestand weergeven

@@ -12,16 +12,16 @@
align="center"
></el-table-column>
<el-table-column type="index" width="50" align="center" label="序号"></el-table-column>
<el-table-column label="一级指标" min-width="150" align="center"></el-table-column>
<el-table-column label="二级指标" min-width="150" align="center"></el-table-column>
<el-table-column label="考核内容和计分细则" min-width="200" align="center"></el-table-column>
<el-table-column label="小条内容" min-width="150" align="center"></el-table-column>
<el-table-column label="分值" min-width="60" align="center"></el-table-column>
<el-table-column label="区牵头单位" min-width="80" align="center"></el-table-column>
<el-table-column label="牵头部门" min-width="80" align="center"></el-table-column>
<el-table-column label="责任领导" min-width="80" align="center"></el-table-column>
<el-table-column label="配合部门" min-width="80" align="center"></el-table-column>
<el-table-column label="责任领导" min-width="80" align="center"></el-table-column>
<el-table-column label="一级指标" min-width="150" align="center" prop=""></el-table-column>
<el-table-column label="二级指标" min-width="150" align="center" prop=""></el-table-column>
<el-table-column label="考核内容和计分细则" min-width="200" align="center" prop=""></el-table-column>
<el-table-column label="小条内容" min-width="150" align="center" prop=""></el-table-column>
<el-table-column label="分值" min-width="60" align="center" prop=""></el-table-column>
<el-table-column label="区牵头单位" min-width="80" align="center" prop=""></el-table-column>
<el-table-column label="牵头部门" min-width="80" align="center" prop=""></el-table-column>
<el-table-column label="责任领导" min-width="80" align="center" prop=""></el-table-column>
<el-table-column label="配合部门" min-width="80" align="center" prop=""></el-table-column>
<el-table-column label="责任领导" min-width="80" align="center" prop=""></el-table-column>
<el-table-column
label="操作"
width="125"
@@ -67,11 +67,11 @@ export default {
dataList: [],
loading: false,
count: 0,
tableHeight: document.documentElement.clientHeight - 305,
tableHeight: document.documentElement.clientHeight - 355,
page: {
page: 1,
limit: Math.floor(
(document.documentElement.clientHeight - 305 - 45) / 45
(document.documentElement.clientHeight - 355 - 45) / 45
),
},
};

Laden…
Annuleren
Opslaan