修复富文本框遮挡bug。

This commit is contained in:
Renpc-kilig 2021-11-22 18:04:31 +08:00
parent f1b152ca05
commit 327fdd5aa1
18 changed files with 32 additions and 32 deletions

View File

@ -149,7 +149,7 @@
// 初始化简要情况富文本 // 初始化简要情况富文本
function initBriefInformationRichText() { function initBriefInformationRichText() {
var editor = new wangEditor('#briefInformation'); var editor = new wangEditor('#briefInformation');
editor.customConfig.zIndex = 1000; editor.customConfig.zIndex = 0;
editor.customConfig.uploadImgMaxSize = 5 * 1024 * 1024; editor.customConfig.uploadImgMaxSize = 5 * 1024 * 1024;
editor.customConfig.uploadImgMaxLength = 1; editor.customConfig.uploadImgMaxLength = 1;
editor.customConfig.uploadFileName = 'image'; editor.customConfig.uploadFileName = 'image';

View File

@ -151,7 +151,7 @@
// 初始化简要情况富文本 // 初始化简要情况富文本
function initBriefInformationRichText(value) { function initBriefInformationRichText(value) {
var editor = new wangEditor('#briefInformation'); var editor = new wangEditor('#briefInformation');
editor.customConfig.zIndex = 1000; editor.customConfig.zIndex = 0;
editor.customConfig.uploadImgMaxSize = 5 * 1024 * 1024; editor.customConfig.uploadImgMaxSize = 5 * 1024 * 1024;
editor.customConfig.uploadImgMaxLength = 1; editor.customConfig.uploadImgMaxLength = 1;
editor.customConfig.uploadFileName = 'image'; editor.customConfig.uploadFileName = 'image';

View File

@ -202,7 +202,7 @@
// 初始化巡查内容富文本 // 初始化巡查内容富文本
function initPatrolContentRichText() { function initPatrolContentRichText() {
var editor = new wangEditor('#patrolContent'); var editor = new wangEditor('#patrolContent');
editor.customConfig.zIndex = 1000; editor.customConfig.zIndex = 0;
editor.customConfig.uploadImgMaxSize = 5 * 1024 * 1024; editor.customConfig.uploadImgMaxSize = 5 * 1024 * 1024;
editor.customConfig.uploadImgMaxLength = 1; editor.customConfig.uploadImgMaxLength = 1;
editor.customConfig.uploadFileName = 'image'; editor.customConfig.uploadFileName = 'image';
@ -322,7 +322,7 @@
// 初始化备注富文本 // 初始化备注富文本
function initRemakeRichText() { function initRemakeRichText() {
var editor = new wangEditor('#remake'); var editor = new wangEditor('#remake');
editor.customConfig.zIndex = 1000; editor.customConfig.zIndex = 0;
editor.customConfig.uploadImgMaxSize = 5 * 1024 * 1024; editor.customConfig.uploadImgMaxSize = 5 * 1024 * 1024;
editor.customConfig.uploadImgMaxLength = 1; editor.customConfig.uploadImgMaxLength = 1;
editor.customConfig.uploadFileName = 'image'; editor.customConfig.uploadFileName = 'image';

View File

@ -203,7 +203,7 @@
// 初始化巡查内容富文本 // 初始化巡查内容富文本
function initPatrolContentRichText(value) { function initPatrolContentRichText(value) {
var editor = new wangEditor('#patrolContent'); var editor = new wangEditor('#patrolContent');
editor.customConfig.zIndex = 1000; editor.customConfig.zIndex = 0;
editor.customConfig.uploadImgMaxSize = 5 * 1024 * 1024; editor.customConfig.uploadImgMaxSize = 5 * 1024 * 1024;
editor.customConfig.uploadImgMaxLength = 1; editor.customConfig.uploadImgMaxLength = 1;
editor.customConfig.uploadFileName = 'image'; editor.customConfig.uploadFileName = 'image';
@ -324,7 +324,7 @@
// 初始化备注富文本 // 初始化备注富文本
function initRemakeRichText(value) { function initRemakeRichText(value) {
var editor = new wangEditor('#remake'); var editor = new wangEditor('#remake');
editor.customConfig.zIndex = 1000; editor.customConfig.zIndex = 0;
editor.customConfig.uploadImgMaxSize = 5 * 1024 * 1024; editor.customConfig.uploadImgMaxSize = 5 * 1024 * 1024;
editor.customConfig.uploadImgMaxLength = 1; editor.customConfig.uploadImgMaxLength = 1;
editor.customConfig.uploadFileName = 'image'; editor.customConfig.uploadFileName = 'image';

View File

@ -211,7 +211,7 @@
// 初始化备注富文本 // 初始化备注富文本
function initInvolveAreaRangeRichText() { function initInvolveAreaRangeRichText() {
var editor = new wangEditor('#involveAreaRange'); var editor = new wangEditor('#involveAreaRange');
editor.customConfig.zIndex = 400; editor.customConfig.zIndex = 0;
editor.customConfig.uploadImgMaxSize = 5 * 1024 * 1024; editor.customConfig.uploadImgMaxSize = 5 * 1024 * 1024;
editor.customConfig.uploadImgMaxLength = 1; editor.customConfig.uploadImgMaxLength = 1;
editor.customConfig.uploadFileName = 'image'; editor.customConfig.uploadFileName = 'image';
@ -234,7 +234,7 @@
// 初始化备注富文本 // 初始化备注富文本
function initRenovationJoinDeptRichText() { function initRenovationJoinDeptRichText() {
var editor = new wangEditor('#renovationJoinDept'); var editor = new wangEditor('#renovationJoinDept');
editor.customConfig.zIndex = 400; editor.customConfig.zIndex = 0;
editor.customConfig.uploadImgMaxSize = 5 * 1024 * 1024; editor.customConfig.uploadImgMaxSize = 5 * 1024 * 1024;
editor.customConfig.uploadImgMaxLength = 1; editor.customConfig.uploadImgMaxLength = 1;
editor.customConfig.uploadFileName = 'image'; editor.customConfig.uploadFileName = 'image';
@ -257,7 +257,7 @@
// 初始化备注富文本 // 初始化备注富文本
function initRenovationSituationwRichText() { function initRenovationSituationwRichText() {
var editor = new wangEditor('#renovationSituationw'); var editor = new wangEditor('#renovationSituationw');
editor.customConfig.zIndex = 400; editor.customConfig.zIndex = 0;
editor.customConfig.uploadImgMaxSize = 5 * 1024 * 1024; editor.customConfig.uploadImgMaxSize = 5 * 1024 * 1024;
editor.customConfig.uploadImgMaxLength = 1; editor.customConfig.uploadImgMaxLength = 1;
editor.customConfig.uploadFileName = 'image'; editor.customConfig.uploadFileName = 'image';

View File

@ -214,7 +214,7 @@
// 初始化备注富文本 // 初始化备注富文本
function initInvolveAreaRangeRichText(value) { function initInvolveAreaRangeRichText(value) {
var editor = new wangEditor('#involveAreaRange'); var editor = new wangEditor('#involveAreaRange');
editor.customConfig.zIndex = 400; editor.customConfig.zIndex = 0;
editor.customConfig.uploadImgMaxSize = 5 * 1024 * 1024; editor.customConfig.uploadImgMaxSize = 5 * 1024 * 1024;
editor.customConfig.uploadImgMaxLength = 1; editor.customConfig.uploadImgMaxLength = 1;
editor.customConfig.uploadFileName = 'image'; editor.customConfig.uploadFileName = 'image';
@ -238,7 +238,7 @@
// 初始化备注富文本 // 初始化备注富文本
function initRenovationJoinDeptRichText(value) { function initRenovationJoinDeptRichText(value) {
var editor = new wangEditor('#renovationJoinDept'); var editor = new wangEditor('#renovationJoinDept');
editor.customConfig.zIndex = 400; editor.customConfig.zIndex = 0;
editor.customConfig.uploadImgMaxSize = 5 * 1024 * 1024; editor.customConfig.uploadImgMaxSize = 5 * 1024 * 1024;
editor.customConfig.uploadImgMaxLength = 1; editor.customConfig.uploadImgMaxLength = 1;
editor.customConfig.uploadFileName = 'image'; editor.customConfig.uploadFileName = 'image';
@ -262,7 +262,7 @@
// 初始化备注富文本 // 初始化备注富文本
function initRenovationSituationwRichText(value) { function initRenovationSituationwRichText(value) {
var editor = new wangEditor('#renovationSituationw'); var editor = new wangEditor('#renovationSituationw');
editor.customConfig.zIndex = 400; editor.customConfig.zIndex = 0;
editor.customConfig.uploadImgMaxSize = 5 * 1024 * 1024; editor.customConfig.uploadImgMaxSize = 5 * 1024 * 1024;
editor.customConfig.uploadImgMaxLength = 1; editor.customConfig.uploadImgMaxLength = 1;
editor.customConfig.uploadFileName = 'image'; editor.customConfig.uploadFileName = 'image';

View File

@ -202,7 +202,7 @@
// 初始化巡查内容富文本 // 初始化巡查内容富文本
function initPatrolContentRichText() { function initPatrolContentRichText() {
var editor = new wangEditor('#patrolContent'); var editor = new wangEditor('#patrolContent');
editor.customConfig.zIndex = 1000; editor.customConfig.zIndex = 0;
editor.customConfig.uploadImgMaxSize = 5 * 1024 * 1024; editor.customConfig.uploadImgMaxSize = 5 * 1024 * 1024;
editor.customConfig.uploadImgMaxLength = 1; editor.customConfig.uploadImgMaxLength = 1;
editor.customConfig.uploadFileName = 'image'; editor.customConfig.uploadFileName = 'image';
@ -322,7 +322,7 @@
// 初始化备注富文本 // 初始化备注富文本
function initRemakeRichText() { function initRemakeRichText() {
var editor = new wangEditor('#remake'); var editor = new wangEditor('#remake');
editor.customConfig.zIndex = 1000; editor.customConfig.zIndex = 0;
editor.customConfig.uploadImgMaxSize = 5 * 1024 * 1024; editor.customConfig.uploadImgMaxSize = 5 * 1024 * 1024;
editor.customConfig.uploadImgMaxLength = 1; editor.customConfig.uploadImgMaxLength = 1;
editor.customConfig.uploadFileName = 'image'; editor.customConfig.uploadFileName = 'image';

View File

@ -203,7 +203,7 @@
// 初始化巡查内容富文本 // 初始化巡查内容富文本
function initPatrolContentRichText(value) { function initPatrolContentRichText(value) {
var editor = new wangEditor('#patrolContent'); var editor = new wangEditor('#patrolContent');
editor.customConfig.zIndex = 1000; editor.customConfig.zIndex = 0;
editor.customConfig.uploadImgMaxSize = 5 * 1024 * 1024; editor.customConfig.uploadImgMaxSize = 5 * 1024 * 1024;
editor.customConfig.uploadImgMaxLength = 1; editor.customConfig.uploadImgMaxLength = 1;
editor.customConfig.uploadFileName = 'image'; editor.customConfig.uploadFileName = 'image';
@ -324,7 +324,7 @@
// 初始化备注富文本 // 初始化备注富文本
function initRemakeRichText(value) { function initRemakeRichText(value) {
var editor = new wangEditor('#remake'); var editor = new wangEditor('#remake');
editor.customConfig.zIndex = 1000; editor.customConfig.zIndex = 0;
editor.customConfig.uploadImgMaxSize = 5 * 1024 * 1024; editor.customConfig.uploadImgMaxSize = 5 * 1024 * 1024;
editor.customConfig.uploadImgMaxLength = 1; editor.customConfig.uploadImgMaxLength = 1;
editor.customConfig.uploadFileName = 'image'; editor.customConfig.uploadFileName = 'image';

View File

@ -155,7 +155,7 @@
// 初始化备注富文本 // 初始化备注富文本
function initSecuritySituationRichText() { function initSecuritySituationRichText() {
var editor = new wangEditor('#securitySituation'); var editor = new wangEditor('#securitySituation');
editor.customConfig.zIndex = 4000; editor.customConfig.zIndex = 0;
editor.customConfig.uploadImgMaxSize = 5 * 1024 * 1024; editor.customConfig.uploadImgMaxSize = 5 * 1024 * 1024;
editor.customConfig.uploadImgMaxLength = 1; editor.customConfig.uploadImgMaxLength = 1;
editor.customConfig.uploadFileName = 'image'; editor.customConfig.uploadFileName = 'image';

View File

@ -158,7 +158,7 @@
// 初始化备注富文本 // 初始化备注富文本
function initSecuritySituationRichText(value) { function initSecuritySituationRichText(value) {
var editor = new wangEditor('#securitySituation'); var editor = new wangEditor('#securitySituation');
editor.customConfig.zIndex = 4000; editor.customConfig.zIndex = 0;
editor.customConfig.uploadImgMaxSize = 5 * 1024 * 1024; editor.customConfig.uploadImgMaxSize = 5 * 1024 * 1024;
editor.customConfig.uploadImgMaxLength = 1; editor.customConfig.uploadImgMaxLength = 1;
editor.customConfig.uploadFileName = 'image'; editor.customConfig.uploadFileName = 'image';

View File

@ -164,7 +164,7 @@
// 初始化备注富文本 // 初始化备注富文本
function initCaseSituationRichText() { function initCaseSituationRichText() {
var editor = new wangEditor('#caseSituation'); var editor = new wangEditor('#caseSituation');
editor.customConfig.zIndex = 4000; editor.customConfig.zIndex = 0;
editor.customConfig.uploadImgMaxSize = 5 * 1024 * 1024; editor.customConfig.uploadImgMaxSize = 5 * 1024 * 1024;
editor.customConfig.uploadImgMaxLength = 1; editor.customConfig.uploadImgMaxLength = 1;
editor.customConfig.uploadFileName = 'image'; editor.customConfig.uploadFileName = 'image';
@ -187,7 +187,7 @@
// 初始化备注富文本 // 初始化备注富文本
function initCaseSolveRichText() { function initCaseSolveRichText() {
var editor = new wangEditor('#caseSolve'); var editor = new wangEditor('#caseSolve');
editor.customConfig.zIndex = 4000; editor.customConfig.zIndex = 0;
editor.customConfig.uploadImgMaxSize = 5 * 1024 * 1024; editor.customConfig.uploadImgMaxSize = 5 * 1024 * 1024;
editor.customConfig.uploadImgMaxLength = 1; editor.customConfig.uploadImgMaxLength = 1;
editor.customConfig.uploadFileName = 'image'; editor.customConfig.uploadFileName = 'image';

View File

@ -166,7 +166,7 @@
// 初始化备注富文本 // 初始化备注富文本
function initCaseSituationRichText(value) { function initCaseSituationRichText(value) {
var editor = new wangEditor('#caseSituation'); var editor = new wangEditor('#caseSituation');
editor.customConfig.zIndex = 4000; editor.customConfig.zIndex = 0;
editor.customConfig.uploadImgMaxSize = 5 * 1024 * 1024; editor.customConfig.uploadImgMaxSize = 5 * 1024 * 1024;
editor.customConfig.uploadImgMaxLength = 1; editor.customConfig.uploadImgMaxLength = 1;
editor.customConfig.uploadFileName = 'image'; editor.customConfig.uploadFileName = 'image';
@ -190,7 +190,7 @@
// 初始化备注富文本 // 初始化备注富文本
function initCaseSolveRichText(value) { function initCaseSolveRichText(value) {
var editor = new wangEditor('#caseSolve'); var editor = new wangEditor('#caseSolve');
editor.customConfig.zIndex = 4000; editor.customConfig.zIndex = 0;
editor.customConfig.uploadImgMaxSize = 5 * 1024 * 1024; editor.customConfig.uploadImgMaxSize = 5 * 1024 * 1024;
editor.customConfig.uploadImgMaxLength = 1; editor.customConfig.uploadImgMaxLength = 1;
editor.customConfig.uploadFileName = 'image'; editor.customConfig.uploadFileName = 'image';

View File

@ -202,7 +202,7 @@
// 初始化巡查内容富文本 // 初始化巡查内容富文本
function initPatrolContentRichText() { function initPatrolContentRichText() {
var editor = new wangEditor('#patrolContent'); var editor = new wangEditor('#patrolContent');
editor.customConfig.zIndex = 1000; editor.customConfig.zIndex = 0;
editor.customConfig.uploadImgMaxSize = 5 * 1024 * 1024; editor.customConfig.uploadImgMaxSize = 5 * 1024 * 1024;
editor.customConfig.uploadImgMaxLength = 1; editor.customConfig.uploadImgMaxLength = 1;
editor.customConfig.uploadFileName = 'image'; editor.customConfig.uploadFileName = 'image';
@ -322,7 +322,7 @@
// 初始化备注富文本 // 初始化备注富文本
function initRemakeRichText() { function initRemakeRichText() {
var editor = new wangEditor('#remake'); var editor = new wangEditor('#remake');
editor.customConfig.zIndex = 1000; editor.customConfig.zIndex = 0;
editor.customConfig.uploadImgMaxSize = 5 * 1024 * 1024; editor.customConfig.uploadImgMaxSize = 5 * 1024 * 1024;
editor.customConfig.uploadImgMaxLength = 1; editor.customConfig.uploadImgMaxLength = 1;
editor.customConfig.uploadFileName = 'image'; editor.customConfig.uploadFileName = 'image';

View File

@ -203,7 +203,7 @@
// 初始化巡查内容富文本 // 初始化巡查内容富文本
function initPatrolContentRichText(value) { function initPatrolContentRichText(value) {
var editor = new wangEditor('#patrolContent'); var editor = new wangEditor('#patrolContent');
editor.customConfig.zIndex = 1000; editor.customConfig.zIndex = 0;
editor.customConfig.uploadImgMaxSize = 5 * 1024 * 1024; editor.customConfig.uploadImgMaxSize = 5 * 1024 * 1024;
editor.customConfig.uploadImgMaxLength = 1; editor.customConfig.uploadImgMaxLength = 1;
editor.customConfig.uploadFileName = 'image'; editor.customConfig.uploadFileName = 'image';
@ -324,7 +324,7 @@
// 初始化备注富文本 // 初始化备注富文本
function initRemakeRichText(value) { function initRemakeRichText(value) {
var editor = new wangEditor('#remake'); var editor = new wangEditor('#remake');
editor.customConfig.zIndex = 1000; editor.customConfig.zIndex = 0;
editor.customConfig.uploadImgMaxSize = 5 * 1024 * 1024; editor.customConfig.uploadImgMaxSize = 5 * 1024 * 1024;
editor.customConfig.uploadImgMaxLength = 1; editor.customConfig.uploadImgMaxLength = 1;
editor.customConfig.uploadFileName = 'image'; editor.customConfig.uploadFileName = 'image';

View File

@ -175,7 +175,7 @@
// 初始化备注富文本 // 初始化备注富文本
function initMainFunctionRichText() { function initMainFunctionRichText() {
var editor = new wangEditor('#mainFunction'); var editor = new wangEditor('#mainFunction');
editor.customConfig.zIndex = 1024; editor.customConfig.zIndex = 0;
editor.customConfig.uploadImgMaxSize = 5 * 1024 * 1024; editor.customConfig.uploadImgMaxSize = 5 * 1024 * 1024;
editor.customConfig.uploadImgMaxLength = 1; editor.customConfig.uploadImgMaxLength = 1;
editor.customConfig.uploadFileName = 'image'; editor.customConfig.uploadFileName = 'image';

View File

@ -185,7 +185,7 @@
// 初始化备注富文本 // 初始化备注富文本
function initMainFunctionRichText(value) { function initMainFunctionRichText(value) {
var editor = new wangEditor('#mainFunction'); var editor = new wangEditor('#mainFunction');
editor.customConfig.zIndex = 1024; editor.customConfig.zIndex = 0;
editor.customConfig.uploadImgMaxSize = 5 * 1024 * 1024; editor.customConfig.uploadImgMaxSize = 5 * 1024 * 1024;
editor.customConfig.uploadImgMaxLength = 1; editor.customConfig.uploadImgMaxLength = 1;
editor.customConfig.uploadFileName = 'image'; editor.customConfig.uploadFileName = 'image';

View File

@ -165,7 +165,7 @@
// 初始化备注富文本 // 初始化备注富文本
function initCaseSituationRichText() { function initCaseSituationRichText() {
var editor = new wangEditor('#caseSituation'); var editor = new wangEditor('#caseSituation');
editor.customConfig.zIndex = 1024; editor.customConfig.zIndex = 0;
editor.customConfig.uploadImgMaxSize = 5 * 1024 * 1024; editor.customConfig.uploadImgMaxSize = 5 * 1024 * 1024;
editor.customConfig.uploadImgMaxLength = 1; editor.customConfig.uploadImgMaxLength = 1;
editor.customConfig.uploadFileName = 'image'; editor.customConfig.uploadFileName = 'image';
@ -188,7 +188,7 @@
// 初始化备注富文本 // 初始化备注富文本
function initCaseSolveRichText() { function initCaseSolveRichText() {
var editor = new wangEditor('#caseSolve'); var editor = new wangEditor('#caseSolve');
editor.customConfig.zIndex = 1024; editor.customConfig.zIndex = 0;
editor.customConfig.uploadImgMaxSize = 5 * 1024 * 1024; editor.customConfig.uploadImgMaxSize = 5 * 1024 * 1024;
editor.customConfig.uploadImgMaxLength = 1; editor.customConfig.uploadImgMaxLength = 1;
editor.customConfig.uploadFileName = 'image'; editor.customConfig.uploadFileName = 'image';

View File

@ -166,7 +166,7 @@
// 初始化备注富文本 // 初始化备注富文本
function initCaseSituationRichText(value) { function initCaseSituationRichText(value) {
var editor = new wangEditor('#caseSituation'); var editor = new wangEditor('#caseSituation');
editor.customConfig.zIndex = 1024; editor.customConfig.zIndex = 0;
editor.customConfig.uploadImgMaxSize = 5 * 1024 * 1024; editor.customConfig.uploadImgMaxSize = 5 * 1024 * 1024;
editor.customConfig.uploadImgMaxLength = 1; editor.customConfig.uploadImgMaxLength = 1;
editor.customConfig.uploadFileName = 'image'; editor.customConfig.uploadFileName = 'image';
@ -190,7 +190,7 @@
// 初始化备注富文本 // 初始化备注富文本
function initCaseSolveRichText(value) { function initCaseSolveRichText(value) {
var editor = new wangEditor('#caseSolve'); var editor = new wangEditor('#caseSolve');
editor.customConfig.zIndex = 1024; editor.customConfig.zIndex = 0;
editor.customConfig.uploadImgMaxSize = 5 * 1024 * 1024; editor.customConfig.uploadImgMaxSize = 5 * 1024 * 1024;
editor.customConfig.uploadImgMaxLength = 1; editor.customConfig.uploadImgMaxLength = 1;
editor.customConfig.uploadFileName = 'image'; editor.customConfig.uploadFileName = 'image';