yangg 7 saat önce
ebeveyn
işleme
77a702314d

+ 1 - 1
.env.development

@@ -3,7 +3,7 @@ ENV = 'development'
 port = 8080
 # base api
 #VUE_APP_BASE_AI_API='https://ylaiapi.raycos.com.cn'
-VUE_APP_BASE_AI_API = 'http://192.168.100.187:8082'
+VUE_APP_BASE_AI_API = 'http://192.168.100.101:8082'
 VUE_APP_BASE_API = 'http://192.168.100.101:8084'
 #192.168.66.187
 #朱:192.168.66.163

+ 4 - 0
src/views/project/ProjectInput.vue

@@ -168,6 +168,7 @@
             </div>
           </template>
         </el-table-column>
+         <el-table-column prop="modified_by" label="创建人"  />
         <el-table-column label="操作">
           <template slot-scope="scope">
             <el-button type="primary" @click="handleViewGspr(scope.row)"
@@ -810,6 +811,8 @@ export default {
         sequence: row.sequence,
         project: row.project,
         content: row.content,
+        name:row.name,
+        department:row.department
       };
       this.remarkDialogVisible = true;
     },
@@ -817,6 +820,7 @@ export default {
     // 修改备注提交方法
     async handleRemarkSubmit() {
       try {
+        console.log(this.remarkForm);
         // 只更新必要的字段
         const updateData = {
           ...this.remarkForm,

+ 3 - 2
src/views/project/components/dataList.vue

@@ -2055,7 +2055,7 @@ export default {
         /\[表格\|style=(.*?)\|class=(.*?)\]\n([\s\S]*?)(?=\[|$)/g,
         (match, tableStyle, tableClass, tableContent) => {
           const rows = tableContent.trim().split('\n')
-          let tableHtml = `<table style="${tableStyle}" class="${tableClass}">`
+          let tableHtml = `<table style="${tableStyle};background-color:#ffff00;"  class="${tableClass}">`
 
           rows.forEach((row) => {
             tableHtml += '<tr>'
@@ -2299,7 +2299,7 @@ export default {
                       class="replacement-content" 
                       data-code="${currentCode}" 
                       title="${chineseDescription}"
-                      style="background-color: #ffff00; padding: 2px 4px; border-radius: 2px; display: inline-block;"
+                      style="background-color: #ffff00 !important; padding: 2px 4px; border-radius: 2px; display: inline-block;"
                     >${cleanContent}${chineseDescription ? `<span class="chinese-desc" style="color: #67c23a; margin-left: 4px; font-size: 0.9em;">(${chineseDescription})</span>` : ''}</span>`.trim()
 
                   // 处理表格和其他内容
@@ -2377,6 +2377,7 @@ export default {
           if (tableElement) {
             // 添加自适应行高样式
             tableElement.style.borderCollapse = 'collapse'
+            tableElement.style.backgoroundColor='#ffff00'
             
             // 处理表格行和单元格
             tableElement.querySelectorAll('tr').forEach(row => {