Commit a2e43d12 authored by “yiyousong”'s avatar “yiyousong”

fix:修改搜索条件

parent 5e7e0f04
......@@ -210,7 +210,7 @@ export default {
siteId: this.siteId,
page: this.current,
size: this.size,
deviceName: this.searchVal,
deviceName: `%${this.searchVal}%`,
});
this.loading = false;
let { data } = res.data.data;
......
......@@ -38,7 +38,7 @@
v-model="searchVal"
style="width: 200px"
class="ml10 mr10"
placeholder="请输入材料称搜索"
placeholder="请输入材料称搜索"
></el-input>
<el-button size="small" type="primary" @click="handleSearch"
>搜索</el-button
......@@ -174,7 +174,7 @@ export default {
let res = await getPubdatumList({
page: this.current,
size: this.size,
materialName: this.searchVal,
materiaFullName: `%${this.searchVal}%`,
deptCode: this.department,
});
this.loading = false;
......
......@@ -37,7 +37,7 @@
v-model="leftSearch"
style="width: 200px"
class="ml10 mr10"
placeholder="请输入事项称搜索"
placeholder="请输入事项称搜索"
></el-input>
<el-button size="small" type="primary" @click="handleSearchLeft"
>搜索</el-button
......@@ -158,7 +158,7 @@
style="width: 200px"
v-model="rightSearch"
class="ml10 mr10"
placeholder="请输入材料称搜索"
placeholder="请输入材料称搜索"
></el-input>
<el-button size="small" type="primary" @click="handleSearchRight"
>搜索</el-button
......@@ -351,7 +351,7 @@ export default {
let res = await getWriteMatterList({
page: this.leftCurrent,
size: this.leftSize,
matterName: this.leftSearch,
matterFullName: `%${this.leftSearch}%`,
deptCode: this.departmentLeft,
siteId: this.siteId,
});
......@@ -370,7 +370,7 @@ export default {
let res = await getMaterialsList({
page: this.rightCurrent,
size: this.rightSize,
materialName: this.rightSearch,
materiaFullName: `%${this.rightSearch}%`,
matterId: this.activeDep.id,
deptCode: this.departmentRight,
siteId: parseInt(this.siteId),
......
......@@ -27,7 +27,7 @@
<el-form-item label="事项编码">
<el-input disabled size="small" v-model="form.matterNo"></el-input>
</el-form-item>
<el-form-item label="公共库" prop="name">
<el-form-item v-if="!form.id" label="公共库" prop="pub">
<el-switch
class="tableScopeSwitch"
inactive-text="不加"
......
......@@ -8,7 +8,7 @@
style="width: 200px"
v-model="searchVal"
class="ml10 mr10"
placeholder="请输入事项名称搜索"
placeholder="请输入材料全称搜索"
></el-input>
<el-button size="small" type="primary" @click="handleSarch"
>搜索
......@@ -147,7 +147,7 @@ export default {
let res = await getPubdatumList({
page: this.current,
size: this.size,
materialName: this.searchVal,
materiaFullName: `%${this.searchVal}%`,
});
this.loading = false;
if (res.data.code === 1) {
......
......@@ -41,7 +41,7 @@
style="width: 200px"
v-model="leftSearch"
class="ml10 mr10"
placeholder="请输入事项称搜索"
placeholder="请输入事项称搜索"
></el-input>
<el-button size="small" type="primary" @click="searchLeft"
>搜索</el-button
......@@ -356,7 +356,7 @@ export default {
let res = await getWriteMatterList({
page: this.leftCurrent,
size: this.leftSize,
matterName: this.leftSearch,
matterFullName: `%${this.leftSearch}%`,
deptCode: this.departmentLeft,
siteId: this.siteId,
});
......
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