Browse Source

添加编辑

master
YF-yuan 3 years ago
parent
commit
83444d66cb
2 changed files with 55 additions and 14 deletions
  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 View File

@current-change="getDataList()" @current-change="getDataList()"
/> />
</el-card> </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> </div>
</template> </template>


searchParams: {}, searchParams: {},
dataList: [], dataList: [],
loading: false, loading: false,
showEdit: false,
form: {
quota1: "",
quota2: "",
leaderDept: undefined,
cooperateDept: undefined,
quota: "",
content: "",
leaderUnit: "",
},
quota1List:[],
quota2List:[],
count: 0, count: 0,
tableHeight: document.documentElement.clientHeight - 305,
tableHeight: document.documentElement.clientHeight - 355,
page: { page: {
page: 1, page: 1,
limit: Math.floor( limit: Math.floor(
(document.documentElement.clientHeight - 305 - 45) / 45
(document.documentElement.clientHeight - 355 - 45) / 45
), ),
}, },
}; };
getDataList() {}, getDataList() {},
edit(row) { edit(row) {


},
save() {

} }
} }
}; };

+ 12
- 12
src/views/second/taskSummary/reward.vue View File

align="center" align="center"
></el-table-column> ></el-table-column>
<el-table-column type="index" width="50" align="center" label="序号"></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 <el-table-column
label="操作" label="操作"
width="125" width="125"
dataList: [], dataList: [],
loading: false, loading: false,
count: 0, count: 0,
tableHeight: document.documentElement.clientHeight - 305,
tableHeight: document.documentElement.clientHeight - 355,
page: { page: {
page: 1, page: 1,
limit: Math.floor( limit: Math.floor(
(document.documentElement.clientHeight - 305 - 45) / 45
(document.documentElement.clientHeight - 355 - 45) / 45
), ),
}, },
}; };

Loading…
Cancel
Save