改BUG 修改安全承诺数字过长不自动折行问题
parent
fd8bc46b61
commit
059155bf69
|
|
@ -10,7 +10,7 @@ module.exports = {
|
|||
javaGitBranch: "<branch-name>",
|
||||
// 接口服务地址
|
||||
// API_HOST: "http://192.168.20.100:30140",
|
||||
API_HOST: "http://localhost:80",
|
||||
API_HOST: "https://gbs-gateway.qhdsafety.com",
|
||||
},
|
||||
production: {
|
||||
// 应用后端分支名称,部署上线需要
|
||||
|
|
@ -46,7 +46,7 @@ module.exports = {
|
|||
// 开发服务
|
||||
server: {
|
||||
// 监听端口号
|
||||
port: "8085",
|
||||
port: "8065",
|
||||
// 服务地址
|
||||
host: "127.0.0.1",
|
||||
// 是否自动打开浏览器
|
||||
|
|
|
|||
|
|
@ -6,8 +6,8 @@
|
|||
"license": "MIT",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"serve": "node node_modules/@cqsjjb/scripts/webpack.dev.server.js",
|
||||
"build": "node node_modules/@cqsjjb/scripts/webpack.build.js",
|
||||
"serve": "node node_modules/@cqsjjb/scripts/rspack.dev.server.js",
|
||||
"build": "node node_modules/@cqsjjb/scripts/rspack.build.js",
|
||||
"push": "jjb-cmd push java production",
|
||||
"clean-cache": "rimraf node_modules/.cache/webpack",
|
||||
"serve:development": "cross-env NODE_ENV=development npm run serve",
|
||||
|
|
@ -32,7 +32,7 @@
|
|||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"react-to-print": "^3.2.0",
|
||||
"zy-react-library": "^1.2.35"
|
||||
"zy-react-library": "^1.3.15"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@antfu/eslint-config": "^5.4.1",
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@ function List(props) {
|
|||
const [form] = Form.useForm();
|
||||
const { tableProps, getData } = useTable(props["busPromiseTemplateList"], {
|
||||
form,
|
||||
|
||||
});
|
||||
const updateState = (id, state) => {
|
||||
const stateValue = state === 0 ? 1 : 0;
|
||||
|
|
|
|||
|
|
@ -213,7 +213,7 @@ function Add(props) {
|
|||
/>
|
||||
),
|
||||
},
|
||||
{ name: [field.name, "departmentName"], label: `部门${index + 1}名称`, onlyForLabel: true },
|
||||
// { name: [field.name, "departmentName"], label: `部门${index + 1}名称`, onlyForLabel: true },
|
||||
{
|
||||
name: [field.name, "postId"],
|
||||
span: 8,
|
||||
|
|
@ -235,8 +235,8 @@ function Add(props) {
|
|||
},
|
||||
},
|
||||
},
|
||||
{ name: [field.name, "postName"], label: `岗位${index + 1}名称`, onlyForLabel: true },
|
||||
{ name: [field.name, "userName"], label: `人员${index + 1}名称`, onlyForLabel: true },
|
||||
// { name: [field.name, "postName"], label: `岗位${index + 1}名称`, onlyForLabel: true },
|
||||
// { name: [field.name, "userName"], label: `人员${index + 1}名称`, onlyForLabel: true },
|
||||
{
|
||||
name: [field.name, "userId"],
|
||||
span: 8,
|
||||
|
|
@ -358,6 +358,9 @@ const ChoiceTemplateModalComponent = (props) => {
|
|||
const [form] = Form.useForm();
|
||||
const { tableProps, getData } = useTable(props["busPromiseTemplateList"], {
|
||||
form,
|
||||
params:{
|
||||
state:0,
|
||||
},
|
||||
});
|
||||
|
||||
return (
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ function List(props) {
|
|||
const [form] = Form.useForm();
|
||||
const { tableProps, getData } = useTable(props["busPromiseTemplateList"], {
|
||||
form,
|
||||
|
||||
});
|
||||
const onDelete = (id) => {
|
||||
Modal.confirm({
|
||||
|
|
|
|||
|
|
@ -235,7 +235,7 @@ function Add(props) {
|
|||
},
|
||||
},
|
||||
},
|
||||
{ name: [field.name, "corpName"], label: `签订单位${index + 1}名称`, onlyForLabel: true },
|
||||
// { name: [field.name, "corpName"], label: `签订单位${index + 1}名称`, onlyForLabel: true },
|
||||
]
|
||||
: []),
|
||||
{
|
||||
|
|
@ -262,7 +262,7 @@ function Add(props) {
|
|||
/>
|
||||
),
|
||||
},
|
||||
{ name: [field.name, "departmentName"], label: `部门${index + 1}名称`, onlyForLabel: true },
|
||||
// { name: [field.name, "departmentName"], label: `部门${index + 1}名称`, onlyForLabel: true },
|
||||
{
|
||||
name: [field.name, "postId"],
|
||||
label: `岗位${index + 1}`,
|
||||
|
|
@ -284,8 +284,8 @@ function Add(props) {
|
|||
},
|
||||
},
|
||||
},
|
||||
{ name: [field.name, "postName"], label: `岗位${index + 1}名称`, onlyForLabel: true },
|
||||
{ name: [field.name, "userName"], label: `人员${index + 1}名称`, onlyForLabel: true },
|
||||
// { name: [field.name, "postName"], label: `岗位${index + 1}名称`, onlyForLabel: true },
|
||||
// { name: [field.name, "userName"], label: `人员${index + 1}名称`, onlyForLabel: true },
|
||||
{
|
||||
name: [field.name, "userId"],
|
||||
label: `人员${index + 1}`,
|
||||
|
|
@ -413,6 +413,9 @@ const ChoiceTemplateModalComponent = (props) => {
|
|||
const [form] = Form.useForm();
|
||||
const { tableProps, getData } = useTable(props["busPromiseTemplateList"], {
|
||||
form,
|
||||
params:{
|
||||
state:0,
|
||||
},
|
||||
useStorageQueryCriteria: false,
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ const DetailModal = (props) => {
|
|||
{`${(form.promisePeople && form.promisePeoplePost) ? `${form.promisePeople + form.promisePeoplePost}:` : ""}` || ""}
|
||||
</div>
|
||||
)}
|
||||
<div dangerouslySetInnerHTML={{ __html: form.promiseText }} />
|
||||
<div className="promise-rich-text" dangerouslySetInnerHTML={{ __html: form.promiseText }} />
|
||||
|
||||
<div className="text">
|
||||
{
|
||||
|
|
|
|||
|
|
@ -32,6 +32,11 @@
|
|||
text-align: justify;
|
||||
}
|
||||
|
||||
.promise-rich-text {
|
||||
overflow-wrap: anywhere;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
.footer {
|
||||
margin-top: 30px;
|
||||
display: flex;
|
||||
|
|
|
|||
Loading…
Reference in New Issue