添加请求接口

master
yujialong 4 years ago
parent a73d1a77aa
commit 86308ff643
  1. 1
      src/store/State.js
  2. 56
      src/utils/api.js
  3. 329
      src/views/Home.vue
  4. 5
      src/views/List.vue
  5. 1134
      src/views/Program.vue
  6. 2
      src/views/ProgramOptions.vue
  7. 1246
      src/views/Transaction.vue

@ -1,4 +1,5 @@
export default { export default {
token: '', token: '',
referrer: '' referrer: ''
} }

@ -17,27 +17,61 @@ if(isKd){
} else { } else {
host = 'http://39.108.250.202'; // 中台 host = 'http://39.108.250.202'; // 中台
} }
host = 'http://192.168.31.125:9000' // 坤
} }
let host1 = 'http://39.108.250.202:8080'; let host1 = 'http://39.108.250.202:8080';
let uploadURL = 'http://8.134.8.197:8001'; let uploadURL = 'http://8.134.8.197:8001';
export default { export default {
fileupload: `${uploadURL}/oss/manage/fileupload`, fileupload: `${uploadURL}/oss/manage/fileupload`,
// 交易类(流程类)
getLcRecord: `${host}/judgment/lcRecord/getLcRecord`, // 获取流程记录列表(树)
getSubjectInfo: `${host}/judgment/lcSubject/getSubjectInfo`, // 根据题目id获取题目信息
addJudgmentRule: `${host}/judgment/lcJudgmentRule/addJudgmentRule`, // 添加判分点规则
updateJudgmentRule: `${host}/judgment/lcJudgmentRule/updateJudgmentRule`, // 添加判分点规则
deleteJudgmentRule: `${host}/judgment/lcJudgmentRule/deleteJudgmentRule`, // 批量删除判分点规则
addJudgmentPoint: `${host}/judgment/lcJudgmentPoint/addJudgmentPoint`, // 新增判分点
updateJudgmentPoint: `${host}/judgment/lcJudgmentPoint/updateJudgmentPoint`, // 更新判分点
deleteJudgmentPoint: `${host}/judgment/lcJudgmentPoint/deleteJudgmentPoint`, // 批量删除判分点
calculate: `${host}/judgment/lcJudgmentPoint/calculate`, // 计算判分点规则
updateIsOpen: `${host}/judgment/lcJudgmentPoint/updateIsOpen`, // 更新开启状态
queryNameIsExist: `${host}/judgment/lcJudgmentPoint/queryNameIsExist`, // 新增/编辑判分点名称判重
bandingProject: `${host}/judgment/lcJudgmentPoint/bandingProject`, // 绑定项目管理
queryAllJudgmentPoint: `${host}/judgment/lcJudgmentPoint/queryAllJudgmentPoint`, // 获取流程类判分点列表
queryJudgmentPointDetails: `${host}/judgment/lcJudgmentPoint/queryJudgmentPointDetails`, // 获取判分点详细信息
// 编程类
getBcJudgmentPoint: `${host}/judgment/bcJudgmentPoint/getBcJudgmentPoint`, // 获取判分点列表(分页)
queryBcJudgmentPointByBcId: `${host}/judgment/bcJudgmentPoint/queryBcJudgmentPointByBcId`, // 根据判分点id查询判分点详细信息
queryBcJudgmentByBcId: `${host}/judgment/bcJudgmentPoint/queryBcJudgmentByBcId`, // 根据判分点id查询判分点信息(不带规则)
addBcJudgmentPoint: `${host}/judgment/bcJudgmentPoint/addBcJudgmentPoint`, // 添加判分点
updateBcJudgmentPoint: `${host}/judgment/bcJudgmentPoint/updateBcJudgmentPoint`, // 更新判分点
bcDeleteJudgmentPoint: `${host}/judgment/bcJudgmentPoint/deleteJudgmentPoint`, // 批量删除判分点
bcQueryNameIsExist: `${host}/judgment/bcJudgmentPoint/queryNameIsExist`, // 新增/编辑判分点名称判重
bcBandingProject: `${host}/judgment/bcJudgmentPoint/bcBandingProject`, // 绑定项目管理
bcUpdateIsOpen: `${host}/judgment/bcJudgmentPoint/updateIsOpen`, // 更新开启状态
bcAddJudgmentRule: `${host}/judgment/bcJudgmentRule/addJudgmentRule`, // 添加判分点规则
bcUpdateJudgmentRule: `${host}/judgment/bcJudgmentRule/updateJudgmentRule`, // 更新判分点规则
bcDeleteJudgmentRule: `${host}/judgment/bcJudgmentRule/deleteJudgmentRule`, // 批量删除判分点规则
// 职站 // 职站
QueryPointOfJudgement: `${host}/judgment/pointOfJudgement/queryPointOfJudgement`, //判分点列表查询 // QueryPointOfJudgement: `${host}/judgment/pointOfJudgement/queryPointOfJudgement`, //判分点列表查询
DeletePointOfJudgement: `${host}/judgment/pointOfJudgement/deletePointOfJudgement`, //判分点列表删除 // DeletePointOfJudgement: `${host}/judgment/pointOfJudgement/deletePointOfJudgement`, //判分点列表删除
QueryPfdInformation: `${host}/judgment/pointOfJudgement/queryPfdInformation`, //判分点详细信息 // QueryPfdInformation: `${host}/judgment/pointOfJudgement/queryPfdInformation`, //判分点详细信息
UpdatePointOfJudgement: `${host}/judgment/pointOfJudgement/updatePointOfJudgement`, //编辑判分点基本信息 // UpdatePointOfJudgement: `${host}/judgment/pointOfJudgement/updatePointOfJudgement`, //编辑判分点基本信息
UpdatePointOfJudgementRule: `${host}/judgment/pointOfJudgement/updatePointOfJudgementRule`, //编辑判分点规则 // UpdatePointOfJudgementRule: `${host}/judgment/pointOfJudgement/updatePointOfJudgementRule`, //编辑判分点规则
AddPfdgzInformation: `${host}/judgment/pointOfJudgement/addPfdgzInformation`, //新增判分规则 // AddPfdgzInformation: `${host}/judgment/pointOfJudgement/addPfdgzInformation`, //新增判分规则
AddPfdInformation: `${host}/judgment/pointOfJudgement/addPfdInformation`, //新增判分点基本信息 // AddPfdInformation: `${host}/judgment/pointOfJudgement/addPfdInformation`, //新增判分点基本信息
QueryPfdgzInformation: `${host}/judgment/pointOfJudgement/queryPfdgzInformation`, //判分点规则信息查询 // QueryPfdgzInformation: `${host}/judgment/pointOfJudgement/queryPfdgzInformation`, //判分点规则信息查询
QueryAddgz: `${host}/judgment/pointOfJudgement/queryAddgz`, //查询新增判分点规则新增的数据 // QueryAddgz: `${host}/judgment/pointOfJudgement/queryAddgz`, //查询新增判分点规则新增的数据
DeletePointOfJudgementRule: `${host}/judgment/pointOfJudgement/deletePointOfJudgementRule`, //删除判分点规则 // DeletePointOfJudgementRule: `${host}/judgment/pointOfJudgement/deletePointOfJudgementRule`, //删除判分点规则
// JudgmentPointNameRepetition: `${host}/judgment/pointOfJudgement/JudgmentPointNameRepetition`,
UpdateIsOpen: `${host}/judgment/pointOfJudgement/updateIsOpen`, //修改判分点状态 UpdateIsOpen: `${host}/judgment/pointOfJudgement/updateIsOpen`, //修改判分点状态
JudgmentPointNameRepetition: `${host}/judgment/pointOfJudgement/JudgmentPointNameRepetition`,
queryUserIds:`${host}/liuwanr/userInfo/queryUserIds`, queryUserIds:`${host}/liuwanr/userInfo/queryUserIds`,
// 科大子系统 // 科大子系统
queryPoint: `${host}/kdSys/queryPoint`, queryPoint: `${host}/kdSys/queryPoint`,
querySubject: `${host}/kdSys/querySubject`, querySubject: `${host}/kdSys/querySubject`,

@ -5,12 +5,12 @@
<span>Back</span> <span>Back</span>
</i> </i>
<p>{{systemName}} 判分点设置</p> <p>{{ systemName }} 判分点设置</p>
</div> </div>
<div class="footer"> <div class="footer">
<div class="flex-end"> <div class="flex-end">
<div> <div>
<el-input placeholder="请输入判分点名称" prefix-icon="el-icon-search" v-model="keyword" clearable></el-input> <el-input placeholder="请输入判分点名称" prefix-icon="el-icon-search" v-model="keyword" clearable></el-input>
</div> </div>
</div> </div>
<div class="flex footer_h"> <div class="flex footer_h">
@ -24,35 +24,36 @@
<el-col :span="24"> <el-col :span="24">
<el-card shadow="hover"> <el-card shadow="hover">
<el-table <el-table
:data="tableData" :data="tableData"
:cell-style="rowClass" :cell-style="rowClass"
:header-cell-style="headClass" :header-cell-style="headClass"
:stripe="true" :stripe="true"
header-align="center" header-align="center"
> >
<el-table-column type="index" label="序号" align="center"> <el-table-column type="index" label="序号" align="center">
<template slot-scope="scope">{{scope.$index + (pageNo - 1) * pageSize + 1}}</template> <template slot-scope="scope">{{ scope.$index + (pageNum - 1) * pageSize + 1 }}</template>
</el-table-column> </el-table-column>
<el-table-column prop="judgmentPointsName" label="判分点名称" align="center"></el-table-column> <el-table-column prop="name" label="判分点名称" align="center"></el-table-column>
<el-table-column label="实验要求" align="center"> <el-table-column label="实验要求" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<quill :border="true" :readonly="true" v-model="scope.row.experimentalRequirements" :minHeight="150" :height="150" /> <quill :border="true" :readonly="true" v-model="scope.row.experimentalRequirements" :minHeight="150"
:height="150"/>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="operate" label="操作" align="center"> <el-table-column prop="operate" label="操作" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button @click="handleClick(scope.row)" type="text" size="small">编辑</el-button> <el-button @click="handleEdit(scope.row)" type="text" size="small">编辑</el-button>
<el-button @click="getListDelete(scope.row)" type="text" size="small">删除</el-button> <el-button @click="handleDelete(scope.row)" type="text" size="small">删除</el-button>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="isopen" label="是否启用" align="center" min-width="20%"> <el-table-column prop="isOpen" label="是否启用" align="center" min-width="20%">
<template slot-scope="scope"> <template slot-scope="scope">
<el-switch <el-switch
v-model="scope.row.isopen" v-model="scope.row.isOpen"
:active-value="0" :active-value="0"
:inactive-value="1" :inactive-value="1"
@change="changeSwitch($event,scope.row,scope.$index)" @change="changeSwitch(scope.row)"
></el-switch> ></el-switch>
</template> </template>
</el-table-column> </el-table-column>
@ -64,12 +65,12 @@
<!-- 分页 --> <!-- 分页 -->
<div class="block"> <div class="block">
<el-pagination <el-pagination
background background
@current-change="handleCurrentChange" @current-change="handleCurrentChange"
:current-page="pageNo" :current-page="pageNum"
:page-size="10" :page-size="10"
layout="total,prev, pager, next, jumper" layout="total,prev, pager, next, jumper"
:total="dataTotal" :total="dataTotal"
></el-pagination> ></el-pagination>
</div> </div>
</div> </div>
@ -78,8 +79,8 @@
</template> </template>
<script> <script>
import axios from "axios";
import quill from '@/components/quill' import quill from '@/components/quill'
export default { export default {
data() { data() {
return { return {
@ -87,172 +88,186 @@ export default {
searchTimer: null, searchTimer: null,
tableData: [], tableData: [],
dataTotal: 0, // () dataTotal: 0, // ()
pageNo: 1, pageNum: 1,
pageSize: 10, pageSize: 10,
currentPage: 1, currentPage: 1,
systemId: this.$route.query.systemId, systemId: this.$route.query.systemId,
userId: this.$route.query.userId,
systemName: this.$route.query.systemName, systemName: this.$route.query.systemName,
}; };
}, },
components: {quill}, components: {quill},
watch: { watch: {
keyword: function(val) { keyword: function (val) {
clearTimeout(this.searchTimer) clearTimeout(this.searchTimer)
this.searchTimer = setTimeout(() => { this.searchTimer = setTimeout(() => {
this.initData() this.initData()
},500) }, 500)
}, },
}, },
mounted() { mounted() {
let url = location.host console.log('当前地址=', location.host);
console.log(url,'当前地址'); console.log("token=", this.$route.query.token)
console.log(11,this.$route.query.token) console.log("systemId=", this.$route.query.systemId)
this.$route.query.token && this.$store.commit('setParam',{token: atob(decodeURI(this.$route.query.token)),referrer: atob(decodeURI(this.$route.query.referrer))})
this.handleCurrentChange(this.pageNo); this.$route.query.token && this.$store.commit('setParam', {
token: atob(decodeURI(this.$route.query.token)),
referrer: atob(decodeURI(this.$route.query.referrer))
})
this.initData();
}, },
methods: { methods: {
changeSwitch(e, row, index) { BackMain() { //
let newData = row;
newData.isopen = newData.isopen === 1 ? 1 : 0;
this.tableData[index] = newData;
this.$post(this.api.UpdateIsOpen, {
judgmentPointsId: row.judgmentPointsId,
isopen: newData.isopen
});
},
BackMain() {
// window.location = "http://120.78.198.231:8080/serviceSide/#/configure";
history.back() history.back()
}, },
handleCurrentChange(val) { //
handleCurrentChange(val) { this.pageNum = val;
this.$get(`${this.api.queryUserIds}`).then(res => { this.initData();
this.pageNo = val;
this.$get(this.api.QueryPointOfJudgement, {
systemId: this.systemId,
userId: this.userId,
pageNum: this.pageNo,
pageSize: this.pageSize,
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(){ initData() { //
this.pageNo = 1 let params = {
this.handleCurrentChange(this.pageNo) name: this.keyword,
pageNum: this.pageNum,
pageSize: this.pageSize,
systemId: this.systemId
};
if (this.systemId == 11) {
// ()
this.getProcessClassData(params);
} else {
//
this.getProgrammingClassData(params)
}
}, },
// setCookie(name, value) { getProcessClassData(params) { //
// if (value) { this.$post(`${this.api.queryAllJudgmentPoint}`, params).then(res => {
// var days = 1; // if (res.status === 200) {
// var exp = new Date(); this.tableData = res.message.records;
// exp.setTime(exp.getTime() + days * 24 * 60 * 60 * 1000); // Cookie, toGMTString this.dataTotal = res.message.total;
// document.cookie = } else {
// name + this.$message.error(res.message);
// "=" + }
// escape(value) + }).catch(err => {
// ";expires=" + console.log(err);
// exp.toGMTString + });
// ";path=/;";
// }
// },
//
HomepageJump() {
//ID
// this.setCookie("judgmentPointsId", "");
// console.log(this.getCookie("judgmentPointsId"));
// this.$router.push({ path: "/program" });
this.$router.push(`program?systemId=${this.systemId}&userId=${this.userId}`);
}, },
// getProgrammingClassData(params) { //
headClass() { this.$post(this.api.getBcJudgmentPoint, params).then(res => {
return "text-align: center;"; this.tableData = res.message.records;
this.dataTotal = res.message.total;
}).catch(err => {
console.log(err);
});
}, },
// HomepageJump() { //
rowClass() { if (this.systemId == 11) {
return "text-align: center;"; //
this.$router.push(`Transaction?isAdd=true&systemId=${this.systemId}`);
} else {
//
this.$router.push(`program?isAdd=true&systemId=${this.systemId}`);
}
}, },
handleEdit(row) { //
getCookie(cookie_name) { if (this.systemId == 11) {
//cookiekeyvalue //
var allcookies = document.cookie; // this.$router.push(`Transaction?isEdit=true&systemId=${this.systemId}&lcId=${row.lcId}`);
var cookie_pos = allcookies.indexOf(cookie_name); // cookie, } else {
//
if (cookie_pos != -1) { this.$router.push(`program?isEdit=true&systemId=${this.systemId}&bcId=${row.bcId}`)
// cookie_pos1
//cookie1=
cookie_pos = cookie_pos + cookie_name.length + 1; //cookie
var cookie_end = allcookies.indexOf(";", cookie_pos);
if (cookie_end == -1) {
cookie_end = allcookies.length;
} //cookie
var value = unescape(allcookies.substring(cookie_pos, cookie_end));
} }
return value;
}, },
// handleDelete(row) { //
getListDelete(res) { this.$confirm(`此操作将永久删除【${row.name}】判分点, 是否继续?`, "提示", {
this.$confirm("此操作将永久删除该内容, 是否继续?", "提示", {
confirmButtonText: "确定", confirmButtonText: "确定",
cancelButtonText: "取消", cancelButtonText: "取消",
type: "warning", type: "warning",
center: true center: true
}) }).then(() => {
.then(() => { if (this.systemId == 11) {
this.$post(this.api.DeletePointOfJudgement, { //
judgmentPointsId: res.judgmentPointsId this.$post(`${this.api.deleteJudgmentPoint}?ids=${row.lcId}`).then(res => {
}) if (res.status === 200) {
.then(res => { this.$message.success("删除成功");
let totalPage = Math.ceil((this.dataTotal - 1) / this.pageSize); this.initData();
let currentPage = } else {
this.pageNo > totalPage ? totalPage : this.pageNo; this.$message.error(res.message);
this.pageNo = currentPage < 1 ? 1 : currentPage; }
this.handleCurrentChange(this.pageNo); }).catch(err => {
}) console.log(err);
.catch(err => {
console.log(err);
});
this.$message({
type: "success",
message: "删除成功!"
}); });
}) } else {
.catch(() => { //
this.$message({ this.$post(`${this.api.bcDeleteJudgmentPoint}?ids=${row.bcId}`).then(res => {
type: "info", if (res.status === 200) {
message: "已取消删除" this.$message.success("删除成功");
this.initData();
} else {
this.$message.error(res.message);
}
}).catch(err => {
console.log(err);
}); });
}
}).catch(() => {
this.$message.info("已取消删除");
});
},
changeSwitch(row) { //
if (this.systemId == 11) {
//
this.$get(`${this.api.updateIsOpen}?isOpen=${row.isOpen}&lcId=${row.lcId}`).then(res => {
if (res.status === 200) {
this.$message.success("更新启用状态成功");
this.initData();
} else {
this.$message.error(res.message);
}
}).catch(err => {
console.log(err);
}); });
} else {
//
this.$get(`${this.api.bcUpdateIsOpen}?isOpen=${row.isOpen}&bcId=${row.bcId}`).then(res => {
if (res.status === 200) {
this.$message.success("更新启用状态成功");
this.initData();
} else {
this.$message.error(res.message);
}
}).catch(err => {
console.log(err);
});
}
},
//
headClass() {
return "text-align: center;";
},
//
rowClass() {
return "text-align: center;";
}, },
//
handleClick(res) {
this.$router.push(`program?judgmentPointsId=${res.judgmentPointsId}&systemId=${this.systemId}&userId=${this.userId}`)
}
} }
}; };
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
/deep/.ql-toolbar{ /deep/ .ql-toolbar {
height: 0; height: 0;
padding: 0; padding: 0;
border-bottom: 0; border-bottom: 0;
} }
// //
.footer /deep/ .el-pagination span:not([class*="suffix"]), .footer /deep/ .el-pagination span:not([class*="suffix"]),
.el-pagination button { .el-pagination button {
font-size: 16px; font-size: 16px;
margin-right: 30px; margin-right: 30px;
} }
.footer /deep/ .el-pagination { .footer /deep/ .el-pagination {
text-align: right; text-align: right;
margin: 20px 0 0 0; margin: 20px 0 0 0;
@ -261,16 +276,19 @@ export default {
/deep/ .el-button { /deep/ .el-button {
line-height: 0; line-height: 0;
} }
.footer { .footer {
background-color: #ffffff; background-color: #ffffff;
margin-top: 10px; margin-top: 10px;
padding: 10px 20px 20px 20px; padding: 10px 20px 20px 20px;
} }
.footer_h { .footer_h {
position: relative; position: relative;
height: 50px; height: 50px;
line-height: 50px; line-height: 50px;
} }
.footer_h .black { .footer_h .black {
width: 8px; width: 8px;
height: 18px; height: 18px;
@ -285,6 +303,7 @@ export default {
font-weight: 600; font-weight: 600;
margin: 0; margin: 0;
} }
// //
.footer /deep/ .el-textarea__inner { .footer /deep/ .el-textarea__inner {
height: 60px; height: 60px;
@ -294,29 +313,35 @@ export default {
font-size: 12px; font-size: 12px;
border-radius: 5px; border-radius: 5px;
} }
.footer /deep/ .el-textarea__inner:hover { .footer /deep/ .el-textarea__inner:hover {
border: 1px solid #9278ff; border: 1px solid #9278ff;
} }
.footer /deep/ .el-table th.is-leaf, .footer /deep/ .el-table th.is-leaf,
.el-table td { .el-table td {
border-bottom: none; border-bottom: none;
} }
.footer /deep/ .el-table--group::after, .footer /deep/ .el-table--group::after,
.el-table--border::after, .el-table--border::after,
.el-table::before { .el-table::before {
background: rgba(255, 255, 255, 1); background: rgba(255, 255, 255, 1);
} }
// //
/deep/ ::-webkit-scrollbar { /deep/ ::-webkit-scrollbar {
width: 6px; // width: 6px; //
height: 6px; // height: 6px; //
} }
// //
/deep/ ::-webkit-scrollbar-thumb { /deep/ ::-webkit-scrollbar-thumb {
background-color: #9278ff; background-color: #9278ff;
border-radius: 3px; border-radius: 3px;
-webkit-box-shadow: inset 0 0 5px #dddddd; -webkit-box-shadow: inset 0 0 5px #dddddd;
} }
/deep/ ::-webkit-scrollbar-track { /deep/ ::-webkit-scrollbar-track {
/*滚动条里面轨道*/ /*滚动条里面轨道*/
-webkit-box-shadow: inset 0 0 5px #dddddd; -webkit-box-shadow: inset 0 0 5px #dddddd;
@ -327,26 +352,32 @@ export default {
.footer /deep/ .el-card__body { .footer /deep/ .el-card__body {
padding: 0; padding: 0;
} }
.footer /deep/ .el-card { .footer /deep/ .el-card {
border: none; border: none;
} }
.footer /deep/ .el-table th { .footer /deep/ .el-table th {
font-size: 14px; font-size: 14px;
font-family: Microsoft YaHei; font-family: Microsoft YaHei;
color: rgba(255, 255, 255, 1); color: rgba(255, 255, 255, 1);
background-color: #9278ff; background-color: #9278ff;
} }
.footer /deep/ .el-table--striped .el-table__body tr.el-table__row--striped td { .footer /deep/ .el-table--striped .el-table__body tr.el-table__row--striped td {
background-color: #f5f2ff; background-color: #f5f2ff;
} }
.footer /deep/ .el-button--text { .footer /deep/ .el-button--text {
padding-right: 20px; padding-right: 20px;
color: #9278ff; color: #9278ff;
} }
.footer /deep/ .el-button--text:focus, .footer /deep/ .el-button--text:focus,
.el-button--text:hover { .el-button--text:hover {
color: #9278ff; color: #9278ff;
} }
.button { .button {
height: 30px; height: 30px;
width: 80px; width: 80px;
@ -358,14 +389,17 @@ export default {
position: absolute; position: absolute;
right: 30px; right: 30px;
} }
.button:focus { .button:focus {
outline: 0; outline: 0;
} }
.header /deep/ [class*=" el-icon-"], .header /deep/ [class*=" el-icon-"],
[class^="el-icon-"] { [class^="el-icon-"] {
line-height: 3; line-height: 3;
padding-left: 10px; padding-left: 10px;
} }
.header { .header {
background-color: #ffffff; background-color: #ffffff;
height: 50px; height: 50px;
@ -373,11 +407,13 @@ export default {
line-height: 50px; line-height: 50px;
font-weight: 600; font-weight: 600;
} }
.header span { .header span {
font-size: 16px; font-size: 16px;
font-weight: 600; font-weight: 600;
padding-left: 5px; padding-left: 5px;
} }
.header p { .header p {
font-size: 14px; font-size: 14px;
padding-left: 20px; padding-left: 20px;
@ -388,7 +424,8 @@ export default {
display: flex; display: flex;
justify-content: flex-start; justify-content: flex-start;
} }
.flex-end{
.flex-end {
display: flex; display: flex;
justify-content: flex-end; justify-content: flex-end;
} }

@ -221,7 +221,10 @@ export default {
}, },
// //
handleClick(res) { handleClick(res) {
if(this.systemId == 2){ if (this.systemId == 11) {
//
this.$router.push(`transaction?systemId=${this.systemId}&userId=${this.userId}&id=${res.id}`);
} else if(this.systemId == 2){
this.$router.push(`programOption?systemId=${this.systemId}&userId=${this.userId}&id=${res.id}`); this.$router.push(`programOption?systemId=${this.systemId}&userId=${this.userId}&id=${res.id}`);
}else{ }else{
this.$router.push(`programOptions?systemId=${this.systemId}&userId=${this.userId}&id=${res.id}&pattern=${this.pattern}`); this.$router.push(`programOptions?systemId=${this.systemId}&userId=${this.userId}&id=${res.id}&pattern=${this.pattern}`);

File diff suppressed because it is too large Load Diff

@ -713,7 +713,7 @@ export default {
}) })
.catch((err) => {}) .catch((err) => {})
}) })
.catch(() => {})
} }
}, },
AddListRow() { AddListRow() {

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save