Browse Source

软件名称修改

FinalYu 2 years ago
parent
commit
f53587e3a5

+ 1 - 0
chuanyi_client2/src/assets/icons/svg/green.svg

@@ -0,0 +1 @@
+<svg t="1681983005594" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="6542" width="64" height="64"><path d="M512 322c-104.92 0-190 85.08-190 190s85.08 190 190 190 190-85.06 190-190-85.08-190-190-190z" p-id="6543" fill="#1afa29"></path></svg>

+ 1 - 0
chuanyi_client2/src/assets/icons/svg/red.svg

@@ -0,0 +1 @@
+<svg t="1681983005594" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="6542" width="64" height="64"><path d="M512 322c-104.92 0-190 85.08-190 190s85.08 190 190 190 190-85.06 190-190-85.08-190-190-190z" p-id="6543" fill="#d81e06"></path></svg>

+ 1 - 1
chuanyi_client2/src/background.js

@@ -24,7 +24,7 @@ protocol.registerSchemesAsPrivileged([
  */
 function creatMenuWin(name) {
   return new BrowserWindow({
-    title: name ? name : 'READ OPC',
+    title: name ? name : 'Easy Industrial Report',
     width: 300,
     height: 300,
     resizable: false,

+ 4 - 2
chuanyi_client2/src/components/HeaderMain/index.vue

@@ -50,8 +50,8 @@
                 <svg-icon v-if="data.itemName" icon-class="file-bg"/>
                 <svg-icon v-else-if="data.id == -1" icon-class="groups"/>
                 <template v-else>
-                  <svg-icon v-if="data.runState == 1" icon-class="group"/>
-                  <svg-icon v-else icon-class="group_stop"/>
+                  <svg-icon v-if="data.runState == 1" icon-class="green"/>
+                  <svg-icon v-else icon-class="red"/>
                 </template>
                 <span :title='data.groupName || data.itemName'
                       style="margin-left: 2px;">{{ data.groupName || data.itemName }}</span>
@@ -1415,6 +1415,7 @@ export default {
         this.itemDataList = JSON.parse(JSON.stringify(data))
         this.itemDataListByTree = data
         this.itemDataListByTreeF = JSON.parse(JSON.stringify(this.itemDataListByTree))
+        this.dataItemDialogTitle = '选择数据项'
         this.dataItemDialogVisible = true
       }).catch((e) => {
         loading.close()
@@ -1636,6 +1637,7 @@ export default {
         })
         return
       }
+      this.dataItemDialogTitle = '数据项表达式设置'
       let itemList = []
       // let itemNameList = this.chooseItemDataListByTree.map(map => { return map.label })
       for (let i in this.chooseItemDataListByTree) {

+ 1 - 1
chuanyi_client2/vue.config.js

@@ -6,7 +6,7 @@ function resolve(dir) {
     return path.join(__dirname, dir)
 }
 
-const name = process.env.VUE_APP_TITLE || 'READ OPC' // 网页标题
+const name = process.env.VUE_APP_TITLE || 'Easy Industrial Report' // 网页标题
 const port = process.env.port || process.env.npm_config_port || 81 // 端口
 
 process.env.VUE_APP_WINNAME = os.hostname()