Merge branch 'dev_4newlayout' of http://182.92.169.222:3000/zhc077/projectManagement into dev_4newlayout
commit
e780934731
14 changed files with 48005 additions and 0 deletions
@ -0,0 +1,7 @@ |
||||
// Exports the "mobile" theme for usage with module loaders
|
||||
// Usage:
|
||||
// CommonJS:
|
||||
// require('tinymce/themes/mobile')
|
||||
// ES2015:
|
||||
// import 'tinymce/themes/mobile'
|
||||
require('./theme.js'); |
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
@ -0,0 +1,7 @@ |
||||
// Exports the "silver" theme for usage with module loaders
|
||||
// Usage:
|
||||
// CommonJS:
|
||||
// require('tinymce/themes/silver')
|
||||
// ES2015:
|
||||
// import 'tinymce/themes/silver'
|
||||
require('./theme.js'); |
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
@ -0,0 +1,368 @@ |
||||
<!doctype html> |
||||
<html> |
||||
<head> |
||||
<meta charset="utf-8" /> |
||||
<title>upfile</title> |
||||
<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1.0, maximum-scale=1.0"/> |
||||
<meta name="apple-mobile-web-app-capable" content="yes" /> |
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black" /> |
||||
<meta name="format-detection" content="telephone=no"> |
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> |
||||
<style> |
||||
html,body{height:100%;margin:0;padding:0;background:#fff;} |
||||
ul{margin:0;padding:0;list-style:none;} |
||||
#wrap{padding:10px;} |
||||
#topbar{padding:10px 0;border-bottom:1px solid #ccc;text-align:right;} |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
.tox *:not(svg):not(rect) { |
||||
box-sizing: inherit; |
||||
color: inherit; |
||||
cursor: inherit; |
||||
direction: inherit; |
||||
font-family: inherit; |
||||
font-size: inherit; |
||||
font-style: inherit; |
||||
font-weight: inherit; |
||||
line-height: inherit; |
||||
-webkit-tap-highlight-color: inherit; |
||||
text-align: inherit; |
||||
text-decoration: inherit; |
||||
text-shadow: inherit; |
||||
text-transform: inherit; |
||||
vertical-align: inherit; |
||||
white-space: inherit; |
||||
} |
||||
|
||||
.tox *:not(svg):not(rect) { |
||||
/* stylelint-disable-line no-duplicate-selectors */ |
||||
background: transparent; |
||||
border: 0; |
||||
float: none; |
||||
height: auto; |
||||
margin: 0; |
||||
max-width: none; |
||||
outline: 0; |
||||
padding: 0; |
||||
position: static; |
||||
width: auto; |
||||
} |
||||
|
||||
.tox .tox-form__group { |
||||
box-sizing: border-box; |
||||
margin-bottom: 4px; |
||||
} |
||||
.tox .tox-label, .tox .tox-toolbar-label { |
||||
color: rgba(34,47,62,.7); |
||||
display: block; |
||||
font-size: 14px; |
||||
font-style: normal; |
||||
font-weight: 400; |
||||
line-height: 1.3; |
||||
padding: 0 8px 0 0; |
||||
text-transform: none; |
||||
white-space: nowrap; |
||||
} |
||||
.tox .tox-selectfield select, .tox .tox-textarea, .tox .tox-textfield, .tox .tox-toolbar-textfield { |
||||
-webkit-appearance: none; |
||||
-moz-appearance: none; |
||||
appearance: none; |
||||
background-color: #fff; |
||||
border-color: #ccc; |
||||
border-radius: 3px; |
||||
border-style: solid; |
||||
border-width: 1px; |
||||
box-shadow: none; |
||||
box-sizing: border-box; |
||||
color: #222f3e; |
||||
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif; |
||||
font-size: 16px; |
||||
line-height: 24px; |
||||
margin: 0; |
||||
min-height: 34px; |
||||
outline: 0; |
||||
padding: 5px 4.75px; |
||||
resize: none; |
||||
width: 100%; |
||||
} |
||||
.tox .tox-dialog__body-content { |
||||
box-sizing: border-box; |
||||
display: flex; |
||||
flex: 1; |
||||
flex-direction: column; |
||||
-ms-flex-preferred-size: auto; |
||||
max-height: 650px; |
||||
overflow: auto; |
||||
-webkit-overflow-scrolling: touch; |
||||
padding: 16px 16px; |
||||
} |
||||
.tox .tox-dialog__body-content { |
||||
box-sizing: border-box; |
||||
display: flex; |
||||
flex: 1; |
||||
flex-direction: column; |
||||
-ms-flex-preferred-size: auto; |
||||
max-height: 650px; |
||||
overflow: auto; |
||||
-webkit-overflow-scrolling: touch; |
||||
padding: 16px 16px; |
||||
} |
||||
.tox .tox-dialog__body-content > * { |
||||
margin-bottom: 0; |
||||
margin-top: 16px; |
||||
} |
||||
.tox .tox-dialog__body-content > *:first-child { |
||||
margin-top: 0; |
||||
} |
||||
.tox .tox-dialog__body-content > *:last-child { |
||||
margin-bottom: 0; |
||||
} |
||||
.tox .tox-dialog__body-content > *:only-child { |
||||
margin-bottom: 0; |
||||
margin-top: 0; |
||||
} |
||||
.tox .tox-dialog__body-content a { |
||||
color: #207ab7; |
||||
cursor: pointer; |
||||
text-decoration: none; |
||||
} |
||||
.tox .tox-dialog__body-content a:hover, |
||||
.tox .tox-dialog__body-content a:focus { |
||||
color: #185d8c; |
||||
text-decoration: none; |
||||
} |
||||
.tox .tox-dialog__body-content a:active { |
||||
color: #185d8c; |
||||
text-decoration: none; |
||||
} |
||||
.tox .tox-dialog__body-content svg { |
||||
fill: #222f3e; |
||||
} |
||||
|
||||
.tox .tox-form__group--stretched { |
||||
display: flex; |
||||
flex: 1; |
||||
flex-direction: column; |
||||
-ms-flex-preferred-size: auto; |
||||
} |
||||
.tox .tox-form__group { |
||||
box-sizing: border-box; |
||||
margin-bottom: 4px; |
||||
} |
||||
.tox .tox-dropzone-container { |
||||
display: flex; |
||||
flex: 1; |
||||
} |
||||
|
||||
element.style { |
||||
} |
||||
.tox .tox-dropzone { |
||||
cursor: pointer; |
||||
align-items: center; |
||||
background: #fff; |
||||
border: 2px dashed #ccc; |
||||
box-sizing: border-box; |
||||
display: flex; |
||||
flex-direction: column; |
||||
flex-grow: 1; |
||||
justify-content: center; |
||||
min-height: 100px; |
||||
padding: 10px; |
||||
} |
||||
|
||||
.tox .tox-button { |
||||
background-color: #207ab7; |
||||
background-image: none; |
||||
background-position: 0 0; |
||||
background-repeat: repeat; |
||||
border-color: #207ab7; |
||||
border-radius: 3px; |
||||
border-style: solid; |
||||
border-width: 1px; |
||||
box-shadow: none; |
||||
box-sizing: border-box; |
||||
color: #fff; |
||||
cursor: pointer; |
||||
display: inline-block; |
||||
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif; |
||||
font-size: 14px; |
||||
font-weight: 700; |
||||
letter-spacing: normal; |
||||
line-height: 24px; |
||||
margin: 0; |
||||
outline: 0; |
||||
padding: 4px 16px; |
||||
text-align: center; |
||||
text-decoration: none; |
||||
text-transform: capitalize; |
||||
white-space: nowrap; |
||||
} |
||||
.tox .tox-button[disabled] { |
||||
background-color: #207ab7; |
||||
background-image: none; |
||||
border-color: #207ab7; |
||||
box-shadow: none; |
||||
color: rgba(255, 255, 255, 0.5); |
||||
cursor: not-allowed; |
||||
} |
||||
.tox .tox-button:focus:not(:disabled) { |
||||
background-color: #1c6ca1; |
||||
background-image: none; |
||||
border-color: #1c6ca1; |
||||
box-shadow: none; |
||||
color: #fff; |
||||
} |
||||
.tox .tox-button:hover:not(:disabled) { |
||||
background-color: #1c6ca1; |
||||
background-image: none; |
||||
border-color: #1c6ca1; |
||||
box-shadow: none; |
||||
color: #fff; |
||||
} |
||||
.tox .tox-button:active:not(:disabled) { |
||||
background-color: #185d8c; |
||||
background-image: none; |
||||
border-color: #185d8c; |
||||
box-shadow: none; |
||||
color: #fff; |
||||
} |
||||
|
||||
.tox .tox-button--secondary { |
||||
background-color: #f0f0f0; |
||||
background-image: none; |
||||
background-position: 0 0; |
||||
background-repeat: repeat; |
||||
border-color: #f0f0f0; |
||||
border-radius: 3px; |
||||
border-style: solid; |
||||
border-width: 1px; |
||||
box-shadow: none; |
||||
color: #222f3e; |
||||
outline: 0; |
||||
padding: 4px 16px; |
||||
text-decoration: none; |
||||
text-transform: capitalize; |
||||
} |
||||
.tox .tox-button--secondary[disabled] { |
||||
background-color: #f0f0f0; |
||||
background-image: none; |
||||
border-color: #f0f0f0; |
||||
box-shadow: none; |
||||
cursor: pointer; |
||||
color: rgba(34, 47, 62, 0.5); |
||||
} |
||||
.tox .tox-button--secondary:focus:not(:disabled) { |
||||
background-color: #e3e3e3; |
||||
background-image: none; |
||||
border-color: #e3e3e3; |
||||
box-shadow: none; |
||||
color: #222f3e; |
||||
} |
||||
.tox .tox-button--secondary:hover:not(:disabled) { |
||||
background-color: #e3e3e3; |
||||
background-image: none; |
||||
border-color: #e3e3e3; |
||||
box-shadow: none; |
||||
color: #222f3e; |
||||
} |
||||
.tox .tox-button--secondary:active:not(:disabled) { |
||||
background-color: #d6d6d6; |
||||
background-image: none; |
||||
border-color: #d6d6d6; |
||||
box-shadow: none; |
||||
color: #222f3e; |
||||
} |
||||
</style> |
||||
|
||||
</head> |
||||
<body> |
||||
<div id="wrap"> |
||||
<!-- <div id="topbar"><button class="addfile primary">+ 添加文件</button> --> |
||||
<!-- <button class="upall primary">全部上传</button> |
||||
<button class="removeall">清空列表</button></div> --> |
||||
<ul id="file_list" class="tox"> |
||||
<div role="tabpanel" class="tox-dialog__body-content" style="height: 336px; flex-basis: 210px;" aria-labelledby="aria_5965197812761603939544315"> |
||||
<div class="tox-form"> |
||||
<div class="tox-form__group"> |
||||
<label class="tox-label" for="form-field_8471486645261603941857554">链接</label> |
||||
<div class="tox-form__controls-h-stack"> |
||||
<div class="tox-control-wrap"> |
||||
<input type="url" aria-errormessage="aria-invalid_348682591591603941621447" role="combobox" aria-autocomplete="list" aria-haspopup="true" tabindex="-1" data-alloy-tabstop="true" class="tox-textfield" aria-expanded="false" id="upFileUrlID"> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
<div class="tox-form__group"> |
||||
<label class="tox-label" for="form-field_2497330145271603941857555">显示文字</label> |
||||
<input type="text" tabindex="-1" data-alloy-tabstop="true" class="tox-textfield" id="upFileTextID"> |
||||
</div> |
||||
<div style="height: 10px;"></div> |
||||
<div class="tox-form__group tox-form__group--stretched"> |
||||
<div class="tox-dropzone-container"> |
||||
<div class="tox-dropzone"> |
||||
<p style="margin: 10px auto;color:rgba(34,47,62,.7)">拖放一张文件至此</p> |
||||
<button id="upfileID" type="button" onclick="getFile()" data-alloy-tabstop="true" tabindex="-1" class="tox-button tox-button--secondary" style="position: relative; min-height: 30px; overflow: visible;">浏览文件<input type="file" accept="image/*" style="display: none;"></button> |
||||
<input id="upfileNameID" style="margin: 5px auto;font-size: 12px; color:rgba(34,47,62,.7); width: 300px; text-align: center;" type="text" value=""> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
<button title="上传文件" type="button" onclick="sendUpFile()" style="width: 80%;position: absolute;bottom:10px;left: 55px; margin: 0 auto;letter-spacing: 2px; display: block;" class="tox-button"><svg width="24" height="24" style="margin-top:5px;" ><path fill="#fff" d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-4v-2h4V8H5v10h4v2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14zm-8 9.4l-2.3 2.3a1 1 0 1 1-1.4-1.4l4-4a1 1 0 0 1 1.4 0l4 4a1 1 0 0 1-1.4 1.4L13 13.4V20a1 1 0 0 1-2 0v-6.6z" fill-rule="nonzero"></path></svg><span style="top:-6px; position: relative; margin-left:5px;">开始上传</span></button> |
||||
</div> |
||||
</ul> |
||||
</div> |
||||
|
||||
<script> |
||||
var editor=parent.tinymce.activeEditor; |
||||
var upfile=parent.upfile; |
||||
var upload_handler = upfile.file_callback; |
||||
var upfileData = "" |
||||
var upfileUrl = null |
||||
function addFile(file){ |
||||
upfileData = file[0]; |
||||
document.getElementById('upfileNameID').value=file[0].name; |
||||
} |
||||
let inputUrl = document.getElementById('upFileUrlID'); |
||||
let inputText = document.getElementById('upFileTextID'); |
||||
function sendUpFile(){ |
||||
upload_handler(upfileData,function(url,_obj){ |
||||
inputUrl.value = url; |
||||
inputText.value ?'': inputText.value = url; |
||||
_obj&&_obj.text?inputText.value=_obj.text:''; |
||||
upfile.res.url = upfileUrl = url; |
||||
upfile.res.text = inputText.value; |
||||
|
||||
}) |
||||
} |
||||
|
||||
inputUrl.oninput = function(){upfile.res.url = inputUrl.value; upfileUrl=== null?inputText.value=inputUrl.value:'' } |
||||
inputText.oninput = function(){upfile.res.text=inputText.value;upfileUrl="123";} |
||||
//拖拽添加 |
||||
document.addEventListener('dragover', function(e){ |
||||
e.stopPropagation(); |
||||
e.preventDefault(); |
||||
e.dataTransfer.dropEffect = 'copy'; |
||||
}); |
||||
document.addEventListener('drop', function(e){ |
||||
e.stopPropagation(); |
||||
e.preventDefault(); |
||||
if(!e.dataTransfer.files){return false;} |
||||
var dropfiles = e.dataTransfer.files; |
||||
if(!(dropfiles.length>0)){return false;} |
||||
addFile(dropfiles); |
||||
}); |
||||
|
||||
var global$1 = upfile.tinymce.util.Tools.resolve('tinymce.util.Promise');var global$2 = upfile.tinymce.util.Tools.resolve('tinymce.Env');var global$3 = upfile.tinymce.util.Tools.resolve('tinymce.util.Delay'); |
||||
var pickFile=function(a){return new global$1(function(e){var c=document.createElement("input");c.type="file";c.style.position="fixed";c.style.left="0";c.style.top="0";c.style.opacity="0.001";document.body.appendChild(c);var b=function(f){e(Array.prototype.slice.call(f.target.files))};c.addEventListener("change",b);var d=function(g){var f=function(){e([]);c.parentNode.removeChild(c)};if(global$2.os.isAndroid()&&g.type!=="remove"){global$3.setEditorTimeout(a,f,0)}else{f()}a.off("focusin remove",d)};a.on("focusin remove",d);c.click()})}; |
||||
function getFile(){ |
||||
|
||||
pickFile(editor).then(function (files){ |
||||
addFile(files); |
||||
}) |
||||
} |
||||
</script> |
||||
</body> |
||||
</html> |
@ -0,0 +1,206 @@ |
||||
<template> |
||||
<a-modal |
||||
:title="title" |
||||
width="50%" |
||||
:visible="visible" |
||||
:closable="closable" |
||||
@cancel="handleCancel" |
||||
:maskClosable="maskClosable" |
||||
|
||||
> |
||||
<a-alert message="请下载" type="info" show-icon style="margin-bottom: 20px;"/> |
||||
<a-form :form="form" :label-col="{ span: 5 }" :wrapper-col="{ span: 16 }"> |
||||
<!-- <a-alert message="请下载" type="info" show-icon /> --> |
||||
<a-form-item label="下载标准表格"> |
||||
<div class="standB"> |
||||
<a-button type="primary" icon="download" @click="handleDownload"/> |
||||
</div> |
||||
<div class="standBu"> |
||||
<a-alert |
||||
message="必须下载标准表格,否则审核可能不通过" |
||||
type="error" |
||||
closable |
||||
@close="onClose" |
||||
/> |
||||
</div> |
||||
</a-form-item> |
||||
<a-form-item label="上传标准表格"> |
||||
<a-upload name="file" |
||||
:multiple="false" |
||||
:action="url.uploadUrl" |
||||
:showUploadList="false" |
||||
:headers="tokenHeader"> |
||||
<a-button type="primary" icon="upload"></a-button> |
||||
</a-upload> |
||||
</a-form-item> |
||||
<a-form-item v-if="ModalData.isVisible==='true'" class="box"> |
||||
<p>当前状态:<span :class=" ModalData.isError==='true'?stateFontColor:''">{{ ModalData.status }}</span></p> |
||||
<p>总记录数:{{ ModalData.records }}</p> |
||||
<p>已上传:{{ ModalData.uploaded }}</p> |
||||
<a-progress |
||||
:percent="parseInt(String(ModalData.uploaded/ModalData.records*100))" |
||||
title="上传进度:" |
||||
status="active" |
||||
:steps="ModalData.records"/> |
||||
</a-form-item> |
||||
<!-- <a-form-model-item label="注意事项" v-if="uploadFinished">--> |
||||
<a-form-model-item label="注意事项"> |
||||
<a-list size="small" :data-source="datas"> |
||||
<a-list-item slot="renderItem" slot-scope="item,index" style="border-bottom:0px ;"> {{ index + 1 }} . {{ |
||||
item |
||||
}} |
||||
</a-list-item> |
||||
</a-list> |
||||
</a-form-model-item> |
||||
</a-form> |
||||
<template slot="footer"> |
||||
<a-button type="primary" @click="handleCancel" :disabled="ModalData.closeable == 'true' ? false : true">关闭</a-button> |
||||
</template> |
||||
</a-modal> |
||||
</template> |
||||
|
||||
<script> |
||||
import {downloadFile, getAction} from "@api/manage" |
||||
import store from '@/store' |
||||
import {JeecgListMixin} from '@/mixins/JeecgListMixin' |
||||
import {mixinDevice} from '@/utils/mixin' |
||||
|
||||
export default { |
||||
name: 'ModelTest', |
||||
mixins: [JeecgListMixin, mixinDevice], |
||||
comments: {}, |
||||
data() { |
||||
return { |
||||
closable:false, |
||||
maskClosable:false, |
||||
title: '导入xxxxx', |
||||
visible: false, |
||||
model: {}, |
||||
// 注意事项默认值 |
||||
uploadFinished: false, |
||||
ModalData: { |
||||
uploaded: '0', |
||||
isVisible: 'false', |
||||
records: '0', |
||||
status: '判断文件结构', |
||||
}, |
||||
form: this.$form.createForm(this), |
||||
downName:'', |
||||
url: |
||||
{ |
||||
downfile: '', |
||||
uploadUrl: '', |
||||
list: "/modulex/modulex/list" |
||||
}, |
||||
datas: [ |
||||
'Racing car sprays burning fuel into crowd.', |
||||
'Japanese princess to wed commoner.', |
||||
'Australian walks 100km after outback crash.', |
||||
'Man charged over missing wedding girl.', |
||||
'Los Angeles battles huge wildfires.' |
||||
], |
||||
stateFontColor: 'stateFontColor', |
||||
ws: {} |
||||
|
||||
} |
||||
}, |
||||
created() { |
||||
}, |
||||
computed: {}, |
||||
methods: { |
||||
// 上传文件 |
||||
handleChange(info) { |
||||
if (info.file.status !== 'uploading') { |
||||
console.log(info.file, info.fileList) |
||||
} |
||||
if (info.file.status === 'done') { |
||||
this.$message.success(`${info.file.name} file uploaded successfully`) |
||||
this.handleUploadFinished() |
||||
} else if (info.file.status === 'error') { |
||||
this.$message.error(`${info.file.name} file upload failed.`) |
||||
} |
||||
}, |
||||
// 在文件上传结束后调用该方法使注意事项出现 |
||||
handleUploadFinished() { |
||||
this.uploadFinished = true |
||||
}, |
||||
// 下载标准文档 |
||||
handleDownload() { |
||||
console.log(this.downName,"111") |
||||
downloadFile( this.url.downfile,this.downName) |
||||
// getAction(this.url.list, params).then((res) => |
||||
// getAction(this.url.downfile).then((response) => { |
||||
// const url = window.URL.createObjectURL(new Blob([response.data])) |
||||
// const link = document.createElement('a') |
||||
// link.href = url |
||||
// link.setAttribute('download', 'your-document.pdf') |
||||
// document.body.appendChild(link) |
||||
// link.click() |
||||
// }) |
||||
// .catch(error => { |
||||
// console.error(error) |
||||
// }) |
||||
}, |
||||
add() { |
||||
|
||||
}, |
||||
show(data,ws) { |
||||
this.url.uploadUrl = data.uploadUrl |
||||
this.url.downfile = data.downUrl |
||||
this.downName = data.downName |
||||
this.datas = data.note |
||||
this.title = data.title |
||||
this.ModalData = {} |
||||
this.ModalData.closeable = "true" |
||||
this.visible = true |
||||
this.ws=ws |
||||
|
||||
}, |
||||
edit(record) { |
||||
this.ModalData = record |
||||
// this.closeable = this.ModalData.closeable === "true" |
||||
}, |
||||
edit1(record) { |
||||
this.visible = true |
||||
}, |
||||
|
||||
close() { |
||||
this.$emit('close') |
||||
this.visible = false |
||||
this.ws.close() |
||||
}, |
||||
handleCancel() { |
||||
console.log(this.ModalData,'11111') |
||||
this.close() |
||||
this.ws.close() |
||||
}, |
||||
// 关闭提示标签 |
||||
onClose(e) { |
||||
console.log(e, 'I was closed.') |
||||
} |
||||
} |
||||
} |
||||
</script> |
||||
|
||||
<style scoped> |
||||
.standB { |
||||
width: 15%; |
||||
float: left; |
||||
} |
||||
|
||||
.standBu { |
||||
width: 85%; |
||||
float: right; |
||||
} |
||||
|
||||
.box { |
||||
display: flex; |
||||
flex-direction: column; |
||||
justify-content: center; |
||||
align-items: center; |
||||
} |
||||
|
||||
.stateFontColor { |
||||
color: red; |
||||
} |
||||
</style> |
@ -0,0 +1,143 @@ |
||||
package org.jeecg.modules.demo.bugx.entity; |
||||
|
||||
import java.io.Serializable; |
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType; |
||||
import com.baomidou.mybatisplus.annotation.TableField; |
||||
import com.baomidou.mybatisplus.annotation.TableId; |
||||
import com.baomidou.mybatisplus.annotation.TableName; |
||||
import lombok.Data; |
||||
import com.fasterxml.jackson.annotation.JsonFormat; |
||||
import org.jeecgframework.poi.excel.annotation.ExcelIgnore; |
||||
import org.springframework.format.annotation.DateTimeFormat; |
||||
import org.jeecgframework.poi.excel.annotation.Excel; |
||||
import org.jeecg.common.aspect.annotation.Dict; |
||||
import io.swagger.annotations.ApiModel; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.EqualsAndHashCode; |
||||
import lombok.experimental.Accessors; |
||||
|
||||
/** |
||||
* @Description: BUG管理 |
||||
* @Author: jeecg-boot |
||||
* @Date: 2023-04-11 |
||||
* @Version: V1.0 |
||||
*/ |
||||
@Data |
||||
@Accessors(chain = true) |
||||
@EqualsAndHashCode(callSuper = false) |
||||
@ApiModel(value="bugx对象", description="BUG管理") |
||||
public class BugxExportDto implements Serializable { |
||||
private static final long serialVersionUID = 1L; |
||||
|
||||
/**主键*/ |
||||
@ApiModelProperty(value = "主键") |
||||
private java.lang.String id; |
||||
/**创建人*/ |
||||
@ApiModelProperty(value = "创建人") |
||||
private java.lang.String createBy; |
||||
/**创建日期*/ |
||||
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") |
||||
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") |
||||
@ApiModelProperty(value = "创建日期") |
||||
private java.util.Date createTime; |
||||
/**更新人*/ |
||||
@ApiModelProperty(value = "更新人") |
||||
private java.lang.String updateBy; |
||||
/**更新日期*/ |
||||
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") |
||||
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") |
||||
@ApiModelProperty(value = "更新日期") |
||||
private java.util.Date updateTime; |
||||
/**BUG编码*/ |
||||
@Excel(name = "BUG编码", width = 15) |
||||
@ApiModelProperty(value = "BUG编码") |
||||
private java.lang.String bugCode; |
||||
/**BUG类型*/ |
||||
@ExcelIgnore() |
||||
@ApiModelProperty(value = "BUG类型") |
||||
@Dict(dicCode = "bug_type") |
||||
private java.lang.Integer type; |
||||
|
||||
@TableField(exist = false) |
||||
@Excel(name = "BUG类型", width = 15) |
||||
private java.lang.String typeName; |
||||
/**项目id*/ |
||||
@Excel(name = "项目", width = 15) |
||||
@ApiModelProperty(value = "项目id") |
||||
@Dict(dicCode = "id",dicText = "project_code",dictTable = "projectx") |
||||
private java.lang.String projectId; |
||||
/**对应模块id*/ |
||||
@Excel(name = "对应模块", width = 15) |
||||
@ApiModelProperty(value = "对应模块id") |
||||
@Dict(dicCode = "id",dicText = "module_code",dictTable = "modulex") |
||||
private java.lang.String moduleId; |
||||
/**对应功能id*/ |
||||
@Excel(name = "对应功能", width = 15) |
||||
@ApiModelProperty(value = "对应功能id") |
||||
@Dict(dicCode = "id",dicText = "function_code",dictTable = "functionx") |
||||
private java.lang.String functionId; |
||||
/**对应规则id*/ |
||||
|
||||
@ExcelIgnore |
||||
@ApiModelProperty(value = "对应规则id") |
||||
@Dict(dicCode = "id",dicText = "rule_code",dictTable = "rulex") |
||||
private java.lang.String ruleId; |
||||
|
||||
@Excel(name = "对应规则", width = 15) |
||||
@TableField(exist = false) |
||||
private java.lang.String rulePm_desc; |
||||
/**BUG等级*/ |
||||
@Excel(name = "BUG等级", width = 15) |
||||
@ApiModelProperty(value = "BUG等级") |
||||
@Dict(dicCode = "work_level") |
||||
private java.lang.Integer bugLevel; |
||||
/**BUG描述*/ |
||||
@Excel(name = "BUG描述", width = 15) |
||||
@ApiModelProperty(value = "BUG描述") |
||||
private java.lang.String pmDesc; |
||||
/**BUG图片*/ |
||||
@Excel(name = "BUG图片", width = 15) |
||||
@ApiModelProperty(value = "BUG图片") |
||||
private java.lang.String bugPic; |
||||
/**发布时间*/ |
||||
@Excel(name = "发布时间", width = 15, format = "yyyy-MM-dd") |
||||
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") |
||||
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") |
||||
@ApiModelProperty(value = "发布时间") |
||||
private java.util.Date publishTime; |
||||
/**提交内容*/ |
||||
@Excel(name = "提交内容", width = 15) |
||||
@ApiModelProperty(value = "提交内容") |
||||
private java.lang.String submitContent; |
||||
/**提交图片*/ |
||||
@Excel(name = "提交图片", width = 15) |
||||
@ApiModelProperty(value = "提交图片") |
||||
private java.lang.String submitPic; |
||||
/**责任人*/ |
||||
@Excel(name = "责任人", width = 15) |
||||
@ApiModelProperty(value = "责任人") |
||||
private java.lang.String managerUsers; |
||||
/**BUG状态*/ |
||||
@ExcelIgnore |
||||
@ApiModelProperty(value = "BUG状态") |
||||
@Dict(dicCode = "bug_status") |
||||
private java.lang.Integer bugStatus; |
||||
|
||||
@TableField(exist = false) |
||||
@Excel(name = "BUG状态", width = 15) |
||||
private java.lang.String bugStatusName; |
||||
|
||||
/**提交时间*/ |
||||
@Excel(name = "提交时间", width = 15, format = "yyyy-MM-dd") |
||||
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") |
||||
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") |
||||
@ApiModelProperty(value = "提交时间") |
||||
private java.util.Date submitTime; |
||||
/**审核时间*/ |
||||
@Excel(name = "审核时间", width = 15, format = "yyyy-MM-dd") |
||||
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") |
||||
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") |
||||
@ApiModelProperty(value = "审核时间") |
||||
private java.util.Date auditTime; |
||||
} |
@ -0,0 +1,48 @@ |
||||
package org.jeecg.modules.fieldx.entity; |
||||
|
||||
import io.swagger.annotations.ApiModel; |
||||
import lombok.Data; |
||||
import org.jeecgframework.poi.excel.annotation.Excel; |
||||
|
||||
@Data |
||||
@ApiModel(value = "字段表模板", description = "字段表模板") |
||||
public class Fielddc { |
||||
private static final long serialVersionUID = 1L; |
||||
|
||||
@Excel(name = "序号", width = 15) |
||||
private java.lang.String a; |
||||
@Excel(name = "表名", width = 15) |
||||
private java.lang.String c; |
||||
@Excel(name = "中文名称", width = 15) |
||||
private java.lang.String ll; |
||||
@Excel(name = "英文名称", width = 15) |
||||
private java.lang.String d; |
||||
@Excel(name = "数据类型", width = 15) |
||||
private java.lang.String e; |
||||
@Excel(name = "数据长度", width = 15) |
||||
private java.lang.String f; |
||||
@Excel(name = "浮点精度", width = 15) |
||||
private java.lang.String g; |
||||
@Excel(name = "显示形式", width = 15) |
||||
private java.lang.String h; |
||||
@Excel(name = "是否主键", width = 15) |
||||
private java.lang.String i; |
||||
@Excel(name = "是否外键", width = 15) |
||||
private java.lang.String z; |
||||
@Excel(name = "关联实体", width = 15) |
||||
private java.lang.String k; |
||||
@Excel(name = "关联字段", width = 15) |
||||
private java.lang.String l; |
||||
@Excel(name = "是否为空", width = 15) |
||||
private java.lang.String m; |
||||
@Excel(name = "是否重复", width = 15) |
||||
private java.lang.String ml; |
||||
@Excel(name = "字段规则", width = 15) |
||||
private java.lang.String o; |
||||
@Excel(name = "字段状态", width = 15) |
||||
private java.lang.String p; |
||||
@Excel(name = "版本状态", width = 15) |
||||
private java.lang.String q; |
||||
|
||||
|
||||
} |
Loading…
Reference in new issue