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

fix:修改搜索条件

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