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

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

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