出版物联调

master
yujialong 2 years ago
parent 4ad44c9d5c
commit 7d09f592f2
  1. 2
      src/pages/overviewSetup/index.vue
  2. 10
      src/pages/publication/monograph.vue
  3. 7
      src/pages/publication/patent.vue
  4. 24
      src/pages/publication/thesis.vue

@ -22,7 +22,7 @@
<img class="pic" src="http://10.10.11.7/images/overviewSetup/1.png" alt=""> <img class="pic" src="http://10.10.11.7/images/overviewSetup/1.png" alt="">
</div> </div>
<div class="lg-bg"> <div class="lg-bg">
<img width="100%" src="http://10.10.11.7/images/overviewSetup/2.png" alt=""> <img width="100%" :src="modules[2].form.pic" alt="">
</div> </div>
</div> </div>

@ -5,7 +5,7 @@
<span class="label">出版时间</span> <span class="label">出版时间</span>
<el-date-picker <el-date-picker
style="width: 300px" style="width: 300px"
v-model="form.publicationYear" v-model="form.publicationTime"
type="year" type="year"
placeholder="请选择出版时间" placeholder="请选择出版时间"
format="yyyy" format="yyyy"
@ -14,7 +14,7 @@
</el-date-picker> </el-date-picker>
</div> </div>
<div class="search"> <div class="search">
<input type="text" placeholder="请输入著作名称/出版社名称/编写人员" v-model="form.title"> <input type="text" placeholder="请输入著作名称/出版社名称/编写人员" v-model="form.monographQueryKeyWord">
<i class="icon"> <i class="icon">
<img src="@/assets/images/search-white.png" alt=""> <img src="@/assets/images/search-white.png" alt="">
</i> </i>
@ -43,8 +43,8 @@ export default {
patentClasses: ColumnConst.patentClasses, patentClasses: ColumnConst.patentClasses,
searchTimer: null, searchTimer: null,
form: { form: {
patentClassId: '', monographQueryKeyWord: '',
applicationDate: '' publicationTime: ''
}, },
classifications: [], classifications: [],
list: [], list: [],
@ -57,7 +57,7 @@ export default {
id() { id() {
this.id && this.initData() this.id && this.initData()
}, },
'form.title': function (val) { 'form.monographQueryKeyWord': function (val) {
clearTimeout(this.searchTimer); clearTimeout(this.searchTimer);
this.searchTimer = setTimeout(() => { this.searchTimer = setTimeout(() => {
this.initData(); this.initData();

@ -3,7 +3,7 @@
<div class="forms"> <div class="forms">
<div class="item"> <div class="item">
<span class="label">专利类别</span> <span class="label">专利类别</span>
<el-select v-model="form.patentClassId"> <el-select v-model="form.patentClassId" @change="initData">
<el-option <el-option
v-for="item in patentClasses" v-for="item in patentClasses"
:key="item.id" :key="item.id"
@ -25,7 +25,7 @@
</el-date-picker> </el-date-picker>
</div> </div>
<div class="search"> <div class="search">
<input type="text" placeholder="请输入专利名称/发明人姓名/申请号员" v-model="form.title"> <input type="text" placeholder="请输入专利名称/发明人姓名/申请号员" v-model="form.patentQueryKeyWord">
<i class="icon"> <i class="icon">
<img src="@/assets/images/search-white.png" alt=""> <img src="@/assets/images/search-white.png" alt="">
</i> </i>
@ -60,6 +60,7 @@ export default {
patentClasses: ColumnConst.patentClasses, patentClasses: ColumnConst.patentClasses,
searchTimer: null, searchTimer: null,
form: { form: {
patentQueryKeyWord: '',
patentClassId: '', patentClassId: '',
applicationDate: '' applicationDate: ''
}, },
@ -74,7 +75,7 @@ export default {
id() { id() {
this.id && this.initData() this.id && this.initData()
}, },
'form.title': function (val) { 'form.patentQueryKeyWord': function (val) {
clearTimeout(this.searchTimer); clearTimeout(this.searchTimer);
this.searchTimer = setTimeout(() => { this.searchTimer = setTimeout(() => {
this.initData(); this.initData();

@ -3,17 +3,18 @@
<div class="forms"> <div class="forms">
<div class="item"> <div class="item">
<span class="label">发表年度</span> <span class="label">发表年度</span>
<el-select v-model="form.classificationId"> <el-date-picker
<el-option style="width: 300px"
v-for="item in classifications" v-model="form.publicationYear"
:key="item.id" type="year"
:label="item.classificationName" placeholder="请选择出版时间"
:value="item.id"> format="yyyy"
</el-option> value-format="yyyy"
</el-select> @change="initData">
</el-date-picker>
</div> </div>
<div class="search"> <div class="search">
<input type="text" placeholder="请输入论文题目/期刊名称/作者名称" v-model="form.title"> <input type="text" placeholder="请输入论文题目/期刊名称/作者名称" v-model="form.paperQueryKeyWord">
<i class="icon"> <i class="icon">
<img src="@/assets/images/search-white.png" alt=""> <img src="@/assets/images/search-white.png" alt="">
</i> </i>
@ -39,7 +40,8 @@ export default {
return { return {
searchTimer: null, searchTimer: null,
form: { form: {
paperQueryKeyWord: '',
publicationYear: ''
}, },
classifications: [], classifications: [],
articles: [], articles: [],
@ -52,7 +54,7 @@ export default {
id() { id() {
this.id && this.initData() this.id && this.initData()
}, },
'form.title': function (val) { 'form.paperQueryKeyWord': function (val) {
clearTimeout(this.searchTimer); clearTimeout(this.searchTimer);
this.searchTimer = setTimeout(() => { this.searchTimer = setTimeout(() => {
this.initData(); this.initData();

Loading…
Cancel
Save