armg před 1 rokem
rodič
revize
b6eed04129

+ 3 - 1
ruoyi-ui/src/views/invest/channel/index.vue

@@ -454,6 +454,7 @@ export default {
     // 多选框选中数据
     handleSelectionChange(selection) {
       this.ids = selection.map((item) => item.id);
+      this.idsName = selection.map((item) => item.channelName);
       this.single = selection.length !== 1;
       this.multiple = !selection.length;
     },
@@ -505,8 +506,9 @@ export default {
     /** 删除按钮操作 */
     handleDelete(row) {
       const ids = row.id || this.ids;
+      const idsName = row.channelName ? row.channelName : this.idsName;
       this.$modal
-        .confirm('是否确认删除渠道信息编号为"' + ids + '"的数据项?')
+        .confirm('是否确认删除"' + idsName + '"?')
         .then(function () {
           return delChannel(ids);
         })

+ 3 - 1
ruoyi-ui/src/views/invest/components/channelItem.vue

@@ -52,8 +52,10 @@ export default {
         pageNum: 1,
         pageSize: 10,
       },
-      // 选中数组
+      
+    // 选中数组
       ids: [],
+      idsName:[],
       // 非单个禁用
       single: true,
       // 非多个禁用

+ 6 - 2
ruoyi-ui/src/views/invest/components/contractList.vue

@@ -129,7 +129,7 @@
           />
         </template>
       </el-table-column>
-      
+
       <el-table-column label="备注" align="center" prop="remark" />
       <el-table-column label="创建人" align="center" prop="createBy" />
       <el-table-column label="创建时间" align="center" prop="createTime" />
@@ -290,8 +290,10 @@ export default {
       fileList: [],
       // 遮罩层
       loading: true,
+
       // 选中数组
       ids: [],
+      idsName: [],
       // 非单个禁用
       single: true,
       // 非多个禁用
@@ -422,6 +424,7 @@ export default {
     // 多选框选中数据
     handleSelectionChange(selection) {
       this.ids = selection.map((item) => item.id);
+      this.idsName = selection.map((item) => item.contractName);
       this.single = selection.length !== 1;
       this.multiple = !selection.length;
     },
@@ -482,8 +485,9 @@ export default {
     /** 删除按钮操作 */
     handleDelete(row) {
       const ids = row.id || this.ids;
+      const idsName = row.contractName ? row.contractName : this.idsName;
       this.$modal
-        .confirm('是否确认删除合同管理编号为"' + ids + '"的数据项?')
+        .confirm('是否确认删除"' + idsName + '"?')
         .then(function () {
           return delContract(ids);
         })

+ 6 - 2
ruoyi-ui/src/views/invest/components/fileList.vue

@@ -287,8 +287,10 @@ export default {
       fileList: [],
       // 遮罩层
       loading: true,
-      // 选中数组
+      
+    // 选中数组
       ids: [],
+      idsName:[],
       // 非单个禁用
       single: true,
       // 非多个禁用
@@ -417,6 +419,7 @@ export default {
     // 多选框选中数据
     handleSelectionChange(selection) {
       this.ids = selection.map((item) => item.id);
+      this.idsName = selection.map((item) => item.fileName);
       this.single = selection.length !== 1;
       this.multiple = !selection.length;
     },
@@ -479,8 +482,9 @@ export default {
     /** 删除按钮操作 */
     handleDelete(row) {
       const ids = row.id || this.ids;
+      const idsName = row.fileName ? row.fileName  : this.idsName;
       this.$modal
-        .confirm('是否确认删除文件资料编号为"' + ids + '"的数据项?')
+        .confirm('是否确认删除"' +idsName + '"?')
         .then(function () {
           return delInformation(ids);
         })

+ 9 - 2
ruoyi-ui/src/views/invest/components/followList.vue

@@ -338,6 +338,7 @@ export default {
       loading: true,
       // 选中数组
       ids: [],
+      idsName: [],
       // 非单个禁用
       single: true,
       // 非多个禁用
@@ -483,6 +484,9 @@ export default {
     // 多选框选中数据
     handleSelectionChange(selection) {
       this.ids = selection.map((item) => item.id);
+      this.idsName = selection.map(
+        (item) => item.upPerson + "(跟进时间:" + item.realityUpDate + ")"
+      );
       this.single = selection.length !== 1;
       this.multiple = !selection.length;
     },
@@ -491,7 +495,7 @@ export default {
       let that = this;
       this.reset();
       // 直接绑定好项目
-      if (projectId && typeof projectId === "string" ) {
+      if (projectId && typeof projectId === "string") {
         this.pageType = "1";
       }
       if (this.pageType === "1") {
@@ -546,8 +550,11 @@ export default {
     /** 删除按钮操作 */
     handleDelete(row) {
       const ids = row.id || this.ids;
+      const idsName = row.upPerson
+        ? row.upPerson + "(跟进日期:" + row.realityUpDate + ")"
+        : this.idsName;
       this.$modal
-        .confirm("是否确认删除该跟进记录?")
+        .confirm("是否确认删除“" + idsName + "”的跟进记录?")
         .then(function () {
           return delRecord(ids);
         })

+ 3 - 1
ruoyi-ui/src/views/invest/components/meetingItem.vue

@@ -70,8 +70,10 @@ export default {
         pageNum: 1,
         pageSize: 10,
       },
-      // 选中数组
+      
+    // 选中数组
       ids: [],
+      idsName:[],
       // 非单个禁用
       single: true,
       // 非多个禁用

+ 6 - 1
ruoyi-ui/src/views/invest/components/meetingList.vue

@@ -195,6 +195,7 @@
             trigger="click"
             @command="handleCommand($event, scope.row)"
           >
+            <!-- class="custom-blue-color"  -->
             <span class="el-dropdown-link" @click="getButtonItem(scope.row)">
               <el-button size="mini" type="text" icon="el-icon-d-arrow-right"
                 >更多</el-button
@@ -486,8 +487,10 @@ export default {
       deptId: "",
       // 遮罩层
       loading: true,
+
       // 选中数组
       ids: [],
+      idsName: [],
       // 非单个禁用
       single: true,
       // 非多个禁用
@@ -752,6 +755,7 @@ export default {
     // 多选框选中数据
     handleSelectionChange(selection) {
       this.ids = selection.map((item) => item.id);
+      this.idsName = selection.map((item) => item.meetingTheme);
       this.single = selection.length !== 1;
       this.multiple = !selection.length;
     },
@@ -829,8 +833,9 @@ export default {
     /** 删除按钮操作 */
     handleDelete(row) {
       const ids = row.id || this.ids;
+      const idsName = row.meetingTheme ? row.meetingTheme : this.idsName;
       this.$modal
-        .confirm('是否确认删除会议记录编号为"' + ids + '"的数据项?')
+        .confirm('是否确认删除"' + idsName + '"?')
         .then(function () {
           return delMeeting(ids);
         })

+ 3 - 1
ruoyi-ui/src/views/invest/components/projectItem.vue

@@ -71,8 +71,10 @@ export default {
         pageNum: 1,
         pageSize: 10,
       },
-      // 选中数组
+      
+    // 选中数组
       ids: [],
+      idsName:[],
       // 非单个禁用
       single: true,
       // 非多个禁用

+ 6 - 2
ruoyi-ui/src/views/invest/components/projectList.vue

@@ -597,8 +597,10 @@ export default {
       },
       // 遮罩层
       loading: false,
-      // 选中数组
+      
+    // 选中数组
       ids: [],
+      idsName:[],
       // 非单个禁用
       single: true,
       // 非多个禁用
@@ -718,6 +720,7 @@ export default {
     // 多选框选中数据
     handleSelectionChange(selection) {
       this.ids = selection.map((item) => item.id);
+      this.idsName = selection.map((item) => item.projectName);
       this.single = selection.length !== 1;
       this.multiple = !selection.length;
     },
@@ -783,8 +786,9 @@ export default {
     /** 删除按钮操作 */
     handleDelete(row) {
       const ids = row.id || this.ids;
+      const idsName = row.projectName ? row.projectName : this.idsName;
       this.$modal
-        .confirm('是否终止"' + row.projectName + '"项目?')
+        .confirm('是否终止"' + idsName + '"项目?')
         .then(function () {
           return delPool(ids);
         })

+ 4 - 2
ruoyi-ui/src/views/study/gen/index.vue

@@ -113,7 +113,7 @@
           />
         </template>
       </el-table-column>
-      
+
       <el-table-column label="备注" align="center" prop="remark" />
       <el-table-column label="创建人" align="center" prop="createBy" />
       <el-table-column label="创建时间" align="center" prop="createTime" />
@@ -328,6 +328,7 @@ export default {
     // 多选框选中数据
     handleSelectionChange(selection) {
       this.ids = selection.map((item) => item.id);
+      this.idsName = selection.map((item) => item.contractName);
       this.single = selection.length !== 1;
       this.multiple = !selection.length;
     },
@@ -378,8 +379,9 @@ export default {
     /** 删除按钮操作 */
     handleDelete(row) {
       const ids = row.id || this.ids;
+      const idsName = row.contractName ? row.contractName : this.idsName;
       this.$modal
-        .confirm('是否确认删除研究资料管理编号为"' + ids + '"的数据项?')
+        .confirm('是否确认删除"' + idsName + '"?')
         .then(function () {
           return delGen(ids);
         })