Shannon_mu 2 år sedan
förälder
incheckning
40c236dd30

+ 233 - 32
operationSupport/public/loctionJs/tinymce_4.9.3/tinymce/langs/zh_CN.js

@@ -1,11 +1,11 @@
 tinymce.addI18n('zh_CN',{
-  "Redo": "\u91cd\u590d",
-  "Undo": "\u64a4\u6d88",
+  "Redo": "\u91cd\u505a",
+  "Undo": "\u64a4\u9500",
   "Cut": "\u526a\u5207",
   "Copy": "\u590d\u5236",
   "Paste": "\u7c98\u8d34",
   "Select all": "\u5168\u9009",
-  "New document": "\u65b0\u6587\u6863",
+  "New document": "\u65b0\u6587\u4ef6",
   "Ok": "\u786e\u5b9a",
   "Cancel": "\u53d6\u6d88",
   "Visual aids": "\u7f51\u683c\u7ebf",
@@ -16,9 +16,9 @@ tinymce.addI18n('zh_CN',{
   "Superscript": "\u4e0a\u6807",
   "Subscript": "\u4e0b\u6807",
   "Clear formatting": "\u6e05\u9664\u683c\u5f0f",
-  "Align left": "\u5de6\u5bf9\u9f50",
-  "Align center": "\u5c45\u4e2d",
-  "Align right": "\u53f3\u5bf9\u9f50",
+  "Align left": "\u5de6\u8fb9\u5bf9\u9f50",
+  "Align center": "\u4e2d\u95f4\u5bf9\u9f50",
+  "Align right": "\u53f3\u8fb9\u5bf9\u9f50",
   "Justify": "\u4e24\u7aef\u5bf9\u9f50",
   "Bullet list": "\u9879\u76ee\u7b26\u53f7",
   "Numbered list": "\u7f16\u53f7\u5217\u8868",
@@ -26,7 +26,7 @@ tinymce.addI18n('zh_CN',{
   "Increase indent": "\u589e\u52a0\u7f29\u8fdb",
   "Close": "\u5173\u95ed",
   "Formats": "\u683c\u5f0f",
-  "Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X\/C\/V keyboard shortcuts instead.": "\u4f60\u7684\u6d4f\u89c8\u5668\u4e0d\u652f\u6301\u5bf9\u526a\u8d34\u677f\u7684\u8bbf\u95ee\uff0c\u8bf7\u4f7f\u7528Ctrl+X\/C\/V\u952e\u8fdb\u884c\u590d\u5236\u7c98\u8d34\u3002",
+  "Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X\/C\/V keyboard shortcuts instead.": "\u4f60\u7684\u6d4f\u89c8\u5668\u4e0d\u652f\u6301\u6253\u5f00\u526a\u8d34\u677f\uff0c\u8bf7\u4f7f\u7528Ctrl+X\/C\/V\u7b49\u5feb\u6377\u952e\u3002",
   "Headers": "\u6807\u9898",
   "Header 1": "\u6807\u98981",
   "Header 2": "\u6807\u98982",
@@ -41,18 +41,18 @@ tinymce.addI18n('zh_CN',{
   "Heading 4": "\u6807\u98984",
   "Heading 5": "\u6807\u98985",
   "Heading 6": "\u6807\u98986",
-  "Preformatted": "\u9884\u683c\u5f0f\u5316",
-  "Div": "Div\u533a\u5757",
-  "Pre": "\u9884\u683c\u5f0f\u6587\u672c",
+  "Preformatted": "\u9884\u5148\u683c\u5f0f\u5316\u7684",
+  "Div": "Div",
+  "Pre": "Pre",
   "Code": "\u4ee3\u7801",
   "Paragraph": "\u6bb5\u843d",
-  "Blockquote": "\u5f15\u7528",
+  "Blockquote": "\u5f15\u6587\u533a\u5757",
   "Inline": "\u6587\u672c",
-  "Blocks": "\u533a\u5757",
+  "Blocks": "\u57fa\u5757",
   "Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.": "\u5f53\u524d\u4e3a\u7eaf\u6587\u672c\u7c98\u8d34\u6a21\u5f0f\uff0c\u518d\u6b21\u70b9\u51fb\u53ef\u4ee5\u56de\u5230\u666e\u901a\u7c98\u8d34\u6a21\u5f0f\u3002",
-  "Font Family": "\u5b57\u4f53",
+  "Fonts": "\u5b57\u4f53",
   "Font Sizes": "\u5b57\u53f7",
-  "Class": "Class",
+  "Class": "\u7c7b\u578b",
   "Browse for an image": "\u6d4f\u89c8\u56fe\u50cf",
   "OR": "\u6216",
   "Drop an image here": "\u62d6\u653e\u4e00\u5f20\u56fe\u50cf\u81f3\u6b64",
@@ -68,25 +68,26 @@ tinymce.addI18n('zh_CN',{
   "Lower Roman": "\u5c0f\u5199\u7f57\u9a6c\u5b57\u6bcd",
   "Upper Alpha": "\u5927\u5199\u82f1\u6587\u5b57\u6bcd",
   "Upper Roman": "\u5927\u5199\u7f57\u9a6c\u5b57\u6bcd",
-  "Anchor": "\u951a\u70b9",
+  "Anchor...": "\u951a\u70b9...",
   "Name": "\u540d\u79f0",
   "Id": "\u6807\u8bc6\u7b26",
   "Id should start with a letter, followed only by letters, numbers, dashes, dots, colons or underscores.": "\u6807\u8bc6\u7b26\u5e94\u8be5\u4ee5\u5b57\u6bcd\u5f00\u5934\uff0c\u540e\u8ddf\u5b57\u6bcd\u3001\u6570\u5b57\u3001\u7834\u6298\u53f7\u3001\u70b9\u3001\u5192\u53f7\u6216\u4e0b\u5212\u7ebf\u3002",
   "You have unsaved changes are you sure you want to navigate away?": "\u4f60\u8fd8\u6709\u6587\u6863\u5c1a\u672a\u4fdd\u5b58\uff0c\u786e\u5b9a\u8981\u79bb\u5f00\uff1f",
   "Restore last draft": "\u6062\u590d\u4e0a\u6b21\u7684\u8349\u7a3f",
-  "Special character": "\u7279\u6b8a\u7b26\u53f7",
+  "Special character...": "\u7279\u6b8a\u5b57\u7b26...",
   "Source code": "\u6e90\u4ee3\u7801",
   "Insert\/Edit code sample": "\u63d2\u5165\/\u7f16\u8f91\u4ee3\u7801\u793a\u4f8b",
   "Language": "\u8bed\u8a00",
-  "Code sample": "\u4ee3\u7801\u793a\u4f8b",
-  "Color": "\u989c\u8272",
+  "Code sample...": "\u793a\u4f8b\u4ee3\u7801...",
+  "Color Picker": "\u9009\u8272\u5668",
   "R": "R",
   "G": "G",
   "B": "B",
   "Left to right": "\u4ece\u5de6\u5230\u53f3",
   "Right to left": "\u4ece\u53f3\u5230\u5de6",
   "Emoticons": "\u8868\u60c5",
-  "Document properties": "\u6587\u6863\u5c5e\u6027",
+  "Emoticons...": "\u8868\u60c5\u7b26\u53f7...",
+  "Metadata and Document Properties": "\u5143\u6570\u636e\u548c\u6587\u6863\u5c5e\u6027",
   "Title": "\u6807\u9898",
   "Keywords": "\u5173\u952e\u8bcd",
   "Description": "\u63cf\u8ff0",
@@ -113,7 +114,9 @@ tinymce.addI18n('zh_CN',{
   "Handy Shortcuts": "\u5feb\u6377\u952e",
   "Horizontal line": "\u6c34\u5e73\u5206\u5272\u7ebf",
   "Insert\/edit image": "\u63d2\u5165\/\u7f16\u8f91\u56fe\u7247",
-  "Image description": "\u56fe\u7247\u63cf\u8ff0",
+  "Alternative description": "\u66ff\u4ee3\u63cf\u8ff0",
+  "Accessibility": "\u8f85\u52a9\u529f\u80fd",
+  "Image is decorative": "\u56fe\u50cf\u662f\u88c5\u9970\u6027\u7684",
   "Source": "\u5730\u5740",
   "Dimensions": "\u5927\u5c0f",
   "Constrain proportions": "\u4fdd\u6301\u7eb5\u6a2a\u6bd4",
@@ -124,7 +127,7 @@ tinymce.addI18n('zh_CN',{
   "Horizontal space": "\u6c34\u5e73\u8fb9\u8ddd",
   "Border": "\u8fb9\u6846",
   "Insert image": "\u63d2\u5165\u56fe\u7247",
-  "Image": "\u56fe\u7247",
+  "Image...": "\u56fe\u7247...",
   "Image list": "\u56fe\u7247\u5217\u8868",
   "Rotate counterclockwise": "\u9006\u65f6\u9488\u65cb\u8f6c",
   "Rotate clockwise": "\u987a\u65f6\u9488\u65cb\u8f6c",
@@ -147,45 +150,52 @@ tinymce.addI18n('zh_CN',{
   "Back": "\u540e\u9000",
   "Insert date\/time": "\u63d2\u5165\u65e5\u671f\/\u65f6\u95f4",
   "Date\/time": "\u65e5\u671f\/\u65f6\u95f4",
-  "Insert link": "\u63d2\u5165\u94fe\u63a5",
   "Insert\/edit link": "\u63d2\u5165\/\u7f16\u8f91\u94fe\u63a5",
   "Text to display": "\u663e\u793a\u6587\u5b57",
   "Url": "\u5730\u5740",
-  "Target": "\u6253\u5f00\u65b9\u5f0f",
+  "Open link in...": "\u94fe\u63a5\u6253\u5f00\u4f4d\u7f6e...",
+  "Current window": "\u5f53\u524d\u7a97\u53e3",
   "None": "\u65e0",
   "New window": "\u5728\u65b0\u7a97\u53e3\u6253\u5f00",
+  "Open link": "\u6253\u5f00\u94fe\u63a5",
   "Remove link": "\u5220\u9664\u94fe\u63a5",
   "Anchors": "\u951a\u70b9",
-  "Link": "\u94fe\u63a5",
+  "Link...": "\u94fe\u63a5...",
   "Paste or type a link": "\u7c98\u8d34\u6216\u8f93\u5165\u94fe\u63a5",
   "The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?": "\u4f60\u6240\u586b\u5199\u7684URL\u5730\u5740\u4e3a\u90ae\u4ef6\u5730\u5740\uff0c\u9700\u8981\u52a0\u4e0amailto:\u524d\u7f00\u5417\uff1f",
   "The URL you entered seems to be an external link. Do you want to add the required http:\/\/ prefix?": "\u4f60\u6240\u586b\u5199\u7684URL\u5730\u5740\u5c5e\u4e8e\u5916\u90e8\u94fe\u63a5\uff0c\u9700\u8981\u52a0\u4e0ahttp:\/\/:\u524d\u7f00\u5417\uff1f",
+  "The URL you entered seems to be an external link. Do you want to add the required https:\/\/ prefix?": "\u60a8\u8f93\u5165\u7684 URL \u4f3c\u4e4e\u662f\u4e00\u4e2a\u5916\u90e8\u94fe\u63a5\u3002\u60a8\u60f3\u6dfb\u52a0\u6240\u9700\u7684 https:\/\/ \u524d\u7f00\u5417\uff1f",
   "Link list": "\u94fe\u63a5\u5217\u8868",
   "Insert video": "\u63d2\u5165\u89c6\u9891",
   "Insert\/edit video": "\u63d2\u5165\/\u7f16\u8f91\u89c6\u9891",
   "Insert\/edit media": "\u63d2\u5165\/\u7f16\u8f91\u5a92\u4f53",
   "Alternative source": "\u955c\u50cf",
-  "Poster": "\u5c01\u9762",
+  "Alternative source URL": "\u66ff\u4ee3\u6765\u6e90\u7f51\u5740",
+  "Media poster (Image URL)": "\u5c01\u9762(\u56fe\u7247\u5730\u5740)",
   "Paste your embed code below:": "\u5c06\u5185\u5d4c\u4ee3\u7801\u7c98\u8d34\u5728\u4e0b\u9762:",
   "Embed": "\u5185\u5d4c",
-  "Media": "\u5a92\u4f53",
+  "Media...": "\u591a\u5a92\u4f53...",
   "Nonbreaking space": "\u4e0d\u95f4\u65ad\u7a7a\u683c",
   "Page break": "\u5206\u9875\u7b26",
   "Paste as text": "\u7c98\u8d34\u4e3a\u6587\u672c",
   "Preview": "\u9884\u89c8",
-  "Print": "\u6253\u5370",
+  "Print...": "\u6253\u5370...",
   "Save": "\u4fdd\u5b58",
   "Find": "\u67e5\u627e",
   "Replace with": "\u66ff\u6362\u4e3a",
   "Replace": "\u66ff\u6362",
   "Replace all": "\u5168\u90e8\u66ff\u6362",
-  "Prev": "\u4e0a\u4e00\u4e2a",
+  "Previous": "\u4e0a\u4e00\u4e2a",
   "Next": "\u4e0b\u4e00\u4e2a",
-  "Find and replace": "\u67e5\u627e\u548c\u66ff\u6362",
+  "Find and Replace": "\u67e5\u627e\u548c\u66ff\u6362",
+  "Find and replace...": "\u67e5\u627e\u5e76\u66ff\u6362...",
   "Could not find the specified string.": "\u672a\u627e\u5230\u641c\u7d22\u5185\u5bb9.",
   "Match case": "\u533a\u5206\u5927\u5c0f\u5199",
-  "Whole words": "\u5168\u5b57\u5339\u914d",
+  "Find whole words only": "\u5168\u5b57\u5339\u914d",
+  "Find in selection": "\u5728\u9009\u533a\u4e2d\u67e5\u627e",
   "Spellcheck": "\u62fc\u5199\u68c0\u67e5",
+  "Spellcheck Language": "\u62fc\u5199\u68c0\u67e5\u8bed\u8a00",
+  "No misspellings found.": "\u6ca1\u6709\u53d1\u73b0\u62fc\u5199\u9519\u8bef",
   "Ignore": "\u5ffd\u7565",
   "Ignore all": "\u5168\u90e8\u5ffd\u7565",
   "Finish": "\u5b8c\u6210",
@@ -217,6 +227,7 @@ tinymce.addI18n('zh_CN',{
   "Cell spacing": "\u5355\u5143\u683c\u5916\u95f4\u8ddd",
   "Cell padding": "\u5355\u5143\u683c\u5185\u8fb9\u8ddd",
   "Caption": "\u6807\u9898",
+  "Show caption": "\u663e\u793a\u6807\u9898",
   "Left": "\u5de6\u5bf9\u9f50",
   "Center": "\u5c45\u4e2d",
   "Right": "\u53f3\u5bf9\u9f50",
@@ -236,7 +247,7 @@ tinymce.addI18n('zh_CN',{
   "Body": "\u8868\u4f53",
   "Footer": "\u8868\u5c3e",
   "Border color": "\u8fb9\u6846\u989c\u8272",
-  "Insert template": "\u63d2\u5165\u6a21\u677f",
+  "Insert template...": "\u63d2\u5165\u6a21\u677f...",
   "Templates": "\u6a21\u677f",
   "Template": "\u6a21\u677f",
   "Text color": "\u6587\u5b57\u989c\u8272",
@@ -244,9 +255,15 @@ tinymce.addI18n('zh_CN',{
   "Custom...": "\u81ea\u5b9a\u4e49...",
   "Custom color": "\u81ea\u5b9a\u4e49\u989c\u8272",
   "No color": "\u65e0",
+  "Remove color": "\u79fb\u9664\u989c\u8272",
   "Table of Contents": "\u5185\u5bb9\u5217\u8868",
   "Show blocks": "\u663e\u793a\u533a\u5757\u8fb9\u6846",
   "Show invisible characters": "\u663e\u793a\u4e0d\u53ef\u89c1\u5b57\u7b26",
+  "Word count": "\u5b57\u6570",
+  "Count": "\u8ba1\u6570",
+  "Document": "\u6587\u6863",
+  "Selection": "\u9009\u62e9",
+  "Words": "\u5355\u8bcd",
   "Words: {0}": "\u5b57\u6570\uff1a{0}",
   "{0} words": "{0} \u5b57",
   "File": "\u6587\u4ef6",
@@ -257,5 +274,189 @@ tinymce.addI18n('zh_CN',{
   "Table": "\u8868\u683c",
   "Tools": "\u5de5\u5177",
   "Powered by {0}": "\u7531{0}\u9a71\u52a8",
-  "Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help": "\u5728\u7f16\u8f91\u533a\u6309ALT-F9\u6253\u5f00\u83dc\u5355\uff0c\u6309ALT-F10\u6253\u5f00\u5de5\u5177\u680f\uff0c\u6309ALT-0\u67e5\u770b\u5e2e\u52a9"
+  "Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help": "\u5728\u7f16\u8f91\u533a\u6309ALT-F9\u6253\u5f00\u83dc\u5355\uff0c\u6309ALT-F10\u6253\u5f00\u5de5\u5177\u680f\uff0c\u6309ALT-0\u67e5\u770b\u5e2e\u52a9",
+  "Image title": "\u56fe\u7247\u6807\u9898",
+  "Border width": "\u8fb9\u6846\u5bbd\u5ea6",
+  "Border style": "\u8fb9\u6846\u6837\u5f0f",
+  "Error": "\u9519\u8bef",
+  "Warn": "\u8b66\u544a",
+  "Valid": "\u6709\u6548",
+  "To open the popup, press Shift+Enter": "\u6309Shitf+Enter\u952e\u6253\u5f00\u5bf9\u8bdd\u6846",
+  "Rich Text Area. Press ALT-0 for help.": "\u7f16\u8f91\u533a\u3002\u6309Alt+0\u952e\u6253\u5f00\u5e2e\u52a9\u3002",
+  "System Font": "\u7cfb\u7edf\u5b57\u4f53",
+  "Failed to upload image: {0}": "\u56fe\u7247\u4e0a\u4f20\u5931\u8d25: {0}",
+  "Failed to load plugin: {0} from url {1}": "\u63d2\u4ef6\u52a0\u8f7d\u5931\u8d25: {0} \u6765\u81ea\u94fe\u63a5 {1}",
+  "Failed to load plugin url: {0}": "\u63d2\u4ef6\u52a0\u8f7d\u5931\u8d25 \u94fe\u63a5: {0}",
+  "Failed to initialize plugin: {0}": "\u63d2\u4ef6\u521d\u59cb\u5316\u5931\u8d25: {0}",
+  "example": "\u793a\u4f8b",
+  "Search": "\u641c\u7d22",
+  "All": "\u5168\u90e8",
+  "Currency": "\u8d27\u5e01",
+  "Text": "\u6587\u5b57",
+  "Quotations": "\u5f15\u7528",
+  "Mathematical": "\u6570\u5b66",
+  "Extended Latin": "\u62c9\u4e01\u8bed\u6269\u5145",
+  "Symbols": "\u7b26\u53f7",
+  "Arrows": "\u7bad\u5934",
+  "User Defined": "\u81ea\u5b9a\u4e49",
+  "dollar sign": "\u7f8e\u5143\u7b26\u53f7",
+  "currency sign": "\u8d27\u5e01\u7b26\u53f7",
+  "euro-currency sign": "\u6b27\u5143\u7b26\u53f7",
+  "colon sign": "\u5192\u53f7",
+  "cruzeiro sign": "\u514b\u9c81\u8d5b\u7f57\u5e01\u7b26\u53f7",
+  "french franc sign": "\u6cd5\u90ce\u7b26\u53f7",
+  "lira sign": "\u91cc\u62c9\u7b26\u53f7",
+  "mill sign": "\u5bc6\u5c14\u7b26\u53f7",
+  "naira sign": "\u5948\u62c9\u7b26\u53f7",
+  "peseta sign": "\u6bd4\u585e\u5854\u7b26\u53f7",
+  "rupee sign": "\u5362\u6bd4\u7b26\u53f7",
+  "won sign": "\u97e9\u5143\u7b26\u53f7",
+  "new sheqel sign": "\u65b0\u8c22\u514b\u5c14\u7b26\u53f7",
+  "dong sign": "\u8d8a\u5357\u76fe\u7b26\u53f7",
+  "kip sign": "\u8001\u631d\u57fa\u666e\u7b26\u53f7",
+  "tugrik sign": "\u56fe\u683c\u91cc\u514b\u7b26\u53f7",
+  "drachma sign": "\u5fb7\u62c9\u514b\u9a6c\u7b26\u53f7",
+  "german penny symbol": "\u5fb7\u56fd\u4fbf\u58eb\u7b26\u53f7",
+  "peso sign": "\u6bd4\u7d22\u7b26\u53f7",
+  "guarani sign": "\u74dc\u62c9\u5c3c\u7b26\u53f7",
+  "austral sign": "\u6fb3\u5143\u7b26\u53f7",
+  "hryvnia sign": "\u683c\u91cc\u592b\u5c3c\u4e9a\u7b26\u53f7",
+  "cedi sign": "\u585e\u5730\u7b26\u53f7",
+  "livre tournois sign": "\u91cc\u5f17\u5f17\u5c14\u7b26\u53f7",
+  "spesmilo sign": "spesmilo\u7b26\u53f7",
+  "tenge sign": "\u575a\u6208\u7b26\u53f7",
+  "indian rupee sign": "\u5370\u5ea6\u5362\u6bd4",
+  "turkish lira sign": "\u571f\u8033\u5176\u91cc\u62c9",
+  "nordic mark sign": "\u5317\u6b27\u9a6c\u514b",
+  "manat sign": "\u9a6c\u7eb3\u7279\u7b26\u53f7",
+  "ruble sign": "\u5362\u5e03\u7b26\u53f7",
+  "yen character": "\u65e5\u5143\u5b57\u6837",
+  "yuan character": "\u4eba\u6c11\u5e01\u5143\u5b57\u6837",
+  "yuan character, in hong kong and taiwan": "\u5143\u5b57\u6837\uff08\u6e2f\u53f0\u5730\u533a\uff09",
+  "yen\/yuan character variant one": "\u5143\u5b57\u6837\uff08\u5927\u5199\uff09",
+  "Loading emoticons...": "\u52a0\u8f7d\u8868\u60c5\u7b26\u53f7...",
+  "Could not load emoticons": "\u4e0d\u80fd\u52a0\u8f7d\u8868\u60c5\u7b26\u53f7",
+  "People": "\u4eba\u7c7b",
+  "Animals and Nature": "\u52a8\u7269\u548c\u81ea\u7136",
+  "Food and Drink": "\u98df\u7269\u548c\u996e\u54c1",
+  "Activity": "\u6d3b\u52a8",
+  "Travel and Places": "\u65c5\u6e38\u548c\u5730\u70b9",
+  "Objects": "\u7269\u4ef6",
+  "Flags": "\u65d7\u5e1c",
+  "Characters": "\u5b57\u7b26",
+  "Characters (no spaces)": "\u5b57\u7b26(\u65e0\u7a7a\u683c)",
+  "{0} characters": "{0} \u4e2a\u5b57\u7b26",
+  "Error: Form submit field collision.": "\u9519\u8bef: \u8868\u5355\u63d0\u4ea4\u5b57\u6bb5\u51b2\u7a81\u3002",
+  "Error: No form element found.": "\u9519\u8bef: \u6ca1\u6709\u8868\u5355\u63a7\u4ef6\u3002",
+  "Update": "\u66f4\u65b0",
+  "Color swatch": "\u989c\u8272\u6837\u672c",
+  "Turquoise": "\u9752\u7eff\u8272",
+  "Green": "\u7eff\u8272",
+  "Blue": "\u84dd\u8272",
+  "Purple": "\u7d2b\u8272",
+  "Navy Blue": "\u6d77\u519b\u84dd",
+  "Dark Turquoise": "\u6df1\u84dd\u7eff\u8272",
+  "Dark Green": "\u6df1\u7eff\u8272",
+  "Medium Blue": "\u4e2d\u84dd\u8272",
+  "Medium Purple": "\u4e2d\u7d2b\u8272",
+  "Midnight Blue": "\u6df1\u84dd\u8272",
+  "Yellow": "\u9ec4\u8272",
+  "Orange": "\u6a59\u8272",
+  "Red": "\u7ea2\u8272",
+  "Light Gray": "\u6d45\u7070\u8272",
+  "Gray": "\u7070\u8272",
+  "Dark Yellow": "\u6697\u9ec4\u8272",
+  "Dark Orange": "\u6df1\u6a59\u8272",
+  "Dark Red": "\u6df1\u7ea2\u8272",
+  "Medium Gray": "\u4e2d\u7070\u8272",
+  "Dark Gray": "\u6df1\u7070\u8272",
+  "Light Green": "\u6d45\u7eff\u8272",
+  "Light Yellow": "\u6d45\u9ec4\u8272",
+  "Light Red": "\u6d45\u7ea2\u8272",
+  "Light Purple": "\u6d45\u7d2b\u8272",
+  "Light Blue": "\u6d45\u84dd\u8272",
+  "Dark Purple": "\u6df1\u7d2b\u8272",
+  "Dark Blue": "\u6df1\u84dd\u8272",
+  "Black": "\u9ed1\u8272",
+  "White": "\u767d\u8272",
+  "Switch to or from fullscreen mode": "\u5207\u6362\u5168\u5c4f\u6a21\u5f0f",
+  "Open help dialog": "\u6253\u5f00\u5e2e\u52a9\u5bf9\u8bdd\u6846",
+  "history": "\u5386\u53f2",
+  "styles": "\u6837\u5f0f",
+  "formatting": "\u683c\u5f0f\u5316",
+  "alignment": "\u5bf9\u9f50",
+  "indentation": "\u7f29\u8fdb",
+  "Font": "\u5b57\u4f53",
+  "Size": "\u5b57\u53f7",
+  "More...": "\u66f4\u591a...",
+  "Select...": "\u9009\u62e9...",
+  "Preferences": "\u9996\u9009\u9879",
+  "Yes": "\u662f",
+  "No": "\u5426",
+  "Keyboard Navigation": "\u952e\u76d8\u6307\u5f15",
+  "Version": "\u7248\u672c",
+  "Code view": "\u4ee3\u7801\u89c6\u56fe",
+  "Open popup menu for split buttons": "\u6253\u5f00\u5f39\u51fa\u5f0f\u83dc\u5355\uff0c\u7528\u4e8e\u62c6\u5206\u6309\u94ae",
+  "List Properties": "\u5217\u8868\u5c5e\u6027",
+  "List properties...": "\u6807\u9898\u5b57\u4f53\u5c5e\u6027",
+  "Start list at number": "\u4ee5\u6570\u5b57\u5f00\u59cb\u5217\u8868",
+  "Line height": "\u884c\u9ad8",
+  "comments": "\u5907\u6ce8",
+  "Format Painter": "\u683c\u5f0f\u5237",
+  "Insert\/edit iframe": "\u63d2\u5165\/\u7f16\u8f91\u6846\u67b6",
+  "Capitalization": "\u5927\u5199",
+  "lowercase": "\u5c0f\u5199",
+  "UPPERCASE": "\u5927\u5199",
+  "Title Case": "\u9996\u5b57\u6bcd\u5927\u5199",
+  "permanent pen": "\u8bb0\u53f7\u7b14",
+  "Permanent Pen Properties": "\u6c38\u4e45\u7b14\u5c5e\u6027",
+  "Permanent pen properties...": "\u6c38\u4e45\u7b14\u5c5e\u6027...",
+  "case change": "\u6848\u4f8b\u66f4\u6539",
+  "page embed": "\u9875\u9762\u5d4c\u5165",
+  "Advanced sort...": "\u9ad8\u7ea7\u6392\u5e8f...",
+  "Advanced Sort": "\u9ad8\u7ea7\u6392\u5e8f",
+  "Sort table by column ascending": "\u6309\u5217\u5347\u5e8f\u8868",
+  "Sort table by column descending": "\u6309\u5217\u964d\u5e8f\u8868",
+  "Sort": "\u6392\u5e8f",
+  "Order": "\u6392\u5e8f",
+  "Sort by": "\u6392\u5e8f\u65b9\u5f0f",
+  "Ascending": "\u5347\u5e8f",
+  "Descending": "\u964d\u5e8f",
+  "Column {0}": "\u5217{0}",
+  "Row {0}": "\u884c{0}",
+  "Spellcheck...": "\u62fc\u5199\u68c0\u67e5...",
+  "Misspelled word": "\u62fc\u5199\u9519\u8bef\u7684\u5355\u8bcd",
+  "Suggestions": "\u5efa\u8bae",
+  "Change": "\u66f4\u6539",
+  "Finding word suggestions": "\u67e5\u627e\u5355\u8bcd\u5efa\u8bae",
+  "Success": "\u6210\u529f",
+  "Repair": "\u4fee\u590d",
+  "Issue {0} of {1}": "\u5171\u8ba1{1}\u95ee\u9898{0}",
+  "Images must be marked as decorative or have an alternative text description": "\u56fe\u50cf\u5fc5\u987b\u6807\u8bb0\u4e3a\u88c5\u9970\u6027\u6216\u5177\u6709\u66ff\u4ee3\u6587\u672c\u63cf\u8ff0",
+  "Images must have an alternative text description. Decorative images are not allowed.": "\u56fe\u50cf\u5fc5\u987b\u5177\u6709\u66ff\u4ee3\u6587\u672c\u63cf\u8ff0\u3002\u4e0d\u5141\u8bb8\u4f7f\u7528\u88c5\u9970\u56fe\u50cf\u3002",
+  "Or provide alternative text:": "\u6216\u63d0\u4f9b\u5907\u9009\u6587\u672c\uff1a",
+  "Make image decorative:": "\u4f7f\u56fe\u50cf\u88c5\u9970\uff1a",
+  "ID attribute must be unique": "ID \u5c5e\u6027\u5fc5\u987b\u662f\u552f\u4e00\u7684",
+  "Make ID unique": "\u4f7f ID \u72ec\u4e00\u65e0\u4e8c",
+  "Keep this ID and remove all others": "\u4fdd\u7559\u6b64 ID \u5e76\u5220\u9664\u6240\u6709\u5176\u4ed6",
+  "Remove this ID": "\u5220\u9664\u6b64 ID",
+  "Remove all IDs": "\u6e05\u9664\u5168\u90e8IDs",
+  "Checklist": "\u6e05\u5355",
+  "Anchor": "\u951a\u70b9",
+  "Special character": "\u7279\u6b8a\u7b26\u53f7",
+  "Code sample": "\u4ee3\u7801\u793a\u4f8b",
+  "Color": "\u989c\u8272",
+  "Document properties": "\u6587\u6863\u5c5e\u6027",
+  "Image description": "\u56fe\u7247\u63cf\u8ff0",
+  "Image": "\u56fe\u7247",
+  "Insert link": "\u63d2\u5165\u94fe\u63a5",
+  "Target": "\u6253\u5f00\u65b9\u5f0f",
+  "Link": "\u94fe\u63a5",
+  "Poster": "\u5c01\u9762",
+  "Media": "\u5a92\u4f53",
+  "Print": "\u6253\u5370",
+  "Prev": "\u4e0a\u4e00\u4e2a",
+  "Find and replace": "\u67e5\u627e\u548c\u66ff\u6362",
+  "Whole words": "\u5168\u5b57\u5339\u914d",
+  "Insert template": "\u63d2\u5165\u6a21\u677f"
   });

+ 32 - 155
operationSupport/src/components/Tinymce/index.vue

@@ -1,6 +1,6 @@
 <template>
     <div :class="{ fullscreen: fullscreen }" class="tinymce-container" :style="{ width: containerWidth }">
-        <textarea :id="tinymceId"  class="tinymce-textarea" />
+        <textarea :id="tinymceId" class="tinymce-textarea" />
 
         <!-- <div class="editor-custom-btn-container"> -->
         <!-- <editorImage color="#1890ff" class="editor-upload-btn" @successCBK="imageSuccessCBK" /> -->
@@ -9,29 +9,12 @@
 </template>
 
 <script>
-/**
- * docs:
- * https://panjiachen.github.io/vue-element-admin-site/feature/component/rich-editor.html#tinymce
- */
-// import editorImage from './components/EditorImage';
-// import editorImage from '../../views/propertyManagement/common/upImage.vue';
 import plugins from './plugins';
 import toolbar from './toolbar';
-import load from './dynamicLoadScript';
-
-// why use this cdn, detail see https://github.com/PanJiaChen/tinymce-all-in-one
-const tinymceCDN = 'https://cdn.jsdelivr.net/npm/tinymce-all-in-one@4.9.3/tinymce.min.js';
 
 export default {
     name: 'Tinymce',
-    // components: { editorImage },
     props: {
-        id: {
-            type: String,
-            default: function () {
-                return 'vue-tinymce-' + +new Date() + ((Math.random() * 1000).toFixed(0) + '');
-            }
-        },
         value: {
             type: String,
             default: ''
@@ -58,124 +41,42 @@ export default {
         return {
             times: null,
             hasChange: false,
-            hasInit: false,
-            tinymceId: this.id,
+            hasInit: true,
+            tinymceId: this.id || 'vue-tinymce-' + Date.parse(new Date()),
             fullscreen: false,
-            languageTypeList: {
-                en: 'en',
-                zh: 'zh_CN',
-                es: 'es_MX',
-                ja: 'ja'
-            },
-            thisImg: ''
+            objTin: ''
         };
     },
     computed: {
-        language() {
-            return this.languageTypeList[this.$store.getters.language];
-        },
         containerWidth() {
             const width = this.width;
             if (/^[\d]+(\.[\d]+)?$/.test(width)) {
-                // matches `100`, `'100'`
                 return `${width}px`;
             }
             return width;
         }
     },
     watch: {
-        value(val) {
-            // console.log('tinymceValue============', val);
-            if (!this.hasChange && this.hasInit) {
+        value(val, old) {
+            if (this.hasInit && !this.hasChange && !!val) {
                 this.$nextTick(() => {
-                    window.tinymce.get(this.tinymceId).setContent(val || '');
+                    this.setContent(val);
                 });
             }
-        },
-        language() {
-            this.destroyTinymce();
-            this.$nextTick(() => this.initTinymce());
         }
     },
     mounted() {
-        this.init();
-    },
-    activated() {
-        if (window.tinymce) {
-            this.initTinymce();
-        }
-    },
-    deactivated() {
-        this.destroyTinymce();
+        this.initTinymce();
     },
     destroyed() {
         this.destroyTinymce();
     },
     methods: {
-        init() {
-            // dynamic load tinymce from cdn
-            load(tinymceCDN, (err) => {
-                if (err) {
-                    this.$message.error(err.message);
-                    return;
-                }
-                this.initTinymce();
-            });
-        },
-        onPaste(event) {
-            const items = (event.clipboardData || window.clipboardData).items;
-            if (items[0].type.indexOf('image') !== -1) {
-                const file = items[0].getAsFile();
-                const formData = new FormData();
-                formData.append('file', file);
-                // 上传图片
-                this.$http.post('/sc-community/upload/uploadFile', formData).then((res) => {
-                    if (res.status == 0) {
-                        let content = window.tinymce.get(this.tinymceId).getContent();
-                        let newContent = content.replace(/<img *src="data.*?\/>/g, `<img src='${res.data}' />`);
-                        window.tinymce.get(this.tinymceId).setContent(newContent);
-                        // resolve && resolve();
-                    } else {
-                        this.$message.error(res.msg);
-                    }
-                });
-            } 
-            // else {
-            //     this.$message({type:'warning',message:'只能复制纯文本或图片',duration:3000});
-            // }
-
-            return;
-            new Promise((resolve) => {
-                const items = (event.clipboardData || window.clipboardData).items;
-                if (items[0].type.indexOf('image') !== -1) {
-                    const file = items[0].getAsFile();
-                    const formData = new FormData();
-                    formData.append('file', file);
-                    // 上传图片
-                    this.$http.post('/sc-community/upload/uploadFile', formData).then((res) => {
-                        if (res.status === 0) {
-                            let img = `<img class="wscnph" src="${res.data}" />`;
-                            window.tinymce.get(this.tinymceId).insertContent(img);
-                            resolve && resolve();
-                        } else {
-                            this.$message.error(res.msg);
-                        }
-                    });
-                } else {
-                    this.$message.error('只能复制文字图片,样式无法复制请手动排版');
-                }
-            }).then(() => {
-                let content = window.tinymce.get(this.tinymceId).getContent();
-                let newContent = content.replace(/<img *src="data.*?\/>/g, '');
-                window.tinymce.get(this.tinymceId).setContent(newContent);
-            });
-        },
-
         initTinymce() {
             const _this = this;
-            window.tinymce.init({
-                // fontsize_formats: '8pt 10pt 12pt 13pt 14pt 15pt 16pt 17pt 18pt 19pt 20pt 24pt 36pt',
+            this.objTin = tinymce.init({
                 language: 'zh_CN',
+                language_url: '/loctionJs/tinymce_4.9.3/tinymce/langs/zh_CN.js',
                 selector: `#${this.tinymceId}`,
                 //状态栏指的是编辑器最底下、左侧显示dom信息、右侧显示Tiny版权链接和调整大小的那一条。默认是显示的,设为false可将其隐藏
                 statusbar: false,
@@ -195,67 +96,43 @@ export default {
                 default_link_target: '_blank',
                 link_title: false,
                 init_instance_callback: (editor) => {
-                    if (_this.value) {
+                    if (!!_this.value) {
                         editor.setContent(_this.value);
                     }
                     _this.hasInit = true;
-                    editor.on('NodeChange Change KeyUp SetContent', () => {
-                        this.times = null;
-                        this.hasChange = true;
-                        // const val = editor.getContent().replace(/<p><img\s?src="data.*?<\/p>/g, '')
+                    editor.on('NodeChange Change input KeyUp', () => {
+                        if (!!_this.value) {
+                            _this.hasChange = true;
+                        }
                         this.$emit('input', editor.getContent());
                     });
-                    editor.on('paste', (evt) => {
-                        // 监听粘贴事件
-                        this.onPaste(evt);
-                    });
-                },
-                setup(editor) {
-                    editor.on('FullscreenStateChanged', (e) => {
-                        _this.fullscreen = e.state;
-                    });
                 },
                 convert_urls: false,
-                paste_data_images: false // 粘贴的同时能把内容里的图片自动上传
-                // images_upload_handler(blobInfo, success, failure, progress) {
-                // }
+                paste_data_images: true, // 粘贴的同时能把内容里的图片自动上传
+                images_upload_handler: (blobInfo, succFun, failFun) => {
+                    const formData = new FormData();
+                    formData.append('file', blobInfo.blob()); // 上传图片
+                    this.$http.post('/sc-community/upload/uploadFile', formData).then((res) => {
+                        if (res.status == 0) {
+                            succFun(res.data);
+                            let content = this.getContent();
+                            this.setContent(content);
+                        } else {
+                            this.$message.error(res.msg);
+                        }
+                    });
+                }
             });
         },
         destroyTinymce() {
-            const tinymce = window.tinymce.get(this.tinymceId);
-            if (this.fullscreen) {
-                tinymce.execCommand('mceFullScreen');
-            }
-
-            if (tinymce) {
-                tinymce.destroy();
-            }
+            tinymce.get(this.tinymceId).destroy();
+            this.objTin = '';
         },
         setContent(value) {
             window.tinymce.get(this.tinymceId).setContent(value);
         },
         getContent() {
-            window.tinymce.get(this.tinymceId).getContent();
-        },
-        deleteImage(val) {
-            let content = window.tinymce.get(this.tinymceId).getContent();
-            let reg = new RegExp(`<img class="wscnph" src="${val.response.data}" />`, 'g');
-            let newContent = content.replace(reg, '');
-            window.tinymce.get(this.tinymceId).setContent(newContent);
-        },
-        imageSuccessCBK(arr) {
-            // if (arr) {
-            //     // 获取内容,允许上传图片的线上大小,个数
-            //     let content = window.tinymce.get(this.tinymceId).getContent();
-            //     let img = [];
-            //     content.replace(/<img [^>]*src=['"]([^'"]+)[^>]*>/g, function (match, capture) {
-            //         img.push(capture);
-            //     });
-            //     // if (img.length >= 3) {
-            //     //     return this.$message.warning('最多插入三张图片');
-            //     // }
-            //     arr.forEach((v) => window.tinymce.get(this.tinymceId).insertContent(`<img class="wscnph" src="${v.url}" />`));
-            // }
+            return window.tinymce.get(this.tinymceId).getContent();
         }
     }
 };

+ 1 - 1
operationSupport/src/components/Tinymce/plugins.js

@@ -6,7 +6,7 @@
 // ];
 
 // const plugins = ['fullscreen'];
-const plugins = ['  colorpicker contextmenu directionality  fullscreen  ', 'textcolor textpattern visualblocks visualchars wordcount'];
+const plugins = ['  colorpicker contextmenu directionality ', 'textcolor textpattern visualblocks visualchars wordcount paste'];
 // const plugins = ['fullscreen save searchreplace spellchecker tabfocus template textcolor'];
 
 export default plugins;

+ 165 - 107
operationSupport/src/views/businessManagement/InvestmentResources/stepPage/programme.vue

@@ -1,67 +1,53 @@
 <template>
     <el-form ref="form" :model="formData" :rules="formRules" label-width="90px">
         <div class="formContent-item_title">物业信息</div>
-        <el-col :span="12"><el-form-item label="房屋地址:"> xxxx </el-form-item></el-col>
-        <el-col :span="12"><el-form-item label="房屋编号:"> xxxx </el-form-item></el-col>
-        <el-col :span="12"><el-form-item label="房屋类型:"> xxxx </el-form-item></el-col>
-        <el-col :span="12"><el-form-item label="租售类型:"> xxxx </el-form-item></el-col>
-        <el-col :span="12"><el-form-item label="租售状态:"> xxxx </el-form-item></el-col>
-        <el-col :span="12"><el-form-item label="建筑面积:"> xxxx </el-form-item></el-col>
+        <el-col :span="12"
+            ><el-form-item label="房屋地址:"> {{ formData.address || '--' }} </el-form-item></el-col
+        >
+        <el-col :span="12"
+            ><el-form-item label="房屋编号:"> {{ formData.assetNumber || '--' }} </el-form-item></el-col
+        >
+        <el-col :span="12"
+            ><el-form-item label="房屋类型:"> {{ buildingType(formData) }} </el-form-item></el-col
+        >
+        <el-col :span="12"
+            ><el-form-item label="租售类型:"> {{ salesType(formData.salesType) }} </el-form-item></el-col
+        >
+        <el-col :span="12"
+            ><el-form-item label="租售状态:"> {{ salesStatus(formData.salesStatus) }} </el-form-item></el-col
+        >
+        <el-col :span="12"
+            ><el-form-item label="建筑面积:"> {{ formData.buildingArea || '--' }} </el-form-item></el-col
+        >
         <div class="formContent-item_title">招商信息</div>
         <el-form-item label="招商标题" prop="title">
             <el-input v-model="formData.title" placeholder="请输入招商标题"></el-input>
         </el-form-item>
         <el-form-item label="月租金额" prop="monthlyRent">
-            <el-input v-model="formData.monthlyRent" placeholder="请输入月租金额"></el-input>
+            <el-input
+                class="width90"
+                v-model="formData.monthlyRent"
+                placeholder="请输入月租金额"
+                maxlength="10"
+                oninput="value=value.replace(/[^0-9.]/g,'')"
+            ></el-input
+            >元
         </el-form-item>
         <el-form-item label="出售金额" prop="sell">
-            <el-input v-model="formData.sell" placeholder="请输入出售金额"></el-input>
+            <el-input
+                class="width90"
+                v-model="formData.sell"
+                placeholder="请输入出售金额"
+                maxlength="10"
+                oninput="value=value.replace(/[^0-9.]/g,'')"
+            ></el-input
+            >元
         </el-form-item>
         <el-form-item label="房屋图片" prop="pictureUrl">
-            <div class="clickUpload">
-                <div class="clickUpText" v-for="item in fileType" :key="item">
-                    <video v-if="typeVideo(item)" :src="item"></video>
-                    <img v-else class="dataImg" :src="item" />
-                </div>
-                <div class="clickUpText">
-                    <div class="addImg" @click="clickFile('uploadImg')"><i class="el-icon-plus ashText"></i></div>
-                </div>
-                <el-upload
-                    style="display: none"
-                    :headers="token"
-                    ref="uploadImg"
-                    limit="3"
-                    action="/sc-community/upload/uploadFile"
-                    :on-success="uploadsuccess"
-                    :before-upload="beforeAvatarUpload"
-                    :auto-upload="true"
-                    name="file"
-                >
-                </el-upload>
-            </div>
+            <bz-upload type="img" :uploadArr="pictureArr" :limit="5"></bz-upload>
         </el-form-item>
         <el-form-item label="房屋视频" prop="videoUrl">
-            <div class="clickUpload">
-                <div class="clickUpText" v-for="item in fileType" :key="item">
-                    <video v-if="typeVideo(item)" :src="item"></video>
-                    <img v-else class="dataImg" :src="item" />
-                </div>
-                <div class="clickUpText">
-                    <div class="addImg" @click="clickFile('uploadVideo')"><i class="el-icon-plus ashText"></i></div>
-                </div>
-                <el-upload
-                    style="display: none"
-                    :headers="token"
-                    ref="uploadVideo"
-                    limit="3"
-                    action="/sc-community/upload/uploadFile"
-                    :on-success="uploadsuccess"
-                    :before-upload="beforeAvatarUpload"
-                    :auto-upload="true"
-                    name="file"
-                >
-                </el-upload>
-            </div>
+            <bz-upload type="video" :uploadArr="videoArr" :limit="1"></bz-upload>
         </el-form-item>
         <el-form-item label="招商描述" prop="userId">
             <tinymce v-model="formData.description" ref="endit" :height="150" />
@@ -85,23 +71,104 @@ export default {
                 sell: '',
                 title: ''
             },
-            findUser: [],
+            videoArr: [],
+            pictureArr: [],
             formRules: {
                 monthlyRent: [this.$valid.inputRequired('月租金额')],
                 sell: [this.$valid.inputRequired('出售金额')],
-                title: [this.$valid.inputRequired('招商标题')]
-                // monthlyRent: [this.$valid.inputRequired('月租金额')],
-                // monthlyRent: [this.$valid.inputRequired('月租金额')],
-            }
+                title: [this.$valid.inputRequired('招商标题')],
+                pictureUrl: this.$valid.custome({
+                    validator(rule, value, cb) {
+                        const rl = rule;
+                        if (!value) {
+                            rl.message = '请上传图片';
+                            cb(new Error());
+                        } else {
+                            cb();
+                        }
+                    }
+                }),
+                videoUrl: this.$valid.custome({
+                    validator(rule, value, cb) {
+                        const rl = rule;
+                        if (!value) {
+                            rl.message = '请上传视频';
+                            cb(new Error());
+                        } else {
+                            cb();
+                        }
+                    }
+                })
+            },
+            buildingTypeArr: ['住宅', '商业'],
+            residenceType: [
+                {
+                    label: '高档住宅',
+                    value: 1
+                },
+                {
+                    label: '普通住宅',
+                    value: 2
+                },
+                {
+                    label: '公寓',
+                    value: 3
+                },
+                {
+                    label: '别墅',
+                    value: 4
+                },
+                {
+                    label: '复式',
+                    value: 5
+                },
+                {
+                    label: '办公',
+                    value: 6
+                },
+                {
+                    label: '酒店',
+                    value: 7
+                },
+                {
+                    label: '厂房',
+                    value: 8
+                },
+                {
+                    label: '商场',
+                    value: 9
+                },
+                {
+                    label: '综合体',
+                    value: 10
+                },
+                {
+                    label: '仓库',
+                    value: 11
+                },
+                {
+                    label: '广告位',
+                    value: 12
+                }
+            ]
         };
     },
+    watch: {
+        videoArr(val) {
+            this.formData.videoUrl = val.join();
+        },
+        pictureArr(val) {
+            this.formData.pictureUrl = val.join();
+        }
+    },
     methods: {
         submit() {
             this.$refs.form.validate((valid) => {
                 if (valid) {
                     var loading = this.$loading();
+                    let installData = this.formData;
                     this.$http
-                        .post('/sc-community/merchants/edit', this.formData)
+                        .post('/sc-community/merchants/edit', installData)
                         .then(({ status, msg }) => {
                             if (status == 0) {
                                 this.$message.success(msg);
@@ -118,33 +185,52 @@ export default {
                 }
             });
         },
-        uploadsuccess(response, file, fileList) {
-            this.$refs.uploadBox.clearFiles();
-            if (0 === response.status) {
-                this.fileType.push(response.data);
+        salesType(val) {
+            if (val == 1) {
+                return '可租可售';
+            } else if (val == 2) {
+                return '只租';
+            } else if (val == 3) {
+                return '只售';
+            } else {
+                return '--';
             }
         },
-        beforeAvatarUpload(file) {
-            // const isVIDEO = file.type === 'video/mp4';
-            // if (!isVIDEO) {
-            //     this.$message.error('上传mp4视频!');
-            // }
-            // return isVIDEO;
+        salesStatus(val) {
+            if (val == 0) {
+                return '待租售';
+            } else if (val == 1) {
+                return '已售';
+            } else if (val == 2) {
+                return '已租';
+            } else {
+                return '--';
+            }
         },
-        typeVideo(str) {
-            let type = str.slice(str.lastIndexOf('.') + 1, str.length);
-            let videoType = ['mp4'];
-            return videoType.includes(type);
+        buildingType(row) {
+            return `${!!row.buildingType ? `${this.buildingTypeArr[Number(row.buildingType) - 1]}` : ''}${
+                !!row.residenceType ? `-${this.residenceType[Number(row.residenceType) + 1]['label']}` : ''
+            }`;
         },
-        clickFile(name) {
-            // this.$refs['uploaduserlogo'].$refs['upload-inner'].handleClick();
-            this.$refs[name].$children[0].$refs.input.click();
+        findDetali(id) {
+            this.$http
+                .get('/sc-community/merchants/find/' + id)
+                .then(({ data, status, msg }) => {
+                    if (0 === status) {
+                        if (data !== null) {
+                            this.pictureArr = !!data.pictureUrl ? data.pictureUrl.split(',') : [];
+                            this.videoArr = !!data.videoUrl ? data.videoUrl.split(',') : [];
+                            Object.assign(this.formData, data);
+                        }
+                    } else {
+                        this.$message.error(msg);
+                    }
+                })
+                .catch(() => {});
         }
     },
     created() {
-        // this.params.house.map((item) => {
-        //     this.formData.houseIds.push(item.houseId);
-        // });
+        this.findDetali(this.params.row.houseId);
     }
 };
 </script>
@@ -152,36 +238,8 @@ export default {
 .formContent-item_title {
     clear: both;
 }
-
-.clickUpload {
-    display: flex;
-    .clickUpText {
-        height: 76px;
-        width: 76px;
-        border: 1px solid #e0e1e3;
-        box-sizing: border-box;
-        background: white;
-        border-radius: 5px;
-        margin-right: 5px;
-        z-index: 1;
-        img.dataImg {
-            width: 100%;
-            height: 100%;
-            object-fit: cover;
-            border-radius: 5px;
-        }
-        .addImg {
-            line-height: 76px;
-            text-align: center;
-            cursor: pointer;
-            & > i {
-                font-size: 30px;
-            }
-        }
-        video {
-            width: 100%;
-            height: 100%;
-        }
-    }
+.width90 {
+    width: calc(100% - 25px);
+    margin-right: 10px;
 }
 </style>