master
yujialong 4 years ago
parent 1c3fafebaf
commit 2feb9dd602
  1. 30
      README.md
  2. 1
      src/utils/api.js
  3. 11
      src/views/Home.vue
  4. 5
      src/views/List.vue
  5. 3
      src/views/ProgramOptions.vue

@ -1,30 +0,0 @@
# python_admin
## Project setup
```
npm install
```
### Compiles and hot-reloads for development
```
npm run serve
```
### Compiles and minifies for production
```
npm run build
```
### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).
- Home:判分点列表
- Main:判分点设置
+ Program:编程类
+ Transaction:交易类
+ Tool:工具类
+ Flow:流程类
- Catalog:目录树
+ Loan:贷款申请表
+ Process:业务编写页面
+ Set:业务已设置

@ -25,6 +25,7 @@ export default {
DeletePointOfJudgementRule: `${host}/judgment/pointOfJudgement/deletePointOfJudgementRule`, //删除判分点规则
UpdateIsOpen: `${host}/judgment/pointOfJudgement/updateIsOpen`, //修改判分点状态
JudgmentPointNameRepetition: `${host}/judgment/pointOfJudgement/JudgmentPointNameRepetition`,
queryUserIds:`${host}/liuwanr/userInfo/queryUserIds`,
// 科大
queryPoint: `${host2}/kdSys/queryPoint`,

@ -123,6 +123,7 @@ export default {
},
handleCurrentChange(val) {
this.$get(this.api.queryUserIds).then(res => {
this.pageNo = val;
this.systemId = this.getCookie("systemId");
this.systemId = this.systemId ? this.systemId : 1
@ -134,16 +135,16 @@ export default {
// systemId: 1,
pageNum: this.pageNo,
pageSize: this.pageSize,
queryName: this.keyword
})
.then(res => {
this.tableData = res.message.list;
queryName: this.keyword,
userIdList: res.message.retvalue.join()
}).then(res => {
this.tableData = res.message.rows;
this.dataTotal = res.message.total;
})
.catch(err => {
console.log(err);
});
}).catch(res => {})
},
initData(){
this.pageNo = 1

@ -81,6 +81,7 @@ export default {
currentPage: 1,
systemId: this.$route.query.systemId ? this.$route.query.systemId : 1,
userId: this.$route.query.userId,
pattern: this.$route.query.pattern,
systemName: "",
searchTimer: null
};
@ -154,7 +155,7 @@ export default {
if(this.systemId == 2){
this.$router.push(`programOption?systemId=${this.systemId}&userId=${this.userId}`);
}else{
this.$router.push(`programOptions?systemId=${this.systemId}&userId=${this.userId}`);
this.$router.push(`programOptions?systemId=${this.systemId}&userId=${this.userId}&pattern=${this.pattern}`);
}
},
//
@ -218,7 +219,7 @@ export default {
if(this.systemId == 2){
this.$router.push(`programOption?systemId=${this.systemId}&userId=${this.userId}&id=${res.id}`);
}else{
this.$router.push(`programOptions?systemId=${this.systemId}&userId=${this.userId}&id=${res.id}`);
this.$router.push(`programOptions?systemId=${this.systemId}&userId=${this.userId}&id=${res.id}&pattern=${this.pattern}`);
}
}
}

@ -401,6 +401,7 @@ export default {
},
],
operatorTwo: 1,
pattern: this.$route.query.pattern
};
},
components: {quill},
@ -492,7 +493,7 @@ export default {
}
},
getData() {
this.$post(this.api.queryPoint)
this.$post(`${this.api.queryPoint}?challenge=${this.pattern}`)
.then((res) => {
this.stepList = res.subject
this.getMesg()

Loading…
Cancel
Save