|
|
|
@ -11,6 +11,10 @@ |
|
|
|
<span slot="label" style="" @click="getBaseList(1016)"><a herf="#">工具类型</a></span> |
|
|
|
<el-input v-model="searchData.toolType" style="width: 160px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="日历标识"> |
|
|
|
<span slot="label" style="" @click="getBaseList(1018)"><a herf="#">日历标识</a></span> |
|
|
|
<el-input v-model="searchData.calendarId" ></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label=" "> |
|
|
|
<el-button @click="search()" type="primary" style="margin-left: 2px;margin-top:0px">查询</el-button> |
|
|
|
<el-button type="primary" @click="addToolInfoModal()">新增</el-button> |
|
|
|
@ -180,6 +184,7 @@ export default { |
|
|
|
site:this.$store.state.user.site, |
|
|
|
toolId:'', |
|
|
|
toolType:'', |
|
|
|
calendarId: '', |
|
|
|
startDate:'', |
|
|
|
endDate:'', |
|
|
|
}, |
|
|
|
@ -825,6 +830,8 @@ export default { |
|
|
|
getBaseData (val) { |
|
|
|
if (this.tagNo === 1016) { |
|
|
|
this.searchData.toolType = val.tool_type; |
|
|
|
}else if (this.tagNo === 1018) { |
|
|
|
this.searchData.calendarId = val.calendar_id; |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
|