b09ca2e0 by xiaomiao

bug

2 parents db5e9829 d3e88617
{
"typeAcquisition": {
"include": [
"wechat-miniprogram"
]
}
}
\ No newline at end of file
{
"SERVERAPI": "service-bdcdj-th"
"SERVERAPI": "/bdcdj"
}
\ No newline at end of file
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-04-26 09:39:18
-->
<!DOCTYPE html>
<html>
<head>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="renderer" content="webkit">
<meta name="referrer" content="no-referrer" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<title><%= webpackConfig.name %></title>
</head>
<body>
<link rel="shortcut icon" type="image/x-icon" href="./bdcdj/favicon.ico" />
<title>
<%= webpackConfig.name %>
</title>
</head>
<body>
<div id="app"></div>
<!-- built files will be auto injected -->
</body>
</body>
</html>
<script>
window.baseUrl = location.origin || location.protocol +'//'+location.host
window.baseUrl = location.origin || location.protocol + '//' + location.host
// window.authorization = 'bearer AT-14-h4UlUGjPvgmrIgnDO-3QgMP0m4YJGQTR';
// window.authorization = 'bearer AT-223-c-Q86EHx75m7ig3EDf-SwMWl4U0AKn0b';
window.timeout=5000
window.authorization="bearer AT-4-MxSrO29Coe7VTazx8uuixtqqgO-hvCB6"
window.timeout = 5000
window.authorization = "bearer AT-4-MxSrO29Coe7VTazx8uuixtqqgO-hvCB6"
</script>
\ No newline at end of file
......
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1682411381886" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2656" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32"><path d="M106.666667 213.333333h810.666666v42.666667H106.666667z" fill="#ffffff" p-id="2657"></path><path d="M640 128v42.666667h42.666667V128c0-23.573333-19.093333-42.666667-42.538667-42.666667H383.872A42.496 42.496 0 0 0 341.333333 128v42.666667h42.666667V128h256z" fill="#ffffff" p-id="2658"></path><path d="M213.333333 896V256H170.666667v639.957333C170.666667 919.552 189.653333 938.666667 213.376 938.666667h597.248C834.218667 938.666667 853.333333 919.68 853.333333 895.957333V256h-42.666666v640H213.333333z" fill="#ffffff" p-id="2659"></path><path d="M320 341.333333h42.666667v384h-42.666667zM490.666667 341.333333h42.666666v384h-42.666666zM661.333333 341.333333h42.666667v384h-42.666667z" fill="#ffffff" p-id="2660"></path></svg>
\ No newline at end of file
......@@ -21,10 +21,10 @@
</el-dropdown>
<svg-icon class="shutdown" icon-class='shutdown' />
<svg-icon class="shutdown" @click.native="logout" icon-class='shutdown' />
</div>
</div>
<NoticeBar class="NoticeBar" :noticeList="noticeList" />
<NoticeBar class="NoticeBar" :noticeList="noticeList" v-if="noticeList.length > 0" />
</div>
</template>
<script>
......@@ -38,7 +38,10 @@ export default {
NoticeBar
},
computed: {
...mapGetters(['sidebar', 'avatar', 'name'])
...mapGetters(['sidebar', 'avatar', 'name']),
baseUrl () {
return window.baseUrl;
},
},
data () {
return {
......@@ -61,6 +64,7 @@ export default {
window.removeEventListener('message')
},
methods: {
queryNoticeList () {
getHomeNoticeList().then(res => {
if (res.result) {
......@@ -68,6 +72,12 @@ export default {
}
})
},
logout () {
const url = baseUrl + "/sso-logout?redirect_uri=" + baseUrl + "/admin";
window.open(url, "_self");
sessionStorage.removeItem("navList");
},
themeChange (val) {
this.$store.dispatch('app/updateTheme', val)
},
......
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-04-20 09:37:34
* @LastEditTime: 2023-04-26 09:36:10
*/
import Vue from 'vue'
import App from './App'
......@@ -60,7 +60,7 @@ Object.keys(filters).forEach(key => {
})
Vue.config.productionTip = false
axios.get("./config.json")
axios.get("./bdcdj/config.json")
.then((res) => {
Vue.prototype.BASE_API = res.data
localStorage.setItem('ApiUrl', JSON.stringify(res.data));
......
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-04-19 14:27:26
* @LastEditTime: 2023-04-25 17:05:49
*/
import store from '@/store'
// table 内部过滤器 由于过滤器只能在模板中使用 所以 就有了 jsx内部方法过滤器
export default class filter {
selected (row) {
if (row.djblzt == 1) { // 正在办理不能申请
return false //不可选择
} else {
return true //可选择
}
// if (row.sfbl == 0) { // 正在办理不能申请
// return false
// } else {
// return true //可选择
// }
return true
}
// 业务来源
busSource (val) {
......
......@@ -15,6 +15,13 @@
</el-col>
</el-row>
<el-row>
<el-col :span="24">
<el-form-item label="有效时长:">
<el-input v-model="ruleForm.validDays" class="width100"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-form-item label="通知内容:" prop="noticeContent">
<quill-editor v-model="ruleForm.noticeContent" class="editor ql-editor" ref="myQuillEditor"
:options="editorOption" @blur="onEditorBlur($event)" @focus="onEditorFocus($event)"
......@@ -65,6 +72,7 @@ export default {
noticeContent: "",
noticeFileUrl: "",
noticeSource: "",
validDays: 14,
noticeType: "1"
},
rules: {
......@@ -140,7 +148,10 @@ export default {
false
)
})
if (this.formData) {
if (!this.formData.isButtonFlag) {
this.getDetailInfo(this.formData)
}
if (this.formData.edit) {
this.getDetailInfo(this.formData)
}
},
......@@ -166,6 +177,8 @@ export default {
},
//新增通知
addNotice () {
// 解决报错
// this.ruleForm.noticeType = "1"
addSysNotice(this.ruleForm).then(res => {
if (res.code == 200) {
this.$message.success("保存成功");
......@@ -197,6 +210,7 @@ export default {
noticeContent: "",
noticeFileUrl: "",
noticeSource: "",
validDays: 14,
noticeType: "1"
}
},
......
......@@ -164,7 +164,7 @@ export default {
},
//编辑通知
editNotice (item) {
this.$popupDialog("系统通知详情", "system/xttz/components/addDialog", { ...item, "isButtonFlag": true }, "50%")
this.$popupDialog("系统通知详情", "system/xttz/components/addDialog", { ...item, "isButtonFlag": true, "edit": true }, "50%")
},
downloadFile (item) {
const href = item.noticeFileUrl
......
......@@ -57,6 +57,11 @@ class data extends filter {
width: '140'
},
{
prop: "failureTime",
label: "失效时间",
width: '140'
},
{
prop: "creater",
width: '120',
label: "创建人",
......
......@@ -2,6 +2,7 @@ import { getWorkFlowImage } from "@/api/workflow/jsydsyqFlow.js";
import { getPrintTemplateByCode } from "@/api/system";
import { getPrintApplicationInfo } from "@/api/fqsq";
import { uploadUndo } from "@/api/clxx";
import { deleteFlow } from "@/api/ywbl";
import { getLodop } from "@/utils/LodopFuncs"
import {
leftMenu,
......@@ -63,7 +64,7 @@ export default {
switch (qllx) {
case 'B39':
this.showBatch = true;
this.batchButtonName = '批量查封';
this.batchButtonName = '批量查封清单信息';
break;
case 'A37':
this.showBatch = true;
......@@ -107,7 +108,7 @@ export default {
finishedSequenceFlowSet: result.finishedSequenceFlowSet
},
allCommentList: result.historyTaskList
}, '70%', true)
}, '80%', true)
})
break;
case "B2": //材料分屏按钮
......@@ -229,7 +230,39 @@ export default {
});
});
break;
case "rm":
this.del()
break;
}
},
del () {
let formdata = new FormData();
formdata.append("bsmSlsq", this.bsmSlsq);
this.$confirm("确定要删除吗, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
deleteFlow(formdata).then((res) => {
if (res.code === 200) {
this.$message({
type: "success",
message: "删除成功!",
});
window.close();
window.opener.getBpageList();
} else {
this.$message.error(res.message);
}
});
})
.catch(() => {
this.$message({
type: "info",
message: "已取消删除",
});
});
},
//发送下一个环节
sendToNext (obj) {
......
......@@ -13,7 +13,7 @@
<ul>
<li @click="operation(item)" v-for="(item, index) in rightButtonList" :key="index">
<svg-icon class="icon" :icon-class="item.icon" />
<span class="iconName">{{ item.name }}</span>
<span class="iconName">{{ item.name }} {{item.value }}</span>
</li>
</ul>
<NoticeBar class="NoticeBar" :noticeList="noticeList" />
......@@ -175,8 +175,40 @@ export default {
case "signout":
window.close();
break;
case "rm":
this.del()
window.close();
}
},
del () {
let formdata = new FormData();
formdata.append("bsmSlsq", this.bsmSlsq);
this.$confirm("确定要删除吗, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
deleteFlow(formdata).then((res) => {
if (res.code === 200) {
this.handleDel();
this.$message({
type: "success",
message: "删除成功!",
});
this.queryClick();
} else {
this.$message.error(res.message);
}
});
})
.catch(() => {
this.$message({
type: "info",
message: "已取消删除",
});
});
},
//读取申请单元信息
loadBdcdylist () {
var formdata = new FormData();
......
<template>
<div class="from-clues">
<div class="from-clues-header">
<el-form :model="queryForm" ref="queryForm" @submit.native.prevent label-width="80px">
<el-form :model="queryForm" ref="queryForm" @submit.native.prevent label-width="100px">
<el-row>
<el-col :span="5">
<el-form-item label="业务来源" label-width="70px">
<el-form-item label="业务来源">
<el-select v-model="queryForm.ywly" class="width100" filterable
@change="handleSelect('ywly', 'ywlymc', 'ywly')" @clear="handleEmpty('ywlymc')" clearable
placeholder="请选择业务来源">
......@@ -31,14 +31,14 @@
</el-select>
</el-form-item>
</el-col>
<el-col :span="5">
<el-col :span="6">
<el-form-item label="业务号">
<el-input placeholder="请输入业务号" v-model="queryForm.ywh" clearable class="width100">
</el-input>
</el-form-item>
</el-col>
<el-col :span="4" class="btnColRight">
<el-col :span="3" class="btnColRight">
<el-form-item>
<el-button type="primary" native-type="submit" @click="handleSearch">查询</el-button>
<el-button @click="moreQueryClick">高级查询</el-button>
......@@ -64,7 +64,7 @@
</el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<el-col :span="6">
<el-form-item label="坐落">
<el-input placeholder="如需要模糊查询,前后输入%" v-model="queryForm.zl" clearable class="width100">
</el-input>
......@@ -86,7 +86,7 @@
</div>
<div class="from-clues-content">
<lb-table :page-size="pageData.size" class="loadingtext" @sort-change="handleSort"
:current-page.sync="pageData.currentPage" :heightNum="295" :total="tableData.total"
:current-page.sync="pageData.currentPage" :heightNum="335" :total="tableData.total"
@size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns"
:data="tableData.data">
</lb-table>
......@@ -135,9 +135,8 @@ export default {
sendThis(this);
window["getBpageList"] = () => {
this.queryClick();
};
}
},
watch: {
queryForm: {
handler (newName, oldName) { },
......
......@@ -104,13 +104,13 @@ class data extends filter {
prop: 'fromstepdate',
width: '140'
},
{
label: '操作',
width: '80',
render: (h, scope) => {
return <el-button type="text" icon="el-icon-delete" onClick={() => { vm.del(scope.row) }}>删除</el-button>
}
}
// {
// label: '操作',
// width: '80',
// render: (h, scope) => {
// return <el-button type="text" icon="el-icon-delete" onClick={() => { vm.del(scope.row) }}>删除</el-button>
// }
// }
]
}
}
......