Commit 44bc9b4d authored by “yiyousong”'s avatar “yiyousong”

pref:修改事项管理

parent fc9db377
......@@ -314,7 +314,7 @@ import local from "@/utils/local";
import { getDeptList } from "@/services/dept";
import {
saveAddMatter,
addMatterToSite,
// addMatterToSite,
getMatterInfo,
} from "@/services/matter";
export default {
......@@ -427,10 +427,10 @@ export default {
this.loading = false;
if (code === 1) {
this.$message.success(msg);
await addMatterToSite({
siteId: this.siteId,
matterIds: data.entity.id + "",
});
// await addMatterToSite({
// siteId: this.siteId,
// matterIds: data.entity.id + "",
// });
this.baseform = data.entity;
}
} else {
......
......@@ -244,6 +244,7 @@
v-model="baseform.legalEndExplain"
:auto-size="{ minRows: 5, maxRows: 5 }"
allow-clear
placeholder="请输入法定时限办结说明"
/>
</a-form-model-item>
</a-col>
......@@ -256,6 +257,7 @@
v-model="baseform.promiseEndExplain"
:auto-size="{ minRows: 5, maxRows: 5 }"
allow-clear
placeholder="请输入承诺时限办结说明"
/>
</a-form-model-item>
</a-col>
......@@ -265,6 +267,7 @@
v-model="baseform.specialProcedure"
:auto-size="{ minRows: 5, maxRows: 5 }"
allow-clear
placeholder="请输入特别程序"
/>
</a-form-model-item>
</a-col>
......@@ -273,10 +276,11 @@
<div class="color_title mt">窗口办理</div>
<a-row>
<a-col :span="8">
<a-form-model-item label="到现场次数" prop="windowToTheSceneNum">
<a-form-model-item label="到现场次数" prop="windowToTheSceneNum">
<a-input
v-model.number="baseform.windowToTheSceneNum"
suffix="次"
placeholder="请输入到现场次数"
/>
</a-form-model-item>
</a-col>
......@@ -340,7 +344,7 @@
<a-row>
<a-col :span="16">
<a-form-model-item
label="必须到现场原因"
label="必须到现场原因"
:label-col="{ span: 3 }"
:wrapper-col="{ span: 21 }"
prop="mustSceneExplain"
......@@ -349,6 +353,7 @@
v-model="baseform.mustSceneExplain"
:auto-size="{ minRows: 5, maxRows: 5 }"
allow-clear
placeholder="请输入必须到现场原因"
/>
</a-form-model-item>
</a-col>
......@@ -376,6 +381,7 @@
<a-input
v-model.number="baseform.onlineToTheSceneNum"
suffix="次"
placeholder="请输入到现场次数"
/>
</a-form-model-item>
</a-col>
......@@ -438,6 +444,7 @@
v-model="baseform.reaonlineMustSceneExplainson"
:auto-size="{ minRows: 5, maxRows: 5 }"
allow-clear
placeholder="请输入必须到现场原因"
/>
</a-form-model-item>
</a-col>
......@@ -760,6 +767,7 @@
v-model="baseform.operateSite"
:auto-size="{ minRows: 5, maxRows: 5 }"
allow-clear
placeholder="请输入办理地点"
/>
</a-form-model-item>
</a-col>
......@@ -769,6 +777,7 @@
v-model="baseform.cousultingShow"
:auto-size="{ minRows: 5, maxRows: 5 }"
allow-clear
placeholder="请输入咨询方式"
/>
</a-form-model-item>
</a-col>
......@@ -778,6 +787,7 @@
v-model="baseform.superviseShow"
:auto-size="{ minRows: 5, maxRows: 5 }"
allow-clear
placeholder="请输入监督投诉方式"
/>
</a-form-model-item>
</a-col>
......@@ -795,7 +805,10 @@
</template>
<script>
import { saveAddMatter, addMatterToSite } from "@/services/matter";
import {
saveAddMatter,
// addMatterToSite
} from "@/services/matter";
import { getDeptList } from "@/services/dept";
import local from "@/utils/local";
import { mapGetters } from "vuex";
......@@ -955,10 +968,10 @@ export default {
let { code, msg, data } = res.data;
this.loading = false;
if (code === 1) {
await addMatterToSite({
siteId: this.siteId,
matterIds: data.entity.id + "",
});
// await addMatterToSite({
// siteId: this.siteId,
// matterIds: data.entity.id + "",
// });
const obj = {
id: data.entity.id,
matterName: data.entity.matterName,
......
......@@ -6,7 +6,6 @@
<div class="header-bottom">
<div class="left-btn">
<a-button type="danger" @click="handleDelAll"> 批量移除 </a-button>
<a-button class="add-btn" @click="addMatter"> 新增事项 </a-button>
</div>
<div class="search-box">
<!-- <a-select
......@@ -116,6 +115,7 @@
<div class="control">
<div>
<a-button type="primary" @click="handleAddAll"> 批量加入 </a-button>
<a-button class="add-btn" @click="addMatter"> 新增事项 </a-button>
</div>
<div>
<a-input-search
......
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