Commit 3a094343 authored by 姬鋆屾's avatar 姬鋆屾

推修改窗口负责人及申诉列表字段处理

parent a8e4da0d
......@@ -5,7 +5,11 @@
<LayoutTable :data="tableData" notAdd notDel :config="tableConfig">
</LayoutTable>
</el-tab-pane>
<el-tab-pane label="已处理" name="2">
<el-tab-pane label="申诉通过" name="2">
<LayoutTable :data="tableData" notAdd notDel :config="tableConfig">
</LayoutTable>
</el-tab-pane>
<el-tab-pane label="申诉不通过" name="3">
<LayoutTable :data="tableData" notAdd notDel :config="tableConfig">
</LayoutTable>
</el-tab-pane>
......@@ -107,18 +111,23 @@ export default {
this.getData();
},
getData() {
this.activeName == 1 || this.activeName == 2
? this.$post("/perform/attend/appeal/list", {
processStatus: this.activeName,
let obj = {
processStatus: this.activeName == 1 ? "1" : "2",
page: this.query.page,
size: this.query.size,
appealTimeStart: this.query.yearmonth
? this.query.yearmonth + "-01"
: "",
appealTimeEnd: this.query.yearmonth
? this.query.yearmonth + "-31"
: "",
}).then((res) => {
appealTimeEnd: this.query.yearmonth ? this.query.yearmonth + "-31" : "",
};
this.activeName == 2
? (obj.appealResult = 1)
: this.activeName == 3
? (obj.appealResult = 2)
: "";
this.activeName == 1 || this.activeName == 2 || this.activeName == 3
? this.$post("/perform/attend/appeal/list", obj).then((res) => {
if (res.code == 1) {
this.tableData = res.data;
this.dict = res.dict;
......@@ -242,9 +251,14 @@ export default {
{
label: "加分/扣分方式",
prop: "subAddType",
prop: "subMethod",
formatter: this.formatter,
},
// {
// label: "加分/扣分方式",
// prop: "subAddType",
// formatter: this.formatter,
// },
{
label: "加分/扣分时间",
......
......@@ -54,10 +54,17 @@
:enumData="dict.deptId"
placeholder="请选择部门"
/>
<Field
label="是否允许巡查"
prop="inspect"
type="checkbox"
v-model="form.inspect"
:enumData="inspectObj"
/>
<el-form-item label="是否允许巡查" prop="inspect">
<!-- <el-form-item label="是否允许巡查" prop="inspect">
<el-checkbox v-model="form.inspect">允许</el-checkbox>
</el-form-item>
</el-form-item> -->
<!-- <Field
label="工号"
prop="number"
......@@ -112,6 +119,9 @@ export default {
},
data() {
return {
inspectObj: {
1: "允许",
},
// 大厅
options: [],
//窗口
......@@ -238,15 +248,6 @@ export default {
// 表单重置
reset() {
this.form = {
deptId: 0,
deptName: "",
name: "",
number: "",
phone: "",
windowCount: null,
remark: "",
};
this.resetForm("form");
},
resetForm(refName) {
......
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